Electronic – cut off the 5v output of the IOIO to the Android

androidmicrocontrollerpowersparkfunusb

I'm working on a project using Sparkfun's IOIO for Android (https://www.sparkfun.com/products/10748) where power consumption is a concern. The IOIO board provides the phone with 500 mA charging if I'm correct, which is too much for continuous operation.

There's a trick I have in mind where I want to power the phone and the IOIO board separately from the same external power source (Of course the phone gets its 3.7v while the IOIO gets 5v). The catch here is that I want to cut off the 5v line on the cable from the IOIO to the phone, leaving the GND, Rx and Tx (Which are good enough for any serial transmission).

schematic

simulate this circuit – Schematic created using CircuitLab

(Middle lines are those in the micro-USB cable)

I'm kind of limited on USB cables so I don't want to make a mistake. Is my theory feasible with the IOIO? Or will the Android OS not detect it?

(NOTE: My project uses a magnetometer, so I can't resort to bluetooth which might interfere with the readings)

Best Answer

USB doesn't have the notion of TX and RX lines, it's not a UART. The data lines are D+ and D- used for bidirectional differential signaling. The VBUS line (which you refer to as Vcc) is essential for detection the presence of the host (IOIO in this case), so what you're suggesting will not work. The best you can do is use the current limiting trimmer that's on the IOIO. Start with it fully clockwise, then, with the Android connected, turn it counter-clockwise until the connection drops, then back some. The minimum current that can be achieved like that varies by phone model. Also, turning the screen and comms off on the Android will reduce current significantly provided the phone battery is fully charged.

Hint: in the future, you're most likely to find answers to IOIO-related questions on the ioio-users Google group.