There are two references for the soil sensors:
| Reference | Sensor set |
| Catnip Soil | 19 |
| WaterScout Soil | 50 |
See how to set up the good configuration with the downlink message here.
Uplink structure for sensorset "catnip Soil #19"
|
|
Soil Catnip sensor set 19: Report message example |
||||
|
|
Byte 0 |
Byte 1 |
Byte 2 |
Byte 3 |
Byte 4 |
|
Label |
message code |
Temp |
Moisture LSB |
Moisture MSB |
battery |
|
Hexa |
0x10 or 0x12 |
0x19 |
0x14 |
0x02 |
0x64 |
|
Decimal |
16 |
25 |
532 |
100 |
|
|
Unit |
NA |
celcius |
Raw capacity |
percent |
|
Uplink structure for sensorset "Water Scout Soil #50"
|
|
Soil Waterscout sensor set 50: Report message example |
|||
|
|
Byte 0 |
Byte 2 |
Byte 3 |
Byte 4 |
|
Label |
message code |
Moisture LSB |
Moisture MSB |
battery |
|
Hexa |
0x10 or 0x12 |
0x14 |
0x02 |
0x64 |
|
Decimal |
16 |
532 |
100 |
|
|
Unit |
NA |
Raw capacity |
percent |
|
That means that before converting from HEXA to decimal, MSB should on left position and LSB on the right one.For moisture decoding we are using Little Endian convention.
In the example: 0x1402 -> 0x0214 ->532
In case of communication error between the sensor and the Device, the device may report an error code that needs to be filtered.
| Sensor | Error Code (decimal) |
| Catnip Soil | 32766 |
| WaterScout Soil | No code error |
In case of successive error code the device can be reboot remotely: How to reset a device trought a downlink message
How to compute water volumetric content from raw data?
The method to compute the water volumetric content from raw data sensor can be find in the section "Soil Specific Calibration" of the attached document "spec_capteur_waterscout_SM100.pdf". This method can be used for either waterscout ou catnip sensors.
Calculation process of water volumetric content
Setting threshold regarding soil type
Commentaires
0 commentaire
Vous devez vous connecter pour laisser un commentaire.