Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 871 Bytes

README.md

File metadata and controls

36 lines (20 loc) · 871 Bytes

ESP32 Modbus RTU/TCP Gateway

A generic firmware for an ESP32 to be used as a Modbus TCP/IP gateway for any modbus RTU device. Default RX/TX pins for the TTL-RS485 communication are used from hardware-serial2 (check pinout of your esp32-board for UART2-TX and UART2-RX). If you like to use different RX/TX pins, you can define them as build_flags in the platformio.ini. E.g.: build_flags = -DRX_PIN=14 -DTX_PIN=5

State

It work's for me, but there's room for improvement. If you have an idea please open an issue - if you can improve anything just create a PR.

Hardware

ESP32 NodeMCU + XY-017 TTL-RS485 Board with automatic flow control

Home

Screenshots

Home

Home

Status

Status

Config

Config

Debug

Debug