<
From version < 32.10 >
edited by Xiaoling
on 2022/06/07 11:39
To version < 32.11 >
edited by Xiaoling
on 2022/06/07 11:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -231,13 +231,21 @@
231 231  
232 232  === 2.3.5 Soil Temperature ===
233 233  
234 +(((
234 234   Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is 0x09 0xEC, the temperature content in the soil is
236 +)))
235 235  
238 +(((
236 236  **Example**:
240 +)))
237 237  
242 +(((
238 238  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
244 +)))
239 239  
246 +(((
240 240  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
248 +)))
241 241  
242 242  
243 243  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0