Transmission Methods · Cambridge syllabus 2.1 · Lesson 1 of 1
The USB Interface
USB (universal serial bus) is a standard interface for connecting devices to a computer. It sends data serially, one bit after another, over a cable that also carries power. When a device is plugged in, the computer detects it, identifies the type of device and loads a driver for it, so the device can be used without restarting.
By the end, you can
- Understand that USB is a standard interface for connecting devices to a computer.
- Explain that USB uses serial transmission.
- Describe what happens when a device is connected by USB.
- Identify the benefits of the USB interface.
- Identify the drawbacks of the USB interface.
- Explain whether USB is suitable for a given scenario.
How USB transmits data
USB stands for universal serial bus. It is a standard interface: an agreed shape of plug and socket, and an agreed set of rules for sending data, that almost every computer and peripheral follows. Keyboards, mice, printers, cameras, phones, flash drives and external hard disks all connect by USB.
As its name says, USB uses serial transmission. The data travels one bit after another along a single pair of data wires, so the cable can be thin and flexible and still deliver the bits in the right order. The same cable has wires that carry electrical power, which is why a USB device such as a mouse needs no battery or plug of its own, and why a phone can charge from a computer.
When a device is plugged in, the computer detects that something has been connected. The device tells the computer what type of device it is, the computer finds and loads the right driver, which is the software that lets the operating system use it, and the device is ready. This all happens automatically, without restarting the computer.
Data then moves in both directions as needed: from the device to the computer, as when a camera sends photos, and from the computer to the device, as when a document is sent to a printer.
Worth remembering
- USB is a standard interface for connecting devices to a computer.
- It uses serial transmission: one bit after another.
- The cable also carries power to the device.
- A plugged-in device is detected and its driver loaded automatically.
Benefits and drawbacks of USB
USB has clear benefits. Because it is a standard, devices from any manufacturer fit any computer with a USB port, and its connectors are designed so they cannot be plugged in wrongly. Devices are detected automatically and the right driver is loaded, so they are easy to use. The cable powers the device and can charge it. It supports many kinds of device through the same port, and newer versions of USB still work with older devices.
It also has drawbacks. A USB cable can only be a few metres long before the signal becomes unreliable, so the device must be near the computer. Older or cheaper versions transfer data more slowly than some other connections. A computer has only a limited number of USB ports, and plugging in an unknown flash drive can bring malware onto the computer.
An exam question usually gives a scenario and asks whether USB is suitable. Link each point to the situation: USB suits a printer next to a desk, because it is easy to connect and the driver loads automatically, but it does not suit a sensor fifty metres away from the computer, because the cable cannot be that long.
A common mistake is to say that USB is fast because it is parallel. It is serial, and it is fast because modern serial links send bits at a very high rate.
Worth remembering
- Benefits: standard, fits one way, automatic detection and drivers, powers the device.
- Drawbacks: short maximum cable length, limited ports, older versions are slow.
- Judge suitability against the scenario, such as how far away the device is.
Worked example
Plugging a USB keyboard into a laptop: the laptop detects the new device, recognises it as a keyboard, loads the right driver and powers it from the same cable.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
Benefit: it is a standard connection, so it fits almost any computer and the driver loads automatically. Drawback: the cable length is limited, so the printer must be close to the computer.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.