ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

USB wiring and color code

Updated on March 12, 2015
I skinned or removed the cable wire of the USB and exposed the four wires inside.
I skinned or removed the cable wire of the USB and exposed the four wires inside. | Source

Tutorial about USB cable and the four wires inside

In support of my hub, Color Code of Wires inside the USB, many have questioned on various set of wires inside their USB.

I assume I have answered them all since no asked me again about their problems with USB wires.

My hub has the first picture of skinned USB with shield.

The four colors on the first picture are red, white, green and black.

I have mentioned the color code on that hub and it helps a lot of people since then.

Many of the comments below the hub asked about what is the positive wire and the negative wire and the data wires.

Source

In that hub, I teach about the wire color codes for each of the colored wire.

Red is for the 5 volts DC as positive wire obviously.

Black is to be paired with the red wire because this wire is ground wire.

Another name of ground wire is the negative wire.

Now, white wire here is the data wire in positive and to be paired also with the green wire as the data wire in negative.

This is a very piece of information that is very helpful to those who want to connect their USB cable by themselves.

You can save money doing your own thing.

Just be courageous enough and email me so I could help you with USB connections.

The readers of the hub will not be confused since I also post the pictorial diagram of the USB itself.

I basically remove the wire and take a photo of it. There it goes in the picture below.

Orange, white, blue and green USB wires inside this USB cable
Orange, white, blue and green USB wires inside this USB cable | Source

Basic colors of the four wires in USB cable

The basic colors inside the cable are red, black, white and green.

However, some manufacturer produced a different set of colors.

Don't panic! We will tackle those wires one by one.

I show another set of USB wires on the photo above so we will look this four colors of USB wires closely.

USB cable color code of orange, white, green and blue wires

In this photo, we have shown a different set of wires that are not common in USB cables in the market.

We can clearly see in the photo that orange is the positive wire in 5 volts DC which is also the red wire in other set of wires in USB cable.

White here is the ground wire or the negative wire.

On the other USB cable mentioned above, the negative wire is the black wire so they have huge differences.

Green wire on the other hand is the data wire in positive or the data plus.

As you can see in our first set of wires, green is the data wire in negative.

Be careful with this set of wires. You may interchange these and may cause trouble to your device. Now, blue wire here is the data wire in negative.

All USB cables in the market always have 5 volts DC which could damage slightly to your device but not totally.

In testing your USB wires be sure to connect and remove it immediately to avoid damage on your electronic device.

Trial and error method is the best in testing if you have different set of wire colors.

I made a hub about this also with some follow up comments, just check this hub: Color Code of a USB and USB Pins - Wire Colors ORANGE, WHITE, BLUE and GREEN.

How many USB type cable you have at home or at the office? (average)

See results

Comments and Questions about USB cable color code

I am proud to present my popular hub about Color Code of Wires inside the USB because I have helped a lot of hub visitors and readers here on the net.

Many readers of my hub ask various questions because they have different set of wires. The four wires inside their USB do not match with the color I gave in my hubs so that is why they ask lots and lots of questions.

One visitor of my hub named manpreet shahi, asked if I could help him to make a lamp out of his USB cable. Another hub visitor, Leo, asked if I could help him trying to make USB Y with two male ends for additional power supply.

It is fun to help these people. Based on the wiring of USB cable, we can easily connect those wires may it be same or different color.

Another hub reader named Claude Walker asked if he could connect an AV plug to one end of the USB and the wires are four inside that USB cable. Those four wires are black, red, white and green.

But all in all, let us go back to the basic which is the common set of wires inside the USB cable shown on the photo below.

Common set of wires inside a USB cable

Pictorial diagram of USB cable wires, color code of red, black, white and green
Pictorial diagram of USB cable wires, color code of red, black, white and green | Source

© 2013 Mark Johann

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      vusi 

      2 years ago

      How can I make usb cables, where to buy parts

    • Mark Johann profile imageAUTHOR

      Mark Johann 

      5 years ago from Italy

      Thank you billybuc. This is nice of you commenting on that matter.

    • billybuc profile image

      Bill Holland 

      5 years ago from Olympia, WA

      Now this I could understand. Thanks for making it so easy for this old relic. I like your niche; it is just narrow enough that you should corner the online market in six months or a little longer. Well done.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)