Positioning a servo motor with the Raspberry Pi
To position a servo, we need to set up a servo horn to see it move, and then plug it into the motor controller board. A servo horn is a small collar with one or more arms, usually used to connect the servo spindle/axle to a mechanism they move. Figure 10.5 shows how to attach a horn to a servo:
The images in Figure 10.5 show how to fit a servo horn. Perform the following steps:
- Servo motors usually come with small bags of hardware, containing a few different horn types and screws to attach them to the servo and the parts you want them to move.
- Use the very short small screws for this, as the longer screws can break the servo.
- Screw a one-armed servo horn into the servo. The long collar of the horn fits over the servo's output spindle.
- The servo should now look like this. Don't over-tighten the collar screw, as you may need to loosen it...