Unit B · What your device can sense
What we are making: the temperature of this room, readable on any phone in the building.
You already have a board that joins the WiFi and serves a page. Nothing about that changes today. All you are doing is putting a real number on a page that already works — and that is the pattern for the next five sessions too.
Notice what has just happened, though. Until now, reading a sensor meant sitting at the laptop it was plugged into. From today the reading travels. That is the entire point of this year.
192.168.1.47.| What you see | Why | What to do |
|---|---|---|
| Dots forever, no IP address | Wrong name, wrong password, or a 5 GHz network. | Check the spelling first. It is the spelling about half the time. |
| Serial Monitor shows nonsense characters | Wrong speed. | Set it to 115200. The ESP32 does not use 9600. |
Page loads but shows nan | The sensor is not answering. | Check the data wire is on GPIO 4 and that power is 3.3V. |
| Page will not load on my phone | The phone is on a different network. | Both have to be on the same WiFi. Mobile data will not reach it. |
In this session