Arduino Robotic Arm

by airboy93 in Circuits > Robots

65065 Views, 701 Favorites, 0 Comments

Arduino Robotic Arm

2014-06-22 16.49.39.jpg

I have bought 2 joysticks from ebay and tried to think what can I do. Then I came up with idea to make a small robot arm. What I needed was:

1x Arduino Nano

3x MG996R servos (I used one Futaba, because I had only two MG996R and it was not necessary to have much torque for turning)

1x Micro servo

2x Two axis joysticks

1x 6V voltage regulator

1x Battery

Other items: double sided PCB covered with photoresist, diode, capacitor, switch, socket for Arduino Nano, strip cable with connectors, PCB stands, screws, bike spokes for pushrods, linkage stoppers.

Sketching and Modelling

2014-04-30 15.40.28.jpg
545a9b2426ece2701c00016a.jpeg
IMG_1589.JPG
IMG_1612.JPG

I borrowed the frame from backhoe and made some sketches. Then using AutoCAD I made a 3D model. It was one of the longest step during production. I attach AutoCAD and .stl files if you want to see or take some ideas. Also I drew an outline for control joystick.

Production

IMG_1593.JPG
IMG_1595.JPG
IMG_1596.JPG
IMG_1602.JPG

As you probably saw, the 3D parts are made of rectangle pipes. The reason of this is that I wanted to make the robot of aluminium pipes, but when I started, I realised that it is too big challenge. The bending places breaks, so it has to be hot, but I don't have equipment for that, so I jumped to 3D printing technology.

I brought 3D model to local company and it printed the parts for $25. That wasn't the best quality, but acceptable for this robot.

Assembly

2014-05-30 19.04.37.jpg
2014-06-03 14.12.55.jpg

The best part of production was assembly. All I needed to do was to insert servos, make hinges of spokes, bend and connect spokes for pushrods.

Programming and PCB Production

2014-06-03 14.12.36.jpg
Capture.PNG
Components.jpg
IMG_1613.JPG
IMG_1614.JPG
IMG_1615.JPG
IMG_1619.JPG

First I have made testing circuit on breadboard and wrote a program with Arduino software. I attach the code here. Then I drew tested circuit with Eagle software and printed it on transparent paper, which you can buy in almost any office. After that I peeled of the cover film from PCB, put on circuit scheme and using energy saving lamp exposured the board. I have made 2 boards, one for robot and one for control joystick. Following step was to clean left photoresistor in alkali bath and after that etching. After etching I drilled the holes and PCBs were ready to solder.

Base and Joystick Assembly, Soldering

IMG_1616.JPG
IMG_1618.JPG
IMG_1620.JPG
IMG_1617.JPG
IMG_1621.JPG
2014-06-22 16.49.39.jpg

I used plywood to make base and joystick. When PCBs were soldered, I attached them to plywood. And here it comes two errors of designing PCB:

  1. Lower holes of control joystick PCB are partly covered by connector sockets, so it's not possible to screw the board through them;
  2. Connector socket, which goes to robot is placed incorrectly. I messed up with pins, so I had to solder it upside down.

Last two things was to connect all wires and calibrate the movements.

And that's it, here is finished Robot Arm.

Presentation

Arduino Robotic Arm

In this video you can go through again all these steps and check how the Robot Arm works. By the way, control is based on the ISO pattern.

If you like my project, please VOTE. Thank you for your interest!