GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe ESP32-C5 is Espressif's first chip with dual-band Wi-Fi 6, so it can see 5 GHz networks that other ESP32s cannot. The Waveshare ESP32-C5-Zero is a tiny board for it. This sketch scans both bands and prints a table, then counts how many networks share each channel, which tells you the quietest channel for your own router.
Only scan; do not try to join networks you do not own.
Tick anything you already have and the total updates.
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB from the computer.
scanner.inoVerify & upload in Electrolark#include <WiFi.h>
void setup() {
Serial.begin(115200);
WiFi.mode(WIFI_STA);
WiFi.disconnect();
}
void loop() {
int n = WiFi.scanNetworks();
int count[200] = {0};
Serial.printf("\n%d networks\n", n);
Serial.println("Band Ch RSSI Name");
for (int i = 0; i < n; i++) {
int ch = WiFi.channel(i);
if (ch < 200) count[ch]++;
Serial.printf("%s %3d %5d %s\n", ch > 14 ? "5 GHz " : "2.4GHz", ch, WiFi.RSSI(i), WiFi.SSID(i).c_str());
}
Serial.print("Busy channels: ");
for (int ch = 1; ch < 200; ch++) if (count[ch]) Serial.printf("%d(x%d) ", ch, count[ch]);
Serial.println();
WiFi.scanDelete();
delay(10000);
}
Update the esp32 board package; older versions do not include the C5.
Your router may have 5 GHz off, or the board is too far away; also check the core version.
Enable USB CDC On Boot and press reset.
It has more channels and less crowding, but shorter range through walls.
Yes, it can join 5 GHz networks as well as scan them.
Yes, add an I2C OLED on two free GPIOs and print the busiest channels.
1 part: Waveshare ESP32-C5-Zero Mini Development Board w/o Headers. On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 1 hour. The build on this page has 4 steps.
No. This page has the complete, tested code (scanner.ino).
About ₹739 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
2.4 GHz and 5 GHz Wi-Fi channels; Scanning networks with the ESP32; Choosing a quiet channel.
Only scan; do not try to join networks you do not own.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Learning project. Check every circuit and the datasheet of each part before you power it up.