Last modified by Mengting Qiu on 2025/07/01 15:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 8 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,7 +33,7 @@ 33 33 34 34 S31x-LB/LS (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 35 35 36 -S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + li-on battery**(%%) it is designed for long term use up to 5 years.36 +S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + Li-ion battery**(%%) it is designed for long term use up to 5 years. 37 37 38 38 Each S31x-LB/LS is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 39 39 ... ... @@ -52,7 +52,7 @@ 52 52 * Uplink on periodically 53 53 * Downlink to change configure 54 54 * 8500mAh Li/SOCl2 Battery (S31/S31B-LB) 55 -* Solar panel + 3000mAh Li-on battery (S31/S31B-LS) 55 +* Solar panel + 3000mAh Li-ion battery (S31/S31B-LS) 56 56 57 57 == 1.3 Specification == 58 58 ... ... @@ -139,9 +139,11 @@ 139 139 140 140 == 1.7 Pin Definitions == 141 141 142 -[[image:http://8.211.40.43/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230610163213-1.png?width=699&height=404&rev=1.1||alt="image-20230610163213-1.png"]] 143 143 144 144 144 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20240926134323-1.png?rev=1.1||alt="image-20240926134323-1.png"]] 145 + 146 + 145 145 == 1.8 Hardware Variant == 146 146 147 147 ... ... @@ -178,19 +178,15 @@ 178 178 179 179 === 1.9.1 for LB version === 180 180 181 -[[image: Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]]183 +[[image:image-20250409174350-1.jpeg]] 182 182 183 183 184 -[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143899218-599.png]] 185 185 186 186 187 -[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]] 188 - 189 - 190 190 === 1.9.2 for LS version === 191 191 192 192 193 -[[image: http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20231231203439-3.png?width=886&height=385&rev=1.1||alt="image-20231231203439-3.png"]]191 +[[image:image-20250409174410-2.jpeg]] 194 194 195 195 196 196 = 2. Configure S31x-LB/LS to connect to LoRaWAN network = ... ... @@ -221,28 +221,26 @@ 221 221 222 222 (% style="color:blue" %)**Register the device** 223 223 224 -[[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/1654935135620-998.png?rev=1.1||alt="1654935135620-998.png"]]222 +[[image:image-20250328173145-1.jpeg]] 225 225 226 226 227 227 (% style="color:blue" %)**Add APP EUI and DEV EUI** 228 228 229 -[[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-20220611161308-4.png?width=753&height=551&rev=1.1||alt="图片-20220611161308-4.png"]]227 +[[image:image-20250328173203-2.jpeg]] 230 230 231 231 232 232 (% style="color:blue" %)**Add APP EUI in the application** 233 233 234 234 235 -[[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-20220611161308-5.png?width=742&height=601&rev=1.1||alt="图片-20220611161308-5.png"]]233 +[[image:image-20250328173224-3.jpeg]] 236 236 237 237 238 238 (% style="color:blue" %)**Add APP KEY** 239 239 240 -[[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-20220611161308-6.png?width=744&height=485&rev=1.1||alt="图片-20220611161308-6.png"]]238 +[[image:image-20250328173243-4.jpeg]] 241 241 242 - 243 243 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS 244 244 245 - 246 246 Press the button for 5 seconds to activate the S31x-LB/LS. 247 247 248 248 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. ... ... @@ -259,7 +259,6 @@ 259 259 260 260 The Payload format is as below. 261 261 262 - 263 263 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 264 264 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 265 265 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** ... ... @@ -364,18 +364,16 @@ 364 364 365 365 If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 366 366 367 -(FF3F & 8000 :Judge whether the highest bit is 1, when the highest bit is 1, it is negative)362 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 368 368 369 369 370 370 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 371 371 372 - 373 373 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 374 374 375 375 376 376 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 377 377 378 - 379 379 **Example:** 380 380 381 381 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. ... ... @@ -424,13 +424,13 @@ 424 424 425 425 S31x-LB/LS uses Unix TimeStamp format based on 426 426 427 -[[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-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]]420 +[[image:image-20250328173339-5.jpeg]] 428 428 429 429 User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 430 430 431 431 Below is the converter example 432 432 433 -[[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-12.png?width=720&height=298&rev=1.1||alt="图片-20220523001219-12.png" height="298" width="720"]]426 +[[image:image-20250328173355-6.jpeg]] 434 434 435 435 436 436 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 ... ... @@ -453,7 +453,7 @@ 453 453 454 454 **Retrieval data payload:** 455 455 456 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:500px" %)449 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 457 457 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 458 458 **Size(bytes)** 459 459 )))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 65px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 180px; background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px; background-color:#4F81BD;color:white" %)**4** ... ... @@ -604,7 +604,7 @@ 604 604 605 605 (% style="color:blue" %)**AT Command: AT+TDC** 606 606 607 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:510px" %)600 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 608 608 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 609 609 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 610 610 30000 ... ... @@ -717,20 +717,19 @@ 717 717 718 718 (% style="color:blue" %)**AT Command: AT+INTMOD** 719 719 720 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:510px" %)721 -|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 19 7px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**722 -|(% style="width:154px" %)AT+INTMOD=?|(% style="width:19 6px" %)Show current interrupt mode|(% style="width:157px" %)(((713 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 714 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px; background-color: rgb(79, 129, 189); color: white;" %)**Function**|=(% style="width: 161px; background-color: rgb(79, 129, 189); color: white;" %)**Response** 715 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:192px" %)Show current interrupt mode|(% style="width:161px" %)((( 723 723 0 724 724 OK 725 725 the mode is 0 =Disable Interrupt 726 726 ))) 727 -|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 728 -Set Transmit Interval 729 -0. (Disable Interrupt), 730 -~1. (Trigger by rising and falling edge) 731 -2. (Trigger by falling edge) 732 -3. (Trigger by rising edge) 733 -)))|(% style="width:157px" %)OK 720 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:192px" %)((( 721 +0: Disable Interrupt 722 +1: Trigger by rising and falling edge 723 +2: Trigger by falling edge 724 +3: Trigger by rising edge 725 +)))|(% style="width:161px" %)OK 734 734 735 735 (% style="color:blue" %)**Downlink Command: 0x06** 736 736 ... ... @@ -754,7 +754,7 @@ 754 754 755 755 (% style="color:blue" %)**AT Command: AT+5VT** 756 756 757 -(% border="1" cellspacing=" 4" style="background-color:#f2f2f2; width:510px" %)749 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 758 758 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 759 759 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 760 760 OK ... ... @@ -769,6 +769,91 @@ 769 769 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 770 770 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 771 771 764 +=== 3.3.9 Print data entries base on page === 765 + 766 + 767 +Feature: Print the sector data from start page to stop page (max is 416 pages). 768 + 769 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 770 + 771 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 772 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 773 +|(% style="width:156px" %)((( 774 +AT+PDTA=1,3 775 +Print page 1 to 3 776 +)))|(% style="width:311px" %)((( 777 +8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31 778 +8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93 779 +8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06 780 +8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12 781 +8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06 782 +8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68 783 +8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56 784 +8019570 785 +8019580 786 +8019590 787 +80195A0 788 +80195B0 789 +80195C0 790 +80195D0 791 +80195E0 792 +80195F0 793 + 794 +OK 795 +))) 796 + 797 +(% style="color:#4f81bd" %)**Downlink Command:** 798 + 799 +No downlink commands for feature 800 + 801 + 802 +=== 3.3.10 Print last few data entries === 803 + 804 + 805 +Feature: Print the last few data entries 806 + 807 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 808 + 809 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 810 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 811 +|(% style="width:156px" %)((( 812 +AT+PLDTA=5 813 +Print last 5 entries 814 +)))|(% style="width:311px" %)((( 815 +Stop Tx and RTP events when read sensor data 816 +1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75 817 +2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43 818 +3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56 819 +4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75 820 +5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43 821 +Start Tx and RTP events 822 +OK 823 +))) 824 + 825 +(% style="color:#4f81bd" %)**Downlink Command:** 826 + 827 +No downlink commands for feature 828 + 829 + 830 +=== 3.3.11 Clear Flash Record === 831 + 832 + 833 +Feature: Clear flash storage for data log feature. 834 + 835 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 836 + 837 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 838 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response** 839 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 840 +Clear all stored sensor data… 841 + 842 +OK 843 +))) 844 + 845 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 846 + 847 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 848 + 772 772 = 4. Battery & Power Consumption = 773 773 774 774
- image-20250328173145-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.6 KB - Content
- image-20250328173203-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +40.6 KB - Content
- image-20250328173224-3.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.2 KB - Content
- image-20250328173243-4.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.4 KB - Content
- image-20250328173339-5.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +18.9 KB - Content
- image-20250328173355-6.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.4 KB - Content
- image-20250409174350-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.9 KB - Content
- image-20250409174410-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.1 KB - Content