In accordance with wiring diagram for otg usb there are just four wires used inside the cable. Typically it utilizes black black red and white cable colors.

Micro Usb Mouse Wiring Diagram Swichw Rmnddesign Nl
Otg wiring diagram. I made another schematic how you should wire things up so the usb will work as a host or otg mode. Make cable as per schematic in step 4. Usb device is connected to phone and phone is still charging. The red one is to get sure wire with dc ability of 5 volts. This will tell the otg device that it is allowed to draw current off vcc eg. Place a 124 kω resistor between id and gnd.
Smartphone otg connector to connect a usb drive directly to the mobile phone. The id pin can also have a 124 kω impedence to ground see below. The 124 kω mode is slightly more complicated to wire. 4 idis used for device identification especially in modern devices for otg connections eg. 4 type usb a through a wire. I havent made it yet though.
Charge its battery as well as act as a usb host. Sep 13 2018 otg usb cable wiring diagram. 5 is a connection for ground signal which is pin no. How to find the usb wiring diagram easily. Actually the extra pin or pin 4 is typically not connected in the normal usb cable but if it is connected to ground pin the phone will turn in a host mode and will be able to read. Usb plug wiring diagram usb adapter wiring diagram usb 20 cable diagram usb to rs232 cable wiring diagram usb microphone wiring diagram usb pin diagram usb connections diagram samsung usb cable wiring diagram micro usb diagram usb b wiring usb to serial wiring diagram usb hub circuit diagram usb front panel wiring diagram usb wire.
And the last pin no. Black wire serves as ground just like in any other apparatus. A lot of people wonder why have micro usb 5 pins instead of 4.