small medium large xlarge

Arduino: A Quick-Start Guide, Second Edition


Cover image for Arduino: A Quick-Start Guide, Second Edition

Arduino: A Quick-Start Guide, Second Edition


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.

Printed in full color.

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.

Customer Reviews

Buy this book only if you don’t mind being sucked into an amazing world of Arduino
hacking, programming, games, controllers, motors, tweeting, networking,
and lots of other mind-blowing things!

- Kevin Beam

Software engineer, National Snow and Ice Data Center (NSIDC)

Maik Schmidt’s writing style is engaging and makes complex concepts accessible.
When I finished the book, I was daydreaming about future Arduino projects I
could create.

- Matthew Sullivan

Senior Rails/Ruby developer, Paradigmisr

A very well-written, thorough introduction to the Arduino platform. The second
edition is a nice refinement of the first, with much updated as a result of the
changes to the platform since the initial release of the book.

- Mike Riley

Author, "Programming Your Home," "Build an Awesome PC," and "Developing Android on Android"

See All Reviews

Choose Your Format(s)

  • $19.00 In Stock
  • Ebooks are DRM free.

  • Ebook delivery options.

About this Title

Pages: 322
Published: 2015-01-20
Release: P2.0 (2015-02-25)
ISBN: 978-1-94122-224-9

What You Need

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,,, and Please note we do not support or endorse any of these vendors, but we list them here as a
convenience for you.

Contents & Extracts


  • Getting Started with Arduino
    • Welcome to the Arduino
      • What You Need
      • What Exactly Is an Arduino?
      • Exploring the Arduino Board
      • Installing the Arduino IDE
      • Meeting the Arduino IDE
      • Hello, World!
      • Compiling and Uploading Programs
      • What If It Doesn’t Work?
      • Exercises
    • Creating Bigger Projects with the Arduino excerpt
      • What You Need
      • Managing Projects and Sketches
      • Changing Preferences
      • Using Serial Ports
      • What If It Doesn’t Work?
      • Exercises
  • Eleven Arduino Projects
    • Building Binary Dice
      • What You Need
      • Working with Breadboards
      • Using an LED on a Breadboard
      • First Version of a Binary Die
      • Working with Buttons
      • Adding Your Own Button
      • Building a Dice Game
      • What If It Doesn’t Work?
      • Exercises
    • Building a Morse Code Generator Library
      • What You Need
      • Learning the Basics of Morse Code
      • Building a Morse Code Generator
      • Fleshing Out the Morse Code Generator’s Interface
      • Outputting Morse Code Symbols
      • Installing and Using the Telegraph Class
      • Publishing Your Own Library
      • What If It Doesn’t Work?
      • Exercises
    • Sensing the World Around Us excerpt
      • What You Need
      • Measuring Distances with an Ultrasonic Sensor
      • Increasing Precision Using Floating-Point Numbers
      • Increasing Precision Using a Temperature Sensor
      • Creating Your Own Dashboard
      • What If It Doesn’t Work?
      • Exercises
    • Building a Motion-Sensing Game Controller
      • What You Need
      • Wiring Up the Accelerometer
      • Bringing Your Accelerometer to Life
      • Finding and Polishing Edge Values
      • Building Your Own Game Controller
      • More Projects
      • What If It Doesn’t Work?
      • Exercises
    • Writing a Game for the Motion-Sensing Game Controller
      • Writing a GameController Class
      • Creating the Game
      • What If It Doesn’t Work?
      • Exercises
    • Generating Video Signals with an Arduino
      • What You Need
      • How Analog Video Works
      • Building a Digital-to-Analog Converter (DAC)
      • Connecting the Arduino to Your TV Set
      • Using the TVout Library
      • Building a TV Thermometer
      • Working with Graphics in TVout
      • What If It Doesn’t Work?
      • Exercises
    • Tinkering with the Wii Nunchuk excerpt
      • What You Need
      • Wiring a Wii Nunchuk
      • Talking to a Nunchuk
      • Building a Nunchuk Class
      • Using Our Nunchuk Class
      • Creating Your Own Video Game Console
      • Creating Your Own Video Game
      • What If It Doesn’t Work?
      • Exercises
    • Networking with Arduino
      • What You Need
      • 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


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.