USB Micro-B Connector Wiring Guide

USB Micro-B pinout with ID pin and cable colors, plug and socket in 3D

🔒 Your data stays in your browser: nothing you type or upload is sent to a server.

How it works

Follow the steps to wire a micro-B plug: pin 1 is VBUS, 2 is D−, 3 is D+, 4 is ID and 5 is GND. Pin 4 stays unconnected in a normal device cable, and the 0.65 mm pad pitch makes flux, a fine tip and a magnifier essential.

Common questions

What is the micro-USB pinout?

Micro-B has 5 pins: 1 VBUS (+5 V), 2 D−, 3 D+, 4 ID and 5 GND. The 10-pin micro-B used by USB 3.x is a different connector.

What does the ID pin do in micro-USB?

ID tells a dual-role device which role to take. A micro-A plug (OTG) connects ID to GND, so the device acts as host; a micro-B plug leaves it unconnected, so the device acts as peripheral.

Why does my micro-USB cable charge but not transfer data?

It is probably power-only: only pins 1 (VBUS) and 5 (GND) are wired and D+/D− (pins 3 and 2) are missing. Check continuity on pins 2 and 3 from end to end. A broken data wire near the plug gives the same symptom.

Related tools