📡 Wi-Fi vs Bluetooth (In-Depth Notes)


🌐 Overview

Both Wi-Fi and Bluetooth are wireless communication technologies operating in the 2.4 GHz ISM band, but they are designed for completely different purposes.

Feature Wi-Fi Bluetooth
Purpose High-speed internet Short-range device communication
Range Medium (10–100m) Short (1–10m)
Speed High (Mbps–Gbps) Low (Kbps–Mbps)
Power High Low

📶 Wi-Fi (IEEE 802.11)


🧠 Core Concept

Wi-Fi is designed for:

  • High-speed data transfer
  • Internet connectivity
  • Multi-device communication

📡 Frequency Bands

🔹 2.4 GHz

  • Channels: ~14 (only 1, 6, 11 non-overlapping)
  • Range: High
  • Speed: Lower
  • More interference

🔹 5 GHz

  • More channels
  • Less interference
  • Higher speed
  • Shorter range

🔹 6 GHz (Wi-Fi 6E/7)

  • Very high speed
  • Minimal congestion

📏 Channel Width

Mode Bandwidth
Basic 20 MHz
Advanced 40, 80, 160 MHz

👉 Wider channel = more data = higher speed


⚙️ Key Technologies


🔥 1. OFDM (Orthogonal Frequency Division Multiplexing)

  • Splits channel into subcarriers
  • Parallel data transmission
  • High efficiency

🔥 2. MIMO (Multiple Input Multiple Output)

  • Multiple antennas
  • Multiple data streams

Example:

  • 1x1 → 1 stream
  • 4x4 → 4 streams

🔥 3. Modulation (QAM)

Type Bits per Symbol
16-QAM 4 bits
64-QAM 6 bits
256-QAM 8 bits
1024-QAM 10 bits

👉 Higher QAM = more data per signal


🔥 4. CSMA/CA (Collision Avoidance)

Steps:

  1. Listen channel
  2. If free → send
  3. If busy → wait (backoff)

Optional:

  • RTS/CTS for collision prevention

📦 Frame Structure

[ MAC Header | Data | FCS ]


⚡ Key Characteristics

  • High throughput
  • Shared medium
  • Half-duplex
  • Infrastructure-based (Access Point)

📶 Bluetooth


🧠 Core Concept

Bluetooth is designed for:

  • Low power
  • Short-range communication
  • Device-to-device connectivity

📡 Frequency Band

  • Operates in 2.4 GHz
  • Uses FHSS (Frequency Hopping Spread Spectrum)

🔁 Frequency Hopping

  • Total channels: 79 (Classic Bluetooth)
  • Channel width: 1 MHz
  • Hopping rate: 1600 hops/sec

👉 Changes frequency every:
625 microseconds


⚙️ Bluetooth Low Energy (BLE)

Feature BLE
Channels 40
Width 2 MHz
Power Very low
Use IoT, wearables

🧠 Network Structure

🔹 Piconet

  • 1 Master
  • Up to 7 active slaves

🔹 Scatternet

  • Multiple interconnected piconets

🔐 Pairing Process

  1. Device discovery
  2. Authentication
  3. Key exchange
  4. Secure connection

📦 Communication

  • Uses time slots
  • Master controls timing
  • Half-duplex

⚡ Key Characteristics

  • Low power consumption
  • Short range
  • Moderate speed
  • Robust against interference

⚔️ Wi-Fi vs Bluetooth (Deep Comparison)


📊 Channel Usage

Feature Wi-Fi Bluetooth
Channel type Fixed Hopping
Width 20–160 MHz 1–2 MHz
Channels Few wide Many narrow

🚀 Speed Factors

Wi-Fi

  • Wide channels
  • Parallel transmission (OFDM)
  • Multiple streams (MIMO)
  • Advanced modulation

Bluetooth

  • Narrow channels
  • Sequential transmission
  • Single stream
  • Simple modulation

🧠 Analogy

  • Wi-Fi → Highway (multi-lane)
  • Bluetooth → Single lane road

⚠️ Interference Handling


Wi-Fi

  • Avoids overlapping channels
  • Uses 1, 6, 11 (2.4 GHz)

Bluetooth

  • Uses frequency hopping
  • Avoids interference dynamically

🧠 Key Differences Summary

WiFi = Wide + Parallel + High speed
Bluetooth = Narrow + Hopping + Low power

Wi-Fi achieves high speed through:

  • Wide bandwidth
  • Parallel transmission
  • Multiple antennas

Bluetooth achieves reliability through:

  • Frequency hopping
  • Low power design