Go Down

Topic: Servo Question (Read 328 times) previous topic - next topic


When I attach my servo to a pwm pin. Does the arduino automatically tell the servo to go into the neutral position? or do we have to tell the servo to move there by coding it?


Servo will have 3 wires - +V, Gnd and a signal. The signal needs to be pulsed to move the servo, with specific timing. There is a Servo library that does this work for you as part of the Arduino IDE install, and there is information in the Playground on how servos work.

Arduino Libraries http://arduinocode.codeplex.com
Parola for Arduino http://parola.codeplex.com
Arduino++ blog https://arduinoplusplus.wordpress.com


Short answer, yes, it sends the servo to the centered position.

You might want to check the two links in my signature for more information on using servos with Arduino in practical situations.

Duane B
Read this
then watch this


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!

via Egeo 16
Torino, 10131