Mini usb plug pinout. USB port pinout and micro USB pinout: diagram, wire colors

The USB interface is a popular form of technological communication on mobile and other digital devices. Connectors of this kind are often found on personal computers of various configurations, peripheral computer systems, cell phones, etc.

A feature of the traditional interface is the USB pinout of a small area. For operation, only 4 pins (contacts) + 1 ground shield line are used. True, the latest more advanced modifications (USB 3.0 Powered-B or Type-C) are characterized by an increase in the number of working contacts. This is what we will talk about in this material. We will also describe the structure of the interface and the features of cable wiring on the connector contacts.

The abbreviation “USB” carries an abbreviated designation, which in its entirety reads as “Universal Series Bus” - a universal serial bus, thanks to the use of which high-speed digital data exchange is carried out.

The versatility of the USB interface is noted:

  • low power consumption;
  • unification of cables and connectors;
  • simple logging of data exchange;
  • high level of functionality;
  • Wide support for drivers for various devices.

What is the structure of the USB interface, and what types of USB technology connectors exist in the modern world of electronics? Let's try to figure it out.

Technological structure of the USB 2.0 interface

Connectors related to products included in the specification group 1.x - 2.0 (created before 2001) are connected to a four-core electrical cable, where two conductors are power and two more are transmitting data.

Also, in specifications 1.x - 2.0, wiring of service USB connectors requires the connection of a shielding braid - in fact, a fifth conductor.

This is what the physical design of normal USB connectors belonging to the second specification looks like. On the left are the “male” type versions, on the right are the “female” type versions and the pinout corresponding to both options

Existing versions of universal serial bus connectors of the noted specifications are presented in three options:

  1. Normal– type “A” and “B”.
  2. Mini– type “A” and “B”.
  3. Micro– type “A” and “B”.

The difference between all three types of products lies in the design approach. If normal connectors are intended for use on stationary equipment, “mini” and “micro” connectors are made for use in mobile devices.

This is what the physical design of the connectors of the second specification from the “mini” series looks like and, accordingly, the label for Mini USB connectors - the so-called pinout, based on which the user makes the cable connection

Therefore, the last two types are characterized by a miniature design and a slightly modified connector shape.

Pinout table for standard type “A” and “B” connectors

Along with the execution of connectors of the “mini-A” and “mini-B” types, as well as connectors of the “micro-A” and “micro-B” types, there are modifications of the “mini-AB” and “micro-AB” type connectors.

A distinctive feature of such designs is the wiring of the USB conductors on a 10-pin pad. However, in practice, such connectors are rarely used.

Micro USB and Mini USB interface pinout table for type “A” and “B” connectors

Technological structure of USB 3.x interfaces

Meanwhile, the improvement of digital equipment had already led to the obsolescence of specifications 1.x - 2.0 by the time of 2008.

These types of interfaces did not allow the connection of new equipment, for example, external hard drives, in such a way that a higher (more than 480 Mbit/s) data transfer rate was provided.

Accordingly, a completely different interface was born, marked with specification 3.0. The development of the new specification is characterized not only by increased speed, but also by increased current - 900 mA versus 500 mA for USB 2/0.

It is clear that the appearance of such connectors has made it possible to service a larger number of devices, some of which can be powered directly from the universal serial bus interface.

Modification of USB 3.0 connectors of different types: 1 – “mini” type “B” version; 2 – standard product type “A”; 3 – development of the “micro” series of type “B”; 4 – standard version “C” type

As you can see in the picture above, the interfaces of the third specification have more working contacts (pins) than the previous - second version. However, the third version is fully compatible with the “two”.

In order to be able to transmit signals at a higher speed, the designers of the third version equipped an additional four data lines and one neutral wire line. Augmented contact pins are located in a separate row.

Pin designation table for connectors of the third version for wiring a USB cable

Contact Execution "A" Execution "B" Micro-B
1 Power +Power +Power +
2 Data -Data -Data -
3 Data +Data +Data +
4 EarthEarthIdentifier
5 StdA_SSTX –StdA_SSTX –Earth
6 StdA_SSTX+StdA_SSTX+StdA_SSTX –
7 GND_DRAINGND_DRAINStdA_SSTX+
8 StdA_SSRX –StdA_SSRX –GND_DRAIN
9 StdA_SSRX +StdA_SSRX +StdA_SSRX –
10 StdA_SSRX +
11 ShieldingShieldingShielding

Meanwhile, the use of the USB 3.0 interface, in particular the “A” series, turned out to be a serious design flaw. The connector has an asymmetrical shape, but the connection position is not specifically indicated.

The developers had to modernize the design, as a result of which in 2013 a USB-C option appeared at users’ disposal.

Upgraded USB 3.1 connector

The design of this type of connector involves duplication of working conductors on both sides of the plug. There are also several backup lines on the interface.

This type of connector is widely used in modern mobile digital technology.

Location of contacts (pins) for the USB-C type interface, which belongs to the series of the third specification of connectors intended for communications of various digital equipment

It is worth noting the characteristics of USB Type-C. For example, the speed parameters for this interface show a level of 10 Gbit/s.

The design of the connector is compact and ensures a symmetrical connection, allowing the connector to be inserted in any position.

Pinout table compliant with Specification 3.1 (USB-C)

Contact Designation Function Contact Designation Function
A1GNDGroundingB1GNDGrounding
A2SSTXp1TX+B2SSRXp1RX+
A3SSTXn1TX –B3SSRXn1RX-
A4Tire +Power +B4Tire +Power +
A5CC1CFG channelB5SBU2PPD
A6Dp1USB 2.0B6Dn2USB 2.0
A7Dn1USB 2.0B7Dp2USB 2.0
A8SBU1PPDB8CC2CFG
A9TireNutritionB9TireNutrition
A10SSRXn2RX-B10SSTXn2TX –
A11SSRXp2RX+B11SSTXp2TX+
A12GNDGroundingB12GNDGrounding

The next level of the USB 3.2 specification

Meanwhile, the process of improving the universal serial bus is actively continuing. At the non-commercial level, the next level of specification has already been developed - 3.2.

According to available information, the speed characteristics of the USB 3.2 interface promise twice the parameters than the previous design is capable of.

The developers managed to achieve such parameters by introducing multi-band channels through which transmission is carried out at speeds of 5 and 10 Gbit/s, respectively.

Similar to "Thunderbolt", USB 3.2 uses multiple lanes to achieve overall throughput, rather than trying to sync and run the same channel twice

By the way, it should be noted that the compatibility of the promising interface with the existing USB-C is fully supported, since the “Type-C” connector (as already noted) is equipped with backup contacts (pins) that provide multi-band signal transmission.

Features of cable wiring on connector contacts

There are no special technological nuances associated with soldering cable conductors on the contact pads of connectors. The main thing in this process is to ensure that the color of the cable pre-conductors matches the specific contact (pin).

Color coding of conductors inside the cable assembly used for USB interfaces. Shown from top to bottom, respectively, is the color scheme of cable conductors for specifications 2.0, 3.0 and 3.1

Also, if you are wiring modifications of outdated versions, you should take into account the configuration of the connectors, the so-called “male” and “female”.

The conductor soldered on the male contact must match the soldering on the female contact. Take, for example, the option of wiring the cable to USB 2.0 pins.

The four working conductors used in this embodiment are usually marked in four different colors:

  • red;
  • white;
  • green;
  • black.

Accordingly, each conductor is soldered onto a pad marked with a connector specification of a similar color. This approach greatly simplifies the work of the electronics engineer and eliminates possible errors during the desoldering process.

A similar soldering technology is applied to connectors of other series. The only difference in such cases is the larger number of conductors that have to be soldered. To simplify your work, it is convenient to use a special tool - a reliable soldering iron for soldering wires at home and for removing insulation from the ends of wires.

Regardless of the connector configuration, screen conductor soldering is always used. This conductor is soldered to the corresponding contact on the connector, Shield – protective screen.

There are frequent cases of ignoring the protective screen, when “experts” do not see the point in this conductor. However, the lack of a screen dramatically reduces the performance of the USB cable.

Therefore, it is not surprising when, with a significant length of cable without a screen, the user experiences problems in the form of interference.

Wiring the connector with two conductors to organize a power line for the donor device. In practice, different wiring options are used, based on technical needs.

There are different options for soldering a USB cable, depending on the configuration of the port lines on a particular device.

For example, to connect one device to another in order to obtain only a supply voltage (5V), it is enough to solder only two lines on the corresponding pins (contacts).

Conclusions and useful video on the topic

The video below explains the main points of pinout of connectors of the 2.0 series and others, and visually explains individual details of the production of soldering procedures.

Having complete information on the pinout of Universal Serial Bus connectors, you can always cope with a technical problem associated with conductor defects. This information will also come in handy if you need to connect some digital devices in a non-standard way.

Would you like to supplement the above material with useful comments or valuable tips on do-it-yourself desoldering? Write comments in the block below, add, if necessary, unique photographic materials.

Maybe you still have questions after reading the article? Ask them here - our experts and competent site visitors will try to clarify unclear points.

The USB type connector is widely used as an interface connector for household devices, and is also actively penetrating into the professional sphere. Provides information exchange between various modern electronic devices, as well as remote power supply of low-power terminal devices.

Interface cables with USB connectors are widely available on sale. In practice, there is a need for a homemade connecting cord of this type, which replaces a failed or simply lost purchased cable, provides the required length, or there is a need for an adapter between USB ports of different types.

Features of USB connectors

In total, three main versions of USB interfaces were standardized. Each new one provided an increase in the speed of information volume and increased functionality. At the same time, taking into account the expansion of application areas, the form factor of the plugs changed.

The ability to connect a cable to a device automatically means that the connected devices are compatible with each other.

USB cable plugs come in full, mini and micro form factors. A type A plug is always included in the central device; a type B plug is intended for servicing the peripheral device. In addition, plugs are divided into type M (from the English male - plug) and F (from the English female - socket).

USB cable wiring by color

PinoutUSB connector differs in that version 2 interface cables use four wires (mini and micro versions - 5 wires), while in version 3 the number of wires is increased to nine.

USB connector wiring made easier by the fact that the wires of a standard cable are assigned specific colors, shown in the table below.

Wire numberUSB2USB3
1 red (plus power)red (plus power)
2 white (data)white (data)
3 green (data)green (data)
4 black (zero power or common)
5 blue (USB3 – transfer)
6 yellow (USB3 – transfer)
7 Earth
8 purple (USB3-receive)
9 orange (USB3 – reception)

The fifth wire in mini and micro connectors of type B is not used, but in connectors of type A it is shorted to the GND wire.

The screen drain wire (if present) is not assigned a separate number.

A summary of the distribution of wires of USB interfaces version 2 across the pins of various types of plugs is shown in the figure below.

USB cable wiring by color

USB 3.0 pinout

For USB version 3, the pin layout is shown in the figure below.

USB 3.0 cable wiring by color

When making a cable, individual wires and shields are soldered to the corresponding contacts of the plugs.

Computer technology does not stand still; it is constantly being improved, and desktop computers are often replaced by laptops. But a laptop also needs a mouse, and where to put the old mouse with a round connector? And even more so, if it works great and ergonomically fits your hand very well... Throw it away?

No, why, there is a way out - it can be converted to a USB connector.

There are 2 options: you can simply make an adapter, or remove the old cable on the mouse and connect a new one - with a USB plug. As you can see, the wiring diagram is quite simple - only 4 wires, sometimes 5, but the 5th wire is just a screen, i.e. braiding It is enough to take some old cable with a USB plug, from a camera or mobile phone, for example, or you can buy such a cable at a flea market and replace it on the mouse.

The figure above shows an adapter and a USB connector of the female type, and a USB plug (male) - there the numbering will go the other way around - from left to right, i.e. 1,2,3 and 4. And the purpose of the USB connector wires, focusing primarily on the contact numbers, and, as an additional method, by color. I myself have often seen that the colors do not go correctly according to the contacts. Usually the numbering of contacts goes from left to right, but it also happens the other way around. Those. You need to clarify: call, the purpose of the contacts is usually written on the board.

1. VDD (usually red) - power supply, 5 Volts,
2. D- (white, gray, sometimes green or blue) - transmits data from the computer to the mouse,
3. D+ (green, sometimes blue) - transfers data from the mouse to the computer,
4. GND (black or unpainted - yellow) - grounding (housing).
5. - this is just a braid (interference shield), usually without coloring, yellow. This wire does not carry a signal and is usually grounded. Not all cables (mouses) have braiding.

Based on the numbers and colors of the wires, you can quickly re-solder the cable. But, I still advise you, before unsoldering the old cable, call it with a tester and once again make sure that the colors of the wires correspond to the numbers on the connector. As practice shows, the human factor is present everywhere and installers also make mistakes that are not critical.

Using this wiring diagram, you can convert a keyboard with a round PS/2 connector to a USB connector. Everything is the same, having connected the necessary wires to the necessary contacts... I think this article will help you remake (adapt), although outdated, but still quite good and functional peripheral devices from old PCs. Not everywhere you need everything new and fresh...

However, from my own experience I want to say that those mice that have a built-in driver (control program) are good. Those. I inserted it into the connector, the driver installed itself on the PC and the device works well. This makes the task much easier, since Windows does not always have its own driver, which means the mouse can become glitchy, slow down, etc. And this, as Vysotsky sang, is not riding, but fidgeting...

The USB interface began to be widely used about 20 years ago, to be precise, since the spring of 1997. It was then that the universal serial bus was implemented in hardware in many personal computer motherboards. Currently, this type of connecting peripherals to a PC is a standard, versions have been released that have significantly increased the data exchange speed, and new types of connectors have appeared. Let's try to understand the specifications, pinouts and other features of USB.

What are the advantages of Universal Serial Bus?

The introduction of this connection method made it possible:

  • Quickly connect various peripheral devices to your PC, from the keyboard to external disk drives.
  • Make full use of Plug&Play technology, which simplifies the connection and configuration of peripherals.
  • Refusal of a number of outdated interfaces, which had a positive impact on the functionality of computing systems.
  • The bus allows not only to transfer data, but also to supply power to connected devices, with a load current limit of 0.5 and 0.9 A for the old and new generations. This made it possible to use USB to charge phones, as well as connect various gadgets (mini fans, lights, etc.).
  • It has become possible to manufacture mobile controllers, for example, a USB RJ-45 network card, electronic keys for entering and exiting the system

Types of USB connectors - main differences and features

There are three specifications (versions) of this type of connection that are partially compatible with each other:

  1. The very first version that has become widespread is v 1. It is an improved modification of the previous version (1.0), which practically did not leave the prototype phase due to serious errors in the data transfer protocol. This specification has the following characteristics:
  • Dual-mode data transfer at high and low speed (12.0 and 1.50 Mbps, respectively).
  • Possibility of connecting more than a hundred different devices (including hubs).
  • The maximum cord length is 3.0 and 5.0 m for high and low transfer speeds, respectively.
  • The rated bus voltage is 5.0 V, the permissible load current of the connected equipment is 0.5 A.

Today this standard is practically not used due to its low throughput.

  1. The dominant second specification today... This standard is fully compatible with the previous modification. A distinctive feature is the presence of a high-speed data exchange protocol (up to 480.0 Mbit per second).

Due to full hardware compatibility with the younger version, peripheral devices of this standard can be connected to the previous modification. True, the throughput will decrease up to 35-40 times, and in some cases more.

Since these versions are fully compatible, their cables and connectors are identical.

Please note that, despite the bandwidth specified in the specification, the actual data exchange speed in the second generation is somewhat lower (about 30-35 MB per second). This is due to the implementation of the protocol, which leads to delays between data packets. Since modern drives have a read speed four times higher than the throughput of the second modification, that is, it does not meet current requirements.

  1. The 3rd generation universal bus was developed specifically to solve problems of insufficient bandwidth. According to the specification, this modification is capable of exchanging information at a speed of 5.0 Gbit per second, which is almost three times the reading speed of modern drives. Plugs and sockets of the latest modification are usually marked blue to facilitate identification of belonging to this specification.

Another feature of the third generation is an increase in the rated current to 0.9 A, which allows you to power a number of devices and eliminate the need for separate power supplies for them.

As for compatibility with the previous version, it is partially implemented; this will be discussed in detail below.

Classification and pinout

Connectors are usually classified by type, there are only two of them:


Note that such convectors are compatible only between earlier modifications.


In addition, there are extension cables for the ports of this interface. At one end there is a type A plug, and at the other there is a socket for it, that is, in fact, a “female” - “male” connection. Such cords can be very useful, for example, to connect a flash drive without crawling under the table to the system unit.


Now let's look at how contacts are wired for each of the types listed above.

USB 2.0 connector pinout (types A and B)

Since the physical plugs and sockets of early versions 1.1 and 2.0 do not differ from each other, we will present the wiring of the latter.


Figure 6. Wiring the plug and socket of type A connector

Designation:

  • A – nest.
  • B – plug.
  • 1 – power supply +5.0 V.
  • 2 and 3 signal wires.
  • 4 – mass.

In the figure, the coloring of the contacts is shown according to the colors of the wire, and corresponds to the accepted specification.

Now let's look at the wiring of the classic socket B.


Designation:

  • A – plug connected to the socket on peripheral devices.
  • B – socket on a peripheral device.
  • 1 – power contact (+5 V).
  • 2 and 3 – signal contacts.
  • 4 – ground wire contact.

The colors of the contacts correspond to the accepted colors of the wires in the cord.

USB 3.0 pinout (types A and B)

In the third generation, peripheral devices are connected via 10 (9 if there is no shielding braid) wires; accordingly, the number of contacts is also increased. But they are located in such a way that it is possible to connect devices of earlier generations. That is, the +5.0 V contacts, GND, D+ and D-, are located in the same way as in the previous version. The wiring for Type A socket is shown in the figure below.


Figure 8. Pinout of Type A connector in USB 3.0

Designation:

  • A – plug.
  • B – nest.
  • 1, 2, 3, 4 – connectors fully correspond to the pinout of the plug for version 2.0 (see B in Fig. 6), the colors of the wires also match.
  • 5 (SS_TX-) and 6 (SS_TX+) connectors for data transmission wires via the SUPER_SPEED protocol.
  • 7 – ground (GND) for signal wires.
  • 8 (SS_RX-) and 9 (SS_RX+) connectors for data receiving wires using the SUPER_SPEED protocol.

The colors in the figure correspond to those generally accepted for this standard.

As mentioned above, a plug from an earlier model can be inserted into the socket of this port; accordingly, the throughput will decrease. As for the plug of the third generation of the universal bus, it is impossible to insert it into the sockets of the early release.

Now let's look at the pinout for the type B socket. Unlike the previous type, such a socket is incompatible with any plug of earlier versions.


Designations:

A and B are plug and socket, respectively.

Digital signatures for contacts correspond to the description in Figure 8.

The color is as close as possible to the color markings of the wires in the cord.

Micro USB connector pinout

To begin with, we present the wiring for this specification.


As can be seen from the figure, this is a 5 pin connection; both the plug (A) and socket (B) have four contacts. Their purpose and digital and color designation correspond to the accepted standard, which was given above.

Description of the micro USB connector for version 3.0.

For this connection, a characteristically shaped 10 pin connector is used. In fact, it consists of two parts of 5 pin each, and one of them fully corresponds to the previous version of the interface. This implementation is somewhat confusing, especially considering the incompatibility of these types. Probably, the developers planned to make it possible to work with connectors of earlier modifications, but subsequently abandoned this idea or have not yet implemented it.


The figure shows the pinout of the plug (A) and the appearance of the micro USB socket (B).

Contacts 1 to 5 fully correspond to the second generation micro connector, the purpose of the other contacts is as follows:

  • 6 and 7 – data transmission via high-speed protocol (SS_TX- and SS_TX+, respectively).
  • 8 – mass for high-speed information channels.
  • 9 and 10 – data reception via high-speed protocol (SS_RX- and SS_RX+, respectively).

Mini USB pinout

This connection option is used only in early versions of the interface; in the third generation this type is not used.


As you can see, the wiring of the plug and socket is almost identical to the micro USB, respectively, the color scheme of the wires and the contact numbers are also the same. Actually, the differences are only in shape and size.

In this article we have presented only standard types of connections; many manufacturers of digital equipment practice introducing their own standards; there you can find connectors for 7 pin, 8 pin, etc. This introduces certain difficulties, especially when the question arises of finding a charger for a mobile phone. It should also be noted that manufacturers of such “exclusive” products are in no hurry to tell how the USB pinout is done in such contactors. But, as a rule, this information is easy to find on thematic forums.

Content:

In every computer and other similar devices, the most popular is the USB connector. Using a USB cable, it became possible to connect more than 100 units of series-connected devices. These buses allow you to connect and disconnect any devices even while the personal computer is running. Almost all devices can be charged through this connector, so there is no need to use additional power supplies. USB pinout colors help you determine exactly what type of device a particular bus belongs to.

USB device and purpose

The first ports of this type appeared in the nineties of the last century. After some time, these connectors were updated to the USB 2.0 model. The speed of their work has increased more than 40 times. Currently, computers have a new USB 3.0 interface with speeds 10 times faster than the previous version.

There are other types of connectors of this type, known as micro and mini USB, used in modern phones, smartphones, and tablets. Each bus has its own pinout or pinout. It may be required if you need to make your own adapter from one type of connector to another. Knowing all the intricacies of the arrangement of wires, you can even make a charger for a mobile phone. However, please remember that if connected incorrectly, the device may be damaged.

The USB 2.0 connector is designed as a flat connector with four pins. Depending on the purpose, it is labeled as AF (BF) and AM (BM), which corresponds to the common name “mother” and “father”. Mini and micro devices have the same markings. They differ from conventional buses in that they have five contacts. A USB 3.0 device looks similar to the 2.0 model, except for the internal design, which already has nine pins.

Pinout of USB 2.0 and 3.0 connectors

The wiring in the USB 2.0 model is in the following order:

  1. The conductor is red, to which a DC supply voltage with a value of +5V is supplied.
  2. A white conductor used to transmit information data. It is designated by the marking “D-”.
  3. The conductor is painted green. It also transmits information. It is marked as "D+".
  4. The conductor is black. It is supplied with zero supply voltage. It is called the common wire and is designated by its own mark in the form of an inverted T.

The layout of the wires in the 3.0 model is completely different. The first four contact wires fully correspond to the USB 2.0 connector.

The main difference between USB 3.0 is the following wires:

  • Conductor No. 5 is blue. It transmits information with a negative value.
  • Conductor No. 6, yellow, like the previous contact, is intended to transmit information that has a positive meaning.
  • Conductor No. 7 is used as additional grounding.
  • Conductor No. 8 is purple and conductor No. 9 is orange. They perform the function of receiving data with negative and positive values, respectively.

Wiring and pinout of micro- and mini-USB connectors

Micro USB connectors are most often used in tablets and smartphones. Micro USB pinouts differ from standard buses in that they are significantly smaller in size and have five contacts. They are marked as micro-AF(BF) and micro-AM(BM), which corresponds to “mother” and “father”.

Micro-USB wiring is done in the following order:

  • Contact No. 1 is red. Voltage is supplied through it.
  • Contacts Nos. 2 and 3, white and green, are used for transmission.
  • Contact No. 4, lilac, performs special functions in certain tire models.
  • Contact No. 5, black, is the neutral wire.

The pinout of the mini USB connector by color is carried out in the same way as in micro-USB connectors.