• USB pinout Replacing the Mini USB connector (socket) with Micro USB without a soldering station

    Most modern mobile phones, smartphones, tablets and other wearable gadgets, supports charging via a USB mini-USB or micro-USB socket. True, there is still a long way to go to a unified standard and each company is trying to do the pinout in its own way. Probably they should buy the charger from her. Okay, at least on my own USB plug and the socket was made standard, as well as the supply voltage of 5 volts. So, having any charger adapter, you can theoretically charge any smartphone. How? and read on.

    Pinout of USB connectors for Nokia, Philips, LG, Samsung, HTC

    Brands Nokia, Philips, LG, Samsung, HTC and many other phones will recognize the charger only if the Data+ and Data- pins (2nd and 3rd) are shorted. You can short them in the USB_AF socket charger and easily charge your phone via a standard data cable.

    Pinout of USB connectors on the plug

    If the charger already has an output cord (instead of an output jack), and you need to solder a mini-USB or micro-USB plug to it, then you do not need to connect pins 2 and 3 in the mini/micro USB itself. In this case, you solder the plus to 1 contact, and the minus to the 5th (last).

    Pinout of USB connectors for iPhone

    For iPhones, the Data+ (2) and Data- (3) contacts should be connected to the GND (4) contact through 50 kOhm resistors, and to the +5V contact through 75 kOhm resistors.

    Samsung Galaxy charging connector pinout

    To charge Samsung Galaxy in USB plug micro-BM a 200 kOhm resistor must be installed between pins 4 and 5 and a jumper between pins 2 and 3.

    Pinout of USB connectors for Garmin navigator

    For power or charge Garmin navigator A special data cable is required. Just to power the navigator via cable, you need to short-circuit pins 4 and 5 of the mini-USB plug. To recharge, you need to connect pins 4 and 5 through an 18 kOhm resistor.

    Pinout diagrams for charging tablets

    Almost anyone tablet computer required for charging high current- 2 times more than a smartphone, and charging through the mini/micro-USB socket in many tablets is simply not provided by the manufacturer. After all, even USB 3.0 will not provide more than 0.9 amperes. Therefore, a separate nest (often round type) is placed. But it can also be adapted to a powerful USB power source if you solder an adapter like this.

    Pinout of the charging socket of the Samsung Galaxy Tab tablet

    For the correct charge Samsung tablet Galaxy Tab recommend another circuit: two resistors: 33 kOhm between +5 and jumper D-D+; 10 kOhm between GND and jumper D-D+.

    Pinout of charging port connectors

    Here are some voltage diagrams for USB contacts indicating the values ​​of the resistors that allow these voltages to be obtained. Where a resistance of 200 Ohms is indicated, you need to install a jumper whose resistance should not exceed this value.

    Charger port classification

    • SDP(Standard Downstream Ports) – data exchange and charging, allows current up to 0.5 A.
    • CDP(Charging Downstream Ports) – data exchange and charging, allows current up to 1.5 A; hardware identification of the port type (enumeration) is performed before the gadget connects the data lines (D- and D+) to its USB transceiver.
    • DCP(Dedicated Charging Ports) – charging only, allows current up to 1.5 A.
    • ACA(Accessory Charger Adapter) – PD-OTG operation is declared in Host mode(with connection to PD peripherals - USB-Hub, mouse, keyboard, HDD and with the ability additional food), for some devices – with the ability to charge PD during an OTG session.

    How to remake a plug with your own hands

    Now you have a pinout diagram for all popular smartphones and tablets, so if you have the skill to work with a soldering iron, there will be no problems converting any standard USB connector to the type your device needs. Any standard charge that is based on using USB, involves the use of only two wires - +5V and a common (negative) contact.

    Just take any 220V/5V charging adapter and cut off the USB connector from it. The cut end is completely freed from the shield while the remaining four wires are stripped and tinned. Now take a cable with a USB connector the right type, after which we also cut off the excess from it and carry out the same procedure. Now all that remains is to simply solder the wires together according to the diagram, after which insulate each connection separately. The resulting case is wrapped on top with electrical tape or tape. You can fill it with hot glue - also a normal option.

    Bonus: all other connectors (sockets) for mobile phones and their pinouts are available in a single large table -.

    Universal Serial Bus (USB) wiring diagram

    USB connector wiring diagram

    USB connector wiring diagram (cable and device)


    USB connector wiring diagram (cable and device)

    USB signals are transmitted over two wires ( twisted pair) shielded four-core cable.

    VBUS – voltage +5 Volts of the power circuit, GND – contact for connecting the “housing” of the power circuit. The maximum current consumed by the device through the USB bus power lines should not exceed 500 mA. Data is transmitted through the D- and D+ pins of the USB connector. Differential data transfer method is the main one for USB.

    USB cable connectors

    For the USB cable, special USB connectors are used. The USB cable is directional, so for correct connection, USB connectors have different configurations. There are two USB type connectors: Type A (see Fig. 7. and Fig. 8.) and Type B (see Fig. 9., Fig. 10. and Fig. 11).


    Fig.7. Regular connector USB cable Type A

    In accordance with the 1.0 specification, USB Type A connectors are used for connection “to the host”, i.e. installed on the controller or USB hub side.


    Fig.8. "Branded" USB connector cable type A

    In accordance with the 1.0 specification, USB Type B connectors are used for connection “to the device”, i.e. for connecting peripheral devices.


    Fig.9. Regular USB cable connector Type B. This connector is suitable for, for example,
    to connect a printer


    Fig. 10. Regular USB connector mini cable Type B


    Fig. 11. Micro USB cable connector Type B. In the figure, below the USB symbol, the Type B designation is clearly visible

    In Fig.12. and Fig.13. USB cables shown. These USB cables are equipped with a regular Type A USB cable connector and a Type B USB mini cable connector.


    Fig. 12. USB cables are equipped with a regular Type A USB cable connector (in the picture on the left) and a Type B USB mini cable connector (in the picture on the right). Type B is designated as B


    Fig. 13. USB cables are equipped with a regular Type A USB cable connector (in the picture on the left) and a Type B USB mini cable connector (in the picture on the right). Type B is designated as b


    Fig. 14. USB cable equipped with a miniature connector called micro USB

    USB supports hot (power on) plugging and unplugging of devices. This is achieved by increasing the length of the grounding contact of the connector in relation to the signal contacts, see Fig. 15. When a USB connector is connected, the grounding contacts are closed first, the potentials of the bodies of the two devices are equalized, and further connection of the signal conductors does not lead to overvoltages, even if the devices are powered from different phases of a three-phase power network.


    Fig. 15. The length of the grounding contact (in the figure, pin 4 GND at the top) of the connector is increased in relation to the signal (in the figure, pin 3 D+ at the bottom) contacts. Top contact longer than the bottom one. This allows you to connect and disconnect devices without turning off the power (so-called “hot plugging and unplugging”)


    Fig.15.a. Contact length USB power supply The flash card connector (outer contacts in the figure) is enlarged in relation to the signal contacts (middle contacts in the figure). This allows you to connect and disconnect devices without turning off the power (so-called “hot plugging and unplugging”)

    The mating parts of the USB connectors are located on peripheral devices, connected via USB, see Fig. 16. and Fig.17.


    Fig. 16. USB cable connector. The USB symbol is clearly visible


    Fig. 17. USB mini Type B cable connector


    Fig. 18. Comparison of USB connector sizes. A regular USB cable connector Type A (in the picture on the left), a USB mini cable connector Type B (in the picture in the center) and a USB micro cable connector Type B (in the picture on the right). Type B is designated as B

    A little history of USB

    The development of the Universal Serial Bus or USB began in 1994 by an Indian-American engineer Intel Ajay Bhatt and his team of leading specialists computer companies called USB-IF (USB Implementers Forum, Inc). The port developer company included Intel representatives, Compaq, Microsoft, Apple, LSI and Hewlett-Packard. The developers were faced with the task of inventing a port that was universal for most devices, working on the Plug&Play principle (Connect and Play), when the device, after connecting to the computer, either started working immediately or started after installing the necessary software(drivers). New principle should replace LPT and COM port, and the data transfer rate must be at least 115 kbit/s. In addition, the port had to be parallel, in order to organize the connection of several sources to it, and also allow the use of “hot” connection of devices without turning off or rebooting the PC.

    The first non-industrial sample of a USB port coded 1.0 with the ability to transfer data up to 12 Mbit/s. was introduced in late 1995 - early 1996. In mid-1998, the port was updated with automatic speed control for stable connection and could operate at a speed of 1.5 Mbit/s. Its modification became USB 1.1. Starting in mid-1997, the first motherboards and devices with this connector were released. In 2000, USB 2.0 appeared, supporting speeds of 480 Mbit/s. The main design principle is the ability to connect older USB 1.1 devices to the port. At the same time, the first 8 megabyte flash drive for this port appeared. 2008 with modifications USB controller in terms of speed and power, it was marked by the release of the 3rd version of the port, supporting data transfer at speeds of up to 4.8 Gbit/s.

    Basic concepts and abbreviations used when pinouting USB connectors

    VCC (Voltage at the Common Collector) or Vbus– positive potential contact of the power supply. For USB devices it is +5 Volts. In radioelectric circuits this abbreviation corresponds to the supply voltage of bipolar NPN and PNP transistors.

    GND (Ground) or GND_DRAIN– negative power contact. In equipment (including motherboards) it is connected to the housing to protect against static electricity and sources of external electromagnetic interference.

    D- (Data -)- information contact with zero potential, relative to which data transfer occurs.

    D+ (Data+)– information contact with logical “1”, necessary for data transfer from the host (PC) to the device and vice versa. Physically, the process represents the transfer of positive rectangular pulses of different duty cycles and amplitude +5 Volts.

    Male– USB connector plug, popularly referred to as “male”.

    Female– USB connector or female.

    Series A, Series B, mini USB, micro-A, micro-B, USB 3.0– various modifications USB connectors devices.

    RX (receive)– data reception.

    TX (transmit)– data transfer.

    -StdA_SSRX– negative contact for receiving data in USB 3.0 in SuperSpeed ​​mode.

    +StdA_SSRX– positive contact for receiving data in USB 3.0 in SuperSpeed ​​mode.

    -StdA_SSTX– negative contact for data transfer to USB 3.0 in SuperSpeed ​​mode.

    +StdA_SSTX– positive contact for data transfer to USB 3.0 in SuperSpeed ​​mode.

    DPWR– additional power connector for USB devices 3.0.

    USB connector pinout

    For specifications 1.x and 2.0, the pinout of the USB connector is identical.

    As we can see from the figure, on legs 1 and 4 there is supply voltage for the periphery of the connected device, and information data is transmitted through contacts 2 and 3. If you are using a five-pin micro-USB connector, please refer to the following figure.

    As you can see, the use of 4 pins is not provided for in the standard specification. However, sometimes pin 4 is used to supply positive power to the device. Most often, these are energy-intensive consumers with a current tending to the maximum permissible for a USB 2.0 connector, which will be discussed below. According to the standard, each wire has its own color. So the positive power contact is connected by a red wire, the negative one by a black wire, the data- signal goes along white, and the positive information signal data+ goes through green. In addition, to protect devices from external influences, high-quality cables use shielding of the metal parts of the connectors by shorting the outer metallized cable braid to the housing. In other words, the cable shield can be connected to the negative power supply of the connector (but this condition is not mandatory). Using a screen allows you to improve the stability of data transmission, increase speed and apply a longer cable length to the device.


    In case of using micro-USB – OTG cable to the tablet, the 4th unused contact is connected to the negative wire. The cable diagram is clearly presented in the figure from 4pda.ru. IN in this case It is strictly forbidden to supply positive power to the 4th pin of the connector, which will result in failure of either the USB port controller or failure of the OTG controller!

    As for the USB 2.0 connector specification, below is a table of the main characteristics.

    The specification also indicates that to filter the useful signal, the maximum capacitance between the Data bus and the negative power contact (ground) can be used with a capacitance of up to 10uF (minimum 1uF). It is not recommended to use a higher capacitor value, since at speeds close to the maximum, the pulse fronts are delayed, which leads to a loss of speed characteristics of the USB port.

    When connecting external USB ports to motherboard It is worth paying special attention to the correct connection of the wires, since it is not so scary to confuse information signals Data – and Data+, how dangerous it is to swap the supply wires. In this case, from the experience of repairing electronic equipment, the connected device often becomes unusable! The connection diagram must be looked at in the instructions for the motherboard.

    It remains to add that for the implementation of cables for connected devices of the USB 2.0 connector, a standard for the cross-section of each wire in the cord has been approved.

    AWG acts as American system wire cross-section markings.

    Now let's move on to the USB 3.0 port

    The second name for a USB 3.0 port is USB Super Speed, due to the increased data transfer speed of up to 5 Gb/sec. To increase speed indicators, engineers used full-duplex (two-wire) transmission of both sent and received data. Due to this, 4 additional contacts appeared in the connector -/+ StdA_SSRX and -/+StdA_SSTX. In addition, increased speeds required the use of a new type of controller with higher power consumption, which led to the need to use additional power pins in the USB 3.0 connector (DPWR and DGND). New type The connector began to be called USB Powered B. In a digression, let’s say that the first Chinese flash drives for this connector were made in cases without taking into account the thermal characteristics of their controllers and, as a result, got very hot and failed.

    The practical implementation of the USB 3.0 port made it possible to achieve a data exchange rate of 380 MB/sec. For comparison, the SATA II port ( connecting hard disks) is capable of transferring data at a speed of 250 MB/sec. The use of additional power allowed the use of devices with a maximum current consumption of up to 900mA on the socket. This way, either one device or up to 6 gadgets with a consumption of 150mA can be connected. In this case, the minimum operating voltage of the connected device can be reduced to 4V. Due to the increase in connector power, engineers had to limit the length of the USB 3.0 cable to 3 m, which is a definite disadvantage of this port. Below we provide the standard specification USB port 3.0

    The pinout of the USB 3.0 connector is as follows:


    Has full software support for the USB 3.0 specification operating system starting from Windows 8, MacBook Air And MacBook Pro latest versions and Linux from kernel version 2.6.31. Due to the use in USB connector 3.0 Powered-B two additional power contacts, it is possible to connect devices with a load capacity of up to 1A.

    Hello friends! I think it's happened to some people when you stuck something in the front USB input, left and left. One fine day, after such forgetfulness, you return and see that the USB port is broken. Well, it’s broken and broken, nothing can be done. But what if the computer does not turn on? It's not so nice anymore, is it? You have to climb inside, turn off the front USB port, while pulling out the wires from the motherboard.

    And after some time you thought - I still need this front USB input, it’s convenient, I need to do something. And what? In this article we will look at how to resolder a USB port and make it functional. Of course, if your port is broken open, you will have to order a new USB port.

    We will need:

    • One or two USB ports
    • Some cable
    • Soldering iron, solder, wire cutters
    • Glue gun (depending on the situation)
    • Old cables connected to the motherboard or new ones for USB ports

    So let's get started. First, we disconnect the wires from the old, broken port, while the other ends of the wires can be left plugged into the motherboard, this will save you time. Also, you need to extract it yourself usb port from the case and see the condition of the case mount. Next, I took out a new port and tinned the contacts on it, then we need to cut off four pieces of wire, not very long, strip them and tin them.

    Afterwards, we need to decide what we solder where. On the Internet, I found very good diagram, found on the website rones.su.

    In the photo, we see: four colors - red, white, green, black. These colors will most likely match the colors of the cable that you already have plugged into your motherboard.
    Red – voltage + 5 Volts, white, - “minus” contact for data transfer, green + contacts for data and black, GND = minus, ground.

    Next, I simply soldered pieces of cable, yellow and brown, to the port. After this, we need to deal with the contacts from the motherboard, they may be intact and you won’t have to solder it all, and you can just plug them into the corresponding contacts.

    Afterwards, we need to clean and tin the contacts coming from the motherboard. After this, carefully solder the red wire from the USB cable with the wire going to the red contact of the USB port. We also solder the rest, white with white, green with green, black with black, or connect them together, whatever suits you.

    When everything is soldered, you need to figure out how to connect it all to the motherboard, if you had disconnected or pulled out the contacts from the motherboard. The best way is to find the instructions - the datasheet for your motherboard. In my instructions, I found the following pinout.

    Due to careless handling of electronic devices (laptops, tablets, smartphones), their USB sockets (connectors) often become loose or even break. Buying new equipment is not always advisable, especially if you can fix it yourself. This also applies to cords with a micro USB connector. Repairing them is easy, just like soldering the charging socket on the tablet.

    Micro USB repair begins with disassembling the tablet (or other gadget).

    To do this you will need a small set of tools:

    • screwdriver;
    • tweezers;
    • scalpel (knife);
    • low-voltage soldering iron or hot air gun.

    First, unscrew all the screws holding the case together (if any). Release the housing latches from the grooves - to do this, you need to pry off the cover with a scalpel and carefully tilt the blade towards the screen.

    You definitely need to take care of the security of your smartphone. To do this, wear an antistatic wrist strap with grounding. They use only a low-voltage soldering iron, which must also be grounded (to do this, you can solder one end of the wire to the minus (common body), and the other to the soldering iron itself). It is even better to use a soldering station - a hot air gun.
    Disconnect the wires from the battery, otherwise the components may fail if the circuit is accidentally shorted. Unscrew the screws securing the board, turn it over and inspect it.

    Types of damage

    Various types of damage occur, so further actions depend on the type of fault. If the connector is faulty, you will have to buy a new micro USB or look for a broken device with a working socket and replace it. When a working USB simply comes off, it is enough to restore the connections with a soldering iron. If the plug on the cable malfunctions, you need to buy and solder a new one.

    The connector turned out to be faulty

    In this case, you need to find a known-good connector, for example, on a non-working cell phone.

    Micro USB will have to be soldered; to do this, insert a scalpel between the board and the connector. You need to unsolder the mounting tabs from the board, and then unsolder the micro USB pin, heating them at the same time.

    In this case, it is necessary to monitor the temperature so as not to deform the plastic parts. The thinner the soldering iron tip, the less chance of damaging the connector..

    You should pay attention to the location of SMD parts during installation, since reverse installation is somewhat more complicated. USB soldering is done in reverse order.

    The working connector came off

    It is necessary to check the integrity of the tracks on the board by inspecting them with a magnifying glass. All damage will have to be repaired. To do this, first remove the varnish with a scalpel, and then tin the paths with a soldering iron. Soldering a micro USB connector begins with attaching the mounting tabs. Before this, you can glue the connector to the board to make a break less likely.



    If other damage remains, then take thin copper wires and secure them between the terminals of the tracks and USB. If they are not fully restored, only the charging function will be retained (without the possibility of data transfer). Also, the connected mouse will not work. If you are sure that everything has been restored correctly, then this indicates a malfunction of the USB itself.

    Flash memory problems

    If the connected flash drive does not work, you should first check its functionality by connecting it to other known working devices. If a working drive does not work only with a repaired device, it means that errors were made during the repair.

    Most likely, some damage to the bridges was not noticed - it is necessary to disassemble the hull again and carry out an inspection. If everything is visually in order, it means that the malfunction is hidden, and further disassembly is performed only if it is not a pity to completely lose the device and waste time.

    Replacing the plug on the charger

    If the charger is working properly, then for repair you just need to find or buy a plug micro usb for soldering.

    The repair will consist of the following:

    • cut the wire of the charger and donor cord so that the first one has a tail of 10 cm, and the second one of 15 cm;
    • remove the outer insulation 3 cm from the edge. Take care not to damage the coating of the internal cores. To do this, first make a circular (across) and then a longitudinal (lengthwise) cut. Remove the rubber with your fingers and release two veins;
    • do the same with the tail of the new plug. You will see 4 wires, an aluminum shield and a copper braid. You only need the red and black vein, everything else can be cut off;
    • To prevent a short circuit, shorten the red wire on one part and the black on the other. This will also avoid the bump;
    • connect the exposed parts and insulate.

    You can use electrical tape, heat shrink or tape. The wires can be simply twisted or soldered; soldering is, of course, more reliable.


    If heat shrink tubing is used, bend the connections along the wire and close them. A hairdryer is brought to the material and gently heated. The use of a lighter is allowed, but it must be brought gradually. After this, a wide tube is placed on the main cable. At this point the repair can be considered complete.