Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/07/10 16:21
From version 146.2
edited by Mengting Qiu
on 2025/07/08 10:57
on 2025/07/08 10:57
Change comment:
There is no comment for this version
To version 141.1
edited by Mengting Qiu
on 2025/06/03 17:15
on 2025/06/03 17:15
Change comment:
Uploaded new attachment "image-20250603171503-2.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
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 ... ... @@ -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" %)((( 249 +|(% 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" %)((( 250 + 251 + 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" %)((( 255 +|(% 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" %)((( 256 + 257 + 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.262 +|(% 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 ... ... @@ -624,52 +624,43 @@ 624 624 == 2.6 Datalog Feature (Since V1.1) == 625 625 626 626 627 - Datalog Featureis to ensureIoT ServercangetallsamplingdatafromSensor even iftheLoRaWANnetworkis down.For each sampling, S31x-LB/LS willstorethereadingfor future retrievingpurposes.632 +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.1Howdatalogworks===635 +=== 2.6.1 Unix TimeStamp === 631 631 632 632 633 -PS-LB /LS willwait for ACK for everyuplink, when there is no LoRaWAN network,PS-LB/LS willmark these records with non-ackmessagesand store the sensor data,and it willsendall messages (10s interval) after the network recovery.638 +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. 640 +[[image:image-20250401163826-3.jpeg]] 640 640 641 - 642 -))) 642 +Users can get this time from the link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 643 643 644 - ===2.5.2EnableDatalog ===644 +Below is the converter example: 645 645 646 +[[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. 649 +=== 2.6.2 Set Device Time === 651 651 652 652 652 +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 supportLoRaWANv1.0.3(MACv1.0.3) or higher to support this MACcommandfeature, Chirpstack,TTN V3 v3 andloriot support but TTN V3 v2 doesn'tsupport. If server doesn't support this command, it will through away uplink packet with thiscommand, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**655 +~1. Through LoRaWAN MAC Command (Default settings) 657 657 657 +Users need to set SYNCMOD=1 to enable sync time via the MAC command. 658 658 659 - ===2.6.1UnixTimeStamp===659 +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 661 +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]]664 + 2. Manually Set Time 665 665 666 -Users canget thistimefromthelink: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :666 +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. ... ... @@ -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