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

From version 21.1
edited by Ellie Zhang
on 2023/05/06 14:30
Change comment: Uploaded new attachment "S31-B.jpg", version {1}
To version 16.3
edited by kai
on 2023/04/23 15:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Ellie
1 +XWiki.kai
Content
... ... @@ -62,8 +62,6 @@
62 62  * Downlink to change configure
63 63  * 8500mAh Battery for long term use
64 64  
65 -
66 -
67 67  == 1.3 Specification ==
68 68  
69 69  
... ... @@ -106,8 +106,6 @@
106 106  * Sleep Mode: 5uA @ 3.3v
107 107  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
108 108  
109 -
110 -
111 111  == 1.4 Sleep mode and working mode ==
112 112  
113 113  
... ... @@ -135,8 +135,6 @@
135 135  )))
136 136  |(% 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.
137 137  
138 -
139 -
140 140  == 1.6 BLE connection ==
141 141  
142 142  
... ... @@ -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  
196 +
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"]]
204 +[[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  
207 +
212 212  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
213 213  
214 214  
... ... @@ -248,7 +248,7 @@
248 248  === 2.3.1 Device Status, FPORT~=5 ===
249 249  
250 250  
251 -Users can use the downlink command(**0x26 01**) to ask S31x-LB to send device configure detail, include device configure status. S31x-LB will uplink a payload via FPort=5 to server.
247 +Users can use the downlink command(**0x26 01**) to ask S31x-LB to send device configure detail, include device configure status. S31-LB will uplink a payload via FPort=5 to server.
252 252  
253 253  The Payload format is as below.
254 254  
... ... @@ -337,7 +337,7 @@
337 337  [[Humidity>>||anchor="HHumidity:"]]
338 338  )))
339 339  
340 -==== (% style="color:#4472c4" %)**Battery**(%%) ====
336 +==== (% 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**(%%) ====
346 +==== (% 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**(%%) ====
357 +==== (% 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**(%%) ====
363 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
368 368  
369 369  
370 370  **Example:**
... ... @@ -427,7 +427,7 @@
427 427  
428 428  User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command.
429 429  
430 -Once S31x-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
426 +Once S31-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
431 431  
432 432  (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
433 433  
... ... @@ -474,9 +474,9 @@
474 474  
475 475  **Example:**
476 476  
477 -If S31x-LB has below data inside Flash:
473 +If S31-LB has below data inside Flash:
478 478  
479 -[[image:1682646494051-944.png]]
475 +[[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  
... ... @@ -485,7 +485,7 @@
485 485   Stop time: 60066DA7= time 21/1/19 05:27:03
486 486  
487 487  
488 -**S31x-LB will uplink this payload.**
484 +**S31-LB will uplink this payload.**
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  
... ... @@ -543,7 +543,7 @@
543 543  
544 544  = 3. Configure S31x-LB =
545 545  
546 -== 3.1 Configure Methods ==
542 +== 3.1 Configure Methods: ==
547 547  
548 548  
549 549  S31x-LB supports below configure method:
... ... @@ -552,8 +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 -
557 557  == 3.2 General Commands ==
558 558  
559 559  
... ... @@ -611,7 +611,7 @@
611 611  Sensor will upload Device Status via FPORT=5. See payload section for detail.
612 612  
613 613  
614 -=== 3.3.3 Set Temperature Alarm Threshold ===
608 +=== 3.3.3 Set Temperature Alarm Threshold: ===
615 615  
616 616  * (% style="color:blue" %)**AT Command:**
617 617  
... ... @@ -632,7 +632,7 @@
632 632  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)**
633 633  
634 634  
635 -=== 3.3.4 Set Humidity Alarm Threshold ===
629 +=== 3.3.4 Set Humidity Alarm Threshold: ===
636 636  
637 637  * (% style="color:blue" %)**AT Command:**
638 638  
... ... @@ -653,7 +653,7 @@
653 653  (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))**
654 654  
655 655  
656 -=== 3.3.5 Set Alarm Interval ===
650 +=== 3.3.5 Set Alarm Interval: ===
657 657  
658 658  The shortest time of two Alarm packet. (unit: min)
659 659  
... ... @@ -666,7 +666,7 @@
666 666  (% style="color:#037691" %)**0x(0D 00 1E)**(%%)     **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes
667 667  
668 668  
669 -=== 3.3.6 Get Alarm settings ===
663 +=== 3.3.6 Get Alarm settings: ===
670 670  
671 671  
672 672  Send a LoRaWAN downlink to ask device send Alarm settings.
... ... @@ -682,11 +682,9 @@
682 682  
683 683  * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
684 684  
679 +=== 3.3.7 Set Interrupt Mode: ===
685 685  
686 686  
687 -=== 3.3.7 Set Interrupt Mode ===
688 -
689 -
690 690  Feature, Set Interrupt mode for GPIO_EXIT.
691 691  
692 692  (% style="color:blue" %)**AT Command: AT+INTMOD**
... ... @@ -715,17 +715,15 @@
715 715  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
716 716  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
717 717  
710 += 4. Battery & Power Consumption: =
718 718  
719 719  
720 -= 4. Battery & Power Consumption =
721 -
722 -
723 723  S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
724 724  
725 725  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
726 726  
727 727  
728 -= 5. OTA Firmware update =
718 += 5. OTA Firmware update: =
729 729  
730 730  
731 731  (% class="wikigeneratedid" %)
... ... @@ -743,8 +743,6 @@
743 743  * (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/]]
744 744  * Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
745 745  
746 -
747 -
748 748  = 6. FAQ =
749 749  
750 750  
... ... @@ -772,8 +772,6 @@
772 772  
773 773  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
774 774  
775 -
776 -
777 777  = 8. ​Packing Info =
778 778  
779 779  
... ... @@ -791,8 +791,6 @@
791 791  
792 792  * Weight / pcs : g
793 793  
794 -
795 -
796 796  = 9. Support =
797 797  
798 798  
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.4 KB
Content
image-20230426084152-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content