Pro Arduino

Book description

So, you've created a few projects with Arduino, and now it's time to kick it up a notch. Where do you go next? With Pro Arduino, you'll learn about new tools, techniques, and frameworks to make even more ground-breaking, eye-popping projects.

You'll discover how to make Arduino-based gadgets and robots interact with your mobile phone. You'll learn all about the changes in Arduino 1.0, you'll create amazing output with openFrameworks, and you'll learn how to make games with the Gameduino. You'll also learn advanced topics, such as modifying the Arduino to work with non-standard Atmel chips and Microchip's PIC32.

Rick Anderson, an experienced Arduino developer and instructor, and Dan Cervo, an experienced Arduino gadgeteer, will give you a guided tour of advanced Arduino capabilities. If it can be done with an Arduino, you'll learn about it here.

What you'll learn

  • How to modify the Arduino to work with other chips

  • How to simulate sensors for testing and debugging

  • How to set up advanced XBee networks

  • How to write Arduino libraries and share them with the Arduino community

  • How to get started with the Android accessory development kit

  • How to create games with hardware or with Gameduino

  • How to connect your Android phone to an Arduino sensor network

  • Who this book is for

    Arduino fans, technogeeks, and electronic artists who want to take their skills to the next level.

    Table of contents

    1. Title Page
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Authors
    6. About the Technical Reviewer
    7. Acknowledgments
    8. Introduction
    9. CHAPTER 1: Arduino 1.0.4 Core Changes
      1. Changes to the Arduino IDE
      2. Changes to Sketches
      3. API Updates
      4. Arduino API Core 1.0.4
      5. Physical Board Updates and USB Compatibility
      6. Summary
    10. CHAPTER 2: Arduino Development and Social Coding
      1. Components of Social Coding and Project Management
      2. Project Management for Social Coding
      3. Version Control, Basic Workflow
      4. Documentation
      5. Contributing to Arduino Development
      6. How to build the Arduino IDE from source
      7. Community Resources
      8. Summary
    11. CHAPTER 3: openFrameworks and Arduino
      1. Getting Started
      2. Arduino Code
      3. openFrameworks Setup
      4. Coding Once Using Firmata and ofArduino
      5. Expanding on the Idea
      6. More Ideas to Work With
      7. Summary
    12. CHAPTER 4: Android ADK
      1. Android Devices
      2. What to Check For
      3. Known Working Devices
      4. Modding
      5. Arduino IDE Setup
      6. Completing the Framework
      7. SPI and ADK
      8. Summary
    13. CHAPTER 5: XBees
      1. Buying XBees
      2. Simple Setup
      3. Transparent (AT Command) Mode
      4. API Mode
      5. Request Packets
      6. Reply Packets
      7. Arduino Data Echo
      8. Endpoint Firmware
      9. Summary
    14. CHAPTER 6: Simulating Sensors
      1. Analog Sensors
      2. Digital Sensors
      3. Serial Sensors
      4. I2C
      5. Summary
    15. CHAPTER 7: PID Controllers
      1. The Mathematics
      2. PID Controller Setup
      3. PID Tuner
      4. Comparing PID, DEAD BAND, and ON/OFF Controllers
      5. PID Can Control
      6. Other Resources
      7. Summary
    16. CHAPTER 8: Android Sensor Networks
      1. Setting Up a Sensor Network
      2. openFrameworks
      3. The Arduino
      4. The Android Application
      5. Summary
    17. CHAPTER 9: Using Arduino with PIC32 and ATtiny Atmel Chips
      1. Arduino and Nonstandard Environments
      2. The MPIDE and chipKIT PIC32
      3. Arduino Support for the ATtiny Family
      4. Using the Arduino as an ISP Programmer
      5. Project: Secret Knock Box
      6. Summary
    18. CHAPTER 10: Multiprocessing: Linking the Arduino for More Power
      1. I2C
      2. Serial Peripheral Interface
      3. Connecting Two Devices
      4. Symmetric Architecture Bipolar Bus
      5. Conversion to Mega
      6. Physical Best Practices
      7. Summary
    19. CHAPTER 11: Game Development with Arduino
      1. Games Suitable for the Arduino
      2. A Simple Game
      3. Adding Better Displays and Graphics
      4. Summary
    20. CHAPTER 12: Writing Your Own Arduino Libraries
      1. What you need to know to write your own libraries
      2. Making a Motor Library
      3. The anatomy of an Arduino library folder
      4. Arduino Objects and Library Conventions
      5. Summary
    21. CHAPTER 13: Arduino Test Suite
      1. Installing the Arduino Test Suite
      2. Getting Started with Testing
      3. Arduino Test Result Format
      4. Arduino Test Suite Basic Functions
      5. Arduino Test Suite Built-In Tests
      6. Strategies for Testing Your Own Arduino Derivative
      7. Memory Testing
      8. Testing Libraries
      9. Summary
    22. Index

    Product information

    • Title: Pro Arduino
    • Author(s):
    • Release date: June 2013
    • Publisher(s): Apress
    • ISBN: 9781430239390