When [Robert] realized Adafruit is now selling analog feedback servos, he decided he just had to make a programmable robot arm that could be trained like the commercially available Baxter robot.
The neat thing with the analog feedback servos is it takes all the complexity out of training a robot. All you have to do is put the robot in teach mode, physically move the robot’s joints to the positions you want, and save your program! Depending on your application, it certainly beats trying to work out the fun kinematics equations…
Anyway, the full guide available on Adrafuit’s learning system provides instructions on how to build your own arm from scratch (well, with a 3D printer) or how to replace the servos in a pre-made toy robotic arm you might already have sitting around. It’s very thorough and includes all the code you need for your Arduino too.
Stick around after the break to see how the robot works!
If the guy who built this is reading these comments I have a VarSpeedServo library for arduino that makes nice slow fluid movements if you’re interested
Is it this one? http://forum.arduino.cc/index.php?topic=61586.0
Is it this library? http://forum.arduino.cc/index.php?topic=61586.0
Yessir that’s the one. He wrote that for me a few years back for this project: http://www.thebestcasescenario.com/forum/showthread.php?23156-Project-Tempest-SXR&p=289709#post289709
I’m going to assume no one’s commenting because we’re all replicating this.
I made a video on how to get data back from a servo.
http://www.youtube.com/watch?v=cAS4mItXzI8
I’ve also written a some OpenSCAD scripts that generate a robot arm of any length. I didn’t make a gripper for it but the arm is designed for servos with feed-back so has in built cable guides and many places to mount sensors.
https://github.com/GlenSearle/tentacle
It’s a nearly finished project, just needing a global configuration file, so you currently need to set the lengths you want in each file.
https://raw.github.com/GlenSearle/tentacle/master/frame00000.png
Very impressive!
Can a larger version be made using arduino and large dc servo motors using similar code as yours?