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

From version 131.1
edited by Xiaoling
on 2025/04/27 10:31
Change comment: There is no comment for this version
To version 146.2
edited by Mengting Qiu
on 2025/07/08 10:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -1,8 +1,7 @@
1 1  
2 2  
3 3  
4 -(% style="text-align:center" %)
5 -[[image:image-20240109154731-4.png||height="546" width="769"]]
4 +[[image:image-20240109154731-4.png||data-xwiki-image-style-alignment="center" height="546" width="769"]]
6 6  
7 7  
8 8  
... ... @@ -142,7 +142,11 @@
142 142  * Long-Term Stability: ±0.2% F.S / Year
143 143  * Storage temperature: -30°C~~80°C
144 144  * Operating temperature: 0°C~~50°C
145 -* Material: 316 stainless steels
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
146 146  
147 147  === 1.4.3 Wireless Differential Air Pressure Sensor ===
148 148  
... ... @@ -242,20 +242,16 @@
242 242  
243 243  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
244 244  |=(% 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
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 -
248 +|[[image:1749540420016-961.png]] 1~~3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)(((
248 248  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, blue led will blink once.
249 249  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
250 250  )))
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 -
252 +|[[image:1749540423574-437.png]] >3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
254 254  Green led will fast blink 5 times, device will enter OTA mode for 3 seconds. And then start to JOIN LoRaWAN network.
255 255  Green led will solidly turn on for 5 seconds after joined in network.
256 256  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.
257 257  )))
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.
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.
259 259  
260 260  == 1.8 Pin Mapping ==
261 261  
... ... @@ -468,7 +468,6 @@
468 468  
469 469  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. 
470 470  
471 -
472 472  For example.
473 473  
474 474  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -480,6 +480,23 @@
480 480  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.
481 481  
482 482  
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 +
483 +**Examples for decoder implementation:**
484 +
485 +~1. For AT+PROBE=0005, add the following processing in your decoder:
486 +
487 +[[image:image-20250512144042-1.png]]
488 +
489 +[[image:image-20250512144122-2.png]]
490 +
491 +2. For AT+PROBE=0102, add the following processing in your decoder(Corresponding to the position shown in the above screenshot).
492 +
493 +bytes[i]=0x01;bytes[1+i]=0x02;
494 +
495 +bytes[2]=0x01;bytes[3]=0x02;
496 +
497 +
483 483  === 2.3.5 0~~20mA value (IDC_IN) ===
484 484  
485 485  
... ... @@ -609,43 +609,52 @@
609 609  == 2.6 Datalog Feature (Since V1.1) ==
610 610  
611 611  
612 -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.
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.
613 613  
614 614  
615 -=== 2.6.1 Unix TimeStamp ===
630 +=== 2.5.1 How datalog works ===
616 616  
617 617  
618 -PS-LB uses Unix TimeStamp format based on
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.
619 619  
620 -[[image:image-20250401163826-3.jpeg]]
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.
621 621  
622 -Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
641 +
642 +)))
623 623  
624 -Below is the converter example:
644 +=== 2.5.2 Enable Datalog ===
625 625  
626 -[[image:image-20250401163906-4.jpeg]]
627 627  
647 +User need to make sure below two settings are enable to use datalog;
628 628  
629 -=== 2.6.2 Set Device Time ===
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.
630 630  
631 631  
632 -There are two ways to set the device's time:
633 633  
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).
634 634  
635 -~1. Through LoRaWAN MAC Command (Default settings)
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.**
636 636  
637 -Users need to set SYNCMOD=1 to enable sync time via the MAC command.
638 638  
639 -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]]].
659 +=== 2.6.1 Unix TimeStamp ===
640 640  
641 -Note: LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature.
642 642  
662 +PS-LB uses Unix TimeStamp format based on
643 643  
644 - 2. Manually Set Time
664 +[[image:image-20250401163826-3.jpeg]]
645 645  
646 -Users need to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
666 +Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
647 647  
668 +Below is the converter example:
648 648  
670 +[[image:image-20250401163906-4.jpeg]]
671 +
672 +
649 649  === 2.6.3 Poll sensor value ===
650 650  
651 651  Users can poll sensor values based on timestamps. Below is the downlink command.
... ... @@ -1215,7 +1215,7 @@
1215 1215  
1216 1216  AT Command: AT +STDC
1217 1217  
1218 -AT+STDC=aa,bb,bb
1242 +AT+STDC=aa,bb,cc
1219 1219  
1220 1220  aa:
1221 1221  0: means disable this function and use TDC to send packets.
... ... @@ -1249,6 +1249,113 @@
1249 1249  
1250 1250  * Example 1: Downlink Payload: AE 01 02 58 12 ~-~-->  AT+STDC=1,600,18
1251 1251  
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 +
1252 1252  = 4. Battery & Power Consumption =
1253 1253  
1254 1254  
... ... @@ -1313,6 +1313,30 @@
1313 1313  [[image:image-20240329175044-1.png]]
1314 1314  
1315 1315  
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 +
1316 1316  = 7. Troubleshooting =
1317 1317  
1318 1318  == 7.1 Water Depth Always shows 0 in payload ==
1749540397649-875.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.4 KB
Content
1749540420016-961.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 KB
Content
1749540423574-437.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 KB
Content
image-20250512144042-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +471.4 KB
Content
image-20250512144122-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +572.9 KB
Content
image-20250603171424-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +38.7 KB
Content
image-20250603171503-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +33.7 KB
Content