Wiring Cloud — Library of Wiring Diagrams & Standard Electrical Schematics

Pinout Diagram for a Standard USB 2.0 Cable

A USB 2.0 cable carries power and data through a small group of clearly defined conductors. Knowing the pinout helps with cable repair, connector replacement, continuity testing, custom wiring, and troubleshooting devices that charge but fail to transfer data.

The most familiar USB 2.0 connectors are Type-A and Type-B, which use four electrical contacts. Mini-USB and Micro-USB connectors add a fifth contact called ID, used to identify host and peripheral roles in compatible applications.

Correct identification matters because connector shapes can look similar while their pin numbering, orientation, and internal wiring differ. Always inspect the connector face and confirm the pin sequence before soldering or applying power.

How USB 2.0 wiring is arranged

A standard USB 2.0 connection uses two power conductors and a twisted differential data pair. VBUS supplies nominal 5 V, while GND provides the return path. The Dāˆ’ and D+ lines carry the USB data signal and should remain paired to preserve signal quality.

In a typical cable, the four core wires are red for VBUS, white for Dāˆ’, green for D+, and black for ground. Cable manufacturers can use different colors, especially in low-cost or molded assemblies, so color should support testing rather than replace it.

The outer shield surrounds the conductors and helps reduce electromagnetic interference. It may connect to the metal shell, drain wire, or connector shield rather than to the black ground conductor. The exact bonding arrangement depends on the cable design and equipment enclosure.

USB 2.0 pin functions

On a standard Type-A plug, pin 1 is VBUS, pin 2 is Dāˆ’, pin 3 is D+, and pin 4 is GND. Type-B uses the same electrical order and functions, although the connector body has a different shape and the contact orientation must be viewed carefully.

VBUS is generally a nominal 5-volt supply, but the available current depends on the USB host, device negotiation, cable quality, and charging standard. A USB 2.0 data cable should never be assumed to support high-current fast charging simply because it fits the socket.

The data pair is polarity-sensitive. Reversing Dāˆ’ and D+ commonly prevents enumeration, causes intermittent operation, or makes the device appear to charge without being recognized. Keep the pair twisted and avoid unnecessary extensions or long exposed leads.

Connector variations and pin numbering

Mini-USB and Micro-USB connectors commonly have five contacts. Pins 1, 2, 3, and 5 retain the power and data roles, while pin 4 is the ID contact. On many ordinary USB 2.0 cables, the ID pin is left unconnected.

Micro-USB OTG accessories use the ID contact to change the expected host or peripheral role. A grounded ID pin can signal host mode in supported devices, while a floating ID pin generally indicates peripheral mode. This behavior depends on the device and USB implementation.

For broader residential and communications wiring context, Fios wiring diagrams can help distinguish USB cabling from Ethernet, telephone, and fiber-related connections. Those systems may also use familiar color conventions, but their electrical purposes and termination rules are different.

Connector or contact Pin 1 Pin 2 Pin 3 Pin 4 Pin 5
USB Type-A VBUS Dāˆ’ D+ GND Not present
USB Type-B VBUS Dāˆ’ D+ GND Not present
Mini-USB 2.0 VBUS Dāˆ’ D+ ID GND
Micro-USB 2.0 VBUS Dāˆ’ D+ ID GND

Reading the connector face correctly

Pin diagrams may show a plug viewed from the mating face, the solder side, or the cable-entry side. These views can mirror the apparent left-to-right order. Before following a diagram, identify which side is illustrated and compare the drawing with the physical keying of the connector.

For a USB Type-A plug, the contacts are arranged in a single row inside the rectangular metal shell. The broad insulating tongue and the shell opening provide orientation, but the visible contact order changes when the plug is viewed from the rear.

Receptacles also require care because their contact numbering is commonly represented from the front-facing mating side. If a repair involves a socket mounted on a circuit board, use the board markings, connector datasheet, or continuity measurements to verify the pin assignment.

Color codes and cable construction

The conventional USB color code is red for +5 V, white for Dāˆ’, green for D+, and black for GND. A bare or foil-wrapped drain wire is often associated with the shield. Some cables omit the shield, use alternate colors, or combine foil and braided shielding.

USB 2.0 data conductors are usually thinner than the power conductors, and the Dāˆ’/D+ pair is twisted together inside the jacket. Excessive untwisting near a repaired connector can increase noise and reduce reliable operation, particularly at the full-speed rate of 12 Mbps or high-speed rate of 480 Mbps.

USB-C cables should not be wired from a USB 2.0 Type-A diagram. USB-C has more contacts, configuration-channel wiring, reversible orientation, and additional power rules. Likewise, a USB 3.x cable may contain extra SuperSpeed pairs that are absent from a four-wire USB 2.0 cable.

Testing a cable before use

A digital multimeter set to continuity mode can verify each conductor with the cable disconnected from all equipment. Probe one connector pin at a time and record its destination. Then check for unintended continuity between VBUS, ground, Dāˆ’, and D+.

Inspect the connector for bent contacts, cracked strain relief, loose shielding, or solder bridges. A short between VBUS and GND can damage a host port or trigger its protection circuit. Never perform resistance or continuity tests on a cable that is connected to powered equipment.

For installation references involving network and communications pathways, fiber installation references provide useful contrast: USB is a short copper interconnect with a defined host-device relationship, while fiber systems use optical transmission and different termination practices.

Practical checks before repairing a cable

A reliable pinout reference is only part of a safe repair. Connector orientation, cable construction, and the capabilities of the connected devices all affect the result.

After wiring, connect the cable first to a low-risk peripheral and inspect for stable detection, normal charging behavior, and absence of unusual heat. A correct repair should preserve the original pin functions, shielding arrangement, and mechanical strain relief.

Use this USB 2.0 pinout as a reference while identifying connectors, repairing leads, or documenting an equipment harness, and verify every connection before applying power.