14 Motors and Movement
In this chapter you will
- Use a servo to create an analog thermometer
- Learn how to control the speed and direction of DC electric motors
- Learn how to control small stepper motors
- Use an Arduino motor shield
- Begin work on a motorized robot vehicle
- Use simple microswitches for collision avoidance
- Use infrared and ultrasonic distance sensors for collision avoidance
Making Small Motions with Servos
A servo (short for servomechanism) is an electric motor with a built-in sensor. It can be commanded to rotate to a specific angular position. By attaching the shaft of the servo to other machines, like wheels, gears, and levers, you can precisely control items in the external world. For example, you might use a servo to control ...
Get Arduino Workshop, 2nd Edition 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.