Last modified by Mengting Qiu on 2025/07/01 15:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -239,10 +239,8 @@ 239 239 240 240 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]] 241 241 242 - 243 243 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS 244 244 245 - 246 246 Press the button for 5 seconds to activate the S31x-LB/LS. 247 247 248 248 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. ... ... @@ -259,7 +259,6 @@ 259 259 260 260 The Payload format is as below. 261 261 262 - 263 263 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 264 264 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 265 265 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** ... ... @@ -364,18 +364,16 @@ 364 364 365 365 If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 366 366 367 -(FF3F & 8000 :Judge whether the highest bit is 1, when the highest bit is 1, it is negative)364 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 368 368 369 369 370 370 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 371 371 372 - 373 373 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 374 374 375 375 376 376 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 377 377 378 - 379 379 **Example:** 380 380 381 381 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt.