I am trying to connect 4 continuous servos to an Arduino AtMega328. The command I am using is myservo.write(180); , which seems to work fine. But I can't seem to get the servos to reverse direction, no matter what value I give it for speed. Any suggestions? (You can probably tell, but I am new to Arduino.) Thx.
Any suggestions?
Sure, the first thing you need to do is post your code that is not working so it can be evaluated. That being said, with the usual continous rotation servo, ~90 deg would be stop, 80 deg would produce rotation in one direction, and 100 deg would produce rotation in the other direction.
Did you purchase the servos, or did you modify them yourself?
If, whatever you change the speed to (ie, 0, 90, and 180 all make it turn a single direction), it could be that there is a problem with the potentiometer (if it was left in place) or the resistor divider (if it was replaced) used for the hardware feedback...
I figured out the problem. I had the servos hooked up to the 5V power supply on the Arduino board. I understand now that that is a no-no. Anyway, I hooked up independent power to the servos and everything is happy now. Live and learn. Thanks for the help.