In this chapter, you’ll add motion to your Arduino projects. You will be using servo motors, as shown in Figure 8-1.
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.