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

From version 96.1
edited by Mengting Qiu
on 2025/05/19 14:27
Change comment: There is no comment for this version
To version 104.3
edited by Edwin Chen
on 2025/06/27 11:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Edwin
Content
... ... @@ -1,7 +1,6 @@
1 1   (% style="display:none" %) (%%) (% style="display:none" %) (%%) (% style="display:none" %)
2 2  
3 -(% style="text-align:center" %)
4 -[[image:image-20240104162316-6.png]]
3 +[[image:image-20240104162316-6.png||data-xwiki-image-style-alignment="center"]]
5 5  
6 6  
7 7  
... ... @@ -109,25 +109,27 @@
109 109  
110 110  [[image:image-20250416143859-1.jpeg]]
111 111  
111 +
112 112  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
113 113  |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action**
114 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
114 +|[[image:1749523489553-702.png]] 1~~3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
115 115  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
116 116  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
117 117  )))
118 -|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
118 +|[[image:1749523491487-577.png]] >3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
119 119  (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.
120 120  (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
121 121  Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network.
122 122  )))
123 -|(% 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.
123 +|[[image:1749523524280-815.png]] x5|(% 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.
124 124  
125 +
126 +
125 125  == 1.6 BLE connection ==
126 126  
127 127  
128 128  S31x-LB/LS support BLE remote configure.
129 129  
130 -
131 131  BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
132 132  
133 133  * Press button to send an uplink
... ... @@ -140,20 +140,24 @@
140 140  == 1.7 Pin Definitions ==
141 141  
142 142  
143 -
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 145  
146 +== 1.8 Wiring of DS18B20 temperature sensor ==
146 146  
147 -== 1.8 Hardware Variant ==
148 +The S31x-LB supports connection to the external temperature sensor DS18B20. The wiring method is as follows:
148 148  
150 +[[image:1749779850163-145.jpg||height="408" width="651"]]
149 149  
152 +
153 +== 1.9 Hardware Variant ==
154 +
155 +
150 150  (% border="1" cellspacing="3" style="width:460px" %)
151 151  |=(% style="width: 102px;background-color:#4F81BD;color:white" %)Model|=(% style="width: 182px; background-color:#4F81BD;color:white" %)Photo|=(% style="width: 176px; background-color:#4F81BD;color:white" %)Probe Info
152 152  |(% style="width:102px" %)(((
153 153  S31-LB/LS
154 154  )))|(% style="width:182px" %)(((
155 -(% style="text-align:center" %)
156 -[[image:image-20240104165223-7.png]]
161 +[[image:image-20240104165223-7.png||data-xwiki-image-style-alignment="center"]]
157 157  )))|(% style="width:176px" %)(((
158 158  1 x SHT31 Probe
159 159  
... ... @@ -164,8 +164,7 @@
164 164  |(% style="width:102px" %)(((
165 165  S31B-LB/LS
166 166  )))|(% style="width:182px" %)(((
167 -(% style="text-align:center" %)
168 -[[image:image-20240104165338-9.png]]
172 +[[image:image-20240104165338-9.png||data-xwiki-image-style-alignment="center"]]
169 169  )))|(% style="width:176px" %)(((
170 170  1 x SHT31 Probe
171 171  
... ... @@ -175,19 +175,15 @@
175 175  (% style="display:none" %)
176 176  
177 177  
182 +== 1.10 Mechanical ==
178 178  
179 -== 1.9 Mechanical ==
184 +=== 1.10.1 for LB version ===
180 180  
181 -=== 1.9.1 for LB version ===
182 -
183 183  [[image:image-20250409174350-1.jpeg]]
184 184  
188 +=== 1.10.2 for LS version ===
185 185  
186 186  
187 -
188 -=== 1.9.2 for LS version ===
189 -
190 -
191 191  [[image:image-20250409174410-2.jpeg]]
192 192  
193 193  
... ... @@ -419,21 +419,26 @@
419 419  Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB/LS will store the reading for future retrieving purposes.
420 420  
421 421  
422 -=== 2.5.1 Ways to get datalog via LoRaWAN ===
422 +=== 2.5.1 How datalog works ===
423 423  
424 424  
425 -Set PNACKMD=1, S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
425 +S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
426 426  
427 427  * (((
428 428  a) S31x-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
429 429  )))
430 430  * (((
431 -b) S31x-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
431 +b) S31x-LB/LS will send data in **CONFIRMED Mode**, but S31x-LB/LS won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
432 +
433 +
432 432  )))
433 433  
434 -=== 2.5.2 Unix TimeStamp ===
436 +=== 2.5.2 Enable Datalog ===
435 435  
436 436  
439 +=== 2.5.3 Unix TimeStamp ===
440 +
441 +
437 437  S31x-LB/LS uses Unix TimeStamp format based on
438 438  
439 439  [[image:image-20250328173339-5.jpeg]]
... ... @@ -553,7 +553,7 @@
553 553  )))
554 554  
555 555  
556 -(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的
561 +(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="单击并拖动以调整大小" %)的
557 557  
558 558  == 2.6 Temperature Alarm Feature ==
559 559  
... ... @@ -790,29 +790,26 @@
790 790  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
791 791  |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
792 792  |(% style="width:156px" %)(((
793 -AT+PDTA=1,1
794 -Print page 1 to 1
798 +AT+PDTA=1,3
799 +Print page 1 to 3
795 795  )))|(% style="width:311px" %)(((
796 -Stop Tx events when read sensor data
801 +8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31
802 +8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93
803 +8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06
804 +8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12
805 +8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06
806 +8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68
807 +8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56
808 +8019570
809 +8019580
810 +8019590
811 +80195A0
812 +80195B0
813 +80195C0
814 +80195D0
815 +80195E0
816 +80195F0
797 797  
798 -8031000 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
799 -
800 -8031010 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
801 -
802 -8031020 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
803 -
804 -8031030 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
805 -
806 -8031040 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
807 -
808 -8031050 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
809 -
810 -8031060 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
811 -
812 -8031070 1970/1/1 00:00:00 0 in1:low in2:low exti:low status:false vdc:0.000 idc:0.000 proble:0000 water_deep:0.000
813 -
814 -Start Tx events
815 -
816 816  OK
817 817  )))
818 818  
... ... @@ -831,33 +831,16 @@
831 831  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
832 832  |(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
833 833  |(% style="width:156px" %)(((
834 -AT+PLDTA=10
835 -Print last 10 entries
836 +AT+PLDTA=5
837 +Print last 5 entries
836 836  )))|(% style="width:311px" %)(((
837 -Stop Tx events when read sensor data
838 -
839 -0001 2025/5/19 06:13:50 3246 in1:low in2:low exti:low status:false vdc:3.353 idc:0.000 proble:0000 water_deep:0.000
840 -
841 -0002 2025/5/19 06:14:50 3246 in1:low in2:low exti:low status:false vdc:3.353 idc:0.000 proble:0000 water_deep:0.000
842 -
843 -0003 2025/5/19 06:15:50 3246 in1:low in2:low exti:low status:false vdc:3.353 idc:0.000 proble:0000 water_deep:0.000
844 -
845 -0004 2025/5/19 06:16:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
846 -
847 -0005 2025/5/19 06:17:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
848 -
849 -0006 2025/5/19 06:18:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
850 -
851 -0007 2025/5/19 06:19:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
852 -
853 -0008 2025/5/19 06:20:50 3246 in1:low in2:low exti:low status:false vdc:3.352 idc:0.000 proble:0000 water_deep:0.000
854 -
855 -0009 2025/5/19 06:21:50 3246 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
856 -
857 -0010 2025/5/19 06:22:50 3240 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
858 -
859 -Start Tx events
860 -
839 +Stop Tx and RTP events when read sensor data
840 +1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75
841 +2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43
842 +3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56
843 +4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75
844 +5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43
845 +Start Tx and RTP events
861 861  OK
862 862  )))
863 863  
1749523489553-702.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 KB
Content
1749523491487-577.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 KB
Content
1749523524280-815.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.4 KB
Content
1749779850163-145.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +252.1 KB
Content