Wi-Fi and HTTP to the cloud
Connect to the bench access point and POST a JSON message to a server every 10 seconds. This is the last step of every IoT device: getting the data off the board.

Open this lesson in the labFree, in your browser, no account needed.
How it works
WiFi.begin() then wait for WL_CONNECTED. Each POST returns an HTTP status: 200 means the server accepted it.
Wi-Fi transmit bursts draw about 240 mA, so a weak supply shows up here first as brownouts.
Try it on the bench
- Open the serial monitor: dots while connecting, then “HTTP 200”.
- Change the delay to 2000 to post more often.
Parts on the bench
- Bench power supply
- ESP32 DevKit
- USB charger / port
In the course
Zen’s Electronics Design Mastery, module “Microcontrollers & Embedded”.