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
on 2023/05/06 14:35
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Ellie1 +XWiki.kai - 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,7 +136,6 @@ 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 ... ... @@ -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:i mage-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. S31 x-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 S31 x-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 S31 x-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 -**S31 x-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,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 === 608 +=== 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 === 629 +=== 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 === 650 +=== 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 === 663 +=== 3.3.6 Get Alarm settings: === 669 669 670 670 671 671 Send a LoRaWAN downlink to ask device send Alarm settings. ... ... @@ -681,10 +681,9 @@ 681 681 682 682 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 683 683 679 +=== 3.3.7 Set Interrupt Mode: === 684 684 685 -=== 3.3.7 Set Interrupt Mode === 686 686 687 - 688 688 Feature, Set Interrupt mode for GPIO_EXIT. 689 689 690 690 (% style="color:blue" %)**AT Command: AT+INTMOD** ... ... @@ -713,16 +713,15 @@ 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 710 += 4. Battery & Power Consumption: = 716 716 717 -= 4. Battery & Power Consumption = 718 718 719 - 720 720 S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 721 721 722 722 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 723 723 724 724 725 -= 5. OTA Firmware update = 718 += 5. OTA Firmware update: = 726 726 727 727 728 728 (% class="wikigeneratedid" %) ... ... @@ -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-20230426084152-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content