Your ESP32 is a tiny computer with built-in WiFi! When you program it as a web server, your phone can connect to it and open a web page โ maybe to control an LED or read a sensor! Let's follow the message from your phone, through WiFi radio waves ๐ถ, to the ESP32 and back!
๐ฑ Phone Asks ESP32 for a Web Page!
Your phone connects to ESP32's WiFi and opens http://192.168.4.1 to control an LED!
Application (HTTP) Transport (TCP) Internet (IP) WiFi (Radio Waves) Request โ โ Response
Press Next Step to begin!
๐ฑ Phone โ ESP32 Setup
๐Zoom View
๐ฑโ๐ก
Press Next Step to watch the message travel through WiFi!
๐ฑ Ready to Connect!
Your phone is connected to the ESP32's WiFi. Open the browser and type http://192.168.4.1 to control the LED!
๐ค
๐ค
Coach Byte says:
Even the tiny ESP32 uses the same 4 TCP/IP layers as big computers! Click each layer to learn how it works on the ESP32.