PinoutSearch

Mini-USB (Mini-B) Pinout

The 5-pin Mini-B connector - USB 2.0 data, power, and an OTG ID pin.

Overview

Mini-USB (almost always Mini-B) is the small 5-pin connector once common on cameras, MP3 players, and modules. It adds an ID pin to the standard four signals for USB On-The-Go role detection.

For a normal device you only need VBUS, D-, D+, and GND. ID floating = peripheral; ID tied to GND = OTG host.

Pinout

PinNameFunctionDescription
1VBUSPOWER+5 V bus power
2D-USB2 / DATAUSB 2.0 data, negative
3D+USB2 / DATAUSB 2.0 data, positive
4IDGNDOTG role select: floating = device, GND = host
5GNDGNDGround

Notes

  • The 5th (ID) pin distinguishes Mini from the 4-pin standard connectors.
  • Mini-A is deprecated; 'Mini-USB' in practice means Mini-B.

Reference: USB-IF / Wikipedia - USB hardware· verified 2026-06-27