Getting Started with Arduino, 3rd Edition

Book description

Arduino is the open source electronics prototyping platform that has taken the Maker Movement by storm. This thorough introduction, updated for the latest Arduino release, helps you start prototyping right away. From obtaining the required components to putting the final touches on your project, all the information you need is here!

Getting started with Arduino is a snap. To use the introductory examples in this guide, all you need is an Arduino Uno or Leonardo, along with a USB cable and an LED. The easy-to-use, free Arduino development environment runs on Mac, Windows, and Linux.

In Getting Started with Arduino, you'll learn about:

  • Interaction design and physical computing
  • The Arduino board and its software 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

Publisher resources

View/Submit Errata

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® 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 the LED
    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 Arduino Uno
    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 a Case
    17. Testing the Finished Automatic Garden Irrigation System
    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 (–– and ++)
    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

Product information

  • Title: Getting Started with Arduino, 3rd Edition
  • Author(s): Massimo Banzi, Michael Shiloh
  • Release date: December 2014
  • Publisher(s): Make: Community
  • ISBN: 9781449363338