Pages: [1]   Go Down
Author Topic: Servo Question  (Read 202 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Sydney, Australia
Offline Offline
Edison Member
*
Karma: 27
Posts: 1189
Big things come in large packages
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

http://arduino.cc/playground/Learning/SingleServoExample
Logged

Arduino libraries http://arduinocode.codeplex.com
Parola hardware & library http://parola.codeplex.com

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged


Pages: [1]   Go Up
Jump to: