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

From version 27.1
edited by Ellie Zhang
on 2023/05/06 14:37
Change comment: Uploaded new attachment "S31-B.jpg", version {1}
To version 16.1
edited by Xiaoling
on 2023/04/21 17:16
Change comment: Uploaded new attachment "image-20230421171614-1.png", version {1}

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/}}
... ... @@ -66,6 +66,7 @@
66 66  * 8500mAh Battery for long term use
67 67  
68 68  
66 +
69 69  == 1.3 Specification ==
70 70  
71 71  
... ... @@ -109,6 +109,7 @@
109 109  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
110 110  
111 111  
110 +
112 112  == 1.4 Sleep mode and working mode ==
113 113  
114 114  
... ... @@ -137,10 +137,11 @@
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 139  
139 +
140 140  == 1.6 BLE connection ==
141 141  
142 142  
143 -S31x-LB support BLE remote configure.
143 +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,7 @@
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  
202 +
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"]]
210 +[[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  
213 +
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]]
265 +[[image:image-20230421162630-1.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**(%%) ====
342 +==== (% 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**(%%) ====
352 +==== (% 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**(%%) ====
363 +==== (% 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**(%%) ====
369 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
368 368  
369 369  
370 370  **Example:**
... ... @@ -474,9 +474,9 @@
474 474  
475 475  **Example:**
476 476  
477 -If S31x-LB has below data inside Flash:
479 +If D2x-LB has below data inside Flash:
478 478  
479 -[[image:1682646494051-944.png]]
481 +[[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  
... ... @@ -543,7 +543,7 @@
543 543  
544 544  = 3. Configure S31x-LB =
545 545  
546 -== 3.1 Configure Methods ==
548 +== 3.1 Configure Methods: ==
547 547  
548 548  
549 549  S31x-LB supports below configure method:
... ... @@ -553,6 +553,7 @@
553 553  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
554 554  
555 555  
558 +
556 556  == 3.2 General Commands ==
557 557  
558 558  
... ... @@ -600,6 +600,8 @@
600 600  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
601 601  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
602 602  
606 +
607 +
603 603  === 3.3.2 Get Device Status ===
604 604  
605 605  
... ... @@ -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 ===
618 +=== 3.3.3 Set Temperature Alarm Threshold: ===
614 614  
615 615  * (% style="color:blue" %)**AT Command:**
616 616  
... ... @@ -631,7 +631,7 @@
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 ===
639 +=== 3.3.4 Set Humidity Alarm Threshold: ===
635 635  
636 636  * (% style="color:blue" %)**AT Command:**
637 637  
... ... @@ -652,7 +652,7 @@
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 ===
660 +=== 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 ===
673 +=== 3.3.6 Get Alarm settings  (什么FPORT?) ===
669 669  
670 670  
671 671  Send a LoRaWAN downlink to ask device send Alarm settings.
... ... @@ -682,6 +682,7 @@
682 682  * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
683 683  
684 684  
690 +
685 685  === 3.3.7 Set Interrupt Mode ===
686 686  
687 687  
... ... @@ -714,6 +714,7 @@
714 714  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
715 715  
716 716  
723 +
717 717  = 4. Battery & Power Consumption =
718 718  
719 719  
... ... @@ -741,6 +741,7 @@
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 743  
751 +
744 744  = 6. FAQ =
745 745  
746 746  
... ... @@ -769,6 +769,7 @@
769 769  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
770 770  
771 771  
780 +
772 772  = 8. ​Packing Info =
773 773  
774 774  
... ... @@ -787,6 +787,7 @@
787 787  * Weight / pcs : g
788 788  
789 789  
799 +
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 -28.6 KB
Content
image-20230426084152-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content