Take the 2-minute tour ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I have an Arduino Uno and need to connect to an Android device.

1) Do I need a USB host shield?

2) Would I be better off in buying a board that has USB host functionality built-in?

3) Is the Android Open Accessory framework really the only software solution for communicating via usb?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted
  1. You would need some hardware added to the Uno which supports USB host mode, yes. This could be in the form of a USB host shield or some other USB host module (typically with its own on-board microcontroller)
  2. Yes, definitely. Typically a board which incorporates USB host mode, would also be supported by its tried and tested libraries for implementing the host mode.
  3. Not the only option, but certainly the most updated and perhaps the most convenient. The classic ADB mechanism, predating the introduction of the Android Accessory Development Kit, is still supported. Depending on what the Arduino side of the system is expected to do, this might suffice at least until the ADB support is removed.
share|improve this answer
 
Thanks! perfect answer –  eco_bach Dec 20 '13 at 19:53
 
Recent devices do require authentication of ADB hosts. It's just (open) software, but additional complexity to add to the embedded implementation. –  Chris Stratton Dec 24 '13 at 14:55
add comment

If your Android device supports USB OTG(On the go) you might be able to use the Arduino as a standard USB serial device connected to the android.

My phone can do this I just needed a cheap cable to convert the micro USB to a USB A port.

I used the ArduinoCommander App to test out the connection.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.