851  Wi-Fi Review: Channel Selection and Signal Quality Analysis

851.1 Learning Objectives

By the end of this section, you will be able to:

  • Analyze Wi-Fi Site Surveys: Interpret RSSI measurements and identify interference sources
  • Calculate Path Loss: Apply log-distance models to predict signal quality at various distances
  • Select Optimal Channels: Choose 2.4 GHz or 5 GHz bands based on deployment requirements
  • Estimate Battery Life: Calculate energy consumption for battery-powered Wi-Fi sensors
  • Make Band Decisions: Justify 2.4 GHz vs 5 GHz selection with quantitative analysis

851.2 Prerequisites

Before working through this analysis, ensure you understand:

851.3 Channel Selection and Signal Quality Analysis

Scenario:

You’re deploying a smart building system with 50 Wi-Fi-enabled temperature and humidity sensors across a 5-floor office building. Each sensor needs to report data every 30 seconds. You’ve performed a Wi-Fi site survey and obtained the following results:

Floor 3 Survey Results (where you plan to deploy 10 sensors):

Network SSID Channel RSSI (dBm) Band
OfficeMain 1 -45 2.4 GHz
OfficeGuest 6 -52 2.4 GHz
Neighbor1 6 -68 2.4 GHz
Neighbor2 11 -73 2.4 GHz
OfficeMain-5G 36 -58 5 GHz
OfficeMain-5G 44 -61 5 GHz

Sensor Requirements:

  • Operating range: Up to 30 meters from access point
  • Minimum acceptable RSSI: -70 dBm for reliable operation
  • Data payload: 20 bytes every 30 seconds
  • Battery-powered (CR123A, 1500 mAh, 3V)
  • Module: ESP8266 (2.4 GHz only) or ESP32 (2.4 GHz + 5 GHz)

Analysis Questions:

  1. Which channel(s) in the 2.4 GHz band would provide the best performance for your IoT deployment, and why?
  2. Calculate the expected signal quality at 25 meters from the access point on channel 1 (assume TX power = 20 dBm, frequency = 2.412 GHz)
  3. Should you use 2.4 GHz or 5 GHz for this deployment? Justify with specific calculations.
  4. If you choose ESP32 with 5 GHz on channel 36, estimate the battery life assuming:
    • Active TX (240 mA for 10 ms every 30 seconds)
    • Active RX (100 mA for 5 ms every 30 seconds)
    • Deep sleep (10 uA) for the rest of the time

851.4 Optimal 2.4 GHz Channel Selection

851.4.1 Channel Analysis

2.4 GHz channels are 20 MHz wide but only 5 MHz apart, causing significant overlap. Only channels 1, 6, and 11 are non-overlapping.

851.4.2 Interference Analysis

Channel Interfering Networks Interference Level Score
Channel 1 OfficeMain (ch 1, -45 dBm) Very High 31.6
Channel 6 OfficeGuest (ch 6, -52 dBm), Neighbor1 (ch 6, -68 dBm) Medium 6.47
Channel 11 Neighbor2 (ch 11, -73 dBm) Very Low 0.05

Channel overlap impact: Same channel = 100% interference, Adjacent (+/-1) = 83%, +/-2 = 58%, +/-3 = 33%, +/-4 = 17%, +/-5+ = 0%

TipRecommendation: Channel 11

Lowest interference (only weak neighbor network at -73 dBm), provides cleanest spectrum.

Alternative: Channel 6 would also work well (only OfficeGuest and weak Neighbor1), but has more total interference than channel 11.

Avoid: Channel 1 - Strong OfficeMain network (-45 dBm) creates significant interference.


851.5 Signal Quality Calculation at 25 Meters

851.5.1 Path Loss Calculation

Using the Log-Distance Path Loss Model for indoor Wi-Fi environments:

Formula: PL(d) = PL(d0) + 10 x n x log10(d/d0)

Parameters:

  • Distance: 25 meters from AP
  • Frequency: 2,412 MHz (channel 1)
  • TX power: 20 dBm
  • Reference loss PL(d0): 40 dB at 1 meter (2.4 GHz)
  • Path loss exponent (n): 2.8 (typical office environment)

851.5.2 Calculation Results

Parameter Value Notes
Path loss at 25m 79.14 dB Indoor office environment
TX power +20 dBm Typical Wi-Fi AP
Received signal (RSSI) -59 dBm 20 - 79.14

851.5.3 Signal Quality Assessment

RSSI Range Quality Status
-30 to -50 dBm Excellent
-50 to -60 dBm Good Our result
-60 to -70 dBm Fair
-70 to -80 dBm Weak Minimum threshold
Below -80 dBm Very weak Unreliable
NoteAssessment Summary
  • Signal quality: GOOD (-59 dBm)
  • Above minimum requirement (-70 dBm)
  • Safety margin: 11 dB above threshold
  • Throughput headroom: far exceeds a low-rate sensor workload (actual throughput depends on PHY rate, contention, and retries)

851.6 2.4 GHz vs 5 GHz Decision

851.6.1 Comparison

Factor 2.4 GHz (Channel 11) 5 GHz (Channel 36) Winner
Coverage Better penetration through walls Worse (higher frequency = more attenuation) 2.4 GHz
Interference Often more crowded (Wi-Fi, Bluetooth, microwave) Often more channel options (region/DFS dependent) 5 GHz
Range Typically better penetration/coverage indoors Often shorter in the same environment 2.4 GHz
Data Rate Sufficient (only 20 bytes/30s = 5.3 bps) Higher but unnecessary Tie
Power Lower (better for battery) Higher (worse for battery) 2.4 GHz
Observed RSSI -59 dBm (calculated) -58 dBm (surveyed) Tie

851.6.2 5 GHz Range Analysis

Using same log-distance model with n = 3.2 (higher path loss exponent for 5 GHz):

Parameter 2.4 GHz 5 GHz Difference
Frequency 2,412 MHz 5,180 MHz 2.15x higher
Path loss at 25m 79.14 dB 84.74 dB +5.6 dB
RSSI at 25m -59 dBm -65 dBm 5.6 dB worse

Both signals are acceptable (above -70 dBm threshold), but 2.4 GHz provides better margin.

TipRecommendation: Prefer 2.4 GHz for coverage-driven sensors

Validate with a site survey before final deployment.

Justification:

  1. Coverage: Better penetration ensures all 50 sensors across 5 floors remain connected
  2. Data rate: Both bands provide far more than the required 5.3 bps
  3. Link margin: 2.4 GHz typically provides better margin at the same distance/obstacle layout

Only use 5 GHz if:

  • 2.4 GHz is highly congested in your environment and 5 GHz is available/cleaner
  • You have higher per-device throughput needs (cameras, frequent uploads)
  • You can ensure coverage (placement/backhaul) despite higher path loss

851.7 Battery Life Calculation (ESP32, 5 GHz, Channel 36)

851.7.1 Given Parameters

  • Battery: CR123A, 1500 mAh, 3V
  • Transmission: 240 mA for 10 ms every 30 seconds
  • Reception: 100 mA for 5 ms every 30 seconds
  • Deep sleep: 10 uA for remaining time
  • Cycles per day: 2,880 (every 30 seconds)

851.7.2 Energy Consumption Breakdown

Activity Current Duration per cycle Energy per day Percentage
TX 240 mA 10 ms 1.92 mAh 75.0%
RX 100 mA 5 ms 0.40 mAh 15.6%
Deep sleep 10 uA 29.985 s 0.24 mAh 9.4%
Total 30 s 2.56 mAh/day 100%

851.7.3 Battery Life Calculation

Result: 1.6 years battery life (1500 mAh / 2.56 mAh/day = 586 days)

851.7.4 Optimization Opportunities

Optimization Impact New Battery Life
Increase interval to 5 min 10x fewer transmissions 16 years
Use 2.4 GHz instead of 5 GHz 15% power reduction 1.85 years
Combine both optimizations 10x + 15% improvement 18.4 years*

*Practical limit: CR123A self-discharge (~2%/year) caps real-world battery life at ~10 years.

851.7.5 Critical Insight - Deep Sleep vs Modem Sleep

Sleep Mode Current Battery Life Comparison
Deep sleep (recommended) 10 uA 1.6 years Baseline
Modem sleep (NOT recommended) 20 mA 3.1 days 189x WORSE
WarningCritical Power Design Decision

Deep sleep provides 189x improvement in battery life. Always use deep sleep for battery-powered Wi-Fi IoT devices when possible.


851.8 Summary

This analysis demonstrated a systematic approach to Wi-Fi deployment decisions:

  • Channel Selection: Analyze site survey data to choose channels with lowest interference (channel 11 in this case)
  • Path Loss Modeling: Apply log-distance models to predict signal quality at deployment distances
  • Band Selection: Choose 2.4 GHz for coverage-critical, low-data-rate sensor deployments
  • Power Budgeting: Calculate expected battery life and identify optimization opportunities
  • Sleep Mode Selection: Always use deep sleep (10 uA) instead of modem sleep (20 mA) for battery-powered devices

851.9 What’s Next

Continue to Wi-Fi Review: Power Optimization to explore detailed power optimization strategies for battery-powered Wi-Fi IoT devices, including connection reuse and transmission interval optimization.