ModbusConfig library for ESP8266/ESP32/Arduino. The library process a modbus configuration file in JSON format.
Each device connected to Rx/Tx pin (RS485 interface board) can have several operations block with different polling interval specified in a configuration file. Any operation has several parameters: SlaveID, function, address, len and operation name to visually distinguish operations. When a device (slave) polling interval has reached, the libriary invoke the callback function to send telemetry data to a cloud server or poll a slave device.

Author: Andrey Fedorov

Maintainer: Andrey Fedorov

Read the documentation

Go to repository


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.