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

Summary

Details

Page properties
Content
... ... @@ -231,21 +231,13 @@
231 231  
232 232  === 2.3.5 Soil Temperature ===
233 233  
234 -(((
235 235   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 -)))
237 237  
238 -(((
239 239  **Example**:
240 -)))
241 241  
242 -(((
243 243  If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C
244 -)))
245 245  
246 -(((
247 247  If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C
248 -)))
249 249  
250 250  
251 251  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0