Showing posts with label Hack EvalBot USB Android Open Accessory Development Kit ADK. Show all posts
Showing posts with label Hack EvalBot USB Android Open Accessory Development Kit ADK. Show all posts

Saturday, August 27, 2011

EvalBot (Stellaris) and Android Open Accessory Development Kit (ADK) Demo


EvalBot and Android Open Accessory (ADK) Hack

I have just finished to develop an USB Host Driver for Android Open Accessory on EvalBot (it should work also with any other Stellaris ARM chipset supporting USB OTG).

The video demo with link below show how it's easy and fun to communicate with EvalBot with a modern Android Phone (with Android version 2.3.4 or more) like my Samsung Google Nexus S.

About Hardware Hack:
The EvalBot USB Host Power Supply has been hacked in this demo because by default it does not work with Usb Host which require more than 100/150mA (due to limitation of hardware) and so I have modified USB Power supply to use external power in order to connect any USB Host compliant with USB specification which allow current until 500mA.
This Hack also work with any hardware because it's done on a Usb Extension and a BreadBoard with External PowerSupply.

About Software:
For Android software I have used DemoKit which is just a rebuild of sample in official Android NDK package.
For EvalBot I have developed the Usb Host driver for Open Accessory and an example which communicate with DemoKit, the code use Texas Instrument UsbLib and is built under CodeComposer v4.2.4.
What feature included for this demo:
  1. With EvalBot if you press Button Switch1 or 2 it send the button state to DemoKit.
  2. With DemoKit you can send command (Relay1 or 2) to switch On/Off EvalBot Leds(Led1 & 2).
PS:I plan to cleanup the whole driver and source and push the source code on a GitHub for free and fun.


Video: