Last modified by Mengting Qiu on 2025/07/01 15:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -62,6 +62,8 @@ 62 62 * Downlink to change configure 63 63 * 8500mAh Battery for long term use 64 64 65 + 66 + 65 65 == 1.3 Specification == 66 66 67 67 ... ... @@ -104,6 +104,8 @@ 104 104 * Sleep Mode: 5uA @ 3.3v 105 105 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 106 106 109 + 110 + 107 107 == 1.4 Sleep mode and working mode == 108 108 109 109 ... ... @@ -131,10 +131,12 @@ 131 131 ))) 132 132 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 133 133 138 + 139 + 134 134 == 1.6 BLE connection == 135 135 136 136 137 - D2x-LB support BLE remote configure.143 +S31x-LB support BLE remote configure. 138 138 139 139 140 140 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: ... ... @@ -193,9 +193,6 @@ 193 193 194 194 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. 195 195 196 - 197 - 198 - 199 199 The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server. 200 200 201 201 ... ... @@ -203,10 +203,9 @@ 203 203 204 204 Each S31x-LB is shipped with a sticker with the default device EUI as below: 205 205 206 -[[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-20220607170145-1.jpeg?rev=1.1||alt="image-20220607170145-1.jpeg"]]209 +[[image:image-20230426084152-1.png||height="233" width="502"]] 207 207 208 208 209 - 210 210 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 211 211 212 212 ... ... @@ -258,7 +258,7 @@ 258 258 259 259 Example parse in TTNv3 260 260 261 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20230415153147-2.png?width=1120&height=220&rev=1.1||alt="image-20230415153147-2.png"]]263 +[[image:image-20230421171614-1.png]] 262 262 263 263 264 264 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -319,7 +319,7 @@ 319 319 320 320 Sensor Data is uplink via FPORT=2 321 321 322 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:5 10px" %)324 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 323 323 |=(% style="width: 90px;background-color:#D9E2F3" %)((( 324 324 **Size(bytes)** 325 325 )))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width:80px;background-color:#D9E2F3" %)1|=(% style="width: 80px;background-color:#D9E2F3" %)**2**|=(% style="width: 80px;background-color:#D9E2F3" %)2 ... ... @@ -335,7 +335,7 @@ 335 335 [[Humidity>>||anchor="HHumidity:"]] 336 336 ))) 337 337 338 -==== (% style="color:#4472c4" %)**Battery :**(%%) ====340 +==== (% style="color:#4472c4" %)**Battery**(%%) ==== 339 339 340 340 Sensor Battery Level. 341 341 ... ... @@ -345,7 +345,7 @@ 345 345 346 346 347 347 348 -==== (% style="color:#4472c4" %)**Temperature :**(%%) ====350 +==== (% style="color:#4472c4" %)**Temperature**(%%) ==== 349 349 350 350 **Example**: 351 351 ... ... @@ -356,13 +356,13 @@ 356 356 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 357 357 358 358 359 -==== (% style="color:#4472c4" %)**Humidity :**(%%) ====361 +==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 360 360 361 361 362 362 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 363 363 364 364 365 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD :**(%%) ====367 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ==== 366 366 367 367 368 368 **Example:** ... ... @@ -440,7 +440,7 @@ 440 440 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 441 441 |=(% style="width: 80px;background-color:#D9E2F3" %)((( 442 442 **Size(bytes)** 443 -)))|=(% style="width: 54px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width:51px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width:89px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 80px; background-color: rgb(217, 226, 243);" %)**4**445 +)))|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 120px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 85px; background-color: rgb(217, 226, 243);" %)**4** 444 444 |(% style="width:103px" %)**Value**|(% style="width:54px" %)((( 445 445 [[Temp_Black>>||anchor="HTemperatureBlack:"]] 446 446 )))|(% style="width:51px" %)[[Temp_White>>||anchor="HTemperatureWhite:"]]|(% style="width:89px" %)[[Temp_ Red or Temp _White>>||anchor="HTemperatureREDorTemperatureWhite:"]]|(% style="width:103px" %)Poll message flag & Ext|(% style="width:54px" %)[[Unix Time Stamp>>||anchor="H2.5.2UnixTimeStamp"]] ... ... @@ -472,9 +472,9 @@ 472 472 473 473 **Example:** 474 474 475 -If D2x-LB has below data inside Flash:477 +If S31x-LB has below data inside Flash: 476 476 477 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523144455-1.png?width=735&height=335&rev=1.1||alt="image-20220523144455-1.png" height="335" width="735"]]479 +[[image:1682646494051-944.png]] 478 478 479 479 If user sends below downlink command: 3160065F9760066DA705 480 480 ... ... @@ -487,21 +487,37 @@ 487 487 488 488 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-13.png?width=727&height=421&rev=1.1||alt="image-20220523001219-13.png" height="421" width="727"]] 489 489 492 +((( 490 490 __**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 494 +))) 491 491 496 +((( 492 492 Where the first 11 bytes is for the first entry: 498 +))) 493 493 500 +((( 494 494 7FFF089801464160065F97 502 +))) 495 495 504 +((( 496 496 **Ext sensor data**=0x7FFF/100=327.67 506 +))) 497 497 508 +((( 498 498 **Temp**=0x088E/100=22.00 510 +))) 499 499 512 +((( 500 500 **Hum**=0x014B/10=32.6 514 +))) 501 501 516 +((( 502 502 **poll message flag & Ext**=0x41,means reply data,Ext=1 518 +))) 503 503 520 +((( 504 504 **Unix time** is 0x60066009=1611030423s=21/1/19 04:27:03 522 +))) 505 505 506 506 507 507 (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %) ... ... @@ -525,7 +525,7 @@ 525 525 526 526 = 3. Configure S31x-LB = 527 527 528 -== 3.1 Configure Methods :==546 +== 3.1 Configure Methods == 529 529 530 530 531 531 S31x-LB supports below configure method: ... ... @@ -534,6 +534,8 @@ 534 534 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 535 535 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 536 536 555 + 556 + 537 537 == 3.2 General Commands == 538 538 539 539 ... ... @@ -591,7 +591,7 @@ 591 591 Sensor will upload Device Status via FPORT=5. See payload section for detail. 592 592 593 593 594 -=== 3.3.3 Set Temperature Alarm Threshold :===614 +=== 3.3.3 Set Temperature Alarm Threshold === 595 595 596 596 * (% style="color:blue" %)**AT Command:** 597 597 ... ... @@ -607,12 +607,12 @@ 607 607 608 608 * (% style="color:blue" %)**Downlink Payload:** 609 609 610 -(% style="color:#037691" %)**0x(0C 01 00 1E)** (%%) ~/~/Set AT+SHTEMP=0,30 630 +(% style="color:#037691" %)**0x(0C 01 00 1E)** (%%) ~/~/ Set AT+SHTEMP=0,30 611 611 612 612 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)** 613 613 614 614 615 -=== 3.3.4 Set Humidity Alarm Threshold :===635 +=== 3.3.4 Set Humidity Alarm Threshold === 616 616 617 617 * (% style="color:blue" %)**AT Command:** 618 618 ... ... @@ -624,16 +624,16 @@ 624 624 625 625 Example: 626 626 627 - AT+SHHUM=70,0 647 + AT+SHHUM=70,0 ~/~/ Alarm when humidity lower than 70%. 628 628 629 629 * (% style="color:blue" %)**Downlink Payload:** 630 630 631 -(% style="color:#037691" %)**0x(0C 02 46 00)**(%%) ~/~/Set AT+SHTHUM=70,0 651 +(% style="color:#037691" %)**0x(0C 02 46 00)**(%%) ~/~/ Set AT+SHTHUM=70,0 632 632 633 633 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))** 634 634 635 635 636 -=== 3.3.5 Set Alarm Interval :===656 +=== 3.3.5 Set Alarm Interval === 637 637 638 638 The shortest time of two Alarm packet. (unit: min) 639 639 ... ... @@ -646,7 +646,7 @@ 646 646 (% style="color:#037691" %)**0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes 647 647 648 648 649 -=== 3.3.6 Get Alarm settings (什么FPORT?)===669 +=== 3.3.6 Get Alarm settings === 650 650 651 651 652 652 Send a LoRaWAN downlink to ask device send Alarm settings. ... ... @@ -662,6 +662,8 @@ 662 662 663 663 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 664 664 685 + 686 + 665 665 === 3.3.7 Set Interrupt Mode === 666 666 667 667 ... ... @@ -693,6 +693,8 @@ 693 693 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 694 694 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 695 695 718 + 719 + 696 696 = 4. Battery & Power Consumption = 697 697 698 698 ... ... @@ -719,6 +719,8 @@ 719 719 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 720 720 * Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 721 721 746 + 747 + 722 722 = 6. FAQ = 723 723 724 724 ... ... @@ -746,6 +746,8 @@ 746 746 747 747 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 748 748 775 + 776 + 749 749 = 8. Packing Info = 750 750 751 751 ... ... @@ -763,6 +763,8 @@ 763 763 764 764 * Weight / pcs : g 765 765 794 + 795 + 766 766 = 9. Support = 767 767 768 768
- 1682646494051-944.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +206.9 KB - Content
- image-20230421162630-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.5 KB - Content
- image-20230421171614-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.8 KB - Content
- image-20230426084152-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content