Summary of Universal Serial Bus (USB) Connectors Pinout
This article explains Universal Serial Bus (USB) connectors, highlighting their ease of use for attaching peripherals like mice and printers compared to older interfaces. It details the standard 4-pin USB cable configuration: VCC (+5V), Data -, Data +, and Ground. The text notes that a single USB connection can support up to 127 devices and describes the internal wiring colors for power and data transmission.
Parts used in the PC Cable USB Pinout Diagram:
VCC Supply Voltage
D- Data -ive Signal
D+ Data +ive Signal
GND Ground / Neutral
+5 volts red wire
Ground brown wire
Yellow twisted pair wire
Blue twisted pair wire
Shielded cable
USB 1.x and 2.0 use four wires: power, ground and a twisted pair that carries data. Newer connectors add pins, but the four signals remain the core. This page lists the pin numbers for the common connectors and what each signal does, so you can wire a cable, power a project or probe a port safely.
IN SHORT
USB 2.0 uses VBUS (+5 V), D-, D+ and GND.
In a standard cable the wires are usually red (VBUS), white (D-), green (D+) and black (GND), but confirm with a meter.
Micro and mini connectors add an ID pin; USB-C adds CC lines for power negotiation.
A default USB 2.0 port supplies up to 500 mA after the device negotiates; check the specification for your port type.
4
wires in USB 2.0
5 V
VBUS
2
data lines
5
pins on micro-B
The four USB 2.0 signals
USB-A and USB-B (standard)
Pin
Signal
Typical wire colour
Function
1
VBUS
Red
+5 V supply
2
D-
White
Data minus
3
D+
Green
Data plus
4
GND
Black
Ground
Mini-B and Micro-B (5 pin)
Pin
Signal
Function
1
VBUS
+5 V
2
D-
Data minus
3
D+
Data plus
4
ID
Host or device role on OTG cables; not connected on a normal device
5
GND
Ground
USB-C
USB-C has 24 pins, mirrored so the plug fits either way. For a USB 2.0 device the important ones are VBUS, GND, D+, D-, and the two configuration channel pins CC1 and CC2. A simple USB-C device that only wants 5 V puts a 5.1 kilohm resistor from each CC pin to ground; the host then knows a device is attached and which way round the plug is. Without those resistors many USB-C chargers supply no power at all.
Signal
Function
VBUS
Power, +5 V by default
GND
Return
D+, D-
USB 2.0 data (present twice on the plug; join the pairs)
CC1, CC2
Attach detection, orientation and power negotiation
SBU1, SBU2
Sideband use, not needed for plain USB 2.0
Powering a project from USB
Rule
Why
Do not draw more than the port allows
The port may shut down; draw only a modest current until enumeration.
Add a bulk capacitor near the load
Absorbs the surge when a device plugs in.
Protect with a resettable fuse
Stops a fault from overloading the port.
Do not join D+ and D-
It can be read as a charger signature or damage the port.
A cable coloured red and black is not always standard. Cheap and old cables vary. Check VBUS and GND with a meter before connecting a board.
Quick answers
Can I power a 5 V Arduino from the VBUS wire? Yes, through the 5 V pin with the supply fused, or through the USB socket.
What are the data lines for? They carry differential USB data; a microcontroller needs USB hardware or a bridge chip to use them.
Why are D+ and D- twisted? A twisted pair rejects noise and keeps the signal clean.
Quick Solutions to Questions related to PC Cable USB Pinout Diagram:
How many devices can a single USB connection support? A single standardized USB connection allows you to connect up to 127 devices.
What voltage is supplied by the VCC pin? The VCC pin provides a supply voltage of +5V.
Which wires carry the data signals inside a USB cable? A twisted pair consisting of yellow and blue wires carries the data.
What are the colors of the power wires in a USB cable? The power wires are red for +5 volts and brown for ground.
Why are USB devices considered simpler than parallel or serial ports? USB devices are incredibly simple because they do not require special cards installed inside the computer case.
Does the operating system support USB drivers automatically? Yes, the operating system supports USB, making device driver installation quick and easy.
What is the function of the D- signal? The D- signal represents the negative data signal.
Is the USB cable shielded? Yes, the USB cable is shielded.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.ACCEPTPrivacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.