ESP32 Wi-Fi Scanning Lab
ESP32 Wi-Fi Scanning Lab
NoteScan and Analyze Wi-Fi Networks
Objective: Use an ESP32 to scan available Wi-Fi networks and analyze their characteristics (SSID, RSSI, channel, encryption).
Hardware Required:
- ESP32 development board
- USB cable
- Computer with Arduino IDE
Use the Wi-Fi Link Budget Calculator for a no-hardware comparison.
| Lab Step | What the ESP32 Scanner Collects | What to Learn From It |
|---|---|---|
| 1 | SSID for each visible network | Which networks are nearby and whether naming leaks sensitive information |
| 2 | RSSI in dBm | Whether each AP is strong enough for stable IoT connectivity |
| 3 | Channel number | Whether the site is crowded on channels 1, 6, 11, or shifted to 5 GHz |
| 4 | Encryption mode | Whether open or weak networks create security risk |
| 5 | Repeat scans in different locations | How walls, distance, and competing APs change coverage quality |
Typical scan result to interpret:
| SSID | RSSI | Channel | Security | Interpretation |
|---|---|---|---|---|
| HomeNetwork | -45 dBm | 6 | WPA2 | Strong signal, crowded common channel |
| Office_WiFi | -62 dBm | 11 | WPA2 | Usable signal, separate non-overlapping channel |
| Guest_Network | -58 dBm | 1 | WPA2 | Good signal but may compete with IoT devices |
| IoT_Sensors | -71 dBm | 6 | WPA2 | Marginal signal; consider closer AP or better channel plan |
Analysis Tasks:
- Identify channel congestion: Which channels have the most networks?
- Measure signal strength: Which networks have the strongest signal (RSSI)?
- Security assessment: Are there any open (unencrypted) networks?
- Channel selection: If deploying a new network, which channel would you choose?
- Range estimation: Based on RSSI, estimate approximate distance to access points