Building a Robotic Arm for Cheap: Part 3

This post covers the base of the arm, and putting it together. I have built the base with my partner, along with a rudimentary claw. We are almost done, we just need to attach the two. It has been lots of fun, and I hope that we will do well in regionals for Science Olympiad.

So, to start off I will go over the parts. We ended up buying 4 servos: one for the base to rotate left and right, one for base up/down, on for up/down, and one for the claw opening and closing. We bought one servo driver board, and one Arduino. We were able to make the body out of duct tape, paint stirring sticks, and a some screws. It is surprisingly stable for the price of all of those items put together.

The total cost of the arm so far is pretty low. I’ll post some numbers once the competition is over.

TO build the base, you need a box of some sort. We went to hobby lobby and bought a generic wooden crate, but you can experiment with any box. Next, we drilled a hole in the top of the box, to allow the servo to rotate side to side. We have one servo under the box, for side to side, and one over, for up and down. Currently, the one on the top is unstable, but it is working.

If you were to build the arm, and put it on top of that base, you would notice that there isn’t anything to stop it fro tipping over. I recommend trying to use your power supply as you counter weight, but if it is too light, you can use 2 pound dumbbells like we did. They are heavy enough to cover the weight of the arm flailing around and stop the entire contraption from tipping over.

That is the base. Here is a quick photo of the arm itself, shaking hands. Pretty cool, eh?
IMG_20160221_183609.jpg

Now, on to the code and technology. We are using Arduino code to drive the servos, but all of the values that change come from the computer. The computer is connected to joysticks. The joysticks are able to move the arm, and rather smoothly. There is some code to stop it from jerking around.

The data that is being sent is formatted like this:
rightxrightyleftxlefty,rightxrightyleftxlefty,rightxrightyleftxlefty,
You get the idea. For each one of those, we are sending forward, neutral, or backward. All of these are being sent over the Serial protocol, which is hooked up over USB.

The code to do all of this is located on the computer and written in Javascript. It is using a Javascript run-time called Nodejs, and I have mentioned Node before on this blog. The code check the joysticks, and spams the Arduino with the values every 20 milliseconds. This way, there is no easily identifiable delay between the two.

Finally, here is some video of the entire thing in action.

See you all next post! In part four, I’ll include how we did, what I learned, and what I would change.

21 thoughts on “Building a Robotic Arm for Cheap: Part 3”

  1. What’s Happening i am new to this, I stumbled upon this We have found It absolutely
    useful and it has aided me out loads. I’m hoping to contribute & help different customers like its aided me.
    Great job.

  2. Neat blog! Will be your theme custom made or do you download it from somewhere?

    A theme like yours with just a few simple adjustements would actually make my blog stand out.
    Please let me know where you got your theme. Bless you

  3. It really is in point of fact a great and useful component of info.
    I am happy that you just shared this helpful information around.
    Please keep us informed similar to this. Thanks a lot for sharing.

  4. Does your blog possess a contact page? I’m having problems locating
    it but, I’d prefer to shoot you an e-mail. I’ve got some ideas to your blog you could be
    enthusiastic about hearing. In any event, great website and that i look forward to seeing it improve
    over time.

  5. Yesterday, while I was at work, my cousin stole my iphone and tested
    to see if it can survive a thirty foot drop, just so she can be a youtube sensation.
    My iPad is now broken and she has 83 views. I know this is entirely off topic but I had to share it with someone!

  6. Hello this is kinda of off topic but I was
    wanting to know if blogs use WYSIWYG editors or if you have
    to manually code with HTML. I’m starting a blog soon but have no coding skills so I wanted to get advice from someone
    with experience. Any help would be enormously appreciated!

  7. If you need your personal job to generally be penned speedy and with no faults the area for you. Our lower priced customized essay writing service will be valuable for every college student who may have no time or want to cope with essays. We recognize that learners right this moment will have to offer with so much more classes, textbooks, papers and professors. That is definitely why we want to produce it a tiny bit better for you with our essay crafting enable. Not everyone is prepared to sit for hours and force their creative imagination and creativity to attempt what they refuse to undertake.
    http://www.traktorarena.com/index.php/2013/08/29/specialized-essay-authors-great-britain-to-fix-any/

Leave a Reply

Your email address will not be published. Required fields are marked *