Last modified by Mengting Qiu on 2025/07/01 15:58
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. kai1 +XWiki.Xiaoling - 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,6 +131,8 @@ 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 ... ... @@ -193,7 +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 197 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. 198 198 199 199 ... ... @@ -201,10 +201,9 @@ 201 201 202 202 Each S31x-LB is shipped with a sticker with the default device EUI as below: 203 203 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"]]209 +[[image:image-20230426084152-1.png||height="233" width="502"]] 205 205 206 206 207 - 208 208 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 209 209 210 210 ... ... @@ -244,7 +244,7 @@ 244 244 === 2.3.1 Device Status, FPORT~=5 === 245 245 246 246 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. 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. 248 248 249 249 The Payload format is as below. 250 250 ... ... @@ -333,7 +333,7 @@ 333 333 [[Humidity>>||anchor="HHumidity:"]] 334 334 ))) 335 335 336 -==== (% style="color:#4472c4" %)**Battery :**(%%) ====340 +==== (% style="color:#4472c4" %)**Battery**(%%) ==== 337 337 338 338 Sensor Battery Level. 339 339 ... ... @@ -343,7 +343,7 @@ 343 343 344 344 345 345 346 -==== (% style="color:#4472c4" %)**Temperature :**(%%) ====350 +==== (% style="color:#4472c4" %)**Temperature**(%%) ==== 347 347 348 348 **Example**: 349 349 ... ... @@ -354,13 +354,13 @@ 354 354 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 355 355 356 356 357 -==== (% style="color:#4472c4" %)**Humidity :**(%%) ====361 +==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 358 358 359 359 360 360 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 361 361 362 362 363 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD :**(%%) ====367 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ==== 364 364 365 365 366 366 **Example:** ... ... @@ -423,7 +423,7 @@ 423 423 424 424 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 425 425 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). 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). 427 427 428 428 (% 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.** 429 429 ... ... @@ -470,9 +470,9 @@ 470 470 471 471 **Example:** 472 472 473 -If S31-LB has below data inside Flash: 477 +If S31x-LB has below data inside Flash: 474 474 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"]]479 +[[image:1682646494051-944.png]] 476 476 477 477 If user sends below downlink command: 3160065F9760066DA705 478 478 ... ... @@ -481,7 +481,7 @@ 481 481 Stop time: 60066DA7= time 21/1/19 05:27:03 482 482 483 483 484 -**S31-LB will uplink this payload.** 488 +**S31x-LB will uplink this payload.** 485 485 486 486 [[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"]] 487 487 ... ... @@ -539,7 +539,7 @@ 539 539 540 540 = 3. Configure S31x-LB = 541 541 542 -== 3.1 Configure Methods :==546 +== 3.1 Configure Methods == 543 543 544 544 545 545 S31x-LB supports below configure method: ... ... @@ -548,6 +548,8 @@ 548 548 * 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]]. 549 549 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 550 550 555 + 556 + 551 551 == 3.2 General Commands == 552 552 553 553 ... ... @@ -605,7 +605,7 @@ 605 605 Sensor will upload Device Status via FPORT=5. See payload section for detail. 606 606 607 607 608 -=== 3.3.3 Set Temperature Alarm Threshold :===614 +=== 3.3.3 Set Temperature Alarm Threshold === 609 609 610 610 * (% style="color:blue" %)**AT Command:** 611 611 ... ... @@ -626,7 +626,7 @@ 626 626 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)** 627 627 628 628 629 -=== 3.3.4 Set Humidity Alarm Threshold :===635 +=== 3.3.4 Set Humidity Alarm Threshold === 630 630 631 631 * (% style="color:blue" %)**AT Command:** 632 632 ... ... @@ -647,7 +647,7 @@ 647 647 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))** 648 648 649 649 650 -=== 3.3.5 Set Alarm Interval :===656 +=== 3.3.5 Set Alarm Interval === 651 651 652 652 The shortest time of two Alarm packet. (unit: min) 653 653 ... ... @@ -660,7 +660,7 @@ 660 660 (% style="color:#037691" %)**0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes 661 661 662 662 663 -=== 3.3.6 Get Alarm settings :===669 +=== 3.3.6 Get Alarm settings === 664 664 665 665 666 666 Send a LoRaWAN downlink to ask device send Alarm settings. ... ... @@ -676,9 +676,11 @@ 676 676 677 677 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 678 678 679 -=== 3.3.7 Set Interrupt Mode: === 680 680 681 681 687 +=== 3.3.7 Set Interrupt Mode === 688 + 689 + 682 682 Feature, Set Interrupt mode for GPIO_EXIT. 683 683 684 684 (% style="color:blue" %)**AT Command: AT+INTMOD** ... ... @@ -707,15 +707,17 @@ 707 707 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 708 708 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 709 709 710 -= 4. Battery & Power Consumption: = 711 711 712 712 720 += 4. Battery & Power Consumption = 721 + 722 + 713 713 S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 714 714 715 715 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 716 716 717 717 718 -= 5. OTA Firmware update :=728 += 5. OTA Firmware update = 719 719 720 720 721 721 (% class="wikigeneratedid" %) ... ... @@ -733,6 +733,8 @@ 733 733 * (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/]] 734 734 * Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 735 735 746 + 747 + 736 736 = 6. FAQ = 737 737 738 738 ... ... @@ -760,6 +760,8 @@ 760 760 761 761 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 762 762 775 + 776 + 763 763 = 8. Packing Info = 764 764 765 765 ... ... @@ -777,6 +777,8 @@ 777 777 778 778 * Weight / pcs : g 779 779 794 + 795 + 780 780 = 9. Support = 781 781 782 782
- 1682646494051-944.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +206.9 KB - Content
- image-20230426084152-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content