THE ARDUINO PROJECTS BOOK
EDITORS
Projects and text by Scott Fitzgerald and Michael Shiloh
Additional text review by Tom Igoe
DESIGN AND ART DIRECTION
TODO
Giorgio Olivero, Mario Ciardulli, Vanessa Poli, Michelle Nebiolo
todo.to.it
DIGITAL FABRICATION AND PROJECT MANAGEMENT
Officine
Arduino Torino
Katia De Coi, Enrico Bassi
ADVISORS AND SUPPORTERS
Massimo Banzi, Gianluca Martino, Smart Projects
PROJECT TESTERS AND PROOFREADERS
Michael Shiloh, Michelle Nebiolo, Katia De Coi,
Alessandro Buat,
Federico Vanzati, David Mellis
THANKS
Big thanks to the entire Arduino user community for their contin-
ued contributions, support, and feedback.
Special thanks to the Fritzing team: some of the electronic com-
ponents illustrations used in the book are taken or modified from
the open-source Fritzing project (www.fritzing.org).
Heartfelt thanks to Paul Badger for the CapacitiveSensor library
used in Project 13.
The text of the Arduino Projects Book is licensed under a Creative
Commons Attribution-NonCommercial-ShareAlike 3.0 License 2012 by
Arduino LLC. This means that you can copy, reuse,
adapt and build
upon the text of this book non-commercially while attributing the
original work (but not in any way that suggests that we endorse
you or your use of the work) and only if the results are transmitted
under the same Creative Commons license.
Full license terms: creativecommons.org/licenses/by-nc-sa/3.0/
© 2012 Arduino LLC. The Arduino name and logo are trademarks of
Arduino, registered in the US and in the rest of the world. Other
product and company names mentioned herein are trademarks of their
respective companies.
The information in this book is distributed on an “As Is” basis
without any further warranties. While every precaution has been
taken
in the design of this book, neither the authors nor Arduino
LLC shall have any liability to any person or entity with respect
to any loss or damage caused or declared to be caused directly or
indirectly by the instructions contained in this book or by the
software and hardware described in it.
This book cannot be sold separately from The Arduino Starter Kit.
Designed, printed and bound in Torino, Italy
September 2012
00
BECOME EXTRAORDINARY
Everyone, every day, uses technology. Most of us leave the
programming to engineers because we think coding and
electronics are complicated and difficult; actually, they can be
fun and exciting activities.
Thanks to Arduino, designers, artists,
hobbyists and students of all ages are learning to create things
that light up, move, and respond to people, animals, plants, and
the rest of the world.
Over the years Arduino has been used as the “brain” in thousands
of projects, one more creative than the last. A worldwide
community of makers has gathered
around this open-source
platform, moving from personal computing to personal
fabrication, and contributing to a new world of participation,
cooperation and sharing.
Arduino is open and simple. It’s founded on lessons we’ve learned
teaching our own classes: if you start with the assumption that
learning to make digital technologies is simple and accessible,
you can make it so. Suddenly electronics and code become
creative tools that anyone can use – like brushes and paint.
This book walks you through the basics in a hands-on way, with
creative projects you build by learning. Once you’ve mastered
the basics, you’ll have a palette of software
and circuits that you
can use to create something beautiful, and make someone smile
with what you invent.