You are previewing Make: Getting Started with Arduino, 3rd Edition.
O'Reilly logo
Make: Getting Started with Arduino, 3rd Edition

Book Description

Arduino is the hot open source prototyping platform for artists, hobbyists, students, and anyone who wants to create interactive physical environments. Getting Started with Arduino is co-authored by Arduino co-founder Massimo Banzi, and incorporates his experience in teaching, using, and creating Arduino.

Table of Contents

  1. Preface
    1. Preface to the Second Edition
    2. Acknowledgments for Massimo Banzi
    3. Acknowledgments for Michael Shiloh
    4. Conventions Used in This Book
    5. Using Code Examples
    6. Safari<sup xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">&#174;</sup> Books Online Books Online
    7. How to Contact Us
  2. 1. Introduction
    1. Intended Audience
    2. What Is Interaction Design?
    3. What Is Physical Computing?
  3. 2. The Arduino Way
    1. Prototyping
    2. Tinkering
    3. Patching
    4. Circuit Bending
    5. Keyboard Hacks
    6. We Love Junk!
    7. Hacking Toys
    8. Collaboration
  4. 3. The Arduino Platform
    1. The Arduino Hardware
    2. The Software Integrated Development Environment (IDE)
    3. Installing Arduino on Your Computer
    4. Installing the IDE: Macintosh
      1. Configuring the Drivers: Macintosh
      2. Port Identification: Macintosh
    5. Installing the IDE: Windows
      1. Configuring the Drivers: Windows
      2. Port Identification: Windows
  5. 4. Really Getting Started with Arduino
    1. Anatomy of an Interactive Device
    2. Sensors and Actuators
    3. Blinking an LED
    4. Pass Me the Parmesan
    5. Arduino Is Not for Quitters
    6. Real Tinkerers Write Comments
    7. The Code, Step by Step
    8. What We Will Be Building
    9. What Is Electricity?
    10. Using a Pushbutton to Control <span xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" class="keep-together">the LED</span>
    11. How Does This Work?
    12. One Circuit, a Thousand Behaviours
  6. 5. Advanced Input and Output
    1. Trying Out Other On/Off Sensors
      1. Homemade (DIY) Switches
    2. Controlling Light with PWM
    3. Use a Light Sensor Instead of the Pushbutton
    4. Analogue Input
    5. Try Other Analogue Sensors
    6. Serial Communication
    7. Driving Bigger Loads (Motors, Lamps, and the Like)
    8. Complex Sensors
  7. 6. The Arduino Leonardo
    1. How Is This Arduino Different from All Other Arduinos?
    2. Other Differences Between the Arduino Leonardo and the <span xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" class="keep-together">Arduino Uno</span>
    3. Leonardo Keyboard Message Example
    4. How Does This Work?
    5. Leonardo Button Mouse Control Example
      1. How Does This Work?
    6. More Leonardo Differences
  8. 7. Talking to the Cloud
    1. Planning
    2. Coding
    3. Assembling the Circuit
    4. Here’s How to Assemble It
  9. 8. Automatic Garden-Irrigation System
    1. Planning
    2. Testing the Real Time Clock (RTC)
    3. Testing the Relays
    4. Electronic Schematic Diagrams
    5. Testing the Temperature and Humidity Sensor
    6. Coding
    7. Setting the On and Off Times
    8. Checking Whether It’s Time to Turn a Valve On or Off
    9. Checking for Rain
    10. Putting It All Together
    11. Assembling the Circuit
    12. The Proto Shield
    13. Laying Out Your Project on the Proto Shield
    14. Soldering Your Project on the Proto Shield
    15. Testing Your Assembled Proto Shield
    16. Assembling Your Project into <span xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" class="keep-together">a Case</span>
    17. Testing the Finished Automatic Garden <span xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" class="keep-together">Irrigation System</span>
    18. Things to Try on Your Own
    19. Irrigation Project Shopping List
  10. 9. Troubleshooting
    1. Understanding
    2. Simplification and Segmentation
    3. Exclusion and Certainty
    4. Testing the Arduino Board
    5. Testing Your Breadboarded Circuit
    6. Isolating Problems
    7. Problems Installing Drivers on Windows
    8. Problems with the IDE on Windows
    9. Identifying the Arduino COM Port on Windows
    10. Other Debugging Techniques
    11. How to Get Help Online
  11. A. The Breadboard
  12. B. Reading Resistors and Capacitors
  13. C. Arduino Quick Reference
    1. Structure
    2. Special Symbols
    3. Constants
    4. Variables
    5. Variable Scope
    6. Control Structures
    7. Arithmetic and Formulas
    8. Comparison Operators
    9. Boolean Operators
    10. Compound Operators
      1. increment and decrement (<code xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">&#8211;&#8211;</code> and and <code xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">++</code>))
    11. Input and Output Functions
    12. Time Functions
    13. Math Functions
    14. Random Number Functions
    15. Serial Communication
  14. D. Reading Schematic Diagrams
  15. Index