The latest release of the Iono Arduino/MKR library package adds to its Modbus RTU slave app the ability to collect data via Modbus from 1-Wire Dallas temperature sensors connected to Iono’s TTL lines (DI5 and DI6 in TTL mode).
The sketch supports up to 8 sensors on each TTL line and allows for automatic discovery of connected devices.
Devices’ IDs and corresponding temperature values are available in the Modbus registers map, together with digital/analog inputs/outputs status and control registers.
The new functionality turns Iono Arduino/MKR into a ready-to-use 1-Wire to Modbus converter, compatible with any standard Modbus RTU master device or application.
As usual, you find the sketch source code and detailed documentation on GitHub: