How to Make a Robot
Subscribe us on YouTube for updates http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1
In this project you will need
- Arduino mini pro 5V
- 4 * micro servos 180degrees
- 4 * 22k potentiometer
- NmH Battery 4.8V
- Wires, Button, Switch
- Balsa wood,
- Metal, PlasticZip Ties and Glue
Teach mode: After a reset the robot arm follows the teach in arm while simple mapping the analog inputs every 25ms to the servo motors. Pressing the button stores each servo position in a array
Play mode: Double press the button switch to play mode. The sketch reads the array step by step and and moves the robot arm. For cool loocking movements i added a routine calculates different micro steps for each servo to have moving start and end sync on all axis. Also added a ramp for soft increase/decrease velocity. Shorter travel distances the robot does slow, longer distances with faster speed. Its all about timing so my thoughts in this moment
Subscribe us on YouTube for updates
http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1
Code
click here download the code - Download
Subscribe us on YouTube for updates http://www.youtube.com/channel/UCsSdGsFs8Cby3oxiMHTCNEg?sub_confirmation=1