Go Down

Topic: Two servos on Uno (Read 547 times) previous topic - next topic

sylvanwolf

I've been trying a project form 30 Arduino project for the evil genius.  the one with the two servos and the laser.  When I put servos on my board they act erratically moving in random directions constantly.  So I tried loading the example from the servo library and run them one at a time and they behave.  However, if I modify that code to run two servos like the original project they move erratically again.  I'm using these servos https://www.sparkfun.com/products/10333.  Is there something I'm not considering?

Thanks,
Robert

JimboZA

Are you powering the servos from the Arduino?- if so, you should provide them with their own power, and only have the control signal from the Arduino. Link the grounds together: see attached pic.
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

Go Up