Skip to content

Modbus RTU to REST API Gateway for ESP32 Ethernet Systems

An ESP32-based gateway that centralizes RS485/RS232 Modbus RTU access and exposes it through REST, WebSocket, web UI, and CLI.

josephsr

Published June 04, 2026

Original author: Jan Green · DenmarkOriginal source (new tab)

Modbus RTU to REST API Gateway for ESP32 Ethernet Systems

Components

Hardware components

WIZnet parts

Project description

Overview This project implements a Modbus API Gateway that connects RS485/RS232 Modbus RTU devices to Ethernet-based software systems through a REST API. Instead of allowing multiple clients to access a Modbus RTU bus directly, the gateway places an ESP32 at the center of the system. The ESP32 becomes the controlled access point for Modbus communication. External clients such as Node-RED, SCADA software, HMI panels, browser tools, scripts, or automation servers communicate with the gateway over HTTP, while the gateway handles the actual Modbus RTU transactions through RS485 or RS232. The…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like