Last modified by Mengting Qiu on 2025/07/01 15:58

From version 26.1
edited by Ellie Zhang
on 2023/05/06 14:35
Change comment: There is no comment for this version
To version 14.40
edited by Xiaoling
on 2023/04/17 11:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ellie
1 +XWiki.Xiaoling
Content
... ... @@ -1,9 +1,6 @@
1 -(% style="text-align:center" %)
2 -[[image:S31-B.jpg]]
1 +
3 3  
4 4  
5 -
6 -
7 7  **Table of Contents:**
8 8  
9 9  {{toc/}}
... ... @@ -65,7 +65,6 @@
65 65  * Downlink to change configure
66 66  * 8500mAh Battery for long term use
67 67  
68 -
69 69  == 1.3 Specification ==
70 70  
71 71  
... ... @@ -108,7 +108,6 @@
108 108  * Sleep Mode: 5uA @ 3.3v
109 109  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
110 110  
111 -
112 112  == 1.4 Sleep mode and working mode ==
113 113  
114 114  
... ... @@ -136,11 +136,10 @@
136 136  )))
137 137  |(% 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.
138 138  
139 -
140 140  == 1.6 BLE connection ==
141 141  
142 142  
143 -S31x-LB support BLE remote configure.
137 +D2x-LB support BLE remote configure.
144 144  
145 145  
146 146  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:
... ... @@ -199,6 +199,9 @@
199 199  
200 200  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.
201 201  
196 +
197 +
198 +
202 202  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.
203 203  
204 204  
... ... @@ -206,9 +206,10 @@
206 206  
207 207  Each S31x-LB is shipped with a sticker with the default device EUI as below:
208 208  
209 -[[image:image-20230426084152-1.png||height="233" width="502"]]
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"]]
210 210  
211 211  
209 +
212 212  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
213 213  
214 214  
... ... @@ -260,7 +260,7 @@
260 260  
261 261  Example parse in TTNv3
262 262  
263 -[[image:image-20230421171614-1.png]]
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"]]
264 264  
265 265  
266 266  (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A
... ... @@ -337,7 +337,7 @@
337 337  [[Humidity>>||anchor="HHumidity:"]]
338 338  )))
339 339  
340 -==== (% style="color:#4472c4" %)**Battery**(%%) ====
338 +==== (% style="color:#4472c4" %)**Battery:**(%%) ====
341 341  
342 342  Sensor Battery Level.
343 343  
... ... @@ -347,7 +347,7 @@
347 347  
348 348  
349 349  
350 -==== (% style="color:#4472c4" %)**Temperature**(%%) ====
348 +==== (% style="color:#4472c4" %)**Temperature:**(%%) ====
351 351  
352 352  **Example**:
353 353  
... ... @@ -358,13 +358,13 @@
358 358  (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
359 359  
360 360  
361 -==== (% style="color:#4472c4" %)**Humidity**(%%) ====
359 +==== (% style="color:#4472c4" %)**Humidity:**(%%) ====
362 362  
363 363  
364 364  Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
365 365  
366 366  
367 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ====
365 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
368 368  
369 369  
370 370  **Example:**
... ... @@ -442,7 +442,7 @@
442 442  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
443 443  |=(% style="width: 80px;background-color:#D9E2F3" %)(((
444 444  **Size(bytes)**
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**
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**
446 446  |(% style="width:103px" %)**Value**|(% style="width:54px" %)(((
447 447  [[Temp_Black>>||anchor="HTemperatureBlack:"]]
448 448  )))|(% 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"]]
... ... @@ -474,9 +474,9 @@
474 474  
475 475  **Example:**
476 476  
477 -If S31x-LB has below data inside Flash:
475 +If D2x-LB has below data inside Flash:
478 478  
479 -[[image:1682646494051-944.png]]
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"]]
480 480  
481 481  If user sends below downlink command: 3160065F9760066DA705
482 482  
... ... @@ -489,37 +489,21 @@
489 489  
490 490  [[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"]]
491 491  
492 -(((
493 493  __**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
494 -)))
495 495  
496 -(((
497 497  Where the first 11 bytes is for the first entry:
498 -)))
499 499  
500 -(((
501 501  7FFF089801464160065F97
502 -)))
503 503  
504 -(((
505 505  **Ext sensor data**=0x7FFF/100=327.67
506 -)))
507 507  
508 -(((
509 509  **Temp**=0x088E/100=22.00
510 -)))
511 511  
512 -(((
513 513  **Hum**=0x014B/10=32.6
514 -)))
515 515  
516 -(((
517 517  **poll message flag & Ext**=0x41,means reply data,Ext=1
518 -)))
519 519  
520 -(((
521 521  **Unix time** is 0x60066009=1611030423s=21/1/19 04:27:03
522 -)))
523 523  
524 524  
525 525  (% 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" %)​
... ... @@ -543,7 +543,7 @@
543 543  
544 544  = 3. Configure S31x-LB =
545 545  
546 -== 3.1 Configure Methods ==
528 +== 3.1 Configure Methods: ==
547 547  
548 548  
549 549  S31x-LB supports below configure method:
... ... @@ -552,7 +552,6 @@
552 552  * 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]].
553 553  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
554 554  
555 -
556 556  == 3.2 General Commands ==
557 557  
558 558  
... ... @@ -610,7 +610,7 @@
610 610  Sensor will upload Device Status via FPORT=5. See payload section for detail.
611 611  
612 612  
613 -=== 3.3.3 Set Temperature Alarm Threshold ===
594 +=== 3.3.3 Set Temperature Alarm Threshold: ===
614 614  
615 615  * (% style="color:blue" %)**AT Command:**
616 616  
... ... @@ -626,12 +626,12 @@
626 626  
627 627  * (% style="color:blue" %)**Downlink Payload:**
628 628  
629 -(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/ Set AT+SHTEMP=0,30
610 +(% style="color:#037691" %)**0x(0C 01 00 1E)**  (%%) ~/~/Set AT+SHTEMP=0,30
630 630  
631 631  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)**
632 632  
633 633  
634 -=== 3.3.4 Set Humidity Alarm Threshold ===
615 +=== 3.3.4 Set Humidity Alarm Threshold: ===
635 635  
636 636  * (% style="color:blue" %)**AT Command:**
637 637  
... ... @@ -643,16 +643,16 @@
643 643  
644 644  Example:
645 645  
646 - AT+SHHUM=70,0  ~/~/ Alarm when humidity lower than 70%.
627 + AT+SHHUM=70,0   ~/~/ Alarm when humidity lower than 70%.
647 647  
648 648  * (% style="color:blue" %)**Downlink Payload:**
649 649  
650 -(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/ Set AT+SHTHUM=70,0
631 +(% style="color:#037691" %)**0x(0C 02 46 00)**(%%)  ~/~/Set AT+SHTHUM=70,0
651 651  
652 652  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))**
653 653  
654 654  
655 -=== 3.3.5 Set Alarm Interval ===
636 +=== 3.3.5 Set Alarm Interval: ===
656 656  
657 657  The shortest time of two Alarm packet. (unit: min)
658 658  
... ... @@ -665,7 +665,7 @@
665 665  (% style="color:#037691" %)**0x(0D 00 1E)**(%%)     **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes
666 666  
667 667  
668 -=== 3.3.6 Get Alarm settings ===
649 +=== 3.3.6 Get Alarm settings  (什么FPORT?) ===
669 669  
670 670  
671 671  Send a LoRaWAN downlink to ask device send Alarm settings.
... ... @@ -681,7 +681,6 @@
681 681  
682 682  * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
683 683  
684 -
685 685  === 3.3.7 Set Interrupt Mode ===
686 686  
687 687  
... ... @@ -713,7 +713,6 @@
713 713  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
714 714  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
715 715  
716 -
717 717  = 4. Battery & Power Consumption =
718 718  
719 719  
... ... @@ -740,7 +740,6 @@
740 740  * (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/]]
741 741  * Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
742 742  
743 -
744 744  = 6. FAQ =
745 745  
746 746  
... ... @@ -768,7 +768,6 @@
768 768  
769 769  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
770 770  
771 -
772 772  = 8. ​Packing Info =
773 773  
774 774  
... ... @@ -786,7 +786,6 @@
786 786  
787 787  * Weight / pcs : g
788 788  
789 -
790 790  = 9. Support =
791 791  
792 792  
1682646494051-944.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -206.9 KB
Content
S31-B.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Ellie
Size
... ... @@ -1,1 +1,0 @@
1 -29.1 KB
Content
image-20230421162630-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.5 KB
Content
image-20230421171614-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -34.8 KB
Content
image-20230426084152-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content