4 DOF Mechanical Arm Robot Controlled by Arduino

by DerGlorreiche in Circuits > Robots

9957 Views, 16 Favorites, 0 Comments

4 DOF Mechanical Arm Robot Controlled by Arduino

20190407_141654-001.jpg
4BaseRacks.jpg

Recently I bought this set at aliexpress, but I could not find an instruction, which fits for this model. So I end up in build it almost twice and do a lot of experiments to find out the right servo mounting angles.

A reasonable documentation is here but I missed a lot of details and some arms are mounted at the wrong side, so do not rely too much on this.

After I wrote this instructable, I found the real one here. The only difference is, they mounted the back arm of the right forearm on the other side of the rack and therefore need a spacer at the upper joint.

Another Instruction can be found here.

So here Is the quick instruction for this model :-) but with improved software.

The software to control the Robot Arm manually or by IR remote is available at GitHub and included in the ServoEasing Arduino library as the RobotArmControl example.

The Base

20190407_142615.jpg
20190406_002000.jpg
20220520_171442.jpg
20220520_171402.jpg

The servo angle for this picture is almost 90 degree and take care to build the plate in the right orientation, it is not symmetric!

if you tighten the screws too much, the extra mounting plate can break. In this case you can drill two 1.5 mm holes at the short sides of the servo opening for the screws delivered with the sero for this purpose. If you do not own such a tiny drill, you can use a hot needle to create the holes.

The Arm

20190406_005246-001.jpg

Best assemble this part next!

Horizontal and Lift Servos

20190406_010007.jpg
20190407_141754.jpg
20190407_141820.jpg
20190407_141914.jpg

The angle for the right (horizontal) servo is 60 degree for the arm pointing upwards or 180 degree at the most forward position possible.

The angle for the left (lift) servo is 0 degree for the attached arm being vertical. But since you can mount the horn only at 18 degree steps, it ends up for me to have 15 degree at the vertical position.

The Arm

20190407_141800.jpg

No spacer needed here.

The Claw

20190408_131125.jpg
20190407_141959.jpg
20190407_141937.jpg

I set the servo angle so that the claw is open at 0 degree and close at 65 degree.

One spacer is needed for the left arm mounting and two are needed for the claw mechanic.

This are the only spacers needed for the whole Robot Arm.

The Arduino

20190407_141709.jpg

The software is available at GitHub and included in the ServoEasing Arduino library as the RobotArmControl example. It can also be useful to help setting the servos to the right position for assembly, using the Arduino Serial Monitor. And be careful, the auto move function will start in 30 seconds if there is no action at the potentiometers after reset :-).

The software supports also IR control of the arm.

Inverted Kinematic

The auto move and test move use inverted kinematic for the movements. The effect is best observable at slow speeds.