I have been using Arduino Mega ADK to connect a Android tablet(USB accessory) to Arduino (acting as a host). The Arduino powers the tablet and passed information back to Android tablet.
Recently, I have learned that Mega ADK has been retired and wanted to know which particular Arduino device should be used to connect our Android app in the accessory mode to a Arduino Host. I recently tried with Arduino 2560 device and were not able to activate the USB accessory mode in Android.
Hi - We have similar situation. We used Mega-ADK kit to connect Android tablet to Arduino in a USB-accessory mode. Now with Mega ADK kit being retired, We are wondering what are available options to continue using Arduino board as a USB host with the android tablet as USB-Accesory.
I presume these questions are being asked because you want to make future projects using Android tablets that do something in conjunction with Arduino boards.
It would be a big help if you describe the projects that you have in mind and what the roles of the tablet and the Arduino will be.
Robin - Thanks for the response. We already have a solution live in a store that uses Mega ADK, where Android acts as a Accessory and Arduino acts as the Host. With the Mega ADK retired, We are wondering what particular Arduino board we need to invest in to support the USB Accessory *Android Tablet) -> USB Host (Arduino) architecture. Most of the examples i see around new board -> 2560, all talk about using Arduino board as an accessory. In my solution, we have to use Arduino as an accessory.
Any guidance is appreciated.
Robin2:
I presume these questions are being asked because you want to make future projects using Android tablets that do something in conjunction with Arduino boards.
It would be a big help if you describe the projects that you have in mind and what the roles of the tablet and the Arduino will be.
The Mega ADK uses the MAX3421E chip to provide USB host capability. The same chip is used in the USB host shield so a regular Mega with USB Host shield might work. Details matter so take a look at schematics, source code, etc. before jumping to conclusions.
The Arduino USB host shield has been retired but circuits@home sells a USB Host shield and there are clones as well. All use the MAX3421E chip. circuits@home maintains the USB host shield library so they know a lot about the MAX3421E. You might get an answer if you post a question on the github repo.
Thanks gdSports. This really helps..I will check the provided link.
Our current solution is designed based on Arduino being the USB host and Android in the accessory mode. I was wondering if Arduino Bluetooth connectivity is stable option that we could use for 2 way communication between Android tablet and Arduino tablet.
thanks,
gdsports:
The Mega ADK uses the MAX3421E chip to provide USB host capability. The same chip is used in the USB host shield so a regular Mega with USB Host shield might work. Details matter so take a look at schematics, source code, etc. before jumping to conclusions.
The Arduino USB host shield has been retired but circuits@home sells a USB Host shield and there are clones as well. All use the MAX3421E chip. circuits@home maintains the USB host shield library so they know a lot about the MAX3421E. You might get an answer if you post a question on the github repo.
bnair:
I was wondering is using Bluetooth connectivity the only option?
No.
Android<>Arduino via bluetooth is practical and reliable - to the point where it may be the reason for the demise of the Mega ADK, but, needless to say, WiFi is a similarly useful option.
bnair:
Robin - I am unable to share more details about the Project. Hope you will understand.
When I hear that I immediately think you are trying to get free OpenSource help for a closed-source commercial project - to my mind that is not a fair balance.
I was wondering is using Bluetooth connectivity the only option? or is there any other way.
Bluetooth and WiFi work fine. But how can we know if either is a sensible alternative to a system we know nothing about?