Relative Content

Tag Archive for esp32esp8266modbusrs485

ModbusRTU – auto assign addresses for slaves

I’m working on a home automation project, where I want to use rs485(modbus) for communication between modules and I was wondering, if there is a way to automate the process of adding new devices(slaves) to the bus and addressing them automatically and also writing the new address to it’s flash memory, so when the slave restart it remembers the new ID.