Modbus RTU to TCP Bridge

December 1, 2022 ยท View on GitHub

A simple Modbus RTU Master to Modbus TCP Server Bridge that is done with off-the shelf parts utilizing the ESP-8266

Hardware

Specifications

  • Current Requirements: ~30mA@12V

BOM

Schematic

Modbus Bridge_bb The waveshare board has all the passive components and connector incorporated.

Software

Used Libraries

modbus-esp8266 v. 4.1.0 https://github.com/emelianov/modbus-esp8266

Configuration

Fill the setup config section with your values in the arduino file and you are good to go.

Known Limitations

  • Only one TCP Client/Master is supported at the same time. Unpredicted behaviour on end application may occur if multiple TCP Clients make requests at the same time.

Notes

  • A big thanks to Alexander Emelianov for helping with this project.
  • If you like the project please star this repository and concider donating or becoming a sponsor.