O'Reilly logo

Arduino Workshop by John Boxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. 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 electric motors

  • Use an Arduino motor shield

  • Begin work on a motorized tank robot

  • 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) contains an electric motor that can be commanded to rotate to a specific angular position. For example, you might use a servo to control the steering of a remote control car by connecting the servo to a horn, a small arm or bar that the servo rotates. An example of a horn is one of the hands on an analog clock. Figure 12-1 shows a servo and three ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required