Go Down

Topic: Trying to get Zero working with Android AOA usb accessory protocol (aka ADK) (Read 608 times) previous topic - next topic

boggydew

Hi

In

C:\Users\Matt\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.6.21\libraries\USBHost\examples

I find a sketch called ADKTerminalTest, which is a demo for connecting to Android over USB using the AOA (Android Open Accessory) protocol. The sketch directs you to

http://labs.arduino.cc/uploads/ADK/ArduinoTerminal/ThibaultTerminal_ICS_0001.apk

for the Android code, but the link is broken.  Can any one give me a working link, or does anyone have the android code?

Thanks.

I've been trying to get my zero connected to my android phone.  I can connect my MEGA 2560 ADK to my phone with the ArduinoBlinkLed sketch from the USB host shield library 2.0-1.3.2 https://www.arduinolibraries.info/libraries/usb-host-shield-library-2-0.  This is the only sketch in the adk folder that still has a working link to its' Android code.

There is a fork of this library for the samd, called USB host library SAMD
https://github.com/gdsports/USB_Host_Library_SAMD/tree/master/examples/adk
But I can't get it working. Serial debug on Serial1 gets stuck at "Arduino Blink LED Started" and nothing happens when I plug my phone in and out.

The Android code is the same and works with the MEGA ADK, so the problem is with the Zero or its code. Anyone been here before?

Cheers.

Go Up