A lot of people wonder why have micro usb 5 pins instead of 4. The red one is to get sure wire with dc ability of 5 volts.

Sata To Usb Cable Wiring Diagram Copy Usb Serial Wiring
Usb otg cable wiring diagram. The data is transferred through the d and d connectors while vbus and gnd connectors provide power to the usb device. In accordance with wiring diagram for otg usb there are just four wires used inside the cable. I made another schematic how you should wire things up so the usb will work as a host or otg mode. Usb a b 20 and 30 cable pinout. Type a usb pinout diagram micro usb pinout diagram along with usb wiring diagram. The usb device that uses full speed bandwidth devices must have a twisted pair d and d conductors.
Black wire serves as ground just like in any other apparatus. The usb cable provides four pathways two power conductors and two twisted signal conductors. Before wiring usb you need to know the pinout diagram of usb. Below is the figure showing the pinout diagram of the usb micro b and usb a wiring diagram. The red one is to get sure wire with dc ability of 5 liter. Black wire serves as floor exactly like in any other apparatus.
Typically it utilizes black black red and white cable colors. Typically it uses black black white and red wire colors. This cable is most commonly used in mobile charger for charging mobile phones and as a usb data cable to connect mobile devices to tranfer files and images between personal computers and phones. Pinout of usb micro plug to usb standard receptacle for use with usb otg on the goallows portable devices such as cell phones which support otg to connect directly to other devices such as usb keyboards mice and mass storage devices. 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. In accordance with usb otg wiring diagram there are just four wires used inside the cable.