page23
Servo Motor Example
Servo motors were originally designed for use in radio controlled models. They can change their angle based on a control signal. The Arduino can control the motor.
Construct a circuit with the servo motor as shown.
Try the examples:
File→ Examples → Servo → Sweep
And
File → Examples → Servo → Knob
In the second example the analog input will control the servo position.