USB OTG ID HOST GND
To complete Oli Glaser's answer, 5 pins USB respects the On-The-Go standard (OTG). The additional pin added to the conventional USB port is the ID pin added to the 4th electrical pin, and allow to recognize the device. Here is the resulting electrical setup of the pins:
- VDD (+5V)
- D- (Data-)
- D+ (Data+)
- ID (ID)
- GND (Ground)
As compared to other 4-pins USB devices, where there is no ID pin, the advantage is to be able to distinguish the host device from slave devices.
- Host: ID connected to GND
- Slave: ID not connected (floating)