USB Pinout
Since I have done a lot of writing in the past about USB devices, I often get questions about the actual USB hardware. One of the biggest questions that I get is about the USB pinout specifications. Just what are each of those pins and what do they do.
Well, the USB pinout varies, depending upon which type of USB plug and receptical you have.


Series A USB Pinout
This is usually what you see most USB devices such as mice and keyboards using. These are four pin devices, two pins for power (1,4) and two pins for data (2,3). The power pins transfer 5V DC.


Series B USB Pinout
These are more popular on USB hard drives, CD/DVD drives and scanners. Just like Series A, these are four pin devices, two pins for power (1,4) and two pins for data (2,3). The power pins transfer 5V DC.


Mini-USB Series A USB Pinout
The Mini-USB series went to a five pin design, even though one pin is either not used or is redundant. You will usually see these on cameras or other such devices. Pins 1 and 5 are for power and pins 2 and 3 provide data access. Pin 4 is connected to pin 5 for redundancy.

Mini-USB Series B USB Pinout
Just like Mini-USB Series A, Series B used five pins, two for power (1,5) and two for data (2,3). Pin 4 is not connected and serves no purpose.
Summary Tables
Standard USB Pinout & Cable Color Code
| Pin | Wire Color | Function |
|---|---|---|
| 1 | Red | V BUS (5V) |
| 2 | White | Data- |
| 3 | Green | Data+ |
| 4 | Black | Ground |
Mini-USB Type-A Pinout & Cable Color Code
| Pin | Wire Color | Function |
|---|---|---|
| 1 | Red | V BUS (5V) |
| 2 | White | Data- |
| 3 | Green | Data+ |
| 4 | Joined to pin 5 | ID |
| 5 | Black | Ground |
Mini-USB Type-B Pinout & Cable Color Code
| Pin | Wire Color | Function |
|---|---|---|
| 1 | Red | V BUS (5V) |
| 2 | White | Data- |
| 3 | Green | Data+ |
| 4 | Not connected (*) | ID |
| 5 | Black | Ground |
| Trackback link - http://www.dailycupoftech.com/2008/07/21/usb-pinout/trackback/ |
|
3 Responses to “USB Pinout”
-
Simon Hobson Says:
July 21st, 2008 at 7:37 amI believe the 5th pin on the mini USB connectors is used to identify the type of attached device - so that devices like PDAs etc can have one USB socket which accepts type A or type B plugs and configure the port as a host or peripheral depending on which type of plug is connected. That way, the device can have just the one socket, while still able to connect as a peripheral to a host, or as a controller to a peripheral (such as a printer). So rather than being grounded for redundancy (type A) or serving no purpose (type B), it determines how the port should be configured.
-
charles Says:
July 21st, 2008 at 8:39 amWanna say i like your blog, and going to buy you a cup of coffee once i setup my paypal account. Want you to be aware of the typos in this post.
1) These apre more popular on USB hard drives, CD/DVD drives and scanners
2) The Mini-USB series went to a five pin design, even though one pin is either ot used or is redundant.Have a nice day and keep on posting

-
mel Says:
August 25th, 2008 at 8:06 pmThis are a very nice information. And will be recognized by many people.
Thank you for sharing….. and GodSpeed…..
