Hpsaturn

How to Android ADK with Arduino USB Host Shield

Description:

Android ADK is the official Google implementation to join the worlds of Android and Arduino. This quick guide explains how to do it with USB Host Shield for Arduino (WARNING: Beta release of this document!).

Android requirements:


ROM

  • For any Android, you must have an Android rom either 2.3.4 or higher or Android 3.1.
  • For HTC G1 install the ROM: EzGingerbread

SDK

  • Install and configure Android SDK (Complete guide)
  • Download the project and libraries to the SDK
  • Import the project DemoKit on Eclipse

Arduino requirements

  • Install Arduino software (complete guide)
  • Download USB Host Shield firmware or clone this and include library in Arduino:
  • include AndroidAccessory firmware in Arduino:

Arduino Code


Create a new Arduino project and include this code. Compile it and send it to your Arduino with USB Host installed

Additional links

(Source: devel.androidsith.com)



Port of the ADK (Android Open Accessory Development Kit) in G1

Author: @hpsaturn

More info:

http://bit.ly/qwysxW (GitHub code) http://developer.android.com/guide/topics/usb/adk.html (ADK Android Developers) http://forum.xda-developers.com/showthread.php?t=882356 (XDA implementation)

Thanks to @xdaterry

(Source: devel.androidsith.com)



11
To Tumblr, Love PixelUnion