Pinout
USB Type-A / Type-B pinout

Pins
- 1: VBUS (+5V)
- 2: D− (data −)
- 3: D+ (data +)
- 4: GND
Specifications
| Contacts | 4 (USB 2.0), 9 (USB 3.x) |
|---|---|
| Bus voltage | 5 V |
| Current (standard port) | 500 mA (USB 2.0), 900 mA (USB 3.x) |
| Current (BC 1.2 charging port) | Up to 1.5 A |
| Data rate | 1.5 / 12 / 480 Mbit/s (USB 2.0), 5 Gbit/s (USB 3.0) |
| Data lines | D+ / D− differential pair, 90 Ω |
| Max cable length | 5 m (USB 2.0 high speed) |
| Mating cycles | 1,500 (standard A/B) |
| Typical use | Type-A on hosts and chargers; Type-B on printers, Arduino Uno / Mega |
Notes
- Looking into a Type-A receptacle with the tongue at the top, pins 1-4 run left to right; the plug mirrors that. A Type-B receptacle (printers, Uno/Mega) puts 2 and 1 above its centre block and 3 and 4 below it.
- USB 3.x adds five more contacts (SSTX±, SSRX±, GND) deeper in the same Type-A shell, and a second row on Type-B — the four shown here keep working for USB 2.0 speed.







