This article is a continuation of the series on the ESP32 ArduinoCore Project using the ESP32 Dev board and carries the discussion on WiFi Web Server LED Blink. This series aims to provide easy and practical examples that anyone can understand. In our previous tutorial, we saw how to use the inbuilt code to toggle the onboard LED. This is the ESP32 LED Blinky in Wifi Webserver In this tutorial
A simple web server that lets you blink an LED via the web.
Wifi Web Server Info
- This code will print the IP address of your WiFi Module (ESP32) (once connected) to the Serial monitor.
- From that IP Address, you can open that address in a web browser to turn on and off the LED on pin-5.
- If the IP address of your ESP32 is 192.168.1.143:
- http://192.168.1.143/H turns the LED on
- http://192.168.1.143/L turns it off
- This example is written for a network using WPA encryption.
- For WEP or WPA, change the Wifi.begin() call accordingly.