WiFi Webserver using Esp32 | Fan control #shorts #short #viralshorts
WiFi Webserver using Esp32 | Fan control #shorts #short #viralshorts
The ESP32, the newly released successor to the ESP8266, has been a rising star in IoT or WiFi-related projects. It’s a low-cost WiFi module that can be programmed to run a standalone web server with a little extra work. How cool is that?
This tutorial will walk you through the process of creating a simple ESP32 web server in the Arduino IDE.
ESP32 Operating Modes
One of the most useful features of the ESP32 is its ability to not only connect to an existing WiFi network and act as a Web Server, but also to create its own network, allowing other devices to connect directly to it and access web pages. This is possible because the ESP32 can operate in three modes: Station (STA) mode, Soft Access Point (AP) mode, and both simultaneously.
Station (STA) Mode
In Station (STA) mode, the ESP32 connects to an existing WiFi network (the one created by your wireless router).
In STA mode, the ESP32 obtains an IP address from the wireless router to which it is connected. With this IP address, it can set up a web server and serve web pages to all connected devices on the existing WiFi network.
Soft Access Point (AP) Mode
In Access Point (AP) mode, the ESP32 sets up its own WiFi network and acts as a hub, just like a WiFi router. However, unlike a WiFi router, it does not have an interface to a wired network. So, this mode of operation is called Soft Access Point (soft-AP). Also, no more than five stations can connect to it at the same time.
In AP mode, the ESP32 creates a new WiFi network and assigns it an SSID (the network’s name) and an IP address. With this IP address, it can serve web pages to all connected devices.
Don’t forget to subscribe to Roshan Geeks for more exciting tech projects!
ipv4
Thanks for watching.
Subscribe and
Stay Tune For > Full Vedio
Nice work 👍❤