Skip to content

A basic example of an Asynchronous WebServer using Ethernet interface with W5500 module

Notifications You must be signed in to change notification settings

MicSG-dev/Minimal-Example-ESP32-W5500-AsyncWebServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Example ESP32 W5500 AsyncWebServer

A basic example of an Asynchronous WebServer using Ethernet interface with W5500 module.

Libraries used:

Instructions:

  1. Download this example (or git clone);
  2. Open this example in VS Code (you must have PlatformIO installed);
  3. Upload to ESP32 board;
  4. Open the Serial monitor and look for the board's IP generated by the DHCP server of your network router;
  5. In your internet browser, access the ESP32 board's IP.

Hardware

Schematic bb **W5500 pins are defined in the platformio.ini file.

IMPORTANT NOTE: The interrupt pin MUST be used.

Example Serial output

ETH Started
hostname: ESP32 123
mac: 00:00:00:00:00:00
ETH Connected
ETH got IP: 192.167.0.152

Example of access in the browser

image

Hostname display

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: image

About

A basic example of an Asynchronous WebServer using Ethernet interface with W5500 module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages