Arduino is the open-source electronics prototyping platform that has taken the design and hobbyist world by storm. This thorough introduction, updated for Arduino 1.0, gives you lots of ideas for projects and helps you work with them right away. From getting organized to putting the final touches on your prototype, all the information you need is here.
Inside, you'll learn about:
- Interaction design and physical computing
- The Arduino hardware and software development environment
- Basics of electricity and electronics
- Prototyping on a solderless breadboard
- Drawing a schematic diagram
- Talking to a computer — and the cloud — from Arduino
- Building a custom plant-watering system
Getting started with Arduino is a snap. To use the introductory examples in this guide, all you need an Arduino Uno or Arduino Leonardo, along with an appropriate USB cable and an LED. The easy-to-use Arduino development environment is free to download and runs on Windows, Mac or Linux.
Join hundreds of thousands of hobbyists who have discovered this incredible (and educational) platform. Written by the co-founder of the Arduino project, Getting Started with Arduino gets you in on all the fun.
Table of Contents
Chapter 1 — Introduction
1.1: Intended Audience
1.2: What Is Interaction Design?
1.3: What Is Physical Computing?
Chapter 2 — The Arduino Way
2.4: Circuit Bending
2.5: Keyboard Hacks
2.6: We Love Junk!
2.7: Hacking Toys
Chapter 3 — The Arduino Platform
3.1: The Arduino Hardware
3.2: The Software (IDE)
3.3: Installing Arduino on Your Computer
3.4: Installing the IDE: Macintosh
3.4.1: Configuring the Drivers: Macintosh
3.4.2: Port Identification: Macintosh
3.5: Installing the IDE: Windows
3.5.1: Configuring the Drivers: Windows
3.5.2: Port Identification: Windows
Chapter 4 — Really Getting Started with Arduino
4.1: Anatomy of an Interactive Device
4.2: Sensors and Actuators
4.3: Blinking an LED
4.4: Pass Me the Parmesan
4.5: Arduino Is Not for Quitters
4.6: Real Tinkerers Write Comments
4.7: The Code, Step by Step
4.8: What We Will Be Building
4.9: What Is Electricity?
4.10: Using a Pushbutton to Control the LED
4.11: How Does This Work?
4.12: One Circuit, A Thousand Behaviours
Chapter 5 — Advanced Input and Output
5.1: Trying Out Other On/Off Sensors
5.1.1: Homemade (DIY) Switches
5.2: Controlling Light with PWM
5.3: Use a Light Sensor Instead of the Pushbutton
5.4: Analogue Input
5.5: Try Other Analogue Sensors
5.6: Serial Communication
5.7: Driving Bigger Loads (Motors, Lamps, and the Like)
5.8: Complex Sensors
Chapter 6 — The Arduino Leonardo
6.1: How Is This Arduino Different from All Other Arduinos?
6.2: Other Differences Between the Arduino Leonardo and the Arduino Uno
6.3: Leonardo Keyboard Message Example
6.4: How Does This Work?
6.5: Leonardo Button Mouse Control Example
6.5.1: How Does This Work?
6.6: More Leonardo Differences
Chapter 7 — Talking to the Cloud
7.3: Assembling the Circuit
7.4: Here’s How to Assemble It
Chapter 8 — Automatic Garden-Irrigation System
8.2: Testing the Real Time Clock (RTC)
8.3: Testing the Relays
8.4: Electronic Schematic Diagrams
8.5: Testing the Temperature and Humidity Sensor
8.7: Setting the On and Off Times
8.8: Checking Whether It’s Time to Turn a Valve On or Off
8.9: Checking for Rain
8.10: Putting It All Together
8.11: Assembling the Circuit
8.12: The Proto Shield
8.13: Laying Out Your Project on the Proto Shield
8.14: Soldering Your Project on the Proto Shield
8.15: Testing Your Assembled Proto Shield
8.16: Assembling Your Project into a Case
8.17: Testing the Finished Automatic Garden Irrigation System
8.18: Things to Try on Your Own
8.19: Irrigation Project Shopping List
Chapter 9 — Troubleshooting
9.2: Simplification and Segmentation
9.3: Exclusion and Certainty
9.4: Testing the Arduino Board
9.5: Testing Your Breadboarded Circuit
9.6: Isolating Problems
9.7: Problems Installing Drivers on Windows
9.8: Problems with the IDE in Windows
9.9: Identifying the Arduino COM Port in Windows
9.10: Other Debugging Techniques
9.11: How to Get Help Online
Appendix A — The Breadboard
Appendix B — Reading Resistors and Capacitors
Appendix C — Arduino Quick Reference
Arithmetic and Formulas
Input and Output Functions
Random Number Functions
Appendix D — Reading Schematic Diagrams
About the Author Massimo Banzi is the co-founder of the Arduino project and has worked for clients such as Prada, Artemide, Persol, Whirlpool, V&A Museum and Adidas. He spent four years at the Interaction Design Institute Ivrea as Associate Professor. Massimo has taught workshops and has been a guest speaker at institutions like Architectural Association - London, Hochschule für Gestaltung und Kunst Basel, Hochschule für Gestaltung Schwäbisch Gmünd, FH Potsdam, Domus Academy, Medialab Madrid, Escola Superior de Disseny Barcelona, ARS Electronica Linz, Mediamatic Amsterdam, and Doors of Perception Amsterdam.
Before joining IDII, he was CTO for the Seat Ventures incubator. He spent many years working as a software architect, both in Milan and London, on projects for clients like Italia Online, Sapient, Labour Party, BT, MCI WorldCom, SmithKlineBeecham, Storagetek, BSkyB and boo.com.
Paperback; 262 pages