8 Servo Motors

In this chapter, you’ll add motion to your Arduino projects. You will be using servo motors, as shown in Figure 8-1.


Figure 8-1: Hobby servo motors

Servo motors are a type of motor that can be easily programmed to rotate to a precise position. A servo motor contains a set of gears and a control mechanism that rotates a shaft a specified number of degrees. Because servos are relatively easy to control, they are a good introduction to using motors in your projects. Although there are many types of servos, the ones that we recommend you use can rotate between 0 and 180 degrees.

Figure 8-2: Diagram of degrees of rotation

Get Learn Electronics with Arduino now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.