Is it possible to power a device through a phone's MicroUSB?

A

AC Question

I'm starting to develop a device, but I'm still new to the Android and don't know if it is possible to power it through the MicroUSB. I have measured the voltage of the MicroUSB pins, but just to find out that there was no signal there. So is it possible to do this? If so, do I need to enable it through the software or is there some other easier way?
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
Short pins 4 and 5, and you should find power on pins 1 (+) and 4/5 (-). That's how OTG works - the direction of the power pins is reversed (which is why you can't charge the phone when using OTG). It also converts the phone to USB host mode, so if you need the phone to be running data normally, and to be outputting power, you can't do it. If your device is like a mouse, keyboard or memory stick, it'll work.