Micro Servo Robot Arm

15,503

34

7

Introduction: Micro Servo Robot Arm

About: I ain't no physicist, but I knows what matters. :p By the way, I'm an Electronic Engineer . Interested in Electronic Hobby's and DIY Projects . I'm Focusing mostly on Simulations of Projects and Further mor...

4 axis robot arm with a small gripper and teach function. (In fact: it is a 3 axis robot)

This robot can follow. This robot can learn. And this robot can repeat endles. And he lost all his memory if the batterys are low. This makes it new all the time he is powered again.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Arduino Code and Flow Charts

Step 2: Components

Arduino mini pro 5V/16MHz

4 micro servos (180degrees)

4 22k potentiometer

NmH Battery 4.8V

Wires, Button, Switch

Balsa wood, Metal, Plastic

Zip Ties and Glue

Step 3:

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 Play Mode version 1.1 The gripper input is used to set the delay (0,1,3,15,60,300 seconds) after a loop is done. The switch (it was left from the project start) pauses the robot 08/2015 i added the same code 1.3 but i try add english comments 10/2015 flowchart for the code and electrical diagram. (make sure you use a pullUp resistor at input 4,6 / change the code for input 4. This should fix the 'slow running problem' (often happend)

1 Person Made This Project!

Recommendations

  • Trash to Treasure Contest

    Trash to Treasure Contest
  • Raspberry Pi Contest 2020

    Raspberry Pi Contest 2020
  • Wearables Contest

    Wearables Contest

7 Discussions

0
AdnanM21
AdnanM21

3 years ago

i have low memory problem..please help me. i cannot fix it.

0
joony786
joony786

Reply 3 years ago

i don't get the point , it's working perfect use Mega instead of uno

0
danielhhanson
danielhhanson

Reply 1 year ago

Did anyone get the MiniRobot program running. I see you were working on this several years ago. I've seen several different posts of this code, but I can't get it to run reliably.
Any help would be greatly appreciated. I've been working on this for weeks.
Daniel Hanson PhD PE
danielhhanson@gmail.com 27 Dec 18

0
Vardhanbatavia007
Vardhanbatavia007

Reply 2 years ago

the problem shall be with your computer. I too was having same problem in my last project. I tried to upload it using my smartphone with " arduino droid". Then it worked......

0
AcidicMelon
AcidicMelon

2 years ago

Pinaut made it! Its on Youtube!

0
joony786
joony786

Reply 2 years ago

i made it too but i didn't shear my program .!

0
VipulS38
VipulS38

3 years ago

code is working?? or not?? plz give ur num.. email id - vipulsolanki15@gmail.com