EasyManuals Logo

Arduino NG User Manual

Arduino NG
311 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #240 background imageLoading...
Page #240 background image
CHAPTER 13
Controlling Motors with Arduino
So far, weve created projects that have had an impact on the real world. Weve
made LEDs shine, and weve controlled devices using infrared light. In this
chapter, well create an even more intense experience: well control motors
that will actually move things. We wont go so far as to build a full-blown
autonomous robot, but well create a small device that does something useful
and funny.
First, though, youll learn about the basics of different motor types and their
pros and cons. Today you can choose from a variety of motor types for your
projects, and this chapter starts with a brief description of their differences.
Well concentrate on servo motors, because you can use them for a wide range
of projects and theyre cheap and easy to use. Youll learn to use the Arduino
servo library and to control a servo using the serial port.
Based on these first steps, well then build a more sophisticated project. Its
a blaming device that uses nearly the same hardware as the first project in
the chapter but more elaborate software. Youll probably find many applica-
tions for it in your office!
What You Need
1. A servo motor, such as the
Hitec HS-322HD
2. Some wires
3. A TMP36 temperature sensor (its optional, and you need it only for the
exercises)
4. An Arduino board, such as the Uno, Duemilanove, or Diecimila
5. A USB cable to connect the Arduino to your computer
report erratum discuss
www.it-ebooks.info

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Arduino NG and is the answer not in the manual?

Arduino NG Specifications

General IconGeneral
BrandArduino
ModelNG
CategoryMotherboard
LanguageEnglish

Related product manuals