Easy and Simple Arduino Robot Arm

134,013

156

60

Published

Introduction: Easy and Simple Arduino Robot Arm

Hello fellow iblers!

This is to serve as a small guide to replicating my most recent project; an Arduino based robotic arm.

First off I would like to acknowledge the help of Instructables user steveastrouk for getting me started on the programming, and my good friend Sean Ulrich for spending 6 hours debugging this thing with me.

Do to a technology failure I don't have any of the progress pictures otherwise this would be a full ible, I apologize for the inconvenience and hope that I supply enough information here to help get you on your way. So let's get started!

Here is a list of parts I used:

1x Arduino Uno
4x Large Servo
1x Medium Servo
1x Robotic Claw
1x Small Breadboard
4x Potentiometer
2x Toggle Switch
1x Battery Case for 4 D-cells (6v)
1x Arduino Battery Clip
~2 square feet of birch plywood 1/8' thickness
1/2 inch diameter basswood dowels
2x 1'x1'x3' blocks of basswood
~2.5 lbs of lead beads
5x servo wire extensions
Some decent compression spring to keep the load off of the servos when fully extended
Some kind of enclosure (I used tin boxes I bought at Michael's)

And an absolute buttload of hot glue.

The Code is attached as a txt file.


Please take not of the footnotes on the pictures for more details.

EDIT: Here is a video-

Share

    Recommendations

    • Make it Move Contest

      Make it Move Contest
    • Woodworking Contest

      Woodworking Contest
    • Casting Contest

      Casting Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    60 Comments

    Hello, i wanted to know how to program the arduino, a few pointers please

    someone can explain this line of code

    val = map(val, 0, 1023, 0, 179);

    1 reply

    yeah, its "mapping" the value of the variable "val" and stores the new value in variable "val". I.e, the analog range that the arduino reads is between 0-1023 and you wanna control the servo with this value, but the servo operates on values between 0-179. So map-function is scaling the value (in this example) from range 0-1023 to 0-179

    please can you send me the circuit diagram

    [Robotic arm home made - YouTube]. Have a look at it! https://m.youtube.com/watch?v=rnFP42gii4k

    I also have MG995 metal gear Servos and can I use these servos for this project. Do you know whether this will work or not? Please give us the model and configuration of the Servos that you used.

    I made it but the servo act randomly

    When When I power it the servo vibrate back and forth on their own

    They also respond late to potentiometer a little late

    I have sg5010 servos and 100k ohm pots

    PLS HELP ASAP

    I used so 50th motors and 100k ohm potentiometer is it okay ?

    I made it but the motors are behaving random

    Like when u power it the servos on the forearm and shoulder start vibrating on their own move back and forth about 4-5 mm also they respond to the potentiometer a little late

    PLEASE HELP ASAP

    can you please tell me the model and type of servo motors you used in the project

    Hello,

    I have planned to use tower pro SG5010 (stall torque (11kg/cm)) for this project. Can I use them for this project. Please help me in this regard.

    I dint understand few things:

    1) what are the potpin?

    2) what do the toggle switches Do?

    Also I would like to have the circuit diagram

    Any help would be appreciated thnx

    2 replies

    The circuit diagram is available within the instructable. The toggle switches stop and start the flow if power from both the arduino and the servos. The potpin is the name I gave to the pins that the potentiometer s connect to in the code.

    Thank you really appreciate the help

    I see thanks for clearing

    a potpin is name he used as a variable to indicate the digital in the motherboard

    did the same setup, but only 3 servos and 3 potentiometers. everything else is the same. deleted the 4th and 5th servo in the code and also deleted the 4th and 5th potentiometer. I have an external power source of 5v. the servos are working, but don't respond as i turn the potentiometer. what did go wrong?

    1 reply

    If you post a picture of your setup i will be able to help you better.

    Maybe you didn't attach the wires to the approriate pins?