Waveshare Learning GuideESP32-S3-POE-ETH-8DI-8DO

Industrial IoT · Interactive learning

Understand the board.
Build something real.

Explore the Waveshare ESP32-S3-POE-ETH-8DI-8DO, understand its hardware and discover how it connects to Wi-Fi, dashboards and IoT platforms.

8Digital inputs
8Digital outputs
PoEEthernet
RS485CAN
ESP32-S3-POE-ETH-8DI-8DO 3D MODEL
175 × 90 × 40 mmDrag to explore

Start here

Explore the board and its connectivity.

Interactive 3D explorer

Meet the Board

Select a component in the index to zoom in and reveal its explanation.

3D INTERACTIVE MODEL
Drag to orbitScroll to zoomChoose a component from the index

Network setup & integration

Connectivity

Set up the Waveshare on your network, access its web interface and connect it to dashboard and automation platforms.

Board reference

Network mode 01 · Instructor demonstration

Wi-Fi Access Point

In Access Point mode, the Waveshare creates its own Wi-Fi network and hosts a local web dashboard. This is useful for direct one-to-one access when no router is available.

BOARD → LAPTOP

How it works

The board becomes the hotspot

Waveshare
Wi-Fi AP
→
Laptop / Phone
Connected directly

No office router is required. The computer joins the Waveshare's own network and opens the dashboard hosted by the board.

Connect to the dashboard

  1. Install the Factory Test firmware below.
  2. On your computer or phone, connect to Wi-Fi network ESP32-S3-POE-ETH-8DI-8DO.
  3. Enter the Wi-Fi password waveshare.
  4. Open http://192.168.4.1 in your browser.
The SSID, password and address above match the supplied Waveshare AP example. The factory-test firmware has been tested separately on this board.
How this will be used in company training

We recommend that the instructor demonstrates AP mode. With many boards in one room, identical default SSIDs can make it difficult for learners to identify their own board. The hands-on classroom networking exercise will use Wi-Fi Station mode instead.

Browser-based flashing

Factory Test Firmware

Install Waveshare's official factory-test firmware directly from this page. Arduino IDE is not required.

ESP32-S3
Official Waveshare binaryFlash address 0x00000000Approx. 1.75 MiB
Before flashing

This replaces the firmware currently on the board and restarts it. Put connected machinery and output loads into a safe state first. Do not disconnect USB-C or power during flashing. Full-flash erase removes stored firmware and configuration.

Download factory-test binary instead ↗

Network mode 02 · Main hands-on exercise

Wi-Fi Station

In Station mode, the Waveshare joins an existing 2.4 GHz Wi-Fi network, just like a laptop or phone. The router assigns the board an IP address that you can use to open its dashboard.

BOARD ↔ ROUTER

How it works

Everything joins the same network

Waveshare
Wi-Fi STA
↔
Wi-Fi Router
2.4 GHz
↔
Laptop
Same LAN

The router assigns a DHCP address to the Waveshare. The learner's computer must be connected to the same local network and allowed to communicate with other clients.

What you will do

  1. Enter your Wi-Fi network name (SSID) and password below.
  2. Connect the Waveshare to your computer using a USB-C data cable.
  3. Install the generic Wi-Fi STA firmware.
  4. Send your Wi-Fi credentials to the board over USB-C.
  5. Reconnect to the board over USB-C to read its assigned IP address.
  6. Open the dashboard using the address shown by the website.
Use a 2.4 GHz WPA/WPA2-Personal network. Some company networks block device-to-device traffic; ask the network administrator to allow clients on the training network to communicate.

Step 01 · Network details

Configure your Wi-Fi connection

Enter the network details that this Waveshare should use. Your credentials stay in this browser session and are sent directly to the board over USB serial; they are not included in the public firmware binary.

WPA / WPA2

Privacy: Use a Wi-Fi password of 8–63 characters. The password is not saved in browser storage, added to a URL, or uploaded to GitHub. It is sent over the USB-C serial connection and stored in the Waveshare's local NVS configuration so it can reconnect after reboot.

02
Install Wi-Fi STA firmwareFlash the generic firmware first. It contains no company or personal Wi-Fi credentials.
Checking whether the STA firmware build is ready…

If this is the first deployment of this update, GitHub Actions must finish building the STA firmware before this button becomes available.

03
Send Wi-Fi settings over USB-CAfter flashing, select the Waveshare serial port again and send the credentials entered above.

The board saves the credentials locally and restarts. To change networks later, enter new details and send them again; you do not need to reflash. The website never prints the password to the serial log.

04
Find the dashboard IP addressAfter the board has restarted and joined Wi-Fi, reconnect to its USB serial port to request the current network status.
The Waveshare's IP address will appear here after it connects to your router.
Classroom note

Each learner enters the SSID and password for the network they are authorised to use. The router assigns each Waveshare its own IP address. For a class with multiple boards, the router must allow connected devices to communicate with one another; client/AP isolation can prevent dashboard access.

Custom dashboard · Wi-Fi Station

Custom Dashboard

Install the supplied ESP32 dashboard and its web files directly onto the Waveshare, then enter your own Wi-Fi credentials and dashboard login. The board hosts the dashboard; no Arduino IDE or separate filesystem upload is needed.

BOARD ↔ ROUTER

How it works

Connect to the local network

Waveshare
Dashboard host
↔
Wi-Fi Router
2.4 GHz
↔
Laptop
Same LAN

The firmware contains the original dashboard pages, styles and logos. On first boot it installs them into LittleFS. MQTT, RS485, SD card and Telegram features remain in the dashboard; external services need separate setup.

What you will do

  1. Enter your network details and create a dashboard login.
  2. Connect the board using a USB-C data cable.
  3. Install the dashboard firmware and erase previous flash data for the first installation.
  4. Send settings over USB.
  5. Find the dashboard IP and open it in a new tab.
Use a trusted private training LAN. The dashboard uses local HTTP, not HTTPS. Disconnect external loads before flashing; do not expose the dashboard or broker to the internet.

Step 01 · Network and dashboard details

Configure your Wi-Fi and login

Use your own authorized network and create a new dashboard account. No original Wi-Fi, dashboard account or Telegram credentials are included.

WPA / WPA2

Privacy: Settings are transmitted over USB only and stored on the board in NVS, not in GitHub or browser storage. This firmware does not encrypt NVS or local HTTP traffic. Use a unique dashboard password and a trusted network. To change Wi-Fi, resend all four fields (including your intended dashboard login).

02
Install Custom Dashboard firmwareUse Chrome or Edge on desktop over HTTPS. Select full erase for a clean installation; this deletes previous firmware and on-board configuration.
Checking dashboard firmware build…

Wait for installation and first boot to finish. The web files are embedded in the firmware; no additional uploader is needed.

03
Send Wi-Fi and dashboard login over USB-CAfter flashing, select the board serial port again. The board saves the settings and restarts.

Enter your SSID, Wi-Fi password, dashboard username and dashboard password in Step 01. This step becomes available when the entries are valid.

04
Find the dashboard IP addressAllow around 30 seconds after restart, then reconnect over USB to check Wi-Fi and dashboard readiness.
The board's IP address will appear here.

Sign in using the dashboard username and password you selected in Step 01. Keep them somewhere safe before sending.

Dashboard integration note

This is an example of a custom web dashboard hosted by the Waveshare. Once it is installed, continue to MQTT & Node-RED to configure its built-in MQTT client without flashing again. Test output polarity with external loads disconnected before controlling any connected equipment.

Connectivity · MQTT integration

MQTT & Node-RED

Connect the installed Custom Dashboard to an MQTT broker, monitor the eight digital inputs and control the eight digital outputs through Node-RED.

PUBLISH ↔ SUBSCRIBE

System overview

How the connection works

The PC runs Node-RED and the Aedes broker. Open the Node-RED editor at localhost:1880, but configure Node-RED's MQTT In/Out nodes to connect to the broker using the PC's LAN IPv4 address on port 1883. The Waveshare and MQTT Explorer use that same PC LAN address.

Your computer Node-RED Editor: localhost:1880 Aedes broker MQTT TCP: port 1883 MQTT MQTT Explorer Optional test client Waveshare ESP32-S3 Custom Dashboard firmware Publishes DI / DO states Receives DO commands LAN LAN MQTT clients use the PC LAN IPv4:1883 · Node-RED editor stays at localhost:1880
Node-RED editor MQTT broker Board / optional test client

Software setup

Install the applications you need

Node.js and Node-RED are required. Aedes is installed as a Node-RED add-on. MQTT Explorer is optional and is useful for inspecting messages.

Windows guide
01Required

Node.js (LTS)

Node.js provides the runtime and npm package manager needed to install Node-RED. Use Node.js LTS 20 or newer and Node-RED 3.0 or newer for the current Aedes package.

Download Node.js ↗
  1. Download the Windows installer (.msi) for the LTS release.
  2. Run the installer and accept the standard options.
  3. Close and reopen PowerShell, then check the installation:
node --version
npm --version
02Required

Node-RED

Node-RED does not need a separate desktop installer for this setup. Install it through npm after installing Node.js.

Official Windows installation guide ↗

In PowerShell, run:

npm install -g node-red

Start Node-RED:

node-red

Keep the terminal open, then open http://localhost:1880 in your browser.

03Required add-on

Aedes MQTT broker

Aedes is the MQTT broker used in this guide. It is not a separate Windows application; install its Node-RED palette package.

Aedes package information ↗
  1. In Node-RED, open Menu → Manage palette.
  2. Select the Install tab.
  3. Search for node-red-contrib-aedes.
  4. Click Install and wait for it to finish.

You do not need to install Mosquitto as well. The supplied flow starts Aedes on port 1883.

04Optional

MQTT Explorer

A desktop MQTT client for viewing topic trees and manually publishing test messages. Node-RED can perform the main exercise without it.

Download MQTT Explorer ↗
  1. Download the installer for your operating system.
  2. Run the installer and open MQTT Explorer.
  3. Connect to the broker using the PC's LAN IP and port 1883.
Network and security: The supplied Custom Dashboard firmware connects to MQTT without a broker username or password. For this exercise, use only a trusted private LAN, keep the broker off the public internet, do not port-forward port 1883, and allow inbound TCP 1883 only on the private network if Windows Firewall prompts you. Do not disable the firewall entirely.
01
Import the Custom Dashboard flow and start AedesThe JSON includes the Aedes broker node, eight output controls and eight input/output state monitors. It does not install firmware.
Important: the JSON does not detect or insert your computer's IP address automatically. It imports the nodes with 192.168.1.100 as an example placeholder. You must replace that value with your own PC's LAN IPv4 address before deploying.
  1. Make sure the Aedes palette package is installed (Software Setup, item 03).
  2. In Windows, open Command Prompt or PowerShell and run ipconfig. Under the adapter you are actually using (Wi-Fi or Ethernet), find IPv4 Address. Use that address, not the Default Gateway. Example: 192.168.1.42.
  3. In Node-RED, choose Menu → Import → select the downloaded JSON file → Import.
  4. Before deploying, double-click an MQTT Out node (for example, Command DO1) and click the pencil icon beside its Server setting. In the broker configuration, replace 192.168.1.100 with your PC's actual IPv4 address. Keep port 1883, then click Update and Done. All MQTT In/Out nodes share this broker configuration, so change it once.
  5. Confirm the Aedes broker node is configured for TCP port 1883, memory persistence and no TLS. Keep authentication disabled for this firmware's current MQTT client.
  6. Click Deploy. The Aedes broker and MQTT nodes should start. The MQTT In/Out nodes should show connected.

Only one broker can listen on port 1883 at a time. Stop Mosquitto or any other Aedes instance before deploying this broker. Do not import a second broker flow on the same port.

02
Configure MQTT in the Custom DashboardUse the PC's LAN IPv4 address for every MQTT client, including Node-RED. The JSON contains only an example IP; it never detects your PC address. localhost is only for opening the Node-RED editor in your browser.
Node-RED MQTT nodesPC LAN IPv4:1883Editor remains at localhost:1880
↔
Waveshare + MQTT ExplorerPC LAN IPv4:1883Use the same address for all MQTT clients
  1. On Windows, open Command Prompt or PowerShell and run ipconfig. Find the IPv4 address under the active Wi-Fi or Ethernet adapter.
  2. Open the Waveshare's Custom Dashboard, sign in and go to IoT Configuration → MQTT Broker.
  3. Select Local Broker and protocol TCP. Enter the PC's IPv4 address as Broker IP and 1883 as the port.
  4. Under DI / DO MQTT Topics, use esp32/di1 through esp32/di8 and esp32/do1 through esp32/do8, matching the supplied flow.
  5. Set DI1 Pub ms to 1000 for the initial test. Leave the other publish intervals at 0. Save the configuration. If you changed topics, press RESET on the board so it reconnects and subscribes to the saved topics.

Pub ms = 0 publishes when the state changes; 1000 publishes once per second. Use the DI heartbeat for the first communication test, not periodic output commands.

03
Verify messages from the WaveshareNo external sensors, lamps or other field devices are required for this network test.
  1. In Node-RED, open the Debug sidebar and make sure the Custom Dashboard channel states Debug node is enabled.
  2. Wait for messages on esp32/di1. With no input signal connected, the reported value will typically be 0.
  3. Optional: open MQTT Explorer. Use protocol mqtt://, Host = the PC's LAN IPv4, Port 1883, encryption off and blank credentials. Use the same LAN address as the Node-RED MQTT nodes and the Waveshare; do not use localhost for this tested setup. Connect and inspect the esp32 topic tree.
Waveshare → brokeresp32/di1 … esp32/di8Digital input states
Waveshare ↔ brokeresp32/do1 … esp32/do8Output commands and reported output state
04
Control digital output DO1Start with DO1 and keep all external loads disconnected.
  1. In the imported Node-RED flow, find DO1 ON and DO1 OFF.
  2. Click DO1 ON. The flow publishes plain text 1 to esp32/do1. Check the actual Custom Dashboard homepage and confirm DO1 changes to ON.
  3. Click DO1 OFF. It publishes plain text 0 to esp32/do1. Confirm the dashboard returns to OFF.
  4. Only after DO1 works, repeat for DO2–DO8.

Node-RED also subscribes to the DO topics, so its Debug sidebar may show the command it published. A Debug message alone does not prove the board responded; verify the state on the Waveshare dashboard. This software test does not prove the physical output can drive a load.

05
Troubleshoot and finishUse these checks before changing firmware or wiring.
  1. Disconnected: confirm Aedes is deployed, port 1883 is free, the board uses the PC's correct LAN IPv4, both devices are on the same network, and Windows Firewall allows the broker on the private network.
  2. Connected but no DI messages: check DI1 Pub ms, save the settings, confirm the MQTT In node is connected and clear any Debug sidebar filters.
  3. DO remains OFF: check the exact topic and plain-text payload, restart the board after topic changes, and check whether an enabled output logic rule overrides the command. Use MQTT Explorer to isolate Node-RED if needed.
  4. Finish: send OFF to each output, restore DI1 Pub ms to 0 if you no longer need the heartbeat, save the settings and stop Node-RED when finished.

Do not use this MQTT exercise as a safety-rated control system or to operate machinery. Test output polarity and physical switching separately with approved low-voltage test loads.

Reference library

Downloads & Resources

Official manufacturer documentation and source files for further reference. Complete the relevant Connectivity steps above before using these optional resources.