I have a use case for a mobile phone and OTG device that all use the micro USB connectors. Typically the OTG device is designed to be plugged directly into the phone, however this prevents the phone from staying on charge as charging and the OTG device needs the same port. I naively bought a cable with USB female split into a male and female micro USB port. The assumption was all pins would connect, power could be provided from the USB female to both the phone and connected device while the device and communicate on the data lines.

The cable I bought however does not do this, it only powers the phone (and only some phones at that), but does not power the device. No cable I can see can do what I need despite it seeming to be the trivial setup.

Is there some obvious reason why the cable I describe would be a bad idea?

More Information:

I am using one of:

  • Sony Xperia Z

  • Sony Xperia J

  • ZTC Nubia 5 Mini

  • LG Nexus 5

  • Google Nexus 9

as host. The device is the Seek Compact Pro thermal imaging camera and the cable is this one from Amazon: https://www.amazon.co.uk/gp/product/B00V9XS4V4/ref=od_aui_detailpages00?ie=UTF8&psc=1

Is there any glaring compatibility issue here? I am somewhat ignoring the Seek Thermal advice on compatibility as it seems they don't know much about it.

  • \$\begingroup\$ USB is a point-to-point communication protocol, so unless the splitter cable has a built in hub it would be a bad idea for the manufacturer to connect the data pins. \$\endgroup\$
    – ks0ze
    Apr 25, 2017 at 13:31
  • \$\begingroup\$ So, there is no harm in providing the DC 5V pins to both devices? Now regarding point to point, I only want the OTG device to communicate with the phone, not the charging power source (would connect to nothing anyway in the simple case), would this arrangement work as expected? I am looking up the role of the ID pin as Jon has suggested in his answer, still trying to make some sense of it. \$\endgroup\$
    – J Collins
    Apr 25, 2017 at 13:42

1 Answer 1


The use case you describe is a special corner case of the OTG standard, where the device acts as a host but draws power from the attached device. It requires a specific resistor value (100k) between the ID pin and ground of the mobile phone side micro USB connector to work.

There are a number of potential reasons why it is not working. Firstly, your phone may not support the feature correct. Secondly, the cable may not be wired correctly, in particular with the required resistor. You can easily test the cable with a multimeter and if this is correct then the issue more than likely lies in the phone.

  • \$\begingroup\$ +1. Yes, this arrangement is called "accessory mode charger" in OTG-speak. However, checking the u-AB cable might be no so easy, and a u-AB breakout board would be handy here, sparkfun.com/products/12035 \$\endgroup\$ Apr 25, 2017 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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