CONTENTS

Part I: Welcome to the Wonderful World of Accessories

Chapter 1: Introduction to Android Open Accessory

I, Android

What Is Android Open Accessory?

What Is Arduino?

How Does AOA Work with Arduino?

What Can You Do with AOA?

What Can’t You Do with AOA?

Why it Matters that Google Chose Arduino

Summary

Chapter 2: Setting up the (Arduino) Hardware

Choosing Microcontroller Boards for Your Project

Choosing Sensors and Actuators for Your Project

Powering up Your Project

Summary

Chapter 3: Understanding Data Communication

Data Communication Basics

Hardware Layer for the Communication Protocol

Introducing MQTT

P2PMQTT: A Modified MQTT

Summary

Chapter 4: Setting up Development Environments

Setting up Android Development

Setting up Arduino Development

Hello Open Accessory App

Summary

Chapter 5: Creating the Accessory Library

Getting Started with Android Libraries

Building the P2PMQTT Library

Managing Open Accessory Connections

Summary

Chapter 6: Using Your Accessory Library

Using Custom Android Libraries

Building the Mini Projects

Summary

Chapter 7: Digital Arduino

Digital Actuators

Writing the Arduino Program

Digital Sensors

Summary

Chapter 8: Analog Arduino

Analog Actuators

Analog Sensors

Summary

Part II: Projects

Chapter 9: Bike Ride Recorder

The Concept Behind Bike Computers

The Design Brief

Working with the Arduino Side

Building the Android App

Summary

Chapter 10: Kitchen Lamp

The Concept

The Design Brief

The Arduino Side

Building The Android App

Further Improvements

Summary

Get Professional Android Open Accessory Programming with Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.