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

From version 76.14
edited by Xiaoling
on 2024/01/25 16:40
Change comment: There is no comment for this version
To version 79.1
edited by Bei Jinggeng
on 2024/12/05 11:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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  
... ... @@ -239,10 +239,8 @@
239 239  
240 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"]]
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 & 8000Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
366 +(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.
... ... @@ -453,7 +453,7 @@
453 453  
454 454  **Retrieval data payload:**
455 455  
456 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
453 +(% 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" %)
604 +(% 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,7 +717,7 @@
717 717  
718 718  (% style="color:blue" %)**AT Command: AT+INTMOD**
719 719  
720 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
717 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
721 721  |=(% 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**
722 722  |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
723 723  0
... ... @@ -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" %)
754 +(% 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  
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 +=== 3.3.11 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 +
772 772  = 4. Battery & Power Consumption =
773 773  
774 774