Idea
In short
How do you build a modbus temperature slave?
An Arduino acts as a Modbus RTU slave over RS-485 and reports temperature to a PC tool. You need Arduino Nano, RS485 to TTL auto-direction module, DS18B20 waterproof probe, USB to RS485 adapter and Resistor 4.7 kΩ.
- Level
- Advanced
- Time
- About 210 min
- Parts
- 5
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Implement a Modbus register map on a small controller.
Parts list
- Development Boards
- Interfaces
- Sensors
- Interfaces
- Passives
How to build it
- Define holding registers
- Read the sensor
- Respond to function code 3
- Test with a free Modbus master
- Add a baud and address setting
Common questions
What parts do I need for the modbus temperature slave?
Arduino Nano, RS485 to TTL auto-direction module, DS18B20 waterproof probe, USB to RS485 adapter and Resistor 4.7 kΩ.
How long does the modbus temperature slave take to build?
About 210 minutes for a advanced maker.
