I built a small firmware project for the M5Stick-C that continuously scans the 2.4 GHz Wi-Fi band, visualizes channel congestion as a histogram, and lets you drill into the strongest nearby networks (SSID, RSSI, channel). There’s also a lightweight tracking mode that estimates distance to a selected SSID using RSSI.
What it does
- Periodic active scans of nearby Wi-Fi networks across channels 1–13.
- Histogram “spectrum” view showing how congested each channel is.
- Detail view listing the strongest networks with RSSI (dBm) and channel.
- Manual rescan on demand.
- Battery indicator with live percentage on screen.
- Tracking mode: lock onto an SSID and display RSSI + estimated distance.
Spectrum view (channel congestion)
The default screen is a simple histogram across channels 1–13. It gives an at-a-glance picture of where the band is crowded, so you can quickly spot quieter channels.
Detail view (SSID / RSSI / channel)
Press Button A to open the network list. Scanning pauses so the list stays stable while browsing. The firmware shows the strongest networks with RSSI (dBm) and channel.
Tracking mode (follow a selected SSID)
From the detail list, long-press Button B to lock onto the highlighted SSID and enter tracking. This view refreshes faster and shows the current RSSI plus an estimated distance.
Build & flash (PlatformIO)
python -m platformio run
python -m platformio run --target upload
Source code
GitHub: https://github.com/error0327/M5STICK-C-Wifi-Tracker
Suggested Blogger labels: ESP32, M5StickC, PlatformIO, WiFi, IoT, Embedded, Maker
No comments:
Post a Comment