---
title: "Open Energy Gateway + W5500"
url: "https://maker.wiznet.io/Hannah/projects/open-energy-gateway-w5500/"
markdown_url: "https://maker.wiznet.io/Hannah/projects/open-energy-gateway-w5500/md"
type: "UCC: User Created Content"
author: "Johann Fritz"
author_url: "https://github.com/Johannf78/Open-Energy-Gateway"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "Johann Fritz"
original_url: "https://github.com/Johannf78/Open-Energy-Gateway"
published: "2025-09-24"
language: "en"
likes: 0
views: 1099
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Open Energy Gateway + W5500

> AmpX Open Energy Gateway is an open-source platform designed for smart metering data acquisition and visualization.

Original author: Johann Fritz (source: https://github.com/Johannf78/Open-Energy-Gateway)

## Documents and links

- [Open-Energy-Gateway](https://github.com/Johannf78/Open-Energy-Gateway) (code)

## Article

### Project Overview

**AmpX Open Energy Gateway** is an open-source platform designed for smart metering data acquisition and visualization.
Built around the **ESP32** and the **WIZnet W5500 Ethernet module**, it ensures Wi-Fi flexibility alongside **deterministic wired communication** for industrial applications.
The gateway supports both **Modbus RS485** and **Modbus TCP/IP**, enabling real-time collection and monitoring of up to 32 meters, with periodic uploads to a remote server.

---

AmpX Open Energy Gateway는 ESP32와 WIZnet의 **W5500 이더넷 모듈**을 기반으로, 스마트 미터링 데이터를 안정적으로 수집하고 가시화하는 오픈소스 게이트웨이입니다.

Wi-Fi의 유연성과 Ethernet의 안정성을 동시에 제공하며, RS485와 TCP/IP 두 가지 Modbus 방식을 지원합니다.
이를 통해 최대 32대의 계량기를 실시간으로 모니터링할 수 있습니다.

### Core Hardware

- **MCU:** ESP32-WROOM-32U

- **Ethernet Support:** WIZnet W5500 Lite Ethernet Module (TCP/IP version)

- **Alternative Communication:** RS485 (MAX485 module, separate build option)

- **Status Indicators:** Power, Meter, Wi-Fi, Internet, Server LEDs

- **User Interface:** Built-in web server with WebSocket real-time monitoring

---

메인 MCU는 ESP32-WROOM-32U이고, 유선 통신은 **WIZnet W5500 Lite 모듈**을 통해 이루어집니다.웹서버와 WebSocket을 활용한 사용자 인터페이스도 기본 내장되어 있습니다.

### Main Features

- **Modbus TCP/IP Acquisition:** Collects energy meter data via wired Ethernet through the W5500

- **Web Dashboard:** Browser-based real-time visualization with 3-second refresh intervals

- **API Upload:** Periodic data uploads to remote servers in JSON format (30-second cycle)

- **Flexible Build Options:** Select RS485 or TCP/IP mode at compile time

- **Troubleshooting Support:** Clear guides for wiring, network setup, and termination issues

- **Modular Firmware Design:** Ethernet, Modbus, Web, and API functions structured as separate modules

---

- **Modbus TCP/IP Acquisition:** W5500을 통해 유선 네트워크 기반 미터 데이터 수집

- **Web Dashboard:** 브라우저에서 실시간 데이터 시각화 (3초 주기 갱신)

- **API Upload:** 30초 주기로 원격 서버 API에 계량 데이터 업로드(JSON 형식)

- **Flexible Build:** RS485 또는 TCP/IP 버전 선택 가능 (컴파일 시 옵션 설정)

- **Troubleshooting Support:** 네트워크·배선·종단저항 문제 해결 가이드 제공

- **Modular Firmware:** Ethernet, Modbus, Web, API 기능이 독립 모듈로 구성

주요 특징으로는 modbus tcpip 로 에너지 미터의 데이터를 수집하고 웹 대시보드에 실시간으로 모니터링을 지원하고 원격 서버에 주기적으로 데이터를 업로드합니다

### Key Technologies

- **WIZnet W5500 Ethernet:** On-chip TCP/IP stack with 8 simultaneous sockets for stable, low-latency wired communication

- **ESP32 MCU:** Dual-core processor with integrated Wi-Fi/Bluetooth for versatile deployment

- **WebSocket Protocol:** Real-time updates to the local web dashboard

- **RESTful API:** Lightweight JSON transfer for reliable server integration

---

- **WIZnet W5500 Ethernet:** 온칩 TCP/IP 스택 + 8 소켓 지원으로 안정적이고 저지연 통신 보장

- **ESP32 MCU:** Wi-Fi/블루투스 기능을 갖춘 듀얼 코어 프로세서, 유연한 확장성 제공

- **WebSocket Protocol:** 웹 대시보드 실시간 데이터 갱신 구현

- **RESTful API:** 주기적 데이터 업로드를 위한 경량 JSON 전송

### **Applications & Benefits**

- **스마트 빌딩/홈:** 로컬 & 서버 동시 모니터링

- **산업 설비:** Ethernet 기반 신뢰성 확보

- **스마트 그리드:** 저비용·확장 가능한 클라우드 연동

**Benefits**

- Wi-Fi + Ethernet 동시 지원

- W5500 기반 안정성

- 오픈소스 확장성

The **Open Energy Gateway** showcases how WIZnet’s **W5500 Ethernet technology** transforms a DIY monitoring project into a robust, industry-ready gateway.
By combining ESP32, Modbus, WebSocket, and API-based uploads, it seamlessly bridges **traditional energy metering systems with modern IoT platforms**.
This makes it a compelling solution for **smart home users, industrial engineers, and utility providers** alike.

---

적용 분야로는 스마트 빌딩과 홈에서는 에너지 사용량을 로컬과 서버에서 동시에 모니터링할 수 있고, 산업 설비에서는 유선 Ethernet으로 안정성을 확보합니다.
또한 스마트 그리드 같은 대규모 네트워크에서도 확장이 용이합니다.
Wi-Fi와 Ethernet을 병행할 수 있고, 무엇보다 **W5500의 안정성**과 오픈소스 구조의 확장성이 큰 장점입니다.

---

Source: https://maker.wiznet.io/Hannah/projects/open-energy-gateway-w5500/
