Remote Controlled Robotic Arm
by ibenkos in Circuits > Robots
21459 Views, 213 Favorites, 0 Comments
Remote Controlled Robotic Arm
![IMG_2730.JPG](/proxy/?url=https://content.instructables.com/FSK/YUS8/I9YBISG3/FSKYUS8I9YBISG3.jpg&filename=IMG_2730.JPG)
![IMG_2732.JPG](/proxy/?url=https://content.instructables.com/FE7/OHYL/I9YBISGZ/FE7OHYLI9YBISGZ.jpg&filename=IMG_2732.JPG)
This is a guide to make a Remote controlled robotic arm (6DOF) or just to control some servos on something.
You can use a normal IR TV remote to control the servos on a mechanical robotic arm. there is 17 buttons on the remote I used but I only used the 12 buttons on the bottom.
2 buttons for one servo, one is for clockwise and the other is for counterclockwise.
Parts
![IMG_2668.JPG](/proxy/?url=https://content.instructables.com/FP5/853P/I9YBISM6/FP5853PI9YBISM6.jpg&filename=IMG_2668.JPG)
![IMG_2737.JPG](/proxy/?url=https://content.instructables.com/F8R/9JBC/I9YBISJF/F8R9JBCI9YBISJF.jpg&filename=IMG_2737.JPG)
![IMG_2739.JPG](/proxy/?url=https://content.instructables.com/FZH/YDEH/I9YBISM5/FZHYDEHI9YBISM5.jpg&filename=IMG_2739.JPG)
![IMG_2738.JPG](/proxy/?url=https://content.instructables.com/FVB/314E/I9YBISKA/FVB314EI9YBISKA.jpg&filename=IMG_2738.JPG)
![IMG_2736.JPG](/proxy/?url=https://content.instructables.com/F25/NNWI/I9YBISIN/F25NNWII9YBISIN.jpg&filename=IMG_2736.JPG)
Here is a list of the parts and tools I used to make this project.
PARTS:
- Arduino UNO.
- IR remote (any IR remote can be used).
- IR receiver.
- Wires.
- Male to female breadboard wires.
- PCB.
- LED.
- 200 ohm resistor.
- 27x long male headers.
- 4x AA batteries and holder for servo power (6V) + Arduino power.
- Screw terminal.
- 6 DOF mechanical arm.
- 6x metal gear servos.
TOOLS
- Soldering Iron.
- soldering tin.
- screwdriver.
Schematic
![IMG_2740.JPG](/proxy/?url=https://content.instructables.com/FA5/F1LW/I9YBK4T6/FA5F1LWI9YBK4T6.jpg&filename=IMG_2740.JPG)
Here is an easy to follow schematic that I have drawn. Red is 5v to the IR and 6v to the servos, black is GND and yellow is signal.
The reason that I don't use the 5V coming out of the Arduino for the servos is because its not enough to work on more than one servo, sometimes one servo doesn't work when its powered from the Arduino.
There is a LED on the schematic, thats for indication that the receiver has gotten the code when you press a button on a remote.
Soldering
![IMG_2670.JPG](/proxy/?url=https://content.instructables.com/FF2/CN8F/I9YBISOU/FF2CN8FI9YBISOU.jpg&filename=IMG_2670.JPG)
![555e35384fbade8fdc000529.jpeg](/proxy/?url=https://content.instructables.com/F6J/DTNL/I9YBK550/F6JDTNLI9YBK550.jpg&filename=555e35384fbade8fdc000529.jpeg)
![IMG_2676.JPG](/proxy/?url=https://content.instructables.com/FCJ/VVB7/I9YBISRG/FCJVVB7I9YBISRG.jpg&filename=IMG_2676.JPG)
![IMG_2681.JPG](/proxy/?url=https://content.instructables.com/F5L/1Y57/I9YBISRJ/F5L1Y57I9YBISRJ.jpg&filename=IMG_2681.JPG)
I would have recommended to do this on a breadboard and test it before you solder it on a PCB, because some IR receivers can be hard to find the pinout on and you end up wiring the IR totally wrong and have to desolder it.
If you want to have your servo connections like I have them than you need 3x6 long male headers and bend one of the ends on all of them 90 degrees. 3 of the 3x6 headers needs to be a little bit longer before you bend them so they don't touch the servo connectors under them.
Solder the servo connectors and the the rest of the parts where you want to have them.
Wiring
![IMG_2734.JPG](/proxy/?url=https://content.instructables.com/FRP/CC04/I9YBISHU/FRPCC04I9YBISHU.jpg&filename=IMG_2734.JPG)
![IMG_2735.JPG](/proxy/?url=https://content.instructables.com/FXL/Q7U6/I9YBISHV/FXLQ7U6I9YBISHV.jpg&filename=IMG_2735.JPG)
Solder vires to the components and to the places where the connections will be.
Setup
![IMG_2733.JPG](/proxy/?url=https://content.instructables.com/FH1/VVOA/I9YBISH0/FH1VVOAI9YBISH0.jpg&filename=IMG_2733.JPG)
At this step you will need to connect jumper wires (M-F) from the board to the Arduino UNO.
At the next step there will be a code that you need to download and upload to your Arduino board.
Decoding Your Remote
![Skjermbilde 2015-11-02 kl. 21.06.18.png](/proxy/?url=https://content.instructables.com/F7W/KMHT/IGI9CW9F/F7WKMHTIGI9CW9F.png&filename=Skjermbilde 2015-11-02 kl. 21.06.18.png)
The Arduino schematic you see above is the same as the way the PCB is, you only have to connect pin 11 and to power (5V). I used the code above made by Ken Shirriff to decode my remote.
You will need to download and import IRremote.h for the Arduino code.
When you upload the code to your board than you can open terminal on the Arduino software, if you press some buttons on a IR remote than you will see a lot of numbers and letters. every button on a IR remote sends out a different number.
On my remote I have 17 buttons, so I have made a map for the remote where the buttons were and under them I wrote the code that belongs to every different button.
So if you do this than you will know what the Arduino reads when you press volume + or any other button,
take notes from terminal and in the next step you will need to put them in the next code.
Downloads
Final Code
Download the code "ir_6servo_controller" and open it in a new sketch on the Arduino software, than you will need two libraries for the code:
- IRLib.h
- Servo.h
On the top you will see these things;
#define MY_PROTOCOL NEC
#define RIGHT_ARROW 0xffc23d //
#define LEFT_ARROW 0xff22dd //
#define OK_BUTTON 0xff02fd //
#define UP_ARROW 0xff629d //
#define DOWN_ARROW 0xffa857 //
#define BUTTON_0 0xff4ab5 // S5
#define BUTTON_1 0xff6897 // S3
#define BUTTON_2 0xff9867 // S2
#define BUTTON_3 0xffb04f // S1
#define BUTTON_4 0xff30cf // S3
#define BUTTON_5 0xff18e7 // S2
#define BUTTON_6 0xff7a85 // S1
#define BUTTON_7 0xff10ef // S6
#define BUTTON_8 0xff38c7 // S5
#define BUTTON_9 0xff5aa5 // S4
#define BUTTON_s 0xff42bd // S6 *
#define BUTTON_h 0xff52ad // S4 #
You need to change the under marked codes to the once your remote sends out, you don't need as many buttons as I have. You only need 12 if you are going to control 6 servos like I did.
Downloads
Finish
![IMG_2731.JPG](/proxy/?url=https://content.instructables.com/FWX/VVVG/I9YBISG7/FWXVVVGI9YBISG7.jpg&filename=IMG_2731.JPG)
When you get the code done with your IR remote codes and upload it to your Arduino, than you can connect all the servos to the pins on the receiver board. Now you are all finished and ready to pick up stuff and move it around without doing it with your hand!
Thanks for viewing this intractable and if you have any questions or tips to this project than leave them in the comments, and also share a photo if you made it :)
If you liked this project and want to help me than vote for me in the robotics contest.