Universal Serial Bus (USB) is an electronic device that gives us a universal medium for connecting peripherals. It can be a keyboard, printer, speakers, a storage device, or a mobile phone.
With time, USBs have evolved in type, functionality, and efficiency. So, it becomes important to select the best variant from the available types that perfectly suits our purpose. In this article, we will discuss the pinout of different USB ports or Connectors, to get a better idea of their structure and connection.
The USB pinout can be divided into two parts: USB Connector Pinout and USB port Pinout. The connector here refers to the device that goes into the USB port. For example, Wired Mouse is connected to the laptop by inserting its connector into the USB port.
Hence the terms Male version for Connector and Female version for the USB port are tossed.
USB Type A and Type B Pinout(Male and Female)
USB Type-A is used to make a connection with a PC while Type B is used to connect smaller peripherals. In other words, Type A is a downstream connector, while Type B is an upstream connector.
The USB type A has rectangular, while type B has a square-like shape. Both of them have 4 pins. The figure below shows the Pinout of Male and Female versions of both USBs.
Note: The Female version is actually the USB connector pinout(Connector of a Keyboard for example) and the male version is the USB port pinout( Ports on your laptop for example)
Both these USB types differ in purpose and shape, but their pin connections are the same. Pin 1 is dedicated to the supply and pin 4 is for ground connection. Even pin 2 and 3 take the data input in both these types.
The female port has the PINs in descending order, starting from the right-hand side, while the male connector has them in the reverse order. The table below shows the pinout of both the USBs.
Note: Since the USB port and USB connector pinout are exactly the same but in opposite direction, the USB pinouts shown below are of connectors only.
USB Mini A and Mini B
USB Mini was the first improvised version of the normal connectors. This version was launched for both Type A and Type B. It’s a smaller version of Type A and B which was extensively used with old mobile phones. The Mini B connector is more popular than Mini A. The figure below shows the pinout of USB Mini B.
USB Mini B is thinner and more compact than Mini A. Hence it is used for PDAs, digital cameras, etc. Another significant development imposed on Type Mini is that it has an additional pin to support On-the-GO (OTG) connection. Thus it has 5 pins. The pin connections are given in the table below.
|4||ID||N/A||USB OTG ID|
USB Micro A and Micro B
USB Micro is thinner and gives a higher data transfer speed than the USB Mini. It is often used for charging portable devices and comes in two shapes. Micro A is rectangular whereas Type Micro B has a camper shape.
The USB Micro also has 5 pins similar to that of the USB Mini, where the additional pin supports OTG connectivity. The table below shows the pinout of Micro-A and B.
|4||ID||N/A||USB OTG ID|
USB Standard 3
USB Standard 3 is widely known as the SuperSpeed Mode that brought a revolution in USB manufacturing. The models used in the third generation are highly advanced, offer faster data speed, have a compact design, and are easy to handle.
Features of USB standard 3
The Standard 3 models are accepted globally due to the following benefits:
- It is capable to transfer data with a speed of 5Gbps and above.
- Since separate unidirectional paths are used to transmit and receive data, therefore it has larger bandwidth.
- With predefined power management states, it offers better power management.
- It allows the devices to notify about the data transfer, thereby improving the bus usage.
Standard 3 connectors come in the same physical configuration but with an additional 5 pins to handle these advancements. It includes additional ground and dedicated pins for transmission and reception which are called super speed connections. (learn more)
The pinout diagrams of the superspeed versions of different USB types are described in the following section.
USB Type A 3.0 and Type B 3.0
As discussed above, the normal Type A and Type B connectors have 4 pins. But the superspeed versions of Standard 3 have 9 pins which are visible in the figure below.
The table below shows the pinout of the superspeed versions.
|7||N/A||GND_Drain||Ground Signal Return|
Micro B 3.0
The superspeed version of Micro USB was introduced to Type B. Apart from the existing structure, the five additional pins are placed as an extension. Thus, it has a wider structure. The pinout of the Superspeed Micro B USB connector is given in the table below.
|8||N/A||GND_Drain||Ground Signal Return|
USB Type C 3.0
Type C has been the game-changer among all the USB types. It supports data transmission as well as power delivery. And thus, it has become a universal connector for modern devices.
The major attraction of Type C USB is that it is flippable. The figure above shows the pin connections with their corresponding color. The pin connections at the top and bottom are similar so we don’t have to bother to insert the connector in the correct direction.
It has an incredible data transfer speed of up to 5Gbps and is capable to replace Ethernet ports to achieve higher data rates. The connection description is given in the table below.
|A2||Superspeed differential pair 1, TX, positive||B11||Superspeed differential pair 2, RX, positive|
|A3||Superspeed differential pair 1, TX, negative||B10||Superspeed differential pair 2, RX, negative|
|A4||Bus power||B9||Bus power|
|A5||Configuration channel||B8||Side Band Use (SBU)|
|A6||Differential pair 1, positive||B7||Differential pair 2, negative|
|A7||Differential pair 1, negative||B6||Differential pair 2, positive|
|A8||Side Band Use (SBU)||B5||Configuration channel|
|A9||Bus power||B4||Bus power|
|A10||Superspeed differential pair 4, RX, negative||B3||Superspeed differential pair 3, TX, negative|
|A11||Superspeed differential pair 4, RX, positive||B2||Superspeed differential pair 3, TX, positive|