element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
STEM Projects
  • Learn
  • Learning Center
  • STEM Academy
  • STEM Projects
  • More
  • Cancel
STEM Projects
Blog 3D Printed Robotic Arm Controlled With MATLAB/SIMULINK
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join STEM Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: kitfud
  • Date Created: 10 Aug 2015 4:18 AM Date Created
  • Views 468 views
  • Likes 1 like
  • Comments 0 comments
  • teachers_pet_robotics_design_challenge
  • teachers_pet
  • teachers pet robotics design challenge
  • arduino_pet
Related
Recommended

3D Printed Robotic Arm Controlled With MATLAB/SIMULINK

kitfud
kitfud
10 Aug 2015

I've made some headway with my robotics project and I've decided that I need a robotic arm to supplement my Blambobot's line following function.

image

Below is the video of the robotic arm I 3D printed and am controlling with MATLAB/Simulink. Eventually, I will use this robotic arm to load candy onto my TarabotBlamboBot (now also LineFollowerToTheExtreme) robot.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

First, after my last blog post I felt that my line following robot was somewhat crude in having it's external battery pack dangle behind it like a sad little sailor...so I got my 3D printing game on and designed a battery holder. Below you'll see a picture of the iterations of the battery pack holder I made and then the final version which I attached to the back of my robot:

image

imageimage

 

This whole robotic arm project started out though when I decided that my line following robot needed a little "backpack" to carry school supplies. Exactly what a teacher's pet really would want! I know I did back in the day....blush...blush... So I designed a trunk for my robot with a sketchy 3D printer (Printerbot Maker Version; side note, I spent 9 hours assembling this thing at a workshop!!!) and then I spent a good 5 hours waiting for my design to print. I then had a mind bender of a time figuring out how to attach the trunk onto the robot using only two of the risers and the limited amount of screws provided in the Parallax robotics kit. It all worked out though....if only by the possibility of divine intervention?

imageimage


Alright....so at this point my robot had a trunk...but...for what...I could put golf balls in it and let it line follow around my kitchen but then that would be kind of pointless. So to give purpose to my passing moments I decided to funnel every ounce of my creative energy into designing a robotic arm. I had never designed a robotic arm before but I had seen a lot of them on youtube.com recently. The summer has been long, oh, and how I miss it's beginning already.Wish I could turn back the hands of time a good 10 years and told her something different... Here is my preliminary sketch:

image

The robotic arm is made up of 4 servos and 5 connecting parts. I will go through them....all were designed using Google Sketchup:


The pivoting base:

image

The ARM:

image

The Head:

image

The Stand:

image

The Door (attached to the servo on the head)

image

And when everything was printed....and trust me, it took a while; also to make numerous adjustments to the prints- this is what the robotic arm looks like... oh, and I secured all the pieces with epoxy glue to make sure everything stays together when loads of candy are raked in!

imageimage

It really didn't take me long at all to test and program the robotic arm with SIMULINK. In fact, the Simulink function of being able to run something in external mode allowed me to test the angles of the servos on the fly and with ease. The SIMULINK boxes really helps those who are more visually inclined too. This process of figuring out the movement of multiple servos would have taken forever with typical Arduino programming where the feedback doesn't happen until you upload the code and then see the result. With SIMULINK it took me 15 minutes to figure out how to get the moving parts of the robotic arm to move with some type of synchronicity. Albeit, like a cheap watch you'd get for winning ski ball at Chucky Cheese...

 

Below is what Simulink code looks like; I really wish I had more instruction on how to use this stuff because the more I practice with it the more I am fascinated with how to represent closed systems. It is also fun to see all the boxes get connected together- it makes you feel very clever and organized

Blah....this picture probably doesn't resonate with you all that much but I have nice gray boxes to represent each of the servo motors and little sub boxes attached to represent one of the two angles they can shoot too once I click the "manual switch."image

 

So my end goal for the Teacher's pet robotics challenge is this:

image

Take a moment to visualize....I want my line following robot to ride around on a line (maybe in my classroom, but realistically in my kitchen) and then when it passes my robotic arm station I can click on my precocious SIMULINK button to load the robot with a pinch of candy from a bowl. The robotic arm is going to reach into the bowl for me because it is, perhaps, more sanitary and also because it oozes endless cool. My concluding post will showcase this candy donation function; the robotic arm and the TaraBotBlamboBot/linefollower to the extreme robot will merge into something which hands out candy like Robbin hood in a Ford Focus production line.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube