Serial interfaces cables and converters scheme
Very simple. Maximum length of cable is about 5 m for AWG20 and 0.8 m for AWG28 cable.
one side
Signal Description Pin
other side
1 USB Vcc (Vbus) usually RED, wire should be 20-28 AWG 1
2 USB Data - usually WHITE, wire should be 28 AWG 2
3 USB Data + usually GREEN, wire should be 28 AWG 3
4 GND usually BLACK, wire should be 20-28 AWG 4

USB D+ and D- are twisted in cable. Outer shell is made of copper braid and aluminum shield. 

Colors do not mean anything in the wiring scheme. You can use any color wire to rig something. Just make sure the colors match from end to end. Using the de-facto color is for industry types only.

The maximum length of a standard USB cable (for USB 2.0 or earlier) is 5 metres with devices operating at full speed (12 Mbit/s) or high speed (480mbit/s), and a maximum length of 3 metres with devices operating at low speed (1.5 Mbit/s) The primary reason for this limit is the maximum allowed round-trip delay of about 1,500 ns. If USB host commands are unanswered by the USB device within the allowed time, the host considers the command lost. The USB 3.0 standard does not directly specify a maximum cable length, requiring only that all cables meet an electrical specification: for copper cabling with AWG 26 wires the maximum practical length is 3 meters.

The data cables for USB 1.x and USB 2.x use a twisted pair to reduce noise and crosstalk. USB 3.0 cables are more complex and employ shielding for some of the added data lines (2 pairs); a shield is added around the pair sketched.

4 pin USB A receptacle connector layout
4 pin USB A receptacle connector
Source(s) of this and additional information:
This page contain parts under Copyright © 2000-2018 by team.
No portion of this webpage may be reproduced in any form without providing visible HTML link to . Webmaster permission required in any other cases.
Efforts have been made to ensure this page is correct, but it is the responsibility of the user to verify the data is correct for their application.