Skip to content

axel-GB/esp32-modbus-gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESP32 Modbus RTU/TCP Gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.8%
  • C 3.2%