Last modified by Xiaoling on 2025/07/10 16:21

From version 70.2
edited by Xiaoling
on 2024/01/09 15:49
Change comment: There is no comment for this version
To version 98.2
edited by Xiaoling
on 2024/10/21 09:03
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -PS-LB -- LoRaWAN Air Water Pressure Sensor User Manual
1 +PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Content
... ... @@ -1,12 +1,17 @@
1 1  
2 2  
3 3  
4 -[[image:image-20240109154731-4.png]]
4 +(% style="text-align:center" %)
5 +[[image:image-20240109154731-4.png||height="671" width="945"]]
5 5  
6 6  
7 7  
8 -**Table of Contents:**
9 9  
10 +
11 +
12 +
13 +**Table of Contents :**
14 +
10 10  {{toc/}}
11 11  
12 12  
... ... @@ -20,27 +20,27 @@
20 20  
21 21  
22 22  (((
23 -The Dragino PS-LB series sensors are (% style="color:blue" %)**LoRaWAN Pressure Sensor**(%%) for Internet of Things solution. PS-LB can measure Air, Water pressure and liquid level and upload the sensor data via wireless to LoRaWAN IoT server.
28 +The Dragino PS-LB/LS series sensors are (% style="color:blue" %)**LoRaWAN Pressure Sensor**(%%) for Internet of Things solution. PS-LB/LS can measure Air, Water pressure and liquid level and upload the sensor data via wireless to LoRaWAN IoT server.
24 24  )))
25 25  
26 26  (((
27 -The PS-LB series sensors include (% style="color:blue" %)**Thread Installation Type**(%%) and (% style="color:blue" %)**Immersion Type**(%%), it supports different pressure range which can be used for different measurement requirement.
32 +The PS-LB/LS series sensors include (% style="color:blue" %)**Thread Installation Type**(%%) and (% style="color:blue" %)**Immersion Type**(%%), it supports different pressure range which can be used for different measurement requirement.
28 28  )))
29 29  
30 30  (((
31 -The LoRa wireless technology used in PS-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
36 +The LoRa wireless technology used in PS-LB/LS allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
32 32  )))
33 33  
34 34  (((
35 -PS-LB supports BLE configure and wireless OTA update which make user easy to use.
40 +PS-LB/LS supports BLE configure and wireless OTA update which make user easy to use.
36 36  )))
37 37  
38 38  (((
39 -PS-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
44 +PS-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.
40 40  )))
41 41  
42 42  (((
43 -Each PS-LB 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.
48 +Each PS-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.
44 44  )))
45 45  
46 46  [[image:1675071321348-194.png]]
... ... @@ -60,8 +60,9 @@
60 60  * Support wireless OTA update firmware
61 61  * Uplink on periodically
62 62  * Downlink to change configure
63 -* 8500mAh Battery for long term use
64 64  * Controllable 3.3v,5v and 12v output to power external sensor
69 +* 8500mAh Li/SOCl2 Battery (PS-LB)
70 +* Solar panel + 3000mAh Li-ion battery (PS-LS)
65 65  
66 66  == 1.3 Specification ==
67 67  
... ... @@ -74,7 +74,7 @@
74 74  
75 75  (% style="color:#037691" %)**Common DC Characteristics:**
76 76  
77 -* Supply Voltage: 2.5v ~~ 3.6v
83 +* Supply Voltage: Built-in Battery , 2.5v ~~ 3.6v
78 78  * Operating Temperature: -40 ~~ 85°C
79 79  
80 80  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -130,7 +130,7 @@
130 130  === 1.4.2 Immersion Type ===
131 131  
132 132  
133 -[[image:1675071521308-426.png]]
139 +[[image:image-20240109160445-5.png||height="221" width="166"]]
134 134  
135 135  * Immersion Type, Probe IP Level: IP68
136 136  * Measuring Range: Measure range can be customized, up to 100m.
... ... @@ -140,13 +140,21 @@
140 140  * Operating temperature: 0℃~~50℃
141 141  * Material: 316 stainless steels
142 142  
143 -== 1.5 Probe Dimension ==
149 +=== 1.4.3 Wireless Differential Air Pressure Sensor ===
144 144  
151 +[[image:image-20240511174954-1.png]]
145 145  
153 +* Measuring Range: -100KPa~~0~~100KPa(Optional measuring range).
154 +* Accuracy: 0.5% F.S, resolution is 0.05%.
155 +* Overload: 300% F.S
156 +* Zero temperature drift: ±0.03%F.S/°C
157 +* Operating temperature: -20℃~~60℃
158 +* Storage temperature:  -20℃~~60℃
159 +* Compensation temperature: 0~~50°C
146 146  
147 -== 1.6 Application and Installation ==
161 +== 1.5 Application and Installation ==
148 148  
149 -=== 1.6.1 Thread Installation Type ===
163 +=== 1.5.1 Thread Installation Type ===
150 150  
151 151  
152 152  (% style="color:blue" %)**Application:**
... ... @@ -164,7 +164,7 @@
164 164  [[image:1675071670469-145.png]]
165 165  
166 166  
167 -=== 1.6.2 Immersion Type ===
181 +=== 1.5.2 Immersion Type ===
168 168  
169 169  
170 170  (% style="color:blue" %)**Application:**
... ... @@ -174,9 +174,13 @@
174 174  [[image:1675071725288-579.png]]
175 175  
176 176  
177 -The Immersion Type pressure sensor is shipped with the probe and device separately. When user got the device, below is the wiring to for connect the probe to the device.
191 +Below is the wiring to for connect the probe to the device.
178 178  
193 +The Immersion Type Sensor has different variant which defined by Ixx. For example, this means two points:
179 179  
195 +* Cable Length: 10 Meters
196 +* Water Detect Range: 0 ~~ 10 Meters.
197 +
180 180  [[image:1675071736646-450.png]]
181 181  
182 182  
... ... @@ -183,22 +183,46 @@
183 183  [[image:1675071776102-240.png]]
184 184  
185 185  
186 -== 1.7 Sleep mode and working mode ==
187 187  
205 +=== 1.5.3 Wireless Differential Air Pressure Sensor ===
188 188  
207 +
208 +(% style="color:blue" %)**Application:**
209 +
210 +Indoor Air Control & Filter clogging Detect.
211 +
212 +[[image:image-20240513100129-6.png]]
213 +
214 +[[image:image-20240513100135-7.png]]
215 +
216 +
217 +Below is the wiring to for connect the probe to the device.
218 +
219 +[[image:image-20240513093957-1.png]]
220 +
221 +
222 +Size of wind pressure transmitter:
223 +
224 +[[image:image-20240513094047-2.png]]
225 +
226 +Note: The above dimensions are measured by hand, and the numerical error of the shell is within ±0.2mm.
227 +
228 +
229 +== 1.6 Sleep mode and working mode ==
230 +
231 +
189 189  (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.
190 190  
191 191  (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
192 192  
193 193  
194 -== 1.8 Button & LEDs ==
237 +== 1.7 Button & LEDs ==
195 195  
196 196  
197 -[[image:1675071855856-879.png]]
240 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20240103160425-4.png?rev=1.1||alt="image-20240103160425-4.png"]](% style="display:none" %)
198 198  
199 -
200 200  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
201 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
243 +|=(% 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**
202 202  |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((
203 203  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
204 204  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
... ... @@ -210,16 +210,16 @@
210 210  )))
211 211  |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
212 212  
213 -== 1.9 Pin Mapping ==
255 +== 1.8 Pin Mapping ==
214 214  
215 215  
216 216  [[image:1675072568006-274.png]]
217 217  
218 218  
219 -== 1.10 BLE connection ==
261 +== 1.9 BLE connection ==
220 220  
221 221  
222 -PS-LB support BLE remote configure.
264 +PS-LB/LS support BLE remote configure.
223 223  
224 224  
225 225  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:
... ... @@ -231,24 +231,26 @@
231 231  If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
232 232  
233 233  
234 -== 1.11 Mechanical ==
276 +== 1.10 Mechanical ==
235 235  
278 +=== 1.10.1 for LB version(% style="display:none" %) (%%) ===
236 236  
237 -[[image:1675143884058-338.png]]
238 238  
281 +[[image:image-20240109160800-6.png]]
239 239  
240 -[[image:1675143899218-599.png]]
241 241  
284 +=== 1.10.2 for LS version ===
242 242  
243 -[[image:1675143909447-639.png]]
244 244  
287 +[[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"]]
245 245  
246 -= 2. Configure PS-LB to connect to LoRaWAN network =
247 247  
290 += 2. Configure PS-LB/LS to connect to LoRaWAN network =
291 +
248 248  == 2.1 How it works ==
249 249  
250 250  
251 -The PS-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
295 +The PS-LB/LS is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the PS-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
252 252  
253 253  
254 254  == 2.2 ​Quick guide to connect to LoRaWAN server (OTAA) ==
... ... @@ -263,9 +263,9 @@
263 263  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.
264 264  
265 265  
266 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from PS-LB.
310 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from PS-LB/LS.
267 267  
268 -Each PS-LB is shipped with a sticker with the default device EUI as below:
312 +Each PS-LB/LS is shipped with a sticker with the default device EUI as below:
269 269  
270 270  [[image:image-20230426085320-1.png||height="234" width="504"]]
271 271  
... ... @@ -293,10 +293,10 @@
293 293  
294 294  [[image:1675144157838-392.png]]
295 295  
296 -(% style="color:blue" %)**Step 2:**(%%) Activate on PS-LB
340 +(% style="color:blue" %)**Step 2:**(%%) Activate on PS-LB/LS
297 297  
298 298  
299 -Press the button for 5 seconds to activate the PS-LB.
343 +Press the button for 5 seconds to activate the PS-LB/LS.
300 300  
301 301  (% 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.
302 302  
... ... @@ -308,13 +308,13 @@
308 308  === 2.3.1 Device Status, FPORT~=5 ===
309 309  
310 310  
311 -Include device configure status. Once PS-LB Joined the network, it will uplink this message to the server.
355 +Include device configure status. Once PS-LB/LS Joined the network, it will uplink this message to the server.
312 312  
313 -Users can also use the downlink command(0x26 01) to ask PS-LB to resend this uplink.
357 +Users can also use the downlink command(0x26 01) to ask PS-LB/LS to resend this uplink.
314 314  
315 315  
316 316  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
317 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
361 +|(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
318 318  |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2**
319 319  |(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT
320 320  
... ... @@ -323,7 +323,7 @@
323 323  [[image:1675144504430-490.png]]
324 324  
325 325  
326 -(% style="color:#037691" %)**Sensor Model**(%%): For PS-LB, this value is 0x16
370 +(% style="color:#037691" %)**Sensor Model**(%%): For PS-LB/LS, this value is 0x16
327 327  
328 328  (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
329 329  
... ... @@ -383,9 +383,9 @@
383 383  
384 384  
385 385  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
386 -|(% style="background-color:#d9e2f3; color:#0070c0; width:97px" %)(((
430 +|(% style="background-color:#4f81bd; color:white; width:97px" %)(((
387 387  **Size(bytes)**
388 -)))|(% style="background-color:#d9e2f3; color:#0070c0; width:48px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:71px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:98px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:73px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:122px" %)**1**
432 +)))|(% style="background-color:#4f81bd; color:white; width:48px" %)**2**|(% style="background-color:#4f81bd; color:white; width:71px" %)**2**|(% style="background-color:#4f81bd; color:white; width:98px" %)**2**|(% style="background-color:#4f81bd; color:white; width:73px" %)**2**|(% style="background-color:#4f81bd; color:white; width:122px" %)**1**
389 389  |(% style="width:97px" %)Value|(% style="width:48px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)[[IN1 &IN2 Interrupt  flag>>||anchor="H2.3.7IN126IN226INTpin"]]
390 390  
391 391  [[image:1675144608950-310.png]]
... ... @@ -394,7 +394,7 @@
394 394  === 2.3.3 Battery Info ===
395 395  
396 396  
397 -Check the battery voltage for PS-LB.
441 +Check the battery voltage for PS-LB/LS.
398 398  
399 399  Ex1: 0x0B45 = 2885mV
400 400  
... ... @@ -404,16 +404,16 @@
404 404  === 2.3.4 Probe Model ===
405 405  
406 406  
407 -PS-LB has different kind of probe, 4~~20mA represent the full scale of the measuring range. So a 12mA output means different meaning for different probe. 
451 +PS-LB/LS has different kind of probe, 4~~20mA represent the full scale of the measuring range. So a 12mA output means different meaning for different probe. 
408 408  
409 409  
410 410  **For example.**
411 411  
412 412  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
413 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Part Number**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Probe Used**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4~~20mA scale**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Example: 12mA meaning**
414 -|(% style="background-color:#f2f2f2" %)PS-LB-I3|(% style="background-color:#f2f2f2" %)immersion type with 3 meters cable|(% style="background-color:#f2f2f2" %)0~~3 meters|(% style="background-color:#f2f2f2" %)1.5 meters pure water
415 -|(% style="background-color:#f2f2f2" %)PS-LB-I5|(% style="background-color:#f2f2f2" %)immersion type with 5 meters cable|(% style="background-color:#f2f2f2" %)0~~5 meters|(% style="background-color:#f2f2f2" %)2.5 meters pure water
416 -|(% style="background-color:#f2f2f2" %)PS-LB-T20-B|(% style="background-color:#f2f2f2" %)T20 threaded probe|(% style="background-color:#f2f2f2" %)0~~1MPa|(% style="background-color:#f2f2f2" %)0.5MPa air / gas or water pressure
457 +|(% style="background-color:#4f81bd; color:white" %)**Part Number**|(% style="background-color:#4f81bd; color:white" %)**Probe Used**|(% style="background-color:#4f81bd; color:white" %)**4~~20mA scale**|(% style="background-color:#4f81bd; color:white" %)**Example: 12mA meaning**
458 +|(% style="background-color:#f2f2f2" %)PS-LB/LS-I3|(% style="background-color:#f2f2f2" %)immersion type with 3 meters cable|(% style="background-color:#f2f2f2" %)0~~3 meters|(% style="background-color:#f2f2f2" %)1.5 meters pure water
459 +|(% style="background-color:#f2f2f2" %)PS-LB/LS-I5|(% style="background-color:#f2f2f2" %)immersion type with 5 meters cable|(% style="background-color:#f2f2f2" %)0~~5 meters|(% style="background-color:#f2f2f2" %)2.5 meters pure water
460 +|(% style="background-color:#f2f2f2" %)PS-LB/LS-T20-B|(% style="background-color:#f2f2f2" %)T20 threaded probe|(% style="background-color:#f2f2f2" %)0~~1MPa|(% style="background-color:#f2f2f2" %)0.5MPa air / gas or water pressure
417 417  
418 418  The probe model field provides the convenient for server to identical how it should parse the 4~~20mA sensor value and get the correct value.
419 419  
... ... @@ -466,13 +466,13 @@
466 466  0x01: Interrupt Uplink Packet.
467 467  
468 468  
469 -=== (% style="color:inherit; font-family:inherit; font-size:23px" %)2.3.8 Sensor value, FPORT~=7(%%) ===
513 +=== 2.3.8 Sensor value, FPORT~=7 ===
470 470  
471 471  
472 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:508.222px" %)
473 -|(% style="background-color:#d9e2f3; color:#0070c0; width:94px" %)(((
516 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
517 +|(% style="background-color:#4f81bd; color:white; width:65px" %)(((
474 474  **Size(bytes)**
475 -)))|(% style="background-color:#d9e2f3; color:#0070c0; width:43px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:367px" %)**n**
519 +)))|(% style="background-color:#4f81bd; color:white; width:35px" %)**2**|(% style="background-color:#4f81bd; color:white; width:400px" %)**n**
476 476  |(% style="width:94px" %)Value|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)(((
477 477  Voltage value, each 2 bytes is a set of voltage values.
478 478  )))
... ... @@ -493,13 +493,13 @@
493 493  [[image:1675144839454-913.png]]
494 494  
495 495  
496 -PS-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
540 +PS-LB/LS TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
497 497  
498 498  
499 499  == 2.4 Uplink Interval ==
500 500  
501 501  
502 -The PS-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval||style="background-color: rgb(255, 255, 255);"]]
546 +The PS-LB/LS by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval||style="background-color: rgb(255, 255, 255);"]]
503 503  
504 504  
505 505  == 2.5 Show Data in DataCake IoT Server ==
... ... @@ -521,7 +521,7 @@
521 521  
522 522  (% style="color:blue" %)**Step 3:**(%%) Create an account or log in Datacake.
523 523  
524 -(% style="color:blue" %)**Step 4:** (%%)Create PS-LB product.
568 +(% style="color:blue" %)**Step 4:** (%%)Create PS-LB/LS product.
525 525  
526 526  [[image:1675145004465-869.png]]
527 527  
... ... @@ -547,28 +547,232 @@
547 547  [[image:1675145081239-376.png]]
548 548  
549 549  
550 -== 2.6 Frequency Plans ==
594 +== 2.6 Datalog Feature (Since V1.1) ==
551 551  
596 +When a user wants to retrieve sensor value, he can send a poll command from the IoT platform to ask the sensor to send value in the required time slot.
552 552  
553 -The PS-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
554 554  
555 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
556 556  
600 +=== 2.6.1 Unix TimeStamp ===
557 557  
558 -== 2.7 ​Firmware Change Log ==
602 +CPL01 uses Unix TimeStamp format based on
559 559  
604 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861618065-927.png?width=705&height=109&rev=1.1||alt="1652861618065-927.png" height="109" width="705"]]
560 560  
606 +Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
607 +
608 +Below is the converter example:
609 +
610 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861637105-371.png?width=732&height=428&rev=1.1||alt="1652861637105-371.png"]]
611 +
612 +
613 +=== 2.6.2 Set Device Time ===
614 +
615 +There are two ways to set the device's time:
616 +
617 +
618 +(% style="color:blue" %)**1. Through LoRaWAN MAC Command (Default settings)**
619 +
620 +Users need to set SYNCMOD=1 to enable sync time via the MAC command.
621 +
622 +Once CPL01 Joined the LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL01. If CPL01 fails to get the time from the server, CPL01 will use the internal time and wait for the next time request ~[[[via Device Status (FPORT=5)>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/#H2.3.1DeviceStatus2CFPORT3D5]]].
623 +
624 +
625 +(% style="color:red" %)**Note: LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature.**
626 +
627 +
628 +(% style="color:blue" %)** 2. Manually Set Time**
629 +
630 +Users need to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
631 +
632 +
633 +=== 2.6.3 Poll sensor value ===
634 +
635 +Users can poll sensor values based on timestamps. Below is the downlink command.
636 +
637 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
638 +|=(% colspan="4" style="width: 154px;background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
639 +|(% style="background-color:#f2f2f2; width:70px" %)**1byte**|(% style="background-color:#f2f2f2; width:140px" %)**4bytes**|(% style="background-color:#f2f2f2; width:140px" %)(((
640 +(((
641 +**4bytes**
642 +)))
643 +
644 +(((
645 +
646 +)))
647 +)))|(% style="background-color:#f2f2f2; width:150px" %)**1byte**
648 +|(% style="background-color:#f2f2f2; width:70px" %)31|(% style="background-color:#f2f2f2; width:140px" %)Timestamp start|(% style="background-color:#f2f2f2; width:140px" %)Timestamp end|(% style="background-color:#f2f2f2; width:150px" %)Uplink Interval
649 +
650 +Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
651 +
652 +For example, downlink command[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
653 +
654 +Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
655 +
656 +Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s.
657 +
658 +
659 +=== 2.6.4 Decoder in TTN V3 ===
660 +
661 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652862574387-195.png?width=722&height=359&rev=1.1||alt="1652862574387-195.png" height="359" width="722"]]
662 +
663 +Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
664 +
665 +
666 +
667 +== 2.7 Frequency Plans ==
668 +
669 +
670 +The PS-LB/LS uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country.
671 +
672 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/a>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
673 +
674 +
675 +== 2.8 Report on Change Feature (Since firmware V1.1.2) ==
676 +
677 +
678 +=== 2.8.1 Uplink payload(Enable ROC) ===
679 +
680 +
681 +Used to Monitor the IDC and VDC increments, and send ROC uplink when the IDC or VDC changes exceed.
682 +
683 +With ROC enabled, the payload is as follows:
684 +
685 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
686 +|(% style="background-color:#4f81bd; color:white; width:97px" %)(((
687 +**Size(bytes)**
688 +)))|(% style="background-color:#4f81bd; color:white; width:48px" %)**2**|(% style="background-color:#4f81bd; color:white; width:71px" %)**2**|(% style="background-color:#4f81bd; color:white; width:98px" %)**2**|(% style="background-color:#4f81bd; color:white; width:73px" %)**2**|(% style="background-color:#4f81bd; color:white; width:122px" %)**1**
689 +|(% style="width:97px" %)Value|(% style="width:48px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)(((
690 +[[IN1 &IN2 Interrupt  flag>>||anchor="H2.3.7IN126IN226INTpin"]]
691 +
692 +& **ROC_flag**
693 +)))
694 +
695 +(% style="color:blue" %)**IN1 &IN2 , Interrupt  flag , ROC_flag:**
696 +
697 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
698 +|(% style="background-color:#4f81bd; color:white; width:55px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:46.5834px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:1px" %)**bit5**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit4**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit0**
699 +|(% style="width:75px" %)Value|(% style="width:89px" %)IDC_Roc_flagL|(% style="width:46.5834px" %)IDC_Roc_flagH|(% style="width:1px" %)VDC_Roc_flagL|(% style="width:89px" %)VDC_Roc_flagH|(% style="width:89px" %)IN1_pin_level|(% style="width:103px" %)IN2_pin_level|(% style="width:103px" %)Exti_pin_level|(% style="width:103px" %)Exti_status
700 +
701 +* (% style="color:#037691" %)**IDC_Roc_flagL**
702 +
703 +80 (H): (0x80&0x80)=80(H)=**1**000 0000(B)  bit7=1, "TRUE", This uplink is triggered when the decrease in the IDC compared to the last ROC refresh exceeds the set threshold.
704 +
705 +60 (H): (0x60&0x80)=0  bit7=0, "FALSE", This uplink is not triggered when the decrease in the IDC compared to the last ROC refresh exceeds the set threshold.
706 +
707 +
708 +* (% style="color:#037691" %)**IDC_Roc_flagH**
709 +
710 +60 (H): (0x60&0x40)=60(H)=0**1**000 0000(B)  bit6=1, "TRUE", This uplink is triggered when the increase in the value of the IDC compared to the last ROC refresh exceeds the set threshold.
711 +
712 +80 (H): (0x80&0x40)=0  bit6=0, "FALSE", This uplink is not triggered when the increase in the value of the IDC compared to the last ROC refresh exceeds the set threshold.
713 +
714 +
715 +* (% style="color:#037691" %)**VDC_Roc_flagL**
716 +
717 +20 (H): (0x20&0x20)=20(H)=00**1**0 0000(B)  bit5=1, "TRUE", This uplink is triggered when the decrease in the VDC compared to the last ROC refresh exceeds the set threshold.
718 +
719 +90 (H): (0x90&0x20)=0  bit5=0, "FALSE", This uplink is not triggered when the decrease in the VDC compared to the last ROC refresh exceeds the set threshold.
720 +
721 +
722 +* (% style="color:#037691" %)**VDC_Roc_flagH**
723 +
724 +90 (H): (0x90&0x10)=10(H)=000**1** 0000(B)  bit4=1, "TRUE", This uplink is triggered when the increase in the value of the VDC compared to the last ROC refresh exceeds the set threshold.
725 +
726 +20 (H): (0x20&0x10)=0  bit4=0, "FALSE", This uplink is not triggered when the increase in the value of the VDC compared to the last ROC refresh exceeds the set threshold.
727 +
728 +
729 +* (% style="color:#037691" %)**IN1_pin_level & IN2_pin_level**
730 +
731 +IN1 and IN2 are used as digital input pins.
732 +
733 +80 (H): (0x80&0x08)=0  IN1 pin is low level.
734 +
735 +80 (H): (0x09&0x04)=0    IN2 pin is low level.
736 +
737 +
738 +* (% style="color:#037691" %)**Exti_pin_level &Exti_status**
739 +
740 +This data field shows whether the packet is generated by an interrupt pin.
741 +
742 +Note: The Internet pin of the old motherboard is a separate pin in the screw terminal, and the interrupt pin of the new motherboard(SIB V1.3) is the **GPIO_EXTI** pin.
743 +
744 +**Exti_pin_level:**  80 (H): (0x80&0x02)=0  "low", The level of the interrupt pin.
745 +
746 +**Exti_status: **80 (H): (0x80&0x01)=0  "False", Normal uplink packet.
747 +
748 +
749 +=== 2.8.2 Set the Report on Change ===
750 +
751 +
752 +Feature: Set the detection interval and threshold to monitor whether the IDC/VDC variable exceeds the threshold. If the threshold is exceeded, an ROC uplink is sent.
753 +(% style="color:blue" %)**AT Command: AT+ROC**
754 +
755 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
756 +|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)**Parameters**|=(% style="width: 168px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
757 +|(% style="width:143px" %)AT+ROC=?|(% style="width:197px" %)Show current ROC setting|(% style="width:168px" %)(((
758 +0,0,0,0(default)
759 +
760 +OK
761 +)))
762 +|(% colspan="1" rowspan="4" style="width:143px" %)(((
763 +
764 +
765 +
766 +
767 +AT+ROC=a,b,c,d
768 +)))|(% style="width:197px" %)**a**: Enable or disable the ROC|(% style="width:168px" %)(((
769 +0: off
770 +
771 +1: on
772 +)))
773 +|(% style="width:197px" %)**b**: Set the detection interval|(% style="width:168px" %)Unit: second
774 +|(% style="width:197px" %)**c**: Setting the IDC change threshold|(% style="width:168px" %)Unit: uA
775 +|(% style="width:197px" %)**d**: Setting the VDC change threshold|(% style="width:168px" %)Unit: mV
776 +
777 +**Example:**
778 +
779 +* AT+ROC=1,60,3000, 500  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink.
780 +* AT+ROC=1,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink. 0 Means doesn't monitor Voltage.
781 +
782 +(% style="color:blue" %)**Downlink Command: 0x09 aa bb cc dd**
783 +
784 +Format: Function code (0x09) followed by 4 bytes.
785 +
786 +(% style="color:blue" %)**aa: **(%%)Enable/Disable the ROC.
787 +
788 +(% style="color:blue" %)**bb: **(%%)Set the detection interval. (second)
789 +
790 +(% style="color:blue" %)**cc: **(%%)Setting the IDC change threshold. (uA)
791 +
792 +(% style="color:blue" %)**dd: **(%%)Setting the VDC change threshold. (mV)
793 +
794 +**Example:**
795 +
796 +* Downlink Payload: **09 01 00 3C 0B B8 01 F4 ** ~/~/Equal to AT+ROC=1,60,3000, 500
797 +* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/AT+ROC=1,60,3000,0
798 +
799 +(% style="color:blue" %)**Screenshot of parsing example in TTN:**
800 +
801 +* AT+ROC=1,60,3000, 500.
802 +
803 +[[image:image-20241019170902-1.png||height="450" width="1454"]]
804 +
805 +
806 +== 2.9 ​Firmware Change Log ==
807 +
808 +
561 561  **Firmware download link:**
562 562  
563 563  [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
564 564  
565 565  
566 -= 3. Configure PS-LB =
814 += 3. Configure PS-LB/LS =
567 567  
568 568  == 3.1 Configure Methods ==
569 569  
570 570  
571 -PS-LB supports below configure method:
819 +PS-LB/LS supports below configure method:
572 572  
573 573  * AT Command via Bluetooth Connection (**Recommand Way**): [[BLE Configure Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
574 574  * AT Command via UART Connection : See [[FAQ>>||anchor="H6.FAQ"]].
... ... @@ -587,10 +587,10 @@
587 587  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
588 588  
589 589  
590 -== 3.3 Commands special design for PS-LB ==
838 +== 3.3 Commands special design for PS-LB/LS ==
591 591  
592 592  
593 -These commands only valid for PS-LB, as below:
841 +These commands only valid for PS-LB/LS, as below:
594 594  
595 595  
596 596  === 3.3.1 Set Transmit Interval Time ===
... ... @@ -601,7 +601,7 @@
601 601  (% style="color:blue" %)**AT Command: AT+TDC**
602 602  
603 603  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
604 -|=(% style="width: 160px; background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 160px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response**
852 +|=(% style="width: 160px; background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 160px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Response**
605 605  |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((
606 606  30000
607 607  OK
... ... @@ -629,7 +629,7 @@
629 629  (% style="color:blue" %)**AT Command: AT+INTMOD**
630 630  
631 631  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
632 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Response**
880 +|=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Response**
633 633  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
634 634  0
635 635  OK
... ... @@ -660,7 +660,7 @@
660 660  (% style="color:blue" %)**AT Command: AT+3V3T**
661 661  
662 662  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
663 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 119px;background-color:#D9E2F3;color:#0070C0" %)**Response**
911 +|=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 201px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 119px;background-color:#4F81BD;color:white" %)**Response**
664 664  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
665 665  0
666 666  OK
... ... @@ -679,7 +679,7 @@
679 679  (% style="color:blue" %)**AT Command: AT+5VT**
680 680  
681 681  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
682 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 119px;background-color:#D9E2F3;color:#0070C0" %)**Response**
930 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 119px;background-color:#4F81BD;color:white" %)**Response**
683 683  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
684 684  0
685 685  OK
... ... @@ -698,7 +698,7 @@
698 698  (% style="color:blue" %)**AT Command: AT+12VT**
699 699  
700 700  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
701 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 88px;background-color:#D9E2F3;color:#0070C0" %)**Response**
949 +|=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 199px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 88px;background-color:#4F81BD;color:white" %)**Response**
702 702  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
703 703  0
704 704  OK
... ... @@ -738,8 +738,14 @@
738 738  
739 739  (A->01,B->02,C->03,D->04,E->05,F->06,G->07,H->08,I->09,J->0A,K->0B,L->0C)
740 740  
989 +When aa=02, it is the Differential Pressure Sensor , which converts the current into a pressure value;
990 +
991 +bb represents which type of pressure sensor it is.
992 +
993 +(0~~100Pa->01,0~~200Pa->02,0~~300Pa->03,0~~1KPa->04,0~~2KPa->05,0~~3KPa->06,0~~4KPa->07,0~~5KPa->08,0~~10KPa->09,-100~~ 100Pa->0A,-200~~ 200Pa->0B,-1~~ 1KPa->0C)
994 +
741 741  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
742 -|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:269px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Response**
996 +|(% style="background-color:#4f81bd; color:white; width:154px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:269px" %)**Function**|(% style="background-color:#4f81bd; color:white" %)**Response**
743 743  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=?|(% style="background-color:#f2f2f2; width:269px" %)Get or Set the probe model.|(% style="background-color:#f2f2f2" %)0
744 744  OK
745 745  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=0003|(% style="background-color:#f2f2f2; width:269px" %)Set water depth sensor mode, 3m type.|(% style="background-color:#f2f2f2" %)OK
... ... @@ -757,10 +757,10 @@
757 757  * Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
758 758  * Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
759 759  
760 -=== 3.3.5 Multiple collections are one uplinkSince firmware V1.1 ===
1014 +=== 3.3.5 Multiple collections are one uplink (Since firmware V1.1) ===
761 761  
762 762  
763 -Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time.
1017 +Added AT+STDC command to collect the voltage of VDC_INPUT/IDC_INPUT multiple times and upload it at one time.
764 764  
765 765  (% style="color:blue" %)**AT Command: AT** **+STDC**
766 766  
... ... @@ -768,12 +768,13 @@
768 768  
769 769  (% style="color:#037691" %)**aa:**(%%)
770 770  **0:** means disable this function and use TDC to send packets.
771 -**1:** means enable this function, use the method of multiple acquisitions to send packets.
1025 +**1:** means that the function is enabled to send packets by collecting VDC data for multiple times.
1026 +**2:** means that the function is enabled to send packets by collecting IDC data for multiple times.
772 772  (% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535
773 773  (% style="color:#037691" %)**cc:**(%%)** **the number of collection times, the value is 1~~120
774 774  
775 775  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
776 -|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:215px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Response**
1031 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:215px" %)**Function**|(% style="background-color:#4f81bd; color:white" %)**Response**
777 777  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=?|(% style="background-color:#f2f2f2; width:215px" %)Get the mode of multiple acquisitions and one uplink.|(% style="background-color:#f2f2f2" %)1,10,18
778 778  OK
779 779  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=1,10,18|(% style="background-color:#f2f2f2; width:215px" %)Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|(% style="background-color:#f2f2f2" %)(((
... ... @@ -793,7 +793,7 @@
793 793  
794 794  (% style="color:blue" %)**Downlink Command: 0xAE**
795 795  
796 -Format: Command Code (0x08) followed by 5 bytes.
1051 +Format: Command Code (0xAE) followed by 4 bytes.
797 797  
798 798  * Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->**  AT+STDC=1,600,18
799 799  
... ... @@ -800,7 +800,7 @@
800 800  = 4. Battery & Power Consumption =
801 801  
802 802  
803 -PS-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1058 +PS-LB use ER26500 + SPC1520 battery pack and PS-LS use 3000mAh Recharable Battery with Solar Panel. See below link for detail information about the battery info and how to replace.
804 804  
805 805  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
806 806  
... ... @@ -832,6 +832,34 @@
832 832  When downloading the images, choose the required image file for download. ​
833 833  
834 834  
1090 +== 6.4 How to measure the depth of other liquids other than water? ==
1091 +
1092 +
1093 +Test the current values at the depth of different liquids and convert them to a linear scale.
1094 +Replace its ratio with the ratio of water to current in the decoder.
1095 +
1096 +**Example:**
1097 +
1098 +Measure the corresponding current of the sensor when the liquid depth is 2.04m and 0.51m.
1099 +
1100 +**Calculate scale factor:**
1101 +Use these two data to calculate the current and depth scaling factors:(7.888-5.035)/(2.04-0.51)=1.86470588235294
1102 +
1103 +**Calculation formula:**
1104 +
1105 +Use the calibration formula:(Current current - Minimum calibration current)/Scale factor + Minimum actual calibration height
1106 +
1107 +**Actual calculations:**
1108 +
1109 +Use this formula to calculate the value corresponding to the current at a depth of 1.5 meters: (6.918-5.035)/1.86470588235294+0.51=1.519810726
1110 +
1111 +**Error:**
1112 +
1113 +0.009810726
1114 +
1115 +
1116 +[[image:image-20240329175044-1.png]]
1117 +
835 835  = 7. Troubleshooting =
836 836  
837 837  == 7.1 Water Depth Always shows 0 in payload ==
... ... @@ -849,8 +849,9 @@
849 849  = 8. Order Info =
850 850  
851 851  
852 -[[image:image-20230131153105-4.png]]
1135 +[[image:image-20240109172423-7.png]](% style="display:none" %)
853 853  
1137 +[[image:image-20240817150702-1.png]]
854 854  
855 855  = 9. ​Packing Info =
856 856  
... ... @@ -857,7 +857,7 @@
857 857  
858 858  (% style="color:#037691" %)**Package Includes**:
859 859  
860 -* PS-LB LoRaWAN Pressure Sensor
1144 +* PS-LB or PS-LS LoRaWAN Pressure Sensor
861 861  
862 862  (% style="color:#037691" %)**Dimension and weight**:
863 863  
image-20240109160445-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +88.8 KB
Content
image-20240109160800-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +60.1 KB
Content
image-20240109172423-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +62.3 KB
Content
image-20240329175044-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +55.2 KB
Content
image-20240511174954-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +65.9 KB
Content
image-20240513093957-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +320.4 KB
Content
image-20240513094047-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +62.7 KB
Content
image-20240513094054-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +201.1 KB
Content
image-20240513095921-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +130.4 KB
Content
image-20240513095927-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +98.0 KB
Content
image-20240513100129-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +130.4 KB
Content
image-20240513100135-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +98.0 KB
Content
image-20240817150702-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +38.4 KB
Content