Arduino 2nd Edition a Quick Guide Book
Arduino 2nd Edition a Quick Guide Book
Arduino lets you get hands-on again with computers in a way you haven’t
been able to since the 1980s, when you could build your own computer. And
Arduino makes it easier than ever to develop handcrafted electronics projects
ranging from prototypes to sophisticated gadgets. Gone are the days when
you had to learn lots of theory about electronics and arcane programming
languages before you could even get an LED blinking. You can create your
first Arduino project in a few minutes without needing advanced electrical
engineering coursework.
In fact, you don’t need to know anything about electronics projects to read
this book, and you’ll get your hands dirty right from the beginning. You’ll not
only learn how to use some of the most important electronic parts in the first
pages, you’ll also learn how to write the software needed to bring your projects
to life.
This book dispenses with theory and stays hands-on throughout. I’ll explain
all the basics you need to build the book’s projects, and every chapter has a
troubleshooting section to help when things go wrong. This book is a quick-
start guide that gets you up to speed quickly and enables you to immediately
create your own projects.
1. http://arduino.cc
tool for designers and artists, only software developers are able to unleash
its full power. So, if you’ve already developed some software—preferably with
C/C++ or Java—then you’ll get a lot out of this book.
But there’s one more thing: you have to build, try, and modify the projects
in this book. Have fun. Don’t worry about making mistakes. The troubleshoot-
ing sections—and the hands-on experience you’ll gain as you become more
confident project by project—will make it all worthwhile. Reading about elec-
tronics without doing the projects yourself isn’t even half the battle. (You
know the old saying: we remember 5 percent of what we hear, 10 percent of
what we write, and 95 percent of what we personally suffer.) And don’t be
afraid: you really don’t need any previous electronics project experience!
There’s one exception, though: in this book you’ll create several Google Chrome
apps that connect your web browser to Arduino. Appendix 4, Controlling the
Arduino with a Browser, on page 267, explains in detail how Chrome apps
work, so you should read it after you’ve read Chapter 4, Building a Morse
Code Generator Library, on page 61.
• The book starts with the basics of Arduino development. You’ll learn how
to use the integrated development environment (IDE) and how to compile
and upload programs. You’ll quickly build your first project—electronic
dice—that shows you how to work with basic parts such as LEDs, buttons,
and resistors. By implementing a Morse code generator, you’ll see how
easy it is to create your own Arduino libraries.
• Then you’ll learn how to work with analog and digital sensors. You’ll use
a temperature sensor and an ultrasonic sensor to build a very accurate