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,8 +239,10 @@ 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 + 242 242 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS 243 243 245 + 244 244 Press the button for 5 seconds to activate the S31x-LB/LS. 245 245 246 246 (% 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. ... ... @@ -257,7 +257,8 @@ 257 257 258 258 The Payload format is as below. 259 259 260 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 262 + 263 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 261 261 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 262 262 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 263 263 |(% style="width:103px" %)Value|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT ... ... @@ -325,7 +325,7 @@ 325 325 326 326 Sensor Data is uplink via FPORT=2 327 327 328 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)331 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 329 329 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 330 330 **Size(bytes)** 331 331 )))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2 ... ... @@ -361,16 +361,18 @@ 361 361 362 362 If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 363 363 364 -(FF3F & 8000 :Judge whether the highest bit is 1, when the highest bit is 1, it is negative)367 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 365 365 366 366 367 367 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 368 368 372 + 369 369 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 370 370 371 371 372 372 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 373 373 378 + 374 374 **Example:** 375 375 376 376 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. ... ... @@ -448,7 +448,7 @@ 448 448 449 449 **Retrieval data payload:** 450 450 451 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)456 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 452 452 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 453 453 **Size(bytes)** 454 454 )))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 65px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 180px; background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px; background-color:#4F81BD;color:white" %)**4** ... ... @@ -599,7 +599,7 @@ 599 599 600 600 (% style="color:blue" %)**AT Command: AT+TDC** 601 601 602 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)607 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 603 603 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 604 604 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 605 605 30000 ... ... @@ -712,7 +712,7 @@ 712 712 713 713 (% style="color:blue" %)**AT Command: AT+INTMOD** 714 714 715 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)720 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 716 716 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 717 717 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 718 718 0 ... ... @@ -749,7 +749,7 @@ 749 749 750 750 (% style="color:blue" %)**AT Command: AT+5VT** 751 751 752 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)757 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 753 753 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 754 754 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 755 755 OK