A breakout board for your Android phone

[sparkfun] announced a new board called the IOIO (pronounced “yo-yo”) this week that allows communication from your Android devices to your upcoming projects.

The board hasn’t been released yet; [sparkfun] is still pulling together documentation and waiting on their first production run. We do know that the board contains a PIC24F MCU, and will give your phone analog input,  and Digital I/O, PWM, I2C, SPI, and UART control. Communication with the board is over the USB port on your phone.

The brilliant thing about this board is that an external programmer isn’t required. Everything you connect to this board can be controlled from within Android apps. We covered Android development in a hackaday tutorial series before, so now it’s possible to put these skills to give your projects a touch screen, internet and bluetooth connections, a camera, or your phone’s accelerometers. Very slick.

Video of some basic functions demonstrating what possible with this board after the jump, but feel free to comment and tell us what you’d like to see done with this board.

50 thoughts on “A breakout board for your Android phone

  1. 50 bucks for no case, no power supply, questionable support on any given phone or OS.

    IMHO, pricing it at 20~25 would be ideal. At this point, it’s just too expensive.

  2. Ioio pronounced as yo-yo?! No, it’s pronounced eye-oh-eye-oh. If you want to call it yo-yo, it’s spelt y-o-y-o

  3. That is both excellent and fine. I’m looking forward to seeing what uses people come up with for it. Android aside I’d love a simple I/B board like that just for desktop use.

  4. FINALLY! Ever since I first got an Android phone, the only thing going through my mind was how awesome of a mobile robotics platform it could make. Wifi, bluetooth, cell radio, GPS, accelerometer, and a camera, among other stuff, all with some hefty processing power and a good SDK? All they needed was a way of communicating with H-bridges or motor drivers and perhaps a few more sensors, and it would be fantastic.

    High five, Sparkfun. Now to just take your board layout and make my own custom board!

  5. Front facing camera for droids that don’t have one?
    Mass market that bad boy and you’ll make some decent money. ;)
    Until they come out with it on all Android phones.

    Does this mean other devices could potentially use the USB port?

  6. As an avid android user,I say that

    1-50$ is quite high.

    2-Add a battery pack and a user-friendly way to piggy back this on my Galaxy S and we got a deal.

  7. FYI to everyone, this device acts as a USB host, so your phone just thinks its plugged into a PC. Great idea, but I just wanted to point that out because it doesn’t require USB hosting on the phone, something which is less common and usually requires some phone hacking. But anyway, the fact that this works doesn’t mean other peripherals will work with the phone!

    Also, you can always use the Sparkfun Bluetooth serial port devices for $20 – I recently set something up that way.

    http://www.sparkfun.com/products/10253

    The Android SDK has a “bluetooth chat” application that works with those modules with just one line changed. The UUID line that looks similar to this needs to be changed to:

    private static final UUID MY_UUID = UUID.fromString(“00001101-0000-1000-8000-00805F9B34FB”);

    More info;

    http://stackoverflow.com/questions/1953888/bluetooth-rfcomm-sdp-connection-to-a-rs232-adapter-in-android

    It works great!
    -Taylor

  8. @Brennan: “Spelled” or “spelt”, both are correct.
    Now who’s shallow and pedantic?

    Yet another overpriced product by sparkfun.

  9. I’ll sell my board (that does the same job, plus it only uses about half the microcontroller so you can still drive servos or add serial ports etc.) for $30 to anyone who emails me. It will take a week to be delivered and you will pay after you get it and confirm that it works.

  10. reverse it, then you got the OI OI
    my phone(samsung transform) has a front facing cam…its useless as NOTHING uses it
    if this wasnt $50 i’d get 1(maybe haha) but it does need a micro usb IN port for at minimum usb charging including passthrough, maybe firmware upgrade as well as a li-po/liion to double your battery life

  11. So…it’s an arduino. This is definitely not a breakout board, because it’s not tapping into the phone’s native IO. The only real feature is the USB host, but even this can be programmed into an arduino. It’s certainly not analogue input either; it’s sampled by the PIC’s ADC, which is likely inferior to the phone’s native ADC.

    1. Anyone know any language besides English? “io” is Italian for “I”. It is often pronounced like “yo”, very similar to Spanish word for “I”.

  12. This board seems to use ADB, which is a really nice and robust way to do two-way communication between the phone and an MCU. BlueTooth really sucks for robust communication such as in embedded setups or robotics, and USB also allows you to power your phone over vbus.

    Of course this was all done before, but kudos to Ytai and SparkFun for bringing it to the masses.

  13. Emmm… Hm… Well, I’ll better be off with a homebrew module using a wireless bt-uart with DTR to reset wired and a homebrew board with a bootloader that allows flashing via uart.

  14. @spiritplumber I don’t see anything on your site about peripherals acting as usb hosts to connect to Android phones. I don’t see anything about DIY either, everything has a price tag. Though I might have missed it, the site isn’t the easiest to navigate. Are you referring to the SerialDroid? I don’t see how that compares to the IOIO.

  15. ahah in italian io-io is correctly spoken like “yo-yo” :) in anyway i think it is a powerfull alternative instead of soldering break-out pins on the GPIOs provided by the CPU of the phone :D

    With good APIs, i think this board can achieve an equivalent popularity like the arduino-board.

  16. Firstly, I’d allow ioio to be said as yo yo (like io in tion words). Kind of not right but it’s okay and I like that.

    Mainly though, this kind of thing is awesome as it unlocks the powers of something already created so that you can do with it as you please.

    There are so many people having to reinvent the wheel in order to create something impressive. This makes it possible for people to create something amazing (and already familiar) without having to shell out for too much expensive hardware.

  17. Sparkfun links to the creator’s blog http://ytai-mer.blogspot.com/2011/04/meet-ioio-io-for-android.html, this info was pulled from there:
    When asked if it was based on the ADB MicroBridge project, “No, I did my own implementation as this was about 8 months ago, and I believe MicroBridge had not been published at the time.
    Since then, we’ve done tons of stuff above this layer in order to really provide good, high level experience, OTA upgrades, etc. That is the reason for the delay in publication.”

    A snippet from an app used to control a servo on pin 12 with a pot on pin 40:
    ioio.waitForConnect();
    AnalogInput input = ioio.openAnalogInput(40);
    PwmOutput pwmOutput = ioio.openPwmOutput(12, 100); // 100Hz
    while (true) {
    float reading = input.read();
    pwmOutput.setPulseWidth(1000 + Math.round(1000 * reading));
    sleep(10);
    }

    The blog has a ton more info, and videos.

  18. Rachel: USB host support can’t be programmed into the Arduino. You need a $40 Arduino shield, which is nearly as much as the price of this entire board. Once you take into account the cost of the Arduino, the fact that this is apparently far better-equipped in terms of I/O options, the much better power supply on the IOIO… this looks like a far superior option in all respects.

    The Arduino just isn’t very good if you need USB host support or full-speed USB.

  19. My suggestion – this and a high quality audio shield with a Burr-Brown 2-channel DAC on top. My EVO Shift 4g has this terrible clicking and popping sound when I use Pandora and it’s because of the audio chip on the phone. Hopefully an app can be written for this to bypass audio to the USB port.

  20. @spiritplumber

    Developing software for an Android phone to control the IOIO doesn’t require the phone to be rooted. This is quite important as newer Android devices are getting harder to permanently root than their predecessors (ie: Desire HD).

  21. @makomk: SF sells USB host shields for $25. Their cheapest Arduino plus this shield is $45, which is still $5 less than the IOIO.

    Selling a breakout board for a $5 chip at $50 is just excessive, if you ask me. On the other hand, if it ‘just works’ it might be worth the money, and since it’s open source, people will probably produce cheap knock-offs in due time.

  22. Inopia: ah, the (original?) non-Sparkfun version of the USB host shield is rather more expensive. Also, do bear in mind that you need to buy a seperate USB-to-TTL cable for programming the cheap Sparkfun Arduinos unless you have one lying around.

  23. My IOIO was on my doorstep when I got home from work…got Eclipse / ADK / Droid 2 running on my Ubuntu laptop this morning. So far, just the example sketch from SparkFun, but this thing has a ton of potential. So excited….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s