The easiest way to connect computer peripherals is through a Universal Serial Bus. The USB is a plug-and-play interface between the PC and the peripherals. The advantage of USB is that the device can be plugged in or plugged out without the need of restarting the PC. Here explains the working of USB.
USB is the short form of Universal Serial Bus, a standard port that helps to connect computer peripherals like scanner, printer, digital camera, flash drive and more to the Computer. The USB standard supports the data transfer at the rate of 12 Mbps.
Two important aspects of USB are itssupport capability and total bandwidth.USB is capable of supporting127 USB devicesand has a totalbandwidth of 12 Mbit per secondwhich is equal to 1.5 MB per second. Working of a 12 Mbit (full speed device) or a 1.5 Mbit (low speed devices) depends on the total bandwidth of the USB.
Each USB device uses the standardA type USB connector to the USB hostor Hub throughA type receptacle. The other end of the USB cable has seriesB connectorwhich is used to plug into theB type receptacle
A connectoris used for the upstream connection towards the host andB connectorfor the downward stream to the USB device. When the USB device is connected to the PC, it activates the host to recognize it. The PC detects the USB device and manages a control flow between the USB device and computer. PC also manages the data transfer between the USB device and PC. Once detected, the PC sends data to the USB system software to recognize it which then identify the device and assign an address. Thisaddressis used to detect the particular USB device. The software controls the input and output data between the PC and USB device. If the software fails to assign the address, PC will not detect the USB device.
The USB cable provides four pathways- twopower conductorsand two twistedsignal conductors.The USB device that uses full speed bandwidth devices must have a twisted pair D and D- conductors. The data is transferred through the D and D- connectors while Vbus and Gnd connectors provide power to the USB device.
USB Wiring connection
The USB cable has typically four wires to connect the A type connector
TheUSB Hubis used to connect many devices to the PC using a single USB connector. The USB Hub can detect the attachment or detachment of devices in each port of the Hub. The Hub also distributes power to all the devices connected to it. Hub also detects low speed and full speed devices.
TheUSB Hubhas two components- AHub controllerand aHub repeater. The Hub controller enables the Hub to communicate with the PC for configuration and control of devices attached to it. The Hub repeater has hardware support for reset, suspend and resume signals.
USB Flash Drive
The most commonly used USB device is theFlash drivethe commonly called Pen drive. It is a mass storage device capable of functioning like a hard disk of computer