Bits can travel one after another on one wire, or several at once on several wires. They can also travel one way, both ways in turn, or both ways at once. This lesson compares serial, parallel, simplex, half-duplex and full-duplex transmission and when each one suits a task.
about 25 min1 simulation1 practice question
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
Two questions about every connection
When data goes from one device to another, ask two questions.
How many bits go at the same time? One at a time is serial. Several at once is parallel.
Which way can the data go? One way only is simplex. Both ways, but not at the same time, is half-duplex. Both ways at the same time is full-duplex.
The two questions are separate. A connection can be serial and full-duplex, or parallel and simplex.
Serial and parallel transmission
Two diagrams. Top, serial transmission: one wire from a sender to a receiver, with the eight bits 1 0 1 1 0 0 1 0 of one byte travelling one after another along it. Bottom, parallel transmission: eight wires side by side from sender to receiver, each carrying one bit of the same byte at the same time.
Serial transmission sends data one bit at a time down a single wire. The bits of a byte go one after another, like people walking in single file through a door.
Parallel transmission sends several bits at the same time, each down its own wire. With 8 wires, a whole byte can go at once, like eight people walking side by side.
So is parallel always better? Over a short distance it is faster, because several bits go at once. But over a long cable, the bits on the different wires do not arrive at exactly the same time. One wire is a little slower than another. This spreading out is called skew. If the skew grows to a large part of the time of one bit, the bits of one byte mix with the bits of the next, and the data is corrupted.
Here are the advantages and disadvantages you should be able to give.
Serial: advantages. It needs only one wire for the data, so the cable is cheaper. There is no skew, so it is reliable over long distances.
Serial: disadvantage. Over a short distance it is slower than parallel, because only one bit goes at a time.
Parallel: advantage. It is faster over a short distance, because several bits go at once.
Parallel: disadvantages. It needs many wires, so the cable costs more. Skew makes it unreliable over long distances. The wires can also interfere with each other.
So serial suits a long cable, such as one between buildings. Parallel suits a very short distance, such as the paths between parts inside a computer.
The numbers in the simulation are made up to show the idea. The exam does not ask you to calculate skew. It asks you to explain why parallel is unreliable over a long distance.
Simplex, half-duplex and full-duplex
Three rows, each with a box A on the left and a box B on the right. Simplex: one arrow from A to B only. Half-duplex: one arrow from A to B and one from B to A, with the note one direction at a time. Full-duplex: two arrows, A to B and B to A, with the note both directions at the same time.
Simplex. Data goes in one direction only. A radio station sends its broadcast to radios, and the radios never send anything back. A weather sensor that only sends readings to a computer is another example.
Half-duplex. Data can go in both directions, but only one direction at a time. Think of a two-way radio, where you press a button to talk and let go to listen.
Full-duplex. Data goes in both directions at the same time. A phone call is full-duplex: both people can speak and hear at once. A home internet connection that downloads and uploads at once is another example.
How do you choose? Ask whether the receiver ever needs to reply. If not, simplex is enough and costs least. If both sides talk but can take turns, half-duplex works. If both sides must send at the same time, as in a video call, full-duplex is needed. Full-duplex is the fastest for two-way traffic, because no one waits for a turn.
Practise with new numbers
Try it in Python
The program finds the ideal time to send the same number of bits serially and in parallel on 8 wires.
Common mistakes
Mixing up the two questions. Serial and parallel say how many bits go at once. Simplex and duplex say which way the data goes.
Saying parallel is always faster. It is faster only over a short distance. Over a long cable, skew causes errors.
Saying half-duplex means half the speed. It means both directions, but one at a time.
Calling a phone call half-duplex. Both people can talk at once, so it is full-duplex.
Remember these
Serial: one bit at a time on one wire; cheap and reliable over long distances.
Parallel: several bits at once on several wires; fast over short distances, but suffers from skew.
Simplex: one direction only. Half-duplex: both directions, one at a time. Full-duplex: both directions at once.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Which method sends the bits of a byte one after another down a single wire?
Give one reason why parallel transmission is not used for a cable between two buildings.
Two friends use two-way radios. Only one can speak at a time. Which method is this?
A video call sends sound and pictures both ways at once. Which method does it need?
Is it possible for a connection to be both serial and full-duplex? Explain.
Enroll free in Packets and Methods of Data Transmission
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.