User Guide

IoT into the Wild
39
9.3.3 Example S2104 Soil Moisture and Temperature Sensor
Soil Moisture and Temperature Sensor measurement packet:
01 0610 245E0000 01 0710 BCB10000 A3D9
Part
Value
Raw Data
Description
1
Soil
Temperature
01 0610 245E0000
01 is the channel number.
0610 is 0x1006little-endian byte order,
which is the measurement ID for soil
temperature.
245E0000 is actually 0x00005E24, whose
equivalent decimal value is 24100. Divide it by
1000, and you will get the actual
measurement value for soil temperature as
24.1.
2
Soil
Moisture
01 0710 BCB10000
01 is the channel number.
0710 is 0x1007 (little-endian byte order),
which is the measurement ID for soil
moisture.
BCB10000 is actually 0x0000B1BC, whose
equivalent decimal value is 45500. Divide it by
1000, and you will get the actual
measurement value for soil moisture as
45.5RH.
3
CRC
A3D9
The CRC verification part.