78Views2Replies

Author Options:

Servos are reversed with servo.h for my stuff? Answered

I am new to Arduino, but i have spent quite a while today proving that 1500 is neutral but 1700, 1900 , and 2000 is LEFT not RIGHT.  I used two servos as well as two different arduino program style to prove  (myservo.write(30) and writeMicrosends(2000).
What Am I doing wrong?  Thanks!

Tags:servo

Discussions

0
None
rickharris

5 years ago

Reverse then in your software.

0
None
mpilchfamily

5 years ago

Please refer to the servo library. On standard servos (not all follow the standards closely) 1500 is middle, 1000 is counter-clockwise, and 2000 is clockwise. Don't mistake counter clockwise for left and clockwise for right. If the servo s you have available do have the rotation reversed it really doesn't matter. Adjust your sketch to account for that. But if these are not continues rotation servos it would be best to stick with the myservo.write command so you don't try to force the servo past it's stops and burn it out.

http://arduino.cc/en/Reference/ServoWriteMicroseco...