A basic example of an Asynchronous WebServer using Ethernet interface with W5500 module.
- ESPAsyncWebServer, by mathieucarbou: github.com/mathieucarbou/ESPAsyncWebServer
- Download this example (or git clone);
- Open this example in VS Code (you must have PlatformIO installed);
- Upload to ESP32 board;
- Open the Serial monitor and look for the board's IP generated by the DHCP server of your network router;
- In your internet browser, access the ESP32 board's IP.
**W5500 pins are defined in the platformio.ini file.
IMPORTANT NOTE: The interrupt pin MUST be used.
ETH Started
hostname: ESP32 123
mac: 00:00:00:00:00:00
ETH Connected
ETH got IP: 192.167.0.152
As defined in ETH.setHostname(hostnameBoard);
(line 41, main.cpp), the ESP32 has the hostname "ESP32 123". On the router of the network to which the ESP32 is connected, you can see this hostname: