Projects / Ideas / Modbus temperature slave

Modbus temperature slave

AdvancedIndustrialIdeaReviewed
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.

How to build it

  1. Define holding registers
  2. Read the sensor
  3. Respond to function code 3
  4. Test with a free Modbus master
  5. Add a baud and address setting

Related projects

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.