In previous articles, we connected the ESP8266 to a pre-existing WIFI network. It is the commonly used method in projects, especially when there is interest in internet access.
For these cases, the ESP8266 operates as a “station” on the network. But we can find scenarios where there is no WIFI network to connect. Can we still use the ESP8266 in these cases? Yes, we can!
ESP8266 Operational Modes
The ESP8266 WiFi module can operate in 2 different modes:
STA (the module operates as a station and is available to connect to an Access Point).
AP (the module creates a network with customizable SSID and Password. We will discuss how each mode works, its limitations, and how to use
STA Mode
We use the STA mode to connect the ESP8266 to a pre-exist ...