Getting Started with Arduino
The Open Source Electronics Prototyping Platform
This valuable little book offers a thorough introduction to the open-source electronics prototyping platform that's taking the design and hobbyist world by storm. Getting Started with Arduino gives you lots of ideas for projects and helps you get going on them right away. To use the introductory examples in this book, all you need is a USB Arduino, USB A-B cable, and an LED. This 128-page book is a greatly expanded follow-up to the author's original short PDF that's available on the Arduino website.
Second Edition Example Code
You can download the example code from http://examples.oreilly.com/0636920021414/.
First Edition Example Code
You can copy and paste the code from each example into an empty sketch.
- Example 01 : Blinking LED
- Example 02: Turn on LED while the button is pressed
- Example 03A: Keep LED on after the button is released
- Example 03B: Improvement to 03A
- Example 03C: 03B with de-bouncing added
- Example 04: Fade an LED in and out
- Example 05: LED on/off switch with brightness adjustment
- Example 06A: Blink LED at a rate specified by the value of the analogue input
- Example 06B: Set the brightness of LED using analogue input
- Example 07: Sending data over the serial port
- Example 08A: Arduino networked lamp (Processing code)
- Example 08B: Arduino networked lamp (Arduino code)