10 USB Pinout Explained- USB A, B, C(Male and Female)

USB ports pinout

Universal Serial Bus (USB) is an electronic device that gives us a universal medium for connecting peripherals. It can be a keyboard, printer, speaker, a storage device, or a mobile phone.

Table of Contents

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, a 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)

The USB type A is 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.

1VccRed+5V
2D-WhiteData-
3D+GreenData+
4GNDBlackGround

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.

1VccRed+5V
2D-WhiteData-
3D+GreenData+
4IDN/AUSB OTG ID
5GNDBlackGround

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.

USB standard 3

Features of usb standard 3.

The standard 3 models are accepted globally due to the following benefits:

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.

1RedVcc+5 DC
2WhiteD-Data –
3GreenD+Data +
4BlackGNDGround
5BlueStdB_SSRX-Superspeed Transmit-
6YellowStdB_SSRX+Superspeed Transmit+
7N/AGND_DrainGround Signal Return
8PurpleStdB_SSTX-Superspeed Receive-
9OrangeStdB_SSTX+Superspeed Receive+

Micro B 3.0

1RedVcc+5 DC
2WhiteD-Data –
3GreenD+Data +
4N/AIDOTG ID
5BlackGNDGround
6BlueStdB_SSRX-Superspeed Transmit-
7YellowStdB_SSRX+Superspeed Transmit+
8N/AGND_DrainGround Signal Return
9PurpleStdB_SSTX-Superspeed Receive-
10OrangeStdB_SSTX+Superspeed Receive+

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. Thus, it has become a universal connector for modern devices.

A1GroundB12Ground
A2Superspeed differential pair 1, TX, positiveB11Superspeed differential pair 2, RX, positive
A3Superspeed differential pair 1, TX, negativeB10Superspeed differential pair 2, RX, negative
A4Bus powerB9Bus power
A5Configuration channelB8Side Band Use (SBU)
A6Differential pair 1, positiveB7Differential pair 2, negative
A7Differential pair 1, negativeB6Differential pair 2, positive
A8Side Band Use (SBU)B5Configuration channel
A9Bus powerB4Bus power
A10Superspeed differential pair 4, RX, negativeB3Superspeed differential pair 3, TX, negative
A11Superspeed differential pair 4, RX, positiveB2Superspeed differential pair 3, TX, positive
A12GroundB1Ground

2 thoughts on “10 USB Pinout Explained- USB A, B, C(Male and Female)”

Great knowledge about USB… Thank you

Glad to be of help.

Leave a Comment Cancel reply

ElectronicsHub USA Logo

  • Electronics

USB Pinout | USB 2.0, USB 3.0, Type A, Type B, Mini-B, Micro-B, USB-C

  • April 12, 2024
  • By Leela Prasad

Universal Serial Bus or simply USB is a popular computer interface that we use to connect a variety of peripherals and devices. Some of the things that we connect using USB are Mice, Keyboard, Printers, Game Controllers , Audio Devices, and many more. Apart from computing devices (laptops, tablets, mobile phones), you can find USBs in cars, bikes, power banks, LED Lights, chargers etc. Depending on the type of application and need, there are several USB ports (USB Type A, Type B, micro-USB, Mini-USB, Type-C etc.). If you are working on anything related to USB, then a knowledge of the USB Pinout is crucial.

In this guide, let us take a quick look at the popular USB Ports and their pinouts. If you are interested in learning about different types of computers ports, then take a look at this 16 Different Types of Computer Ports guide.

A Brief Note on USB

Before the development of USB, we had to deal with separate ports for different types of devices. For example, mice and keyboards had PS/2 Ports, Modems has Serial Ports, Printers had Parallel Ports to name a few.

But with the introduction of USB, this has changed completely. You just need a single port to connect all the aforementioned and many other peripherals and devices to a computer.

From an end-user’s perspective, USB is an easy-to-use interface that supports many devices, is hot pluggable and no fiddling with configuration or settings. You plug-in a device and it just works.

All is not good and positive about USB. There are some negatives as well. For example, the main problem with USB is the different types of connectors it has for different devices (USB A, B, C, Micro, Mini etc.).

This is now changing with the development of USB Type C. We can use USB-C for data transfer, power and charging, connecting to displays, docking stations, etc. with a variety of devices (laptops, smartphones, tablets, computers, cars, external drives, power banks etc.). We believe that USB is finally living up to its “Universal” name with USB Type C.

Different Types of USB Ports

We can divide USB connectors and ports into three types: Type A, Type B and Type C. In both Type A and Type B, there are again three different sizes of connectors intended for different classes of devices. They are: Regular, Mini and Micro.

The connectors are also different based on the version of the USB i.e., USB 1.1 and USN 2.0 have a similar connectors and ports but when it comes to USB3.0, they are completely different. USB Type C sorted this whole mess with a single connector.

Before looking at the USB pinout of different USB ports, here is an image of all the USB Connectors.

Let us now take a look at the pinouts of different USB Ports. We are mentioning the USB Pinout only for the female side of the connection. The pinout of the male side will be identical except that it will be a mirror image of the female side.

1 V +5V Red or Orange
2 D– Data – White or Gold
3 D+ Data + Green
4 GND Ground Black or Blue
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG (On-the-Go) Identification

Connected to Ground on Mini-A Port (Host)

No Wire
5 GND Ground Black
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG (On-the-Go) Identification

Not Connected on Mini-B Connector (Device)

No Wire
5 GND Ground Black
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG (On-the-Go) Identification

Connected to Ground on Type A Port (Host)

No Wire
5 GND Ground Black
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG (On-the-Go) Identification

Not Connected on Type B Connector (Device)

No Wire
5 GND Ground Black
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG (On-the-Go) Identification

Connected to Ground on Type A Port (Host)

Not Connected on Type B Connector (Device)

No Wire
5 GND Ground Black
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 GND Ground (Power Return) Black
5 StdA_SSRX– Super Speed Differential Pair for Receiving Blue
6 StdA_SSRX+ Yellow
7 GND_DRAIN Ground (Signal Return) None
8 StdA_SSTX– Super Speed Differential Pair for Transmitting Purple
9 StdA_SSTX+ Orange
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 GND Ground (Power Return) Black
5 StdA_SSTX– Super Speed Differential Pair for Receiving Blue
6 StdA_SSTX+ Yellow
7 GND_DRAIN Ground (Signal Return) None
8 StdA_SSRX– Super Speed Differential Pair for Transmitting Purple
9 StdA_SSRX+ Orange
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG Mode Detect Dark Blue
5 GND Ground (Power Return) Black
6 StdA_SSRX– Super Speed Differential Pair for Receiving Blue
7 StdA_SSRX+ Yellow
8 GND_DRAIN Ground (Signal Return) None
9 StdA_SSTX– Super Speed Differential Pair for Transmitting Purple
10 StdA_SSTX+ Orange
1 V +5V Red
2 D– Data – White
3 D+ Data + Green
4 ID OTG Mode Detect Dark Blue
5 GND Ground (Power Return) Black
6 StdA_SSTX– Super Speed Differential Pair for Receiving Blue
7 StdA_SSTX+ Yellow
8 GND_DRAIN Ground (Signal Return) None
9 StdA_SSRX– Super Speed Differential Pair for Transmitting Purple
10 StdA_SSRX+ Orange
A1 GND Ground Return Tin Plated (Gray)
A2 SSTXP1 (TX1+) Super Speed Differential Pair #1 TX Positive Yellow
A3 SSTXN1 (TX1–) Super Speed Differential Pair #1 TX Negative Brown
A4 V Bus Power Red
A5 CC1 Configuration Channel Blue
A6 DP1 USB 2.0 Data + Green
A7 DN1 USB 2.0 Data – White
A8 SBU1 Sideband Use Red
A9 V Bus Power Red
A10 SSRXN2 (RX2–) Super Speed Differential Pair #4 RX Negative Blue
A11 SSRXP2 (RX2+) Super Speed Differential Pair #4 RX Positive Red
A12 GND Ground Return Tin Plated (Gray)
B1 GND Ground Return Tin Plated (Gray)
B2 SSTXP2 (TX2+) Super Speed Differential Pair #3 TX Positive White
B3 SSTXN2 (TX2–) Super Speed Differential Pair #3 TX Negative Black
B4 V Bus Power Red
B5 CC2 Configuration Channel Yellow
B6 DP2 USB 2.0 Data + Green
B7 DN2 USB 2.0 Data – White
B8 SBU2 Sideband Use Black
B9 V Bus Power Red
B10 SSRXN1 (RX1–) Super Speed Differential Pair #2 RX Negative Orange
B11 SSRXP1 (RX1+) Super Speed Differential Pair #2 RX Negative Green
B12 GND Ground Return Tin Plated (Gray)

USB is the most popular type of connector at the moment. With USB Type C, it is very close to achieving the true “universal” stature for data, power display and many more. In this guide, we saw the basics of USB, different types of USB ports, USB Pinout of different connectors and receptacles.

Related Posts:

  • Can USB Port be Converted to HDMI?
  • 17 Types Of Computer Ports And Their Functions
  • What Is A Docking Station
  • Solar Charger Vs Power Banks - Find the Difference?
  • What is USB C? (Introduction, Versions, Pros and Cons)
  • Micro HDMI Vs Mini HDMI

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Get our Latest Newletters

Get great content that you love. No ads or spams, we promise.

Electronics Hub Logo

How To Guides

Android Apple Windows Email YouTube Instagram SnapChat Gaming Discord Cloud Storage Google Sheets

Product Reviews

Home & Security Camera Motherboard PC & PC Accessories Laptops Speakers Car Accessories Air Conditioner Lawn & Garden Software Modem & Router

For Students

Electronics Projects Arduino Projects Embedded Free Circuits Mini Projects Robotics Sensor Cables & Wires RV Systems Solar

Interesting

Insights Tutorials Upcoming Sales Usernames Symbols Calculators Courses Deals Our Story

  • Affiliate Disclosure
  • Terms and Conditions
  • Privacy Policy

Copyright © 2024 Electronicshub.org

Electronicshub Favicon

USB 1.0 specification introduced in 1994. USB is a likely solution any time you want to use a computer to communicate with devices outside the computer.

USB 2.0 is the successor standard was released in 2000 with the new transfer mode Hi-speed that can transfer data at up to 480 Mbit/s (40x times higher the rate of USB 1.0).

USB 1.0 and USB 2.0 are: half duplex - can either send or receive data, power usage - up to 500 mA per one host controller.

The interface is suitable for one-of-kind and small-scale designs as well as mass-produced, standard peripheral types.

Pin Name Direction Color Description
1 V+   red +5 V power
2 D- ←→ white Data -
3 D+ ←→ green Data +
4 GND   black Ground

USB 2 (Type B) pinout

Pin Name Direction Color Description
1 V+   red +5 V power
2 D- ←→ white Data -
3 D+ ←→ green Data +
4 GND   black Ground

USB Mini/Micro pinout

Pin Name Direction Color Description
1 V+   red +5 V power
2 D- ←→ white Data -
3 D+ ←→ green Data +
4 ID   any Host/slave detect (USB OTG ID)
4 GND   black Ground

USB 2 and USB 1 speeds

Pin Version Speed
1 USB 1.x Low-Bandwidth
1996
1.5 Mbit/s (192 kB/s)
2 USB 1.x Full-speed
1996
12 Mbit/s (1.5 MB/s)
3 USB 2.0 Hi-speed
2000
480 Mbit/s (60 MB/s)
4 SuperSpeed
2010
5 Gbit/s (625 MB/s)
5 SuperSpeed+
2013
10 Gbit/s (1,250 MB/s)
  • rs232 software
  • rs232 pinout

computer bus pin assignment

usb 2 0 pin assignment

  • Ask a question

Universal Serial Bus (USB) is an interface to establish communication between devices and a host controller (usually personal computer). Nowdays USB has replaced a variety of earlier PC interfaces (such as RS-232 serial , parallel port , and even FireWire ). Due to the ability to supply power to the preipheral devices USB is often used as a power charger for portable devices .

An USB system architecture consists of a host controller, a USB ports, and multiple connected devices. Additional USB hubs may be included allowing branching into a tree structure with up to five tier levels.  USB can connect computer peripherals such as mice, keyboards, digital cameras , PDA , mobile phones , printers, personal media players , Media Transfer Protocol (MTP) devices, flash drives, GPS , Network Adapters, and external hard drives . For many of those devices, USB has become the standard connection method.

USB interface aimed to remove the need for adding expansion cards into the computer's PCI or PCI-Express bus, and improve plug-and-play capabilities by allowing devices to be hot swapped or added to the system without rebooting the computer.  

The USB Pinout:

Pin Name Cable color Description
1 VCC Red +5 VDC
2 D- White Data -
3 D+ Green Data +
4 GND Black Ground

USB connectors

There are several types of USB connectors. The connector mounted on the host or device is called the receptacle, and the connector attached to the cable is called the plug. The original USB specification detailed Standard-A and Standard-B plugs and receptacles. Nowdays there are 7 USB connectors known: Standard-A, Standard-B, Mini-A, Mini-B , Micro-A, Micro-AB, Micro-B , Type-C . Mini-USB pinout and Micro-USB pinout are slightly different: standard USB uses 4 pins while Mini-USB and Micro-USB uses 5 pins in connector. The additional pin is used as an attached device presence indicator.   

USB pinout signals

USB is a serial bus. It uses 4 shielded wires: two for power (+5v & GND) and two for differential data signals (labelled as D+ and D- in pinout). NRZI (Non Return to Zero Invert) encoding scheme used to send data with a sync field to synchronise the host and receiver clocks. In USB data cable Data+ and Data- signals are transmitted on a twisted pair. No termination needed. Half-duplex differential signaling helps to combat the effects of electromagnetic noise on longer lines. Contrary to popular belief, D+ and D- operate together; they are not separate simplex connections. USB 2.0 provides for a maximum cable length of 5 meters for devices running at Hi Speed.

USB transfer modes

Univeral serial bus supports Control, Interrupt, Bulk and Isochronous transfer modes.

USB interfaces specifications.

There are some major USB versions known nowdays:

USB 1.0 - Low Speed or Full Speed

  • released in 1996.
  • Specifies data rates of 1.5 Mbit/s (Low-Bandwidth, is mostly used for Human Input Devices (HID) such as keyboards, mouses, joysticks and often the buttons on higher speed devices such as printers or scanners) and 12 Mbit/s (Full-Bandwidth).
  • nowadays is still used used by some devices that don't need faster data transfer rates.

USB 2.0 - High Speed

  • released in 2000
  • in addition to USB 1.0 adds signaling rate of 480 Mbit/s (Hi-Speed)
  • compatible with USB 1.0, but some hardware designed for USB 2.0 may not work with USB 1.0 host controllers.

USB 3.0 - SuperSpeed

  • released in 2008
  • added transmission rates up to 5 Gbit/s (SuperSpeed)
  • USB 3.1 released in 2013 added SuperSpeed+ transmission rate up to 10 Gbit/s
  • USB 3.2 released in 2017 added SuperSpeed+ transmission rate up to 20 Gbit/s and multi-link modes

USB 1.0 and USB 2.0 shares same connector pinout, USB 3.0 pinout  and USB Type C features new connectors with their own pinouts.

An USB device must indicate its speed by pulling either the D+ or D- line high to 3.3 volts. These pull up resistors at the device end will also be used by the host or hub to detect the presence of a device connected to its port. Without a pull up resistor, USB assumes there is nothing connected to the bus.

In order to help user to identify maximum speed of device, a USB device often specifies its speed on its cover with one of the USB special marketing logos.

When the new device first plugs in, the host enumerates it and loads the device driver necessary to run it. The loading of the appropriate driver is done using a PID/VID (Product ID/Vendor ID) combination supplied by attached hardware. The USB host controllers has their own specifications: UHCI (Universal Host Controller Interface), OHCI (Open Host Controller Interface) with USB 1.1, EHCI (Enhanced Host Controller Interface) is used with USB 2.0.

USB powered devices

The USB connector provides a single 5 volt wire from which connected USB devices may power themselves. A given segment of the bus is specified to deliver up to 500 mA. This is often enough to power several devices, although this budget must be shared among all devices downstream of an unpowered hub. A bus-powered device may use as much of that power as allowed by the port it is plugged into.

Bus-powered hubs can continue to distribute the bus provided power to connected devices but the USB specification only allows for a single level of bus-powered devices from a bus-powered hub. This disallows connection of a bus-powered hub to another bus-powered hub. Many hubs include external power supplies which will power devices connected through them without taking power from the bus. Devices that need more than 500 mA or higher than 5 volts must provide their own power.

When USB devices (including hubs) are first connected they are interrogated by the host controller, which enquires of each their maximum power requirements. However, seems that any load connected to USB port may be treated by operating system as device. The host operating system typically keeps track of the power requirements of the USB network and may warn the computer's operator when a given segment requires more power than is available and may shut down devices in order to keep power consumption within the available resource.

USB power usage:

 
Specification Current Voltage Power (max)
Low-power device 100 mA 5 V 0.50 W
Low-power SuperSpeed (USB 3.0) device 150 mA 5 V 0.75 W
High-power device 500 mA 5 V 2.5 W
High-power SuperSpeed (USB 3.0) device 900 mA 5 V 4.5 W
Battery Charging (BC) 1.2 1.5 A 5 V 7.5 W
Type-C 1.5 A 5 V 7.5 W
3 A 5 V 15 W
Power Delivery 2.0 Micro-USB 3 A 20 V 60 W
Power Delivery 2.0 Type-A/B/C 5 A 20 V 100 W

To recognize Battery Charging, a dedicated charging port places a resistance not exceeding 200 Ω across the D+ and D− terminals.

Dedicated charger mode:

A simple USB charger should incorporate 200 Ohm resistor between D+ and D- wires (sometimes shortcircuit D+ and D- together is enough). The device will then not attempt to transmit or receive data, but can draw up to 1.8A, if the supply can provide it.

USB voltage:

Supplied voltage by a host or a powered hub ports is between 4.75 V and 5.25 V. Maximum voltage drop for bus-powered hubs is 0.35 V from its host or hub to the hubs output port. All hubs and functions must be able to send configuration data at 4.4 V, but only low-power functions need to be working at this voltage. Normal operational voltage for functions is minimum 4.75 V.

USB cable shielding:

Shield should only be connected to Ground at the host. No device should connect Shield to Ground.

USB cable wires:

Shielded: Data: 28 AWG twisted Power: 28 AWG - 20 AWG non-twisted

Non-shielded:  Data: 28 AWG non-twisted Power: 28 AWG - 20 AWG non-twisted

Power Gauge Max length
28 0.81 m
26 1.31 m
24 2.08 m
22 3.33 m
20 5.00 m

usb 2 0 pin assignment

  • Mini-USB connector of cell phones pinout
  • Micro-USB 2.0 connector pinout
  • Apple iPhone (1G, 3G, 3GS, 4, 4S) Dock cable connector pinout
  • Nokia Micro USB connector and cable pinout
  • Micro-USB mobile phone/smartphone cable connector pinout
  • Mini-USB charging cable pinout
  • HTC ExtUSB charger pinout
  • HTC ExtUSB pinout
  • Sony DSC-W310 USB cable pinout
  • USB header internal connector pinout
  • eSATA USB hybrid (EUHP) external connector pinout
  • A USB slide show presenter
  • DIY USB adapter GIMX
  • DIY USB oscilloscope
  • Make your own cheap USB MIDI Controller or Keyboard
  • USB Implementers Forum

USB diagram

  • Rigid-Flex PCB
  • Aluminum PCBs
  • Metal Core PCBs
  • High Tg PCB
  • High Frequency PCB
  • Heavy Copper PCB
  • PCB Assembly
  • BGA Assembly
  • Custom Wiring Harness
  • Capabilities
  • Pad Hole Ring Copper
  • PCB Manufacturing
  • Pad Hole Ring Copper Specification
  • Your Name *
  • Phone Number *
  • Tell us your needs (as specific as possible) *
  • File (Gerber files and BOM need to be compressed into one ZIP file.)

Contact WellPCB Team

Usb pinout: the beginner’s guide.

USB Cable

Home » Blog » Components » USB Pinout: The Beginner’s Guide

Nowadays, the USB interface makes it easy to complete projects that involve creating a physical connection between a host controller and several other bus-powered devices.

USB stands for Universal Serial Bus and has since replaced its predecessors (FireWire, RS-232 serial, and even parallel) as the primary interface for connecting a host to a device.

Normally, a USB system’s architecture includes a host controller, USB ports, and a variety of devices.

Also, there are cases where you can add additional USB network hubs to create a tree connection structure.

However, that’s just the surface of it all.

In this article, we’ll explain everything about USB and give different USB examples for your circuits.

Let’s begin!

  • 1 USB Pinout
  • 2.1 How it Really Works
  • 3.1 Type-A USB Connector Pinout
  • 3.2 USB-B Pinout
  • 3.3 USB-C Connector
  • 3.4 Micro USB Pinout
  • 4 Wrapping Up

USB Flash drive

USB Flash drive

The USB has four shielded wires that work as pins. Two of these wires are for power supply, while the other two are for differential data signal pairs.

Check out the table below for the full USB pinout.

1VCCRed+5 VDC power supply pin
2D-WhiteData- pin
3D+GreenUSB data cable Data+ 
4GND digital groundBlack Ground pin

How Does a USB Work?

plugging a USB pen drive on a laptop 

Plugging a USB pen drive into a laptop 

Like all connectors, all types of USB connectors have male and female types, making sure you connect your devices in the right direction.

It’s essential to make correct USB connections to allow the system to follow the required USB protocol. So, to establish a connection, USB remote devices feature what we call an upstream connection. These remote devices use this upstream connection to connect to a host. 

Now, the hosts also have downstream connections that allow them to connect to the remote devices.

Furthermore, you can’t use upstream and downstream connections interchangeably. This helps you avoid misconnections and makes sure you connect the USB cable only in the right direction. 

It also helps you avoid several issues like illegal loopback connections and connecting a downstream port to another downstream port.

How it Really Works

First, a USB device will show its maximum speed by using pull-up resistors to draw the “D+” and “D-” terminals to 3.3V. Now, the host or hub will also use these pull-up resistors to detect when you connect a compound device to its port. Thus, without a pull-up resistor, the USB won’t detect your connected device or if you have a broken device or broken connector .

So, when you plug in an external device for the first time, the host device scans it and loads the correct driver version required to run the device. To do this, the host uses a product ID/vendor ID (PID/VID)—which the connected hardware or device supplies. Once the host completes the loading of necessary device drivers, the hardware/device will be ready for use. 

Note: USB host controllers have their specifications. We have the Universal Host Controller Interface (UHCI), which works for all USB types; the Open Host Controller Interface (OHCI), which works with USB 1.1; and the Enhanced Host Controller Interface (EHCI), which works with USB 2.0.

PCB Assembly Services

Kickstart Your Projects with Precision! Get PCB Assembly for Only $99—Limited Time Offer!

usb 2 0 pin assignment

USB Connector Types

Originally, the USB cable could only be one of two types, and these two types included “Type A” and “Type B”. Afterward, we got the USB C type, which boasted a better data transfer speed with a more robust system.

Check out the table below for a full overview of the different USB types.

usb 2 0 pin assignment

Type-A USB Connector Pinout

Type-A USB is the most popular type of USB connector. Plus, you can find them on host controllers, computers, flash drives, and several other items. Also, you can only make downstream connections with the Type-A USB, as its sole use is for controllers and hubs.

Flash Drive

Flash Drive

Type-A USB connectors are bigger than other connectors and have flat and rectangular shapes. Plus, friction holds this connector in place, making it easy to connect and disconnect. However, using it in areas where your equipment might vibrate isn’t a great idea.

The Type-A USB has two versions: Male and female versions. The male version is the plug, while the female version is what we know as the socket or port.

Female connector versions are what we find on host controllers, while male connector versions are usually on devices like memory sticks, keyboards, mice, and other connections to storage devices.

Applications.

  • Works on most personal computers.
  • Also works in television and music systems.
  • You can also find them on gaming consoles and almost all chargers for mobile portable devices.

Type-A USB Pinout

The older versions of the Type-A connector have four pins, while the newer versions have nine pins. Here’s a table showing all the pins of the Type-A connector.

usb 2 0 pin assignment

Note: all generations of the Type-A USB connector have pins 1 to 4, while third-generation connectors have pins 5-9.

USB-B Pinout

The USB-B is the second connector type that mostly works for connecting peripherals like printers and scanners. Plus, their pinouts have a different arrangement.

It has an almost square shape with a slight bevel at the top end corners of the connector. Also, it uses friction to remain in place when connected.

The Type-B USB port is an upstream connector that you can only find on peripheral devices. Thus, most Type-B USB applications require A to B USB cables.

Here’s an interesting fact:

Type-B USB canceled out the chances of creating a connection between two host computers. Thus helping to prevent damage.

This connector mainly works for peripherals like printers and scanners.

Like the Type-A USB, the older versions of Type-B have four pins, while the newer 3.0 versions have nine pins. Here’s a table showing all the pins:

usb 2 0 pin assignment

Also, there is a second type of Type-B connector that has two extra pins:

10DPWRN/APower to device
11DGNDN/AGround DPWR return

Source: Wikimedia Commons

USB-C Connector

The USB Type-C is the USB specification that’s slowly replacing the USB-B. It’s a tiny 24-pin reversible plug that works for USB cabling and devices.

Type-C USBs can serve as connectors for both hosts and devices. Plus, you can find Type-C USBs in most recent mobile devices.

USB-C Connector Pinout

The Type-C USB has 24 pins which you can connect reversibly. Here’s a table showing the full list of pins:

usb 2 0 pin assignment

Micro USB Pinout

A smaller connector became necessary as the technology required smaller USB sizes for many items like modern mobile phones and audio devices. Thus, the USB Microcontroller was born.

The micro USB has both Type-A and Type-B USB versions available, like the 1.0 micro-USB and 2.0 micro-USB. However, these versions are smaller, and you can use them for much thinner lines of equipment.

Additionally, the micro USB is the USB standard and offers better transfer rates from an external source.

Standard older micro USB connectors have five pins, while the less common 3.0 version has ten pins. Here’s a table showing the pins of the micro USB connector:

usb 2 0 pin assignment

The fourth pin mode is what we call the USB on-the-go (OTG). It allows you to switch between the peripheral and host roles on your devices. It’s also what enables devices to decide which will act as a power source once connected. For instance, plugging an Android phone into a laptop. The laptop will charge the phone if you have a charge-only cable, not the phone charging the laptop.

Wrapping Up

It’s worth mentioning that sometimes, it’s possible to use USB A to USB A cables to establish connections between a computer or USB device to another USB device with an A-style female port. So you can transfer data between both systems. 

USB Hub

However, you shouldn’t use the type A to A cable connection to create connections between two computers or a USB hub and two computers.

Well, creating such a connection would mean the cable would receive equal amounts of voltage (5V) from both computers.

Thus connecting both power supplies and causing irreparable damage and other issues. Sometimes, it may even cause a fire hazard. 

Well, that wraps up this article.

Feel free to reach us if you have any questions, and we’ll be happy to help.

Avatar photo

Related Posts

An example of a touch switch on an innovative home circuit

What is it and how to create a touch switch

Arduino Nano Pinout

Arduino Nano Pinout Specifications Descriptions and Programming

different electronic components

Easy to Understand Guide to Circuit Board Parts

Circuit board fabrication and pcb assembly turnkey services.

To enhance your browsing experience, we use cookies. These cookies may contain your personal information. Please review our Privacy Policy for more information.By clicking "Agree," you acknowledge that you have read and agree to our Privacy Policy and the use of cookies. You can manage cookie preferences anytime in your browser settings.

Get 3 pieces of PCBs for Just $1! 🚀

  • 👉 Choose between one or two-layer PCBs.
  • 👉 Available in a variety of colors and thicknesses.
  • 👉 Board dimensions must be within 100 x 100mm.

usb 2 0 pin assignment

  • PCB Quote Prototype PCB Instant Quote Mass production PCB Instant Quote -->
  • PCB Assembly New --> PCB Assembly Quote PCB Assembly Service PCB Assembly Process
  • BOM Service
  • Components Sourcing Hot

usb 2 0 pin assignment

  • Gerber Viewer | DFM Free Online Gerber Viewer HQDFM Design Analysis Software

  Support Team

  [email protected]

  0086-755-83643663

  +86 15013838486

usb 2 0 pin assignment

USB Pinout: Everything You Need to Know

Introduction to usb pinout.

USB connects computers, smartphones, printers, cameras, and more. It has become a common data transport and charging interface since 1996. USB's pinout, which controls how the connector's pins transport data and power, is crucial.

USB pinout connects and transfers data. Its pins transfer data, provide power and determine device orientation. Several USB connectors have different pin configurations. Type-A, Type-B, Mini-USB, and Micro-USB connectors are the most popular.

The most prevalent USB connector on computers and chargers is Type-A. It has two power and two data pins (D+ and D-) (VCC and GND). Printers, scanners, and other power-hungry equipment employ Type-B connectors. It contains five pins: two data, two power, and one ground.

Cameras, smartphones, and tablets employ Mini-USB and Micro-USB ports. They have a ground pin, two data pins, and two power pins. These connectors are more compact than Type-A and Type-B connectors.

USB type A – male and female port

USB pinout is crucial for data transfer, charging, and device performance. The pinout limits data transfer speed, power, and data type. So, understanding USB pinout is essential for troubleshooting and device communication.

Data transport and charging depend on USB pinout. Knowing USB connector types and pinouts helps troubleshoot and ensure device communication. To maintain device connectivity, keep up with USB pinout changes as technology evolves.

Understanding USB Pinout

Different types of USB ports

USB pinout is the connector's pin configuration and how it transfers data and power. Each USB connector has a unique pinout and function. Depending on the connector, USB has four or five pins. Type-A, Type-B, Mini-USB, and Micro-USB connectors are the most popular.

The most popular USB connector, the Type-A, contains four pins: two data pins (D+ and D-) and two power pins (VCC and GND). Power pins power devices, whereas data pins convey data.

Printers, scanners, and other power-hungry equipment employ Type-B connectors. It contains five pins: two data, two power, and one ground. The Type-B connector contains a ground pin and data and power pins like the Type-A connector.

Cameras, mobile devices, and tablets frequently use Mini-USB or Micro-USB charging and data transfer connections. Two power pins, two data pins, and a ground pin make up the standard configuration for these ports. Mini-USB and Micro-USB connectors have fewer data and power pins than Type-A and Type-B connectors.

USB port Pinout colours

USB connector data pins transfer digital signals. D+ and D- pins encode and decode data when transmitting. DC voltage powers linked devices through power pins.

USB pinout defines the connector's pin layout and how they transfer data and power. Troubleshooting and device connectivity require knowledge of USB connector types and pinouts.

USB Data Transfer

Data transferring speeds

USB data transmission is the process of exchanging information between two USB-enabled devices. Information stored digitally can take many forms, from static images to moving ones. The USB protocol defines the rules for data transfer between devices connected via USB.

The USB protocol's multi-layered architecture comprises the physical layer, data link layer, and application layer. Together, these layers provide error-free information exchange between gadgets. The USB cable and connector are part of the physical layer, which also specifies the signal's electrical characteristics. While the application layer specifies the nature of the data being exchanged, the data connection layer controls how that data moves between devices.

Bulk transmission, interrupt transfer, isochronous transfer, and control transfer are the many types of data transfer available over USB. While interrupt transfer is used for inputs from the keyboard and mouse, bulk transfer is utilized for larger data transfers like file transfers. Real-time data transfers, such as audio and video streams, employ isochronous transfer whereas device configuration and status updates use control transfer.

USB speeds vary by version. And USB 2.0 has 480 Mbps data transfer, while USB 1.1 has 12 Mbps.

USB 3.2 allows 20 Gbps data transferring speed. USB data transfer speed and reliability depend on USB cable quality. Several lengths and types of Type-A, Type-B, Mini-USB, Micro-USB, and USB-C cables are available.

USB Power Delivery

USB Power Delivery (USB-PD) lets devices charge faster through USB cables. USB-PD uses USB Type-C connectors and cables and extends the USB standard. The USB-PD protocol allows the host and device to negotiate power, delivering up to 100W across the USB cable. This is a big boost over USB 1.0 and 2.0's 2.5W and USB 3.0's 7.5W.

The USB-PD charges several devices simultaneously, laptops, and other high-powered devices faster. USB-PD lets devices negotiate power for optimal charging.

USB-PD supports USB Type-C connectors, a major benefit. Reversible USB Type-C connectors are easier to use. They can charge laptops and other high-powered gadgets due to their increased data transmission speeds and 100W power output.

USB Power Delivery also powers screens and connects peripherals. USB-PD powers screens without a power cord. USB-PD powers and connects docking stations and external hard drives.

USB Power Delivery lets devices charge faster using USB cables. USB Power Delivery uses USB Type-C connectors and cables and extends the USB standard. USB-PD charges several devices simultaneously, laptops, and other high-powered devices faster. USB-PD may also power screens and connect devices.

USB Pinout Diagram

Different USB ports and pins in them

A USB cable's wiring and connections can be visualized with the help of a pinout diagram. Type-A, Type-B, Mini-USB, Micro-USB, and USB-C are just a few of the varieties of USB connectors available. Pinout diagrams, which display the configuration and functionality of connectors, are specific to each variety.

USB Pinout: Type-A

The most used USB connector is the USB Type-A connector, which is used to link peripherals to a computer. The USB Type-A pinout consists of four pins labelled VBUS (power), D+ (data), D- (data), and GND (ground). The data transmission occurs between the device and the computer via the D+ and D- connections, while the VBUS pin provides power to the device. Electrical ground is provided through the GND pin. If you're having problems with your USB connections, data transfer, or power delivery, studying the USB Type-A pinout diagram should assist.

USB Pinout: Type-B

The USB Type-B connector is commonly utilized on devices like printers and scanners that are linked to a computer. The pinout diagram for USB Type-B comprises five pins, including VBUS (power), D+ (data), D- (data), GND (ground), and ID (identification).

USB Pinout: Mini-USB

The Mini-USB connector is a more compact version of the USB Type-B connector. This connector is frequently found in mobile phones and other portable electronic devices. VBUS (power), D+ (data), D- (data), GND (ground), and ID are the five pins that are included in the pinout schematic for Mini-USB (identification).

USB Pinout: Micro-USB

USB connector is a smaller variant of the USB connector and is often utilized on small devices such as smartphones. It has five pins in its pinout diagram, which are VBUS (power), D+ (data), D- (data), GND (ground), and ID (identification).

USB Pinout: USB-C

Newer devices have USB-C connectors. It provides speedier data transfer and charging and may be plugged in either direction. USB-C has 24 power, data, and miscellaneous pins.

In conclusion, USB pinout diagrams provide a visual representation of a USB cable's wiring and connectors. There are numerous varieties of USB connectors, and each has its own pinout diagram. Understanding these diagrams might be useful for debugging USB connection problems or developing and constructing USB devices.

Troubleshooting USB Connections

Troubleshooting USB connections

Connection, data transfer, and charging issues are just some of the issues that might arise from a faulty USB pinout. To fix USB pinout problems, use these troubleshooting steps:

Step 1 - Check the condition of the cable

Make sure the USB cable you're using isn't broken and is in good working order. Worsening connection and data transfer challenges are bent or broken pins or cables. If the issue remains after trying a different USB cable, it may be time to call IT.

Step 2 - Check the USB port that you going to connect

Checking the USB port you're connecting to is the next step when resolving USB pinout difficulties. Verify that the USB port is undamaged and working properly; a broken USB port might disrupt connections and prevent data from being transferred. Swap out the USB port on your computer or gadget to see if that helps.

Make sure the gadget you're trying to connect is configured to work with the proper USB settings by checking its settings. USB connections and data exchanges might be affected by the various configurations available on various devices. Verify the right configuration of the equipment by consulting the handbook or the settings.

Step 3 - Check the power of the USB port

It's crucial to verify the device's power supply when addressing USB pinout difficulties. Verify the power supply if the USB device is not charging or is not getting enough juice. Verify that the gadget is set up to accept power through USB and that the power source is providing sufficient power. Problems with charging or powering may occur if the USB device's power needs exceed those of the present power supply. These problems may be fixed by checking the power supply and making any necessary modifications.

Step 4 - Check your device drivers are up to date

If you're having problems with the USB port, one good step is to see if there are any updated drivers available. Verify that you have the most recent USB drivers installed on your PC or another device. Problems with connectivity and data transfer can be caused by using outdated drivers. Check the manufacturer's website for updated drivers, and apply them if they're available. If your computer or device isn't fully compatible with the USB device you're trying to connect, this should help fix the problem and allow the devices to communicate.

Step 5 - Finally check with a different device

Testing the USB device on a different computer or device is a helpful troubleshooting step when dealing with USB pinout difficulties. Seeing if the issue persists after connecting the USB device to another device is one possible solution. If the USB device is functional with another computer or device, the issue may lie with the drivers or settings on your computer or device. This can help you zero in on the precise nature of the problem and get to its origin so you can address it effectively.

USB pinout difficulties can be frustrating, but there are various ways to fix them. Examining the USB cable, port, device USB settings, power source, and driver updates, and testing the USB device on another computer or device will help you find and fix the problem. These actions will ensure your USB devices work properly and prevent further troubles. To avoid future troubles, update your computer's USB drivers and utilize high-quality cables and devices.

The USB pinout is a crucial component of USB technology, facilitating accurate data transfer and power delivery among devices that use the USB standard. Familiarity with USB pinout diagrams and troubleshooting USB pinout issues can help you diagnose and resolve problems with USB connections, data transfer, and power delivery. Understanding the USB pinout is essential for maximizing the potential of USB technology, whether you are developing and constructing USB devices or utilizing USB technology to connect and charge your devices.

You may also be interested in...

-  Transistor Pinout - Everything You Need to Know

-  VGA Connector Pinout - Basic Introduction is Here

-  Free PCB Assembly Offer is Now Live: Experience Reliable PCB Assembly from HQ NextPCB

-  HQ NextPCB Introduces New PCB Gerber Viewer: HQDFM Online Lite Edition

Still, need help? Contact Us: [email protected]

Need a PCB or PCBA quote? Quote now

  • PCB Prototype
  • PCB Assembly
  • SMD Stencil

Dimensions: (mm)

--> -->

Quantity: (pcs)

(quantity*length*width is greater than 10㎡)

Layers:

Thickness:

Quantity:

No. of Unique Parts:

Thru-Holes:

SMT Pads:

-->

Stencil type:

Framework Non-framework

Size (mm)

Quantity:

Stencil Side:

Recommended Article:

  • From PCB to PCBA: Understanding the Process
  • Comparing Raspberry Pi's RP2040 and RP2350 MCUs: Unlock New Project Possibilities
  • Designing a High-Current Motor Driver Using Darlington Pair Transistors
  • FREE Functional Testing for your Prototype PCBA with HQ NextPCB
  • Electromagnetic Part One: Introduction
  • PCB Layer Stack-Up: A Comprehensive Overview
  • Does Arduino Uno Have Bluetooth? Exploring Connectivity Options
  • Innovative Applications of Shift Register ICs in IoT Devices
  • Current Divider Rule Formula
  • Raspberry Pi 5 as a Home Automation Hub: The Future is Now
  • What You Need to Know About BGA Soldering
  • HQ NextPCB of HQ Electronics Showcases it’s Services at IPC APEX 2024
  • Introduction to Via in Pad Technology
  • Find HQ NextPCB at the biggest PCIM Europe Exhibition Ever for the Power Electronics Industry
  • How to avoid shorts and opens in PCB Design using Design for Manufacture (DFM) tools?

IMAGES

  1. Scavenger's Blog: More From USB

    usb 2 0 pin assignment

  2. Apis17™ Blogs: USB pin assignment

    usb 2 0 pin assignment

  3. How is USB 3.2 still serial when there are so many data cables

    usb 2 0 pin assignment

  4. Usb 2 vs usb 3 pinout

    usb 2 0 pin assignment

  5. อุปกรณ์ในการทำสาย usb เข้าหัว usb ต้องมีอะไรบ้างครับ ?

    usb 2 0 pin assignment

  6. 10 USB Pinout Explained- USB A, B, C(Male and Female)

    usb 2 0 pin assignment

COMMENTS

  1. USB Pinout, Wiring and How It Works | ElectroSchematics

    Discover How a USB Works (A, 2.0, 3.0), Connector Pinout, Wiring Diagrams, Schematics, and Common Applications. Visit To Learn More.

  2. 10 USB Pinout Explained- USB A, B, C(Male and Female)

    USB type A and B ( Male and Female) pinout. 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.

  3. Understanding the USB 2 Pinout: A Visual Guide

    The USB 2.0 pinout diagram illustrates the arrangement of pins within the connector, which includes four pins for power and ground, two data pins, and additional pins for USB differential signal and shield connections.

  4. USB Pinout | USB 2.0, USB 3.0, Type A, Type B, Mini-B, Micro ...

    USB Pinout for USB 2.0 Type A, Type B Mini-A, Mini-B, Micro-A, Micro-B, USB 3.0, USB Type C. Different USB Ports and connectors with pinouts.

  5. USB 2 Pinout (Type A and Type B). Signals and wire colors

    USB 1 and 2 pinout for connectors type A and B. Signals and wire colors for connectors.

  6. USB 2.0/1.1 Header pins and signals - pinoutguide.com

    USB 2.0/1.1 Header pins and signals. The standard USB 2.0 Header is a 10 pin .1 pitch header using the standard IDC pin numbering. The header has a key slot on the pin 1-9 side if enclosed.

  7. Understanding USB Pinouts: A Comprehensive Diagram Guide

    Find the complete USB pinouts diagram for different USB connectors and cables. Learn about the pin assignments and functionality of each pin.

  8. USB pinout diagram @ pinouts.ru - pinoutguide.com

    USB 1.0 and USB 2.0 shares same connector pinout, USB 3.0 pinout and USB Type C features new connectors with their own pinouts. An USB device must indicate its speed by pulling either the D+ or D- line high to 3.3 volts.

  9. USB Pinout: The Beginner’s Guide - WellPCB

    The USB has four shielded wires that work as pins. Two of these wires are for power supply, while the other two are for differential data signal pairs. Check out the table below for the full USB pinout. How Does a USB Work? Plugging a USB pen drive into a laptop.

  10. USB Pinout: Everything You Need to Know - NextPCB

    USB pinout is the physical layout of the pins on a USB connector. This article provides a comprehensive guide to USB pinout, including an overview, understanding, data transfer, power delivery, pinout diagram, and troubleshooting.