Reference

This comprehensive guide explores communication protocols specifically focusing on LoRaWAN and RS485 interfaces for various sensors, including soil series, water quality, weather station, ambient light, and actuators. It details UART settings, device addresses, function codes, register addresses, data order, data sign, and calculation formulas, ensuring clear understanding and effective implementation for users and developers.

Communication Protocol Description

  • Developed based on the standard LoRaWAN protocol, compatible with private gateways or public LoRaWAN networks such as TTN (The Things Network).
  • RS485 interface supports Modbus RTU standard protocol.

Peripheral Device Recommendations

Note: The device address used in this document is the sensor's default address. If the sensor's device address is modified, the configuration must be updated accordingly.

Soil Series Sensors

SEN0600 RS485 Soil Temperature & Moisture Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Soil Moisture 0x01 0x03 0x00 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01 1 ab Signed X*0.1+0

SEN0601 RS485 Soil Temperature, Moisture, EC Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Soil Moisture 0x01 0x03 0x00 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01 1 ab Signed X*0.1+0
EC 0x01 0x03 0x02 1 ab None X*1+0
Salinity 0x01 0x03 0x03 1 ab None X*1+0
TDS 0x01 0x03 0x04 1 ab None X*1+0

SEN0602 RS485 Soil pH, Moisture, Temperature Monitoring Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Soil Moisture 0x01 0x03 0x00 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01 1 ab Signed X*0.1+0
PH 0x01 0x03 0x03 1 ab None X*0.1+0

SEN0603 RS485 Soil EC and pH Monitoring Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Soil Moisture 0x01 0x03 0x02 1 ab None X*0.1+0
PH 0x01 0x03 0x03 1 ab None X*0.1+0
Salinity 0x01 0x03 0x07 1 ab None X*1+0
TDS 0x01 0x03 0x08 1 ab None X*1+0

SEN0604 RS485 Soil Moisture, Temperature, pH & EC Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Soil Moisture 0x01 0x03 0x00 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01 1 ab Signed X*0.1+0
EC 0x01 0x03 0x02 1 ab None X*1+0
PH 0x01 0x03 0x03 1 ab None X*0.1+0
Salinity 0x01 0x03 0x07 1 ab None X*1+0
TDS 0x01 0x03 0x08 1 ab None X*1+0

SEN0605 RS485 Soil NPK Measure Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
N Content 0x01 0x03 0x1E 1 ab None X*1+0
P Content 0x01 0x03 0x1F 1 ab None X*1+0
K Content 0x01 0x03 0x20 1 ab None X*1+0

Water Quality Series Sensors

SEN0680 RS485 Fluorescence Dissolved Oxygen Sensor (Freshwater)

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
  • Note: Reported data requires parsing at the gateway end.
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
DO Saturation 0x01 0x03 0x00 2 abcd None X*1+0
DO oncentration 0x01 0x03 0x02 2 abcd None X*1+0
Temperature 0x01 0x03 0x04 2 abcd None X*1+0

SEN0681 RS485 Fluorescence Dissolved Oxygen Sensor (Seawater)

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
  • Note: Reported data requires parsing at the gateway end.
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
DO Saturation 0x01 0x03 0x00 2 abcd None X*1+0
DO concentration 0x01 0x03 0x02 2 abcd None X*1+0
Temperature 0x01 0x03 0x04 2 abcd None X*1+0

Weather Station Series

SEN0657 Ultrasonic 7-in-1 RS485 Weather Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Wind Speed 0x01 0x03 0x01F4 1 ab None X*0.01+0
Wind Direction (0-7 Gears) 0x01 0x03 0x01F6 1 ab None X*1+0
Wind Direction (0-360°) 0x01 0x03 0x01F7 1 ab None X*1+0
Humidity 0x01 0x03 0x01F8 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01F9 1 ab Signed X*0.1+0
Atmospheric Pressure 0x01 0x03 0x01FD 1 ab None X*1+0
Illuminance (lux) 0x01 0x03 0x01FE 2 abcd None X*1+0
Illuminance (hectolux, hx) 0x01 0x03 0x0200 1 ab None X*1+0
Rainfall 0x01 0x03 0x0201 1 ab None X*0.1+0

SEN0658 Ultrasonic 9-in-1 RS485 Weather Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Wind Speed 0x01 0x03 0x01F4 1 ab None X*0.01+0
Wind Direction (0-7 Gears) 0x01 0x03 0x01F6 1 ab None X*1+0
Wind Direction (0-360°) 0x01 0x03 0x01F7 1 ab None X*1+0
Humidity 0x01 0x03 0x01F8 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01F9 1 ab Signed X*0.1+0
Noise 0x01 0x03 0x01FA 1 ab None X*0.1+0
PM2.5 0x01 0x03 0x01FB 1 ab None X*1+0
PM10 0x01 0x03 0x01FC 1 ab None X*1+0
Atmospheric Pressure 0x01 0x03 0x01FD 1 ab None X*1+0
Illuminance (lux) 0x01 0x03 0x01FE 2 abcd None X*1+0
Illuminance (hectolux, hx) 0x01 0x03 0x0200 1 ab None X*1+0

SEN0438 RS485 Temperature & Humidity Sensor

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Humidity 0x01 0x03 0x00 1 ab None X*0.1+0
Temperature 0x01 0x03 0x01 1 ab Signed X*0.1+0

SEN0482 RS485 Wind Vane Direction Sensor V2

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Wind Direction (0-360°) 0x02 0x03 0x00 1 ab None X*0.1+0
Wind Direction (0-16 Gears) 0x02 0x03 0x01 1 ab None X*1+0

SEN0483 RS485 Wind Speed Transmitter

  • The default UART baud rate of this sensor is 9600. UART settings: Baud rate (9600), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Wind Speed 0x02 0x03 0x00 1 ab None X*0.1+0

Ambient Light Series

SEN0640 RS485 Photoelectric Solar Radiation Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Solar Radiation 0x01 0x03 0x00 1 ab None X*1+0

SEN0641 RS485 Photosynthetically Active Radiation (PAR) Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
PAR 0x01 0x03 0x00 1 ab None X*1+0

SEN0642 RS485 Ultraviolet (UV) Intensity Measure Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
UV 0x01 0x03 0x00 1 ab None X*0.1+0
UV Index 0x01 0x03 0x01 1 ab None X*1+0

SEN0644 RS485 Waterproof Ambient Light Sensor

  • The default UART baud rate of this sensor is 4800. UART settings: Baud rate (4800), Data bits (8), Parity (none), Stop bits (1)
Device Address Function Code Register Address Number of Registers Data Order Data Sign Calculation Formula
Illuminance 0x01 0x03 0x02 2 abcd None X*0.001+0

Actuators Series

FIT0616 Solenoid Valve-DN15
FIT0617 Solenoid Valve - DN20
FIT0624 Inclined Electromagnetic Lock (12V)

Was this article helpful?

TOP