Electronic – Using Android Accesory mode to access a USB serial device, use a VNC2

androidserialusb

In a current project we use an Android application that talks to a USB Serial device (which speaks the Prolific USB serial protocol). This works fine with Android devices that support USB Host Mode, but there aren't too many of those.

So, I would like to use this device with a device that only supports Android Accessory mode, by putting a bridge device in between: this device speaks the Android Accessory protocol on one side, and the Prolific USB Serial protocol on the other. So,

+---------+       +--------+           +----------+
|         |       |        |           | Prolific |
| Android | ----> | Bridge | --------> | USB-     |
| Device  | <---- | Device | <-------- | serial   |
|         |  ADK  |        |  Profilic |          |
+---------+       +--------+  USB      +----------+ 
                              Protocol

In which the incoming data stream from the serial device is forwarded to the inputsream of the ADK device, and vice versa.

I plan to base this device on an FTDI VNC2 (with the V2DIP2, there's a development board that has all the hardware I need for this).

Is this chip indeed the best choice for this kind of bridge? Is there something else on the market that perhaps does this bridging out of the box?

Best Answer

In case anyone's keeping score, we picked a different solution.

Our product is based on an LPC1768, and we built the software in such a way that it can support both USB Device mode (the original mode, before we developed the need for a bridge), and Android Accessory mode. Mode selection is based on a jumper setting.