Connect to WiFi in Station Mode
Join your network and print the IP address.
What Station Mode Is
When your board joins an existing network like a phone joins WiFi, that is Station mode. Your router is the host; the ESP is a guest. 📶
Include the Library
Everything starts by including the WiFi library. That one line gives you connect, status, and address functions.
#include <WiFi.h>All lessons in this course
- Why ESP32 & ESP8266 for IoT
- Add ESP Boards to the IDE
- Connect to WiFi in Station Mode
- Run an Access Point Setup Page