Chapter 1
2
To be successful, an interface has to please two audiences: the users who want to
use the devices and the developers who design the hardware and write the code
that communicates with the devices. USB has features to please both groups.
$GPGHKVUHQT7UGTU
From the user’s perspective, the benefits of USB are ease of use, fast and reliable
data transfers, low cost, and power conservation. Table 1-1 compares USB with
other interfaces.
'CU[VQ7UG
Ease of use was a major design goal for USB, and the result is an interface that’s
a pleasure to use for many reasons:
One interface for many devices. USB is versatile enough for just about any
standard PC peripheral function. Instead of having a different connector and
cable type for each peripheral function, one interface serves many.
Automatic configuration. When a user connects a USB device to a PC, the
operating system detects the device and loads the appropriate software driver.
The first time the device connects, the operating system may prompt the user to
insert a disc with driver software, but other than that, installation is automatic.
Users don’t need to reboot before using the device.
Easy to connect. A typical PC has multiple USB ports, and hubs make it easy
to add ports without opening up the PC.
Convenient cables. USB connectors are small and compact compared to con-
nectors used by other interfaces such as RS-232. To ensure reliable operation,
the USB specification defines electrical requirements for cables. A cable seg-
ment can be as long as 5 m depending on bus speed. With hubs, again depend-
ing on bus speed, a device can be as far as 30 m from its host PC.
Wireless options. USB originated as a wired interface, but technologies are
now available for wireless communications with USB devices.
Hot pluggable. Users can connect and disconnect a USB device whenever they
want, whether or not the system and device are powered, without damaging the
PC or device. The operating system detects when a device is attached and read-
ies it for use.
No user settings. USB devices don’t have user-selectable settings such as port
addresses and interrupt-request (IRQ) lines, so users have no jumpers to set or
configuration utilities to run.