Pages: 322 Published: January 2015 ISBN: 9781941222249
In Print
Arduino: A Quick-Start Guide, Second Edition
by Maik Schmidt
Arduino is an open-source platform that makes DIY electronics projects
easier than ever. Gone are the days when you had to learn electronics
theory and arcane programming languages before you could even get an LED
to blink. Now, with this new edition of the bestselling Arduino: A
Quick-Start Guide, readers with no electronics experience can create
their first gadgets quickly. This book is up-to-date for the latest
Arduino boards and for Arduino 1.x, with step-by-step instructions for
building a universal remote, a motion-sensing game controller, and many
other fun, useful projects.
This book is current for versions 1.0.6 and 1.6.0 of the Arduino
platform and it is up to date for the Arduino Uno board. Most of the
projects will also work on other recent boards such as the Leonardo or
the Due, and on older Arduino boards such as the Duemilanove or
Diecimila. All code in this book has been tested with Arduino 1.0.6
and 1.6.0.
This Quick-Start Guide is packed with fun, useful devices to create,
with
step-by-step instructions and photos throughout. You’ll learn how to
connect
your Arduino to the Internet and program both client and server
applications.
You’ll build projects such as your own motion-sensing game controller
with a
three-axis accelerometer, create a universal remote with an Arduino and
a few
cheap parts, build your own burglar alarm that emails you whenever
someone’s
moving in your living room, build binary dice, and learn how to solder.
You’ll create your own video game console that you can connect to your
TV set in one of this edition’s new projects. Plus, you’ll learn how to
use the Arduino with the latest web technologies such as Google Chrome
Apps.
This book is completely updated for the latest Arduino boards and the
latest
advances in supporting software and tools for the Arduino.
Sidebars throughout the book point you to exciting real-world
projects using the Arduino, exercises extend your skills, and “What If
It
Doesn’t Work” sections help you troubleshoot common problems.
With this book, beginners can quickly join the worldwide community of
hobbyists and professionals who use the Arduino to prototype and develop
fun,
useful inventions.
This is the full list of all
parts you’d need
for all projects in the book; some of these are provided as part of
various kits that are available on the web, or you can purchase
individually. Sources include adafruit.com, makershed.com, sparkfun.com,
and mouser.com. Please note we do not support or endorse any of these
vendors, but we list them here as a
convenience for you.
*I’ve adjusted the description of Arduino
IDE versions. It covers 1.6.0 now.
*I’ve tested all projects with Arduino 1.6.0.
*I’ve adjusted the installation instructions for the Arduino
IDE on Mac
OS X.
*The book shows the new compiler output in samples now.
*The book describes the new auto-detection of boards now.
*I’ve replaced all 1.0.6 screenshots with 1.6.0 screenshots.
*The book explains the new preferences of the Arduino
IDE now.
*I’ve fixed a bug in img2cpp.rb in “Chapter 8: Generating Video Signals with an Arduino”.
2015/01/27
P1.0
First printing.
2014/12/16
B4.0
Production is complete. Now it’s on to layout and the printer.
Using Your PC to Transfer Sensor Data to the Internet
Registering an Application with Twitter
Tweeting Messages with Processing
Communicating Over Networks Using an Ethernet Shield
Using DHCP and DNS
What If It Doesn’t Work?
Exercises
Creating a Burglar Alarm with Email Notification
What You Need
Emailing from the Command Line
Emailing Directly from an Arduino
Detecting Motion Using a Passive Infrared Sensor
Bringing It All Together
What If It Doesn’t Work?
Exercises
Creating Your Own Universal Remote Control
What You Need
Understanding Infrared Remote Controls
Grabbing Remote Control Codes
Cloning a Remote
Controlling Infrared Devices Remotely with Your Browser
Building an Infrared Proxy
What If It Doesn’t Work?
Exercises
Controlling Motors with Arduino
What You Need
Introducing Motors
First Steps with a Servo Motor
Building a Blaminatr
What If It Doesn’t Work?
Exercises
Appendixes
Electronics and Soldering Basics
Current, Voltage, and Resistance
Electrical Circuits
Learning How to Use a Wire Cutter
Learning How to Solder
Learning How to Desolder
Advanced Arduino Programming
The Arduino Programming Language
Bit Operations
Advanced Serial Programming
Learning More About Serial Communication
Serial Communication Using Various Languages
Controlling the Arduino with a Browser
What Are Google Chrome Apps?
Creating a Minimal Chrome App
Starting the Chrome App
Exploring the Chrome Serial API
Writing a SerialDevice Class
Bibliography
Author
Maik Schmidt has worked as a software developer for more than 20
years and makes a living creating complex solutions for large
enterprises. Outside his day job, he writes book reviews and articles
for computer science magazines.
He is the author of Raspberry Pi: A Quick-Start Guide, Second Edition,
Enterprise Recipes with Ruby and Rails, and Enterprise Integration
with Ruby for Pragmatic Bookshelf.