Skip to Content
Making Android Accessories with IOIO
book

Making Android Accessories with IOIO

by Simon Monk
February 2012
Beginner
68 pages
1h 22m
English
O'Reilly Media, Inc.
Content preview from Making Android Accessories with IOIO

Chapter 1. Getting Started with IOIO

IOIO (pronounced YoYo) is an input/output board for Android phones and tablets. It allows you to attach electronic devices to your Android phone using the USB connection. If you have a IOIO with the latest firmware, you can also communicate over Bluetooth if you attach a Bluetooth adapter to the IOIO.

In this chapter we will look at how to set up your computer and Android phone to use the IOIO and use the sample application that comes with the IOIO software to turn the “status” LED on and off for your phone.

What is IOIO?

IOIO (Figure 1-1) is a product produced and sold by SparkFun (among others). It contains a PIC microcontroller and USB interface and a few other glue components to regulate the supply voltage etc. The whole project, both hardware and software is open source.

An IOIO board
Figure 1-1. An IOIO board

To make use of an IOIO, you will need:

  • An Android phone with USB lead

  • A Windows, Mac, or Linux computer

  • A power supply 5-15V DC offering at least 500mA

Since the IOIO comes without any sockets soldered to its connectors, we will attach some to it and make a power lead for it. To do this, you will also need the parts listed in Table 1-1.

Table 1-1. Parts bin
QuantityDescriptionSparkFun SKUFarnell codeNewark code

1

IOIO board

DEV-10748

2

SIL Header socket strip

PRT-00115

1126603

52K3454

1

2.1mm Power socket

PRT-00119

1217038

97K6459

2

single header pins

PRT-00116

1097954

93K5128 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Android Sensor Programming

Professional Android Sensor Programming

Adam Stroud, Greg Milette

Publisher Resources

ISBN: 9781449323271Errata Page