Go Down

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

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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy