Micro Servo Robot

Great

Thanks so much for sharing and giving good explanation of algorithm approach.

great

quite precise movements. why don’t you create direct interface with human hands and fingers? Great job anyway!!

Well, first of all, welcome

Well, first of all, welcome to LMR. Your robot arm is something really cool, especially the learning option. 

You said he’s losing all his memory when powered down. Why not write those nubers in the EEPROM or add an SD card to your robot arm for lots of different moving patterns.

Another thing. Don’t worry about how your code looks like. Important is that it works. Once compiled it’s just looking the same like any other code :slight_smile: Viele Grüße nach Deutschland …

 

losing memory

Sure it would be possible write the recorded steps in a memory (the code writes data to serial after start playmode (for debug or later using)). But i’m fine with ‘no memory’ because … how should i say? … its the soul from this robot: Be something like ‘virgin’ or rebirth and new each time he is powered on. - Everything in life is ephemeral. :wink:

Collected!

nice stuff, great writeup, great pics and video! Welcome to LMR!

 

Soul, rebirth, fair enough.

Soul, rebirth, fair enough. Still, he should remember something, at least give him a name :slight_smile:

Power problem (aka circut diagram?)

As an early start on this, I tossed together the 4 pots and 4 micro servos, just wired (power wise) in serial to the 5v and ground on the Arduino.  (through a breadboard)

When running one pot and micro servo (and a quick wacked tougher piece of code) it is working OK, but when I wired in all 4 of each I appear to not have enough power to drive them.

 

does your design have power directly wired to the Arduino and separately to the servos and pots, or am I missing something else obvious?

 

Thanks!
The OctopusInAKilt

servo power

While programming this project i run the (micro!)servos directly from the arduino mini powered by the usb port from my macbook.  This has given ‘jumping’ and imprecisely servo movements. This is extremly non-serious! Don’t do that with bigger size servos! After change to the Battery power - yes arduino and servos are paralell - the servos running well.

1 Like

Servo moving very slow in Play mode

Pinaut, thanks for sharing.

I am just finished the wiring on the breadboard and have a question: does anyone have any idea why any servos move very slow in the Play mode? very slow, like 10 seconds for around 20 degrees.

The follow mode is fine, all servos move as quick as the potensio.

please help. Thank in advance,

DK (a newbie who want to learn programming)

very slow moving

Hi there

Tested the code 1.3 again and cannot see your ‘very slow movement’ effect. Did you change something in the code? What is your power source? (see discussion below)

P.

Help with the instructions

Hello !
I am a newbie in this field and this would be my very first attempt at a robot. I do have experience in electronics and programming though. I was wondering if I could get the instructions for making this robot  ? Like the connection diagram,steps or something ?:slight_smile:

i dont understand the circuit diagram

hye… u have really nice project !!! i have build the circuit but i have the problem about your circuit diagram post… can u explain more details. can u skecth new circuit diagram because i really dont see how the circuit works… and what value of resistor did u put in the circuit diagram?  im new in arduino … sory for my bad english.

button and switch connection problem

im done with the circuit on the breadboard. im use arduino uno . the servo work perfectly with the potentiometer. and now, i have problem with button and switch connection. can u draw me the connection ??? in the .ino code, u have declare DI 13, DI 4 and DI 6 …and where to connect it?

|x

connections

DI 4 for the Switch, DI 6 for the Button, DO13 is output for the led

The button and switch needs a pulldown resistor. > http://arduino.cc/en/Tutorial/Button

Connection Diagram

Simple as it is:

circuit_diagram.jpg

Analog inputs 0,1,2,3
PWM out 3,5,10,11
Button DI 6, Switch DI 4 > may button goes to LOW instead HIGH; cant remember ;-)
Did i forget something?
> http://arduino.cc/en/Tutorial/Button
> http://arduino.cc/en/Tutorial/potentiometer
> http://arduino.cc/en/Tutorial/Knob (servo)

play mode too slow

hi… when im done in teach mode, i was double click at the button but the play mode is too slow ( 90degree=30sec) . i dintn change any coding and i think the connection is correct… any solution sir?

Thanks a lot :)! Could you

Thanks a lot :)! 
Could you please post a clear schematic or a picture of your circuit :s ? I have some doubts in this one , it’s not very clear .
Especially the pot part. 

slow

the only difference i see is i was using a arduino mini pro insted a arduino uno. but this makes no sense… how u powered your system? usb? battery?

power

i have use baterry, usb port and ac power adapter . i have try all the ways to power up my arduino but still same result… too slow in play mode.

Seems to be the same problem

Seems to be the same problem I had. All the servos moved very slow. FYI, I am using digital power suply, which should be good. I am using Arduino mini pro 5V board.

Pinaut: I saw your reply on my original post. I did not change any code.

And I tried to change some lines that I think makes sense regarding the ‘speed’, but no luck. I really love to see this control work wells on my desk. Please let me know if there thing(s) I can debug with.

 

Â