Charge its battery as well as act as a usb host. 4 idis used for device identification especially in modern devices for otg connections eg.
Td 2030 Usb 3 Cable Wiring Diagram Usb Otg Micro Usb Cable
Otg wiring diagram. Smartphone otg connector to connect a usb drive directly to the mobile phone. This will tell the otg device that it is allowed to draw current off vcc eg. The red one is to get sure wire with dc ability of 5 volts. And the last pin no. Black wire serves as ground just like in any other apparatus. Typically it utilizes black black red and white cable colors.
Place a 124 kω resistor between id and gnd. 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. Make cable as per schematic in step 4. A lot of people wonder why have micro usb 5 pins instead of 4. In accordance with wiring diagram for otg usb there are just four wires used inside the cable. I havent made it yet though.
How to find the usb wiring diagram easily. 5 is a connection for ground signal which is pin no. The id pin can also have a 124 kω impedence to ground see below. 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. Sep 13 2018 otg usb cable wiring diagram. 4 type usb a through a wire.
Usb device is connected to phone and phone is still charging. The 124 kω mode is slightly more complicated to wire. I made another schematic how you should wire things up so the usb will work as a host or otg mode.