USB


Universal Serial Bus (USB) is an industry standard that establishes specifications for cables, connectors and protocols for connection, communication and power supply (interfacing) between computers, peripherals and other computers.[2] A broad variety of USB hardware exists, including 14 different connector types, of which USB-C is the most recent and the only one not currently deprecated.

First released in 1996, the USB standards are maintained by the USB Implementers Forum (USB-IF). The four generations of USB are: USB 1.x, USB 2.0, USB 3.x, and USB4.[3]

USB was designed to standardize the connection of peripherals to personal computers, both to communicate with and to supply electric power. It has largely replaced interfaces such as serial ports and parallel ports, and has become commonplace on a wide range of devices. Examples of peripherals that are connected via USB include computer keyboards and mice, video cameras, printers, portable media players, mobile (portable) digital telephones, disk drives, and network adapters.

Each USB connection is made using two connectors: a socket (or receptacle) and a plug. In the following table, schematics for only the sockets are shown, although for each there is a corresponding plug (or plugs).

The Universal Serial Bus was developed to simplify and improve the interface between personal computers and peripheral devices, such as cell phones, computer accessories, and monitors, when compared with previously existing standard or ad hoc proprietary interfaces.[4]

The USB standard also provides multiple benefits for hardware manufacturers and software developers, specifically in the relative ease of implementation:


Large circle is left end of horizontal line. The line forks into three branches ending in circle, triangle and square symbols.
The basic USB trident logo[7]
USB logo on the head of a standard USB-A plug
The Hi-Speed USB logo
The SuperSpeed USB logo
USB-A 3.1 Gen 1 (formerly known as USB 3.0; later renamed USB 3.2 Gen 1x1) ports
An overview of new naming scheme for USB 3.2 (deprecated as of September 2022).
The USB4 40Gbps trident logo
The certified USB4 40Gbps logo and trident logo
An overview of USB naming scheme that was put in place in September 2022.
(A mix of USB specifications and their marketing names are being displayed, because specifications are sometimes wrongly used as marketing names)
Diagram: inside a device are several endpoints, each of which connects by a logical pipe to a host controller. Data in each pipe flows in one direction, though there are a mixture going to and from the host controller.
USB endpoints reside on the connected device: the channels to the host are referred to as pipes.
Rectangular opening where the width is twice the height. The opening has a metal rim, and within the opening a flat rectangular bar runs parallel to the top side.
Two USB 3.0 Standard-A receptacles (left) and two USB 2.0 Standard-A receptacles (right) on a computer's front panel
A flash drive, a typical USB mass-storage device
An M.2 (2242) solid-state-drive (SSD) connected into USB 3.0 adapter and connected to computer.
The standard USB Type-A plug. This is one of many types of USB connector.
A variety of USB cables for sale in Hong Kong
The Wireless USB logo