Last modified by Mengting Qiu on 2025/07/01 15:58
From version 78.1
edited by Bei Jinggeng
on 2024/12/05 11:36
on 2024/12/05 11:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - 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-ion 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-on 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- ion battery (S31/S31B-LS)55 +* Solar panel + 3000mAh Li-on battery (S31/S31B-LS) 56 56 57 57 == 1.3 Specification == 58 58 ... ... @@ -139,11 +139,9 @@ 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"]] 142 142 143 143 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 - 147 147 == 1.8 Hardware Variant == 148 148 149 149 ... ... @@ -241,8 +241,10 @@ 241 241 242 242 [[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"]] 243 243 242 + 244 244 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB/LS 245 245 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,8 @@ 259 259 260 260 The Payload format is as below. 261 261 262 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 262 + 263 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 263 263 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 264 264 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 265 265 |(% style="width:103px" %)Value|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT ... ... @@ -327,7 +327,7 @@ 327 327 328 328 Sensor Data is uplink via FPORT=2 329 329 330 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)331 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 331 331 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 332 332 **Size(bytes)** 333 333 )))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2 ... ... @@ -363,16 +363,18 @@ 363 363 364 364 If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 365 365 366 -(FF3F & 8000 :Judge whether the highest bit is 1, when the highest bit is 1, it is negative)367 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 367 367 368 368 369 369 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 370 370 372 + 371 371 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 372 372 373 373 374 374 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 375 375 378 + 376 376 **Example:** 377 377 378 378 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. ... ... @@ -450,7 +450,7 @@ 450 450 451 451 **Retrieval data payload:** 452 452 453 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)456 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 454 454 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)((( 455 455 **Size(bytes)** 456 456 )))|=(% 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** ... ... @@ -601,7 +601,7 @@ 601 601 602 602 (% style="color:blue" %)**AT Command: AT+TDC** 603 603 604 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)607 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 605 605 |=(% 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** 606 606 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 607 607 30000 ... ... @@ -714,7 +714,7 @@ 714 714 715 715 (% style="color:blue" %)**AT Command: AT+INTMOD** 716 716 717 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)720 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 718 718 |=(% 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** 719 719 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 720 720 0 ... ... @@ -751,7 +751,7 @@ 751 751 752 752 (% style="color:blue" %)**AT Command: AT+5VT** 753 753 754 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)757 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 755 755 |=(% 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** 756 756 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 757 757 OK ... ... @@ -766,91 +766,6 @@ 766 766 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 767 767 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 768 768 769 -=== 3.3.9 Print data entries base on page === 770 - 771 - 772 -Feature: Print the sector data from start page to stop page (max is 416 pages). 773 - 774 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 775 - 776 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 777 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 778 -|(% style="width:156px" %)((( 779 -AT+PDTA=1,3 780 -Print page 1 to 3 781 -)))|(% style="width:311px" %)((( 782 -8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31 783 -8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93 784 -8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06 785 -8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12 786 -8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06 787 -8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68 788 -8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56 789 -8019570 790 -8019580 791 -8019590 792 -80195A0 793 -80195B0 794 -80195C0 795 -80195D0 796 -80195E0 797 -80195F0 798 - 799 -OK 800 -))) 801 - 802 -(% style="color:#4f81bd" %)**Downlink Command:** 803 - 804 -No downlink commands for feature 805 - 806 - 807 -=== 3.3.10 Print last few data entries === 808 - 809 - 810 -Feature: Print the last few data entries 811 - 812 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 813 - 814 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 815 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 816 -|(% style="width:156px" %)((( 817 -AT+PLDTA=5 818 -Print last 5 entries 819 -)))|(% style="width:311px" %)((( 820 -Stop Tx and RTP events when read sensor data 821 -1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75 822 -2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43 823 -3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56 824 -4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75 825 -5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43 826 -Start Tx and RTP events 827 -OK 828 -))) 829 - 830 -(% style="color:#4f81bd" %)**Downlink Command:** 831 - 832 -No downlink commands for feature 833 - 834 - 835 -== 4.13 Clear Flash Record == 836 - 837 - 838 -Feature: Clear flash storage for data log feature. 839 - 840 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 841 - 842 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 843 -|(% 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** 844 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 845 -Clear all stored sensor data… 846 - 847 -OK 848 -))) 849 - 850 -(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 851 - 852 -* Example: 0xA301 ~/~/ Same as AT+CLRDTA 853 - 854 854 = 4. Battery & Power Consumption = 855 855 856 856