photo:usb
USB cables, connectors and protocols
Introduction
Universal Serial Bus (USB) is an industry standard 1st introduced in 1996, for hot-swappable (do not need to reboot the computer to plug in) power supply and data communication which replaced the previously ubiquitous RS serial ports and cables. Microsoft Windows 95, OSR 2.1 provided OEM support for the devices in August 1997.
unfortunately with the variety of connector types and protocols now available it has become a major source of frustration, particularly when you also start to add in Apple Lightning and Thunderbolt connectors (Thunderbolt 3 uses the USB-C connector) and similar.
European Union has announced in 2021 it will ban devices being sold which are not USB-C compliant within the next 2 years or so in an attempt to unify the situation, reduce confusion and waste. Hopefully the rest of the world will follow suit.
USB cable not working?
if charging from a computer does the USB port you connected to have power out?
if charging from an AC charger - does the charger output sufficient power?
some USB-A type cables will be data only, some will be power only, and some will provide both
cable may be broken
you can buy a RJ45, RJ11 and USB cable tester, or,
musicians have XLR/audio/midi/USB-A cable testing devices
consider buying a USB in-line power meter if charging seems to be the issue
Connector types
by design, it is difficult to insert a USB plug into its receptacle incorrectly
some computer USB ports supply power to power USB devices.
USB-A
this is the standard, original PC connector and it has a large white connector with 4 pins (1 power, 2 central data pins, 1 ground)
it is designed for USB 1.x and USB 2.x protocols with speeds up to 480Mbits/sec
USB-A super speed USB 3.x
this is same physical size as USB-A but has a blue connector instead of white, 5 additional pins, and supports USB 3.x as well as older USB protocols, and when connected to a USB 3.x device allows data at up to 10GBits/sec
USB-B
USB-C
these are small, flat connectors with 24 pins and compatible with USB 2.x and USB 3.x to give speeds up to 20Gbits/sec and also compatible with USB 4.x developed in 2019 (Thunderbolt 3 and 4) which allows up to 40Gbits/sec
this connector should supercede most other if not all USB connectors and unlike previous connectors the cable is reversible
USB mini connectors for the device end
USB micro connectors for the device end
USB protocol
USB device communication is based on pipes (logical channels) which are connections between the host and the logical connection in a device - each USB device can have up to 32 endpoints (16 in and 16 out), though it is rare to have so many.
The functionality of a USB device is defined by a class code sent to a USB host eg. audio, printer, etc
photo/usb.txt · Last modified: 2021/10/10 21:07 by gary1