Updated date:

USB Pins - Pin out and in of the USB wire, cord, cable

USB pins and wires, Color code of USB

USB pins and wires, Color code of USB

What is inside our USB?

Using usb port these days are getting more and more popular but what is inside our usb cable?

How many wires does it have?

What are the wires?

Does it have corresponding value?

How about the color codes?

If we do the skinning of wire in our USB, we can see four wires. Normally, we have red, black, green and white.

These four little wires of the USB wiring have their own assignments.

RED - has 5 volts running through it which is also the positive wire.

BLACK - is the ground or the negative wire of the USB.

GREEN - is the wire where the data pass through on its negative value.

WHITE - is the wire where the data pass through on its positive value.

There are also USB with different wire colors. One example is the photo below just taken with my KONICA Digicam.

USB pins and wires - USB with different wire colors

USB pins and wires - USB with different wire colors

In a different USB cable, the colors are orange, blue, white and green.

Orange is for positive of 5 volts in EMF.

White is the ground or the negative terminal wire.

Green is the data in positive and blue is for negative of data linking.

Some USBs with Shields...

There are expensive USB cords which are stronger and have a metallic shield.

This has nothing to do with the USB so just separate that when you wrap your USB wires after connecting.

If you buy this kind of USB cord, you may find it hard to slice it to get the four wires inside.

Try to use a long nose pliers for this task and slowly and carefully snap the shield without hitting the four wires inside.


Inside Slice of USB

Inside Slice of USB

USB cables in different uses

I have many usb cord at home with their specific functions. As you can see below I have black and white USB wires in different sizes.

I use usb connection to my HP Jornada - Handheld PC, Webcam, Nokia Phone in any models, usb operated external HD and the like and to my USB type modem.

Various types of usb and their uses

Various types of usb and their uses

My various types of USB function

My Handheld PC was first used in 1999 and USB port that time was the coolest stuff in the technology world. I was so proud of it that time using this kind of gadget.

I bought my webcam last year with a USB cord for USB port on my computer and I find it cool when I know it's been upgraded to usb 3.0 and in high speed.

I am happy about my USB wire when I use to transfer files from my Nokia Phone to my computer at home. I also lent my USB to my friends if they want to transfer files from their phones.

I have five common USB wire at home which are used for my external HD, Digicam and card reader. You can see this USB everywhere.

Lastly, I am happy to know about my USB antenna for my USB type Modem for 3G and 4G internet service provider in my area.

"To read is to learn!"

A usb used in NOKIA N82 and other Nokia models

A usb used in NOKIA N82 and other Nokia models

Quiz

For each question, choose the best answer. The answer key is below.

  1. What is USB?
    • Universal Serial Bus
    • Unilateral Serial Bus line

Answer Key

  1. Unilateral Serial Bus line

© 2012 Mark Johann

Comments

DK on September 15, 2014:

Hi Mark,

I stripped my USB cable and have pink, grey, white and green wires. Unfortunately i don't have a multimeter to check which one is the + and which one is the - to charge my phone battery directly. Would you know the colour coding? Or another way to check?

Chris on June 10, 2014:

Any idea on which ones would connect to a 5 pin cable for a wireless transmitter for a first person video for a GoPro?

Mark Johann (author) from New Zealand on March 06, 2014:

Hi elaine,

I am sure red is the positive wire and brown is the negative wire. Data wires are the rest. Thank you.

elaine on March 06, 2014:

Hi i hope you could please help me my usb cable has four wires red, blue, brown & yellow, what colour is positive, negative & data

Mark Johann (author) from New Zealand on September 27, 2013:

Hello there. Thanks for dropping by for the comment. :)

mts1098 on September 27, 2013:

very informative and useful...I like the way you broke down the color scheme of the wiring...well done

Mark Johann (author) from New Zealand on May 23, 2013:

Thanks for sharing your precious idea. Now, many of our friends could have this idea of yours. 5 volts is common for USB devices around, I suppose.

DATALOAD from Michigan on May 22, 2013:

Great article. I find myself splicing USB cables quite frequently. My most recent was from a solar panel. Since the solar panel has a USB port and my phone takes the same voltage (5v), I just clipped off the walwart side and soldered power and ground. Now I have an extra long usb charger cable. It works great.

Mark Johann (author) from New Zealand on May 04, 2013:

Hi Sid,

I would try to make that suggestion. Thanks for the comment. :)

Sid Kemp from Boca Raton, Florida (near Miami and Palm Beach) on April 30, 2013:

A table showing the two wiring color sets and their functions would be a great addition to this article.

Mark Johann (author) from New Zealand on April 29, 2013:

Hi SidKemp,

Thanks for your shared comment. :)

Those days, I guess USB technology were just studied. It seems technology is fast pacing. I remember using DOS command from a floppy disk. There were no USB in those days. :)

Sid Kemp from Boca Raton, Florida (near Miami and Palm Beach) on April 29, 2013:

Thanks, back in the ancient days (late 1980s) I had a job soldering serial and parallel cables, long before the wonders of USB.

Mark Johann (author) from New Zealand on December 14, 2012:

Hello there again, my friend. White wire will be the ground wire if the colors are "orange blue white green" and white will be Data + if the wires are "red black green white."

JB on December 13, 2012:

welll thanks!! im just like... how did the white turn to ground

Mark Johann (author) from New Zealand on December 13, 2012:

Hello,

Okay, so if you have the orange, blue, white and green wires, then orange is for the 5 volts. Check the photo above. I am 200 percent sure with that.

JB on December 13, 2012:

well they are the Orange, blue, white and green ... so i thou that the white n green stayed the same but the blue was gnd n the orange -red n so now u sayin a whole lot different setup n so that's why i was askin did u actually have this values proven on those colors, so that i can go on n use them like that

Mark Johann (author) from New Zealand on December 13, 2012:

I verified this, my friend. What are the colors of your USB wires that I may help you.

JB on December 12, 2012:

********"""the colors are orange, blue, white and green. Orange is for positive of 5 volts in EMF. White is the ground or the negative terminal wire. Green is the data in positive and blue is for negative of data linking."""

jB on December 12, 2012:

how sure are u about the values on this "" the colors are orange, blue, white and green" ??? did u actually verified this? or just saying?

Mark Johann (author) from New Zealand on October 29, 2012:

I thank you for making me feel happy. I am bright you said. I still have to discover many things just to share my knowledge to humanity.

Thanks MarleneB.

Marlene Bertrand from USA on August 04, 2012:

You are so right. "To read is to learn!" I learned a lot here. This stuff about USB pins and cables is quite interesting and I like the way you explain things in a way that I can understand. Very nice hub.

Mark Johann (author) from New Zealand on July 30, 2012:

Thank you wrenfrost56.

wrenfrost56 from U.K. on July 30, 2012:

Useful hub with good original photographs. :)

Mark Johann (author) from New Zealand on July 27, 2012:

Yes, absolutely. I can do that and it will be my next hub. As soon as I have time, I will write about the procedure on connecting usb wires.

Melody Collins from United States on July 27, 2012:

Wow, this is very nteresting. I had a friend who wired a usb chord to hard drive he took out of an old computer. Would this information be helpful in helping me do that?