2.1 Data Transmission

Methods of Transmission

1. Direction of Data Transmission

Data can be sent in different directions depending on the hardware and requirements of the system.

Simplex

Data travels in one direction only.

A ———————> B
Example: A microphone to a computer, or a computer to a monitor.
Half-Duplex

Data travels in both directions, but not at the same time.

A <—————> B
Example: A Walkie-Talkie (you must wait for the other to stop talking).
Full-Duplex

Data travels in both directions simultaneously.

A <======= > B
Example: A Telephone call or a high-speed internet connection.

2. Serial vs. Parallel Transmission

This refers to how the bits are sent physically across wires.

Method Description Advantages Disadvantages
Serial Data is sent one bit at a time over a single wire. Cheaper cabling; Works over long distances; Less chance of data "skewing". Slower transmission rate than parallel.
Parallel Multiple bits (usually 1 byte) are sent simultaneously over multiple wires. Very fast; High data transfer rate. Expensive (many wires); Bits can become "skewed" (out of sync) over long distances.

Skewing Explained

In Parallel transmission, bits can arrive at slightly different times due to tiny differences in wire properties. Over long distances, the byte becomes unreadable. This is why parallel is only used for short distances (e.g., inside a computer's motherboard or to a nearby printer via older cables).

3. Integrated Universal Serial Bus (USB)

USB is the most common modern example of Serial Transmission. When you plug in a USB device, it uses 4 wires (two for data, one for power, one for ground).

  • Benefits: Devices are automatically detected; It's impossible to plug it in the wrong way (with USB-C); Backward compatible.
  • Drawbacks: Cable length is limited (usually under 5 meters for high speed); Maximum transmission rate is less than internal parallel buses.

4. Summary Checklist for Exams

When asked to choose a method, remember:

  • Long Distance? Use Serial.
  • Internal/Short Distance/High Speed? Use Parallel.
  • Real-time Video Call? Use Full-Duplex.

Data Transmission Analogies

1. The "Road Traffic" Analogy

Think of Data Packets as cars on a road. This explains the difference between Serial and Parallel transmission perfectly.

Serial Transmission

The Single-Lane Country Road: Cars (bits) must travel in a single file line, one after the other.

Benefit: No one gets lost or arrives out of order. It's reliable over long distances.

Parallel Transmission

The 8-Lane Super Highway: 8 cars (a byte) can travel side-by-side at the same time.

The Risk: If one lane is faster than the others, the cars arrive at the finish line out of order (Skewing).

2. Directional Analogies

📢

Simplex: The Megaphone

When someone uses a megaphone, they can talk to the crowd, but the crowd cannot talk back through the megaphone. Data flows in one direction only.

📻

Half-Duplex: The Walkie-Talkie

Two people can talk, but they have to say "Over" to let the other person speak. If both talk at once, the message is lost. Data flows both ways, but not at the same time.

📱

Full-Duplex: The Phone Call

On a modern smartphone, you can talk and hear the other person at the exact same time. Data flows in both directions simultaneously.

3. The "Post Office" Analogy

This explains USB (Universal Serial Bus) and its convenience.

📦

Imagine a post office where every box is the same shape, no matter what's inside. You don't need a special truck for a letter and a different one for a toaster. USB is the Standardized Truck—it doesn't care what device is plugged in; it just carries the data using the same "Serial" rules every time.

Packet Switching

1. What is a Packet?

Data is too large to be sent as one single block. Instead, it is broken down into smaller units called Packets. Each packet contains three distinct parts:

Packet Header
Payload (Data)
Packet Trailer
Part Contents
Header Sender's IP, Receiver's IP, Packet Number (Sequence), Packet Size.
Payload The actual piece of data (e.g., part of an image or email).
Trailer End-of-packet marker, Error checking data (Checksum).

2. The Process of Packet Switching

This is the step-by-step method used to send data across a network like the Internet:

1. Data is broken down into small packets.
2. Each packet is given a header (IPs and sequence number) and a trailer.
3. Packets are sent onto the network.
4. Routers inspect the IP address and decide the fastest path for each packet.
5. Packets may take different routes depending on network traffic.
6. Packets arrive at the destination, often out of order.
7. The receiving computer uses the sequence numbers to reorder them.
8. If a packet is missing or corrupted (detected via Checksum), a request is sent to re-send it.
The Role of the Router: A router is a node that connects networks. Its job is to look at the destination IP address of a packet and send it to the next node on the most efficient path.

3. Benefits and Drawbacks

  • Benefit: Very efficient use of the network (no single line is tied up).
  • Benefit: If one path is blocked or goes down, packets can be rerouted.
  • Drawback: Packets can be lost or delayed (latency).
  • Drawback: Not ideal for real-time applications like high-quality voice calls where "jitter" (out-of-order arrival) causes issues.

Transmission Media

1. Wired Interfaces: USB & HDMI

These are Serial transmission interfaces used to connect peripherals and multimedia devices.

USB (Universal Serial Bus)

Operation: An industry standard for short-distance digital data communication. It uses a 4-wire shielded cable (Power, Ground, and two data wires).

Uses: Connecting mice, keyboards, printers, and external storage.

  • Devices are automatically detected (Plug & Play).
  • Backward compatible with older versions.
  • Cable length limited (approx. 5m).
  • Data transfer rate is slower than internal buses.

HDMI (High-Definition Multimedia Interface)

Operation: A proprietary audio/video interface for transmitting uncompressed video data and compressed/uncompressed digital audio data.

Uses: Connecting computers to monitors, projectors, or TVs.

  • Single cable for both high-quality Video and Audio.
  • Supports modern high resolutions (4K/8K).
  • Fragile connectors compared to older VGA.
  • Signal degrades over very long cables (>15m) without boosters.

2. Wireless Media: Wi-Fi vs. Bluetooth

Both use Radio Waves (Electromagnetic radiation) but are designed for different tasks.

Wi-Fi (WLAN)

How it works: Connects devices to a local network (and internet) via a Wireless Access Point (WAP) or Router. Uses IEEE 802.11 standards.

Frequency: 2.4 GHz or 5 GHz.

Advantages over BT: Much higher data transfer speeds and longer range (up to 100m).

Bluetooth (WPAN)

How it works: Creates a Personal Area Network (PAN) for "pairing" two devices directly. Uses Frequency Hopping to avoid interference.

Frequency: 2.4 GHz.

Advantages over Wi-Fi: Consumes very little battery power; Ideal for low-bandwidth tasks (audio, mice).

Comparison of Wireless Standards

Feature Wi-Fi Bluetooth
Standard IEEE 802.11 IEEE 802.15.1
Range Approx. 100 meters Approx. 10 meters
Data Speed Very High (Gbps possible) Low (approx. 1-3 Mbps)
Best Use Case Internet browsing, Streaming video Wireless headphones, Smartwatches
Power Consumption High (drains battery quickly) Low (efficient for small devices)
⚠️ Exam Tip: If asked to choose between them:
  • Choose Wi-Fi if high speed or a large distance is required.
  • Choose Bluetooth if battery life is the priority or the devices are very close together.