Page 1 of 1

Modbus RTU master

Posted: 18 Nov 2019, 17:20
by pruwait
I neeed to connect ESP with some Arduino. I want to use wire and ModbusRTU. Arduino is slave and ESP is master. How can I get it with EspEasy? I see "ESPEasy/src/Modbus_RTU.ino" but I cant understand how can I use it.

Re: Modbus RTU master

Posted: 18 Nov 2019, 23:19
by TD-er
There are currently 2 plugins using Modbus RTU.
AcuEnergy DC24x
SenseAir (S8/S11)

There is no "generic" plugin for Modbus, so you need to write one yourself.
I think the AcuEnergy is the simplest one to get started with.

Re: Modbus RTU master

Posted: 19 Nov 2019, 09:00
by pruwait
Thanks for your answer. I will try to understand how working plugins P085, P052, P078 and make new one.

Re: Modbus RTU master

Posted: 19 Nov 2019, 09:44
by TD-er
P078 is the Eastron plugin and although it uses Modbus RTU, its library we used has still its own implementation (which eventually will be merged into the same)