14

Controlling Servos

Various projects in Chapter 8 used DC motors, which are ideal for rotating devices such as wheels for robots. However, for more precise motor control options, you can use a servo, short for servomechanism. Servos contain electric motors that you can rotate to a specific angular position using PWM signals.

Servos come in handy for a variety of applications. For example, you might use a servo to steer a remote-controlled car by connecting it to a horn, a small arm or bar that the servo rotates. You might also connect a physical pointer to a servo so it can indicate information such as temperature on a scale, or use a servo ...

Get AVR Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.