Skip to content

Sample project with RS485 sensors, smoke sensor and SSR

IoTThinks.com edited this page Jun 9, 2019 · 5 revisions

1. Goals

Sample project in action

2. Assemble all parts

Sample prọect - caption

3. Default configuration

Default flow

  • To read temperature from RS485 temperature meter.
  • To broadcast the value via LoRa.
  • Gateway to catch the LoRa message and forward to MQTT server https://shiftr.io

Modbus configuration

To read one Word at 0x2010 from Slave ID 1 #define MODBUS_REGISTERID 0x2010 #define MODBUS_REGISTERWORD 1 #define Slave_ID 1