Very simple. Maximum length of cable is about 5 m for AWG20 and 0.8 m for AWG28 cable.
If you know description of Do-It-Yourself device made using this pinout, share the link with us.
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

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.0 metres (16.4 ft). 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 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.

Is this document correct or incorrect?.
There are 57 reports in our database: 50 positive and 5 negative.
4 pin USB A / USB B receptacle connector layout
4 pin USB A / USB B receptacle connector
4 pin USB A or USB B plug connector layout
4 pin USB A or USB B plug connector
Source(s) of this and additional information:
This page contain parts under Copyright © 2000-2015 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.