Wi-Fi · lesson 1 of 3
Scan the air, then join your network
The first Wi-Fi lab, with its own firmware (wifi-lab-w1); the code every lab shares lives in kit/lib/wifi-kit. The ESP32 lists every 2.4 GHz network nearby, then joins yours: you pick it from the scan table and type the password once. It's stored on the chip, never in code. A status view shows the clock (internet time), IP address, bench.local and a live signal chart.
On the board
You will learn
- station mode
- channels & dBm
- security types
- NVS storage
- Wi-Fi events
- internet time (NTP)
- mDNS
uv run pio run -d labs/wifi-lab-w1 -e wifi-lab-w1 -t uploadParts required
Parts library- ESP32-S3-DevKitC-1 + USB-C data cable
- 1.9″ ST7789 screen
- 2.4 GHz Wi-Fi network
- Optional: Push button
How a scan works
Interactive 2.4 GHz Wi-Fi channel scanner illustrating active probe requests, SSID/RSSI discovery, and WPA2 channel overlap.
- Key concepts: station mode, channels & dBm, security types, NVS storage, Wi-Fi events, internet time (NTP), mDNS.
- Signals & pins: 3V3 (VCC), GPIO7 (BLK), GPIO8 (RES), GPIO9 (DC), GPIO10 (CS).
Interactive diagram loads after page initialization.
The Wi-Fi track
Overview of the ESP32-S3 Wi-Fi track from scanning networks to hosting web controls and fetching HTTPS APIs.
- Key concepts: station mode, channels & dBm, security types, NVS storage, Wi-Fi events, internet time (NTP), mDNS.
- Signals & pins: 3V3 (VCC), GPIO7 (BLK), GPIO8 (RES), GPIO9 (DC), GPIO10 (CS).
Interactive diagram loads after page initialization.
Steps
0 of 7 ticked. Ticks are saved in this browser.
5 GHz networks never appear: the S3 radio is 2.4 GHz only. The monitor shows your neighbours' network names and what you type, including the password. Don't paste that part into anything shared.
Preview: what you should see
Simulated ESP32-S3 Wi-Fi serial output listing nearby 2.4 GHz networks, RSSI signal strength, encryption, and IP lease.
- Key concepts: station mode, channels & dBm, security types, NVS storage, Wi-Fi events, internet time (NTP), mDNS.
- Signals & pins: 3V3 (VCC), GPIO7 (BLK), GPIO8 (RES), GPIO9 (DC), GPIO10 (CS).
Interactive diagram loads after page initialization.
ESP32-S3 peripherals used in this lab
Open interactive GPIO pinoutExplore the hardware blocks, pin rules, and registers behind this experiment.
- GPIO and IO MUX
45 pins, and a matrix that routes almost any signal to almost any pin
- SPI
Fast four-wire bus for screens, card readers and flash
- Wi-Fi
2.4 GHz 802.11b/g/n, as a station, an access point or both
- UART
Three serial ports, the one you see in the serial monitor
- CPU
Two Xtensa LX7 cores at up to 240 MHz
- SRAM
512 KB of fast on-chip RAM for your code and data
Troubleshooting & hardware gotchas
See all 17 ESP32-S3 hardware gotchas- What if it does not work or behaves unexpectedly?
- 5 GHz networks never appear: the S3 radio is 2.4 GHz only. The monitor shows your neighbours' network names and what you type, including the password. Don't paste that part into anything shared.
- Four pins are read at reset
- GPIO0, GPIO3, GPIO45 and GPIO46 are sampled the moment the chip comes out of reset: they pick the boot mode, the flash voltage, the ROM log and the JTAG source. Anything wired to them must not pull them the wrong way at power-up. After reset they are normal pins again.
- GPIO3 has no pull resistor at reset
- GPIO0 has a weak pull-up and GPIO45/46 weak pull-downs, but GPIO3 floats. When the eFuses make it choose the JTAG source, an outside circuit has to hold it at a clear level.
- ADC2 stops working while Wi-Fi is on
- The ADC2 channels (GPIO11-20) cannot be used at the same time as Wi-Fi: the radio shares ADC2 through an arbiter. Put analog sensors on ADC1 (GPIO1-10), as the sound labs do with GPIO6.
- GPIO47 and 48 run at 1.8 V on R16V modules
- Modules with the ESP32-S3R16V chip set the flash voltage to 1.8 V, and GPIO47/48 share that supply. A 3.3 V part on those pins sees the wrong levels.