What Each Colored Wire Inside a USB Cord Means
USB Color Coded Wires
Most hardware pieces today connected to our CPUs are USB-driven, meaning that they require use of a USB cord or wire. This includes your keyboard, mouse, webcam, memory flash drive, some speakers, the external hard drive, camera or digicam, video cam, and more.
So what is inside it, exactly? USB stands for Universal Serial Bus, and there are four wires inside of it — usually, it's a red, green, white, and black cord. Each of these wires has a corresponding code:
- Red color indicates the positive wire with 5 volts of DC power.
- Black has always been the ground wire in almost all electronic devices.
- White is the data as a "positive" wire, while
- Green is also for the data , but as the negative wire.
Some USB cords have different wire color combinations, like orange, blue, white, and green. In this case:
- Orange is the positive, with 5 volts of power in the DC (direct current).
- White indicates a ground wire, meaning the negative wire.
- Blue corresponds to the negative data
- Green as the positive data.
Important Things to Note about USB Cords
These are generally the types of different USB color coded wires out there. So, if you are asked or asked about the color codes in the wiring of a hardware device, you can reference this article.
- Note that the wiring inside a webcam has four wires, but check if your webcam has microphone built in inside. You can trace the wire if so.The Nokia USB pinout has the same code if we skin the wires.
- Now that you know about the inside of a wire, the next question is: should you use a shield on your USB pin out? Yes, you should. Shielding is very important for protection.
- You also cannot have a USB cable without the positive and negative, or the ground. The most important wires inside are the positive and negative wires. These are the paths of electric power needed to run your device. Also, you now know what color they are!
Feel free to leave a comment below if you have questions or suggestions. I hope you learned something today. Thank you!
Poll on USB cable defects:
What is your common USB problem?
This article is accurate and true to the best of the author’s knowledge. Content is for informational or entertainment purposes only and does not substitute for personal counsel or professional advice in business, financial, legal, or technical matters.
Questions & Answers
My USB cable has a red, green, black, and white, which wires do I put together in order to power something?
It could be the ground wire or any. Just focus on the power wires and have trial and error on both data wires.Helpful 30
How can I connect a two-wire mobile charger to a four-wire USB adapter?
Check for the positive wire and the negative one. Use a tester.Helpful 23
Can I hook the green wire to the black wire, and the white to the red ? Will it work?
It could be the ground wire or any. Just focus on the power wires and have trial and error on both data wires. You can also check my other wires colors in my articles.Helpful 21
Since the red and the white are both + & the black and green are - can you splice the black and green together and do the same with the red and white?
It could be the ground wire or any. Just focus on the power wires and have trial and error on both data wires. You can also check my other wires colors in my articles.Helpful 13
How would I wire a USB to HD I?
It would not be possible to rewire dissimilar cables since USB has only four wires and HD has lots.
© 2012 Mark Johann