---
title: "[Re]LilyGo-W5500-Lite-WoL"
url: "https://maker.wiznet.io/Aimee0/projects/lilygo-w5500-lite-wol-1/"
markdown_url: "https://maker.wiznet.io/Aimee0/projects/lilygo-w5500-lite-wol-1/md"
type: "UCC: User Created Content"
author: "Aimee"
author_url: "https://maker.wiznet.io/Aimee0/"
original_author: "aimee"
original_url: "https://buly.kr/5UHoUwS"
published: "2025-05-28"
language: "en"
likes: 0
views: 1697
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# [Re]LilyGo-W5500-Lite-WoL

> .

Original author: aimee (source: https://buly.kr/5UHoUwS)

## Article

## ✅ Project Overview: Wake-on-LAN IoT Dongle Based on W5500

This project utilizes the **LILYGO T-Lite W5500** development board to implement a **Wake-on-LAN (WoL)** IoT dongle. Users can remotely power on a PC by sending Magic Packets via a web-based configuration interface, where they can enter Wi-Fi and Ethernet settings, as well as the MAC address of the target PC.

---

## 🧩 Hardware Architecture

- **MCU**: ESP32 (supports Wi-Fi and BLE)

- **Ethernet Chip**: WIZnet **W5500**, connected via **SPI**, enabling hardware-based TCP/IP offloading

- **Display**: 0.96" OLED screen (SSD1306, I2C interface)

**Pin Mapping**:

- `ETH_RST`: GPIO 4

- `ETH_CS`: GPIO 5

- `ETH_SCLK`: GPIO 18

- `ETH_MISO`: GPIO 23

- `ETH_MOSI`: GPIO 19

- `OLED_SCL`: GPIO 22

- `OLED_SDA`: GPIO 21

---

## 🧠 Software Stack

- **Development Environment**: Arduino IDE (Board: ESP32 Dev Module)

- **Key Libraries**:
  - `ESP_DoubleResetDetector`: Allows entry into setup mode by double-resetting within 10 seconds
  - Custom-modified `WebServer` library for ESP32 compatibility (located under `/libdeps`)

- **Main Features**:
  - Web-based configuration UI to input Wi-Fi credentials, MAC address of the target PC, and WebSocket server address
  - Communication with a WebSocket server to trigger Magic Packet transmission

---

## 🔄 Operation Flow

1. **Setup Mode**: Triggered by double-resetting the ESP32 within 10 seconds

2. **Web Access Point**: The device hosts an AP with SSID `WoL_Config` to provide access to the configuration page

3. **User Configuration**: Inputs include Wi-Fi SSID, password, target PC MAC address, and WebSocket server URL

4. **Active Mode**: Once configured, the device connects to the WebSocket server and waits for a trigger

5. **Magic Packet Transmission**: When a MAC address is received from the server, the ESP32 sends a WoL packet to power on the PC

---

## 🧩 Role & Value of W5500 Chip

- **Hardware TCP/IP Stack**: W5500 offloads the TCP/IP stack from the MCU, freeing up resources on the ESP32

- **Low Power and High Stability**: Improves efficiency by reducing CPU overhead and ensuring stable Ethernet connectivity

- **Real-Time Performance**: Offers reliable packet delivery for time-sensitive tasks such as Magic Packet transmission

---

## 📈 Strategic Value to WIZnet

- **Expanding IoT Market**: Demonstrates how W5500 can be effectively integrated into modern IoT use cases

- **Developer Community Engagement**: Open-source projects like this increase awareness and adoption of WIZnet products among makers and hobbyists

- **Product Versatility**: Shows how W5500 complements ESP32 in hybrid Wi-Fi + Ethernet architectures, widening its application range in industrial and home automation

---

Source: https://maker.wiznet.io/Aimee0/projects/lilygo-w5500-lite-wol-1/
