Skip to content

mo-thunderz/Esp32WifiPart2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

Arduino/ESP32 Wifi Part2

In Part 2 we will turn a WiFi capable Arduino into a simple Webserver (tested on ESP32). In addition to that, Websockets will be included for continuous updates between the ESP32 and its clients. NOTE: the ESP32 only supports 2.4G networks. 5G networks will not be seen by the ESP32.

ESP32Webserver.ino

This is a simple webserver for the ESP32. Just update the SSID and Password with that of your router, upload the INO to the ESP32 and compile. In the USB console it will provide the IP address of the ESP32 on your network. You can open a standard browser and navigate to this IP address. This will show a random number generated by the ESP32 on a simple web page. You can then alter this to show something more interesting :-)

ESP32WebserverWebsocket.ino

Install the same way as ESP32Webserver.ino. This includes websockets for continuous updates between ESP32 and its clients.

ESP32WebserverWebsocketJson.ino

Install the same way as ESP32Webserver.ino. This includes websockets and JSON encapsulation for exchange of multiple variables between ESP32 and its clients.

ESP32WifiBasic.ino (+included HTML file)

If you want to code along with the youtube video, use this folder as starting point.

How to use:

Please refer to the following Youtube video: https://youtu.be/15X0WvGaVg8

Have fun ;-)

mo thunderz

About

How to create a Webserver on an ESP32 with Websockets and JSON

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published