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

From version 146.2
edited by Mengting Qiu
on 2025/07/08 10:57
Change comment: There is no comment for this version
To version 134.1
edited by Mengting Qiu
on 2025/05/12 14:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,8 @@
1 1  
2 2  
3 3  
4 -[[image:image-20240109154731-4.png||data-xwiki-image-style-alignment="center" height="546" width="769"]]
4 +(% style="text-align:center" %)
5 +[[image:image-20240109154731-4.png||height="546" width="769"]]
5 5  
6 6  
7 7  
... ... @@ -141,11 +141,7 @@
141 141  * Long-Term Stability: ±0.2% F.S / Year
142 142  * Storage temperature: -30°C~~80°C
143 143  * Operating temperature: 0°C~~50°C
144 -* Probe Material: 316 stainless steels
145 -* Cable model specifications: CGYPU 5*0.2mm2
146 -* Usage characteristics of Cable
147 -1) Operating temperature:-40℃— +70℃
148 -2) -30℃ bending cable 15 times of outer diameter can work normally
145 +* Material: 316 stainless steels
149 149  
150 150  === 1.4.3 Wireless Differential Air Pressure Sensor ===
151 151  
... ... @@ -245,16 +245,20 @@
245 245  
246 246  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
247 247  |=(% 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
248 -|[[image:1749540420016-961.png]] 1~~3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((
245 +|(% 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" %)(((
246 +
247 +
249 249  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, blue led will blink once.
250 250  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
251 251  )))
252 -|[[image:1749540423574-437.png]] >3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
251 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
252 +
253 +
253 253  Green led will fast blink 5 times, device will enter OTA mode for 3 seconds. And then start to JOIN LoRaWAN network.
254 254  Green led will solidly turn on for 5 seconds after joined in network.
255 255  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.
256 256  )))
257 -|[[image:1749540397649-875.png]] x5|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)Red led will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
258 +|(% 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" %)Red led will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
258 258  
259 259  == 1.8 Pin Mapping ==
260 260  
... ... @@ -478,11 +478,11 @@
478 478  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.
479 479  
480 480  
481 -When connecting to current sensors sold by our company, you can convert current readings to corresponding values by simply configuring the [[AT+PROBE>>||anchor="H3.3.4SettheProbeModel"]] command. If you prefer not to configure this command on the sensor, you can uniformly handle the conversion in the payload decoder instead.
482 +When connecting to current sensors sold by our company, you can convert current readings to corresponding values by simply configuring the AT+PROBE command. If you prefer not to configure this command on the sensor, you can uniformly handle the conversion in the payload decoder instead.
482 482  
483 483  **Examples for decoder implementation:**
484 484  
485 -~1. For AT+PROBE=0005, add the following processing in your decoder:
486 +~1. For AT+PROBE=0005, the corresponding modifications in the decoding are as follows.
486 486  
487 487  [[image:image-20250512144042-1.png]]
488 488  
... ... @@ -624,52 +624,43 @@
624 624  == 2.6 Datalog Feature (Since V1.1) ==
625 625  
626 626  
627 -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.
628 +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.
628 628  
629 629  
630 -=== 2.5.1 How datalog works ===
631 +=== 2.6.1 Unix TimeStamp ===
631 631  
632 632  
633 -PS-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,PS-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.
634 +PS-LB uses Unix TimeStamp format based on
634 634  
635 -* (((
636 -a) PS-LB/LS will do an ACK check for data records sending to make sure every data arrive server.
637 -)))
638 -* (((
639 -b) PS-LB/LS will send data in **CONFIRMED Mode**, but PS-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 PS-LB/LS gets a ACK, PS-LB/LS will consider there is a network connection and resend all NONE-ACK messages.
636 +[[image:image-20250401163826-3.jpeg]]
640 640  
641 -
642 -)))
638 +Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
643 643  
644 -=== 2.5.2 Enable Datalog ===
640 +Below is the converter example:
645 645  
642 +[[image:image-20250401163906-4.jpeg]]
646 646  
647 -User need to make sure below two settings are enable to use datalog;
648 648  
649 -* (% style="color:blue" %)**SYNCMOD=1(Default)**(%%) to enable sync time via LoRaWAN MAC command, click here ([[AT+SYNCMOD>>https://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.6Settimesynchronizationmethod28ThenetworkservermustsupportLoRaWANv1.0.329]]) for detailed instructions.
650 -* (% style="color:blue" %)**PNACKMD=1**(%%)** **to enable datalog feature, click here ([[AT+PNACKMD>>https://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.26RequesttheservertosendanACK]]) for detailed instructions.
645 +=== 2.6.2 Set Device Time ===
651 651  
652 652  
648 +There are two ways to set the device's time:
653 653  
654 -Once PS-LB/LS Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB/LS. If S31x-LB/LS fails to get the time from the server, S31x-LB/LS will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
655 655  
656 -(% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
651 +~1. Through LoRaWAN MAC Command (Default settings)
657 657  
653 +Users need to set SYNCMOD=1 to enable sync time via the MAC command.
658 658  
659 -=== 2.6.1 Unix TimeStamp ===
655 +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]]].
660 660  
657 +Note: LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature.
661 661  
662 -PS-LB uses Unix TimeStamp format based on
663 663  
664 -[[image:image-20250401163826-3.jpeg]]
660 + 2. Manually Set Time
665 665  
666 -Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
662 +Users need to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
667 667  
668 -Below is the converter example:
669 669  
670 -[[image:image-20250401163906-4.jpeg]]
671 -
672 -
673 673  === 2.6.3 Poll sensor value ===
674 674  
675 675  Users can poll sensor values based on timestamps. Below is the downlink command.
... ... @@ -1239,7 +1239,7 @@
1239 1239  
1240 1240  AT Command: AT +STDC
1241 1241  
1242 -AT+STDC=aa,bb,cc
1234 +AT+STDC=aa,bb,bb
1243 1243  
1244 1244  aa:
1245 1245  0: means disable this function and use TDC to send packets.
... ... @@ -1273,113 +1273,6 @@
1273 1273  
1274 1274  * Example 1: Downlink Payload: AE 01 02 58 12 ~-~-->  AT+STDC=1,600,18
1275 1275  
1276 -== 3.4 Print data entries base on page(Since v1.1.0) ==
1277 -
1278 -
1279 -Feature: Print the sector data from start page to stop page (max is 416 pages).
1280 -
1281 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1282 -
1283 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1284 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
1285 -|(% style="width:156px" %)(((
1286 - AT+PDTA=1,1
1287 -Print page 1 to 1
1288 -)))|(% style="width:311px" %)(((
1289 -Stop Tx events when read sensor data
1290 -
1291 -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
1292 -
1293 -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
1294 -
1295 -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
1296 -
1297 -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
1298 -
1299 -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
1300 -
1301 -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
1302 -
1303 -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
1304 -
1305 -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
1306 -
1307 -Start Tx events
1308 -
1309 -
1310 -OK
1311 -)))
1312 -
1313 -(% style="color:#4f81bd" %)**Downlink Command:**
1314 -
1315 -No downlink commands for feature
1316 -
1317 -
1318 -== 3.5 Print last few data entries(Since v1.1.0) ==
1319 -
1320 -
1321 -Feature: Print the last few data entries
1322 -
1323 -
1324 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1325 -
1326 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1327 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function**
1328 -|(% style="width:156px" %)(((
1329 -AT+PLDTA=10
1330 -Print last 10 entries
1331 -)))|(% style="width:311px" %)(((
1332 -Stop Tx events when read sensor data
1333 -
1334 -0001 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
1335 -
1336 -0002 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
1337 -
1338 -0003 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
1339 -
1340 -0004 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
1341 -
1342 -0005 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
1343 -
1344 -0006 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
1345 -
1346 -0007 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
1347 -
1348 -0008 2025/5/19 06:26:44 3276 in1:low in2:low exti:low status:false vdc:3.385 idc:0.000 proble:0000 water_deep:0.000
1349 -
1350 -0009 2025/5/19 06:27:36 3246 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1351 -
1352 -0010 2025/5/19 06:28:36 3240 in1:low in2:low exti:low status:false vdc:3.351 idc:0.000 proble:0000 water_deep:0.000
1353 -
1354 -Start Tx events
1355 -
1356 -OK
1357 -)))
1358 -
1359 -(% style="color:#4f81bd" %)**Downlink Command:**
1360 -
1361 -No downlink commands for feature
1362 -
1363 -
1364 -== 3.6 Clear Flash Record(Since v1.1.0) ==
1365 -
1366 -
1367 -Feature: Clear flash storage for data log feature.
1368 -
1369 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1370 -
1371 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %)
1372 -|(% 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**
1373 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1374 -Clear all stored sensor data…
1375 -
1376 -OK
1377 -)))
1378 -
1379 -(% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1380 -
1381 -* Example: 0xA301  ~/~/  Same as AT+CLRDTA
1382 -
1383 1383  = 4. Battery & Power Consumption =
1384 1384  
1385 1385  
... ... @@ -1444,30 +1444,6 @@
1444 1444  [[image:image-20240329175044-1.png]]
1445 1445  
1446 1446  
1447 -== 6.5 Cable & Probe Material Compatibility(Immersion type) ==
1448 -
1449 -
1450 -Since the installation method of immersion sensors requires immersion in a liquid environment, the discussion of liquids that can be safely installed is very important.
1451 -
1452 -(% style="color:blue" %)**The material of the immersed part of the immersion sensor:**
1453 -
1454 -* **Cable Jacket**: Black polyurethane (PU) – Resistant to water, oils, and mild chemicals.
1455 -* **Probe Material**: 316 stainless steel – Corrosion-resistant in most industrial/marine environments.
1456 -
1457 -(% style="color:blue" %)**Chemical Compatibility:**
1458 -
1459 -* **Polyurethane (PU) Cable:** Resists water, oils, fuels, and mild chemicals but may degrade with prolonged exposure to strong acids, bases, or solvents (e.g., acetone, chlorinated hydrocarbons).
1460 -* 3**16 Stainless Steel Probe:** Suitable for water, seawater, mild acids/alkalis, and industrial fluids. Avoid highly concentrated acids (e.g., hydrochloric acid) or chlorides at high temperatures.
1461 -
1462 -**Chemical Resistance Chart for Polyurethane (PU) Cable**
1463 -
1464 -[[image:image-20250603171424-1.png||height="429" width="625"]]
1465 -
1466 -**Chemical Resistance Chart for 316 Stainless Steel Probe**
1467 -
1468 -[[image:image-20250603171503-2.png||height="350" width="616"]]
1469 -
1470 -
1471 1471  = 7. Troubleshooting =
1472 1472  
1473 1473  == 7.1 Water Depth Always shows 0 in payload ==
1749540397649-875.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.4 KB
Content
1749540420016-961.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.9 KB
Content
1749540423574-437.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -1.9 KB
Content
image-20250603171424-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -38.7 KB
Content
image-20250603171503-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -33.7 KB
Content