Pages: [1]   Go Down
Author Topic: Two servos on Uno  (Read 227 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Johannesburg. UTC+2
Online Online
Faraday Member
**
Karma: 91
Posts: 4257
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


* two servo.jpg (973.47 KB, 2838x1728 - viewed 19 times.)
Logged

Roy from ITCrowd: Have you tried turning it off an on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Pages: [1]   Go Up
Jump to: