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 140.1
edited by Mengting Qiu
on 2025/06/03 17:14
on 2025/06/03 17:14
Change comment:
Uploaded new attachment "image-20250603171424-1.png", version {1}
To 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
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- 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 ... ... @@ -246,20 +246,16 @@ 246 246 247 247 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 248 248 |=(% 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 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 - 248 +|[[image:1749540420016-961.png]] 1~~3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)((( 252 252 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, blue led will blink once. 253 253 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 254 254 ))) 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 - 252 +|[[image:1749540423574-437.png]] >3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 258 258 Green led will fast blink 5 times, device will enter OTA mode for 3 seconds. And then start to JOIN LoRaWAN network. 259 259 Green led will solidly turn on for 5 seconds after joined in network. 260 260 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. 261 261 ))) 262 -| (% style="background-color:#f2f2f2; width:167px"%)Fast press ACT5times.|(% 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. 263 263 264 264 == 1.8 Pin Mapping == 265 265 ... ... @@ -629,43 +629,52 @@ 629 629 == 2.6 Datalog Feature (Since V1.1) == 630 630 631 631 632 - Whenauser wants toretrievesensorvalue,hecansendapollcommand fromtheIoT platformtoaskthesensorto sendvalue in the requiredtimeslot.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. 633 633 634 634 635 -=== 2. 6.1UnixTimeStamp===630 +=== 2.5.1 How datalog works === 636 636 637 637 638 -PS-LB u sesUnixTimeStampformatbasedon633 +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. 639 639 640 -[[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. 641 641 642 -Users can get this time from the link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 641 + 642 +))) 643 643 644 - Belowisthe converterexample:644 +=== 2.5.2 Enable Datalog === 645 645 646 -[[image:image-20250401163906-4.jpeg]] 647 647 647 +User need to make sure below two settings are enable to use datalog; 648 648 649 -=== 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. 650 650 651 651 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). 654 654 655 - ~1.ThroughLoRaWAN 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.** 656 656 657 -Users need to set SYNCMOD=1 to enable sync time via the MAC command. 658 658 659 - OnceCPL01 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 CPL01fails to get the time from the server, CPL01 will use the internal time and wait for the nexttimerequest ~[[[via DeviceStatus(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 === 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. 662 662 662 +PS-LB uses Unix TimeStamp format based on 663 663 664 - 2. Manually Set Time664 +[[image:image-20250401163826-3.jpeg]] 665 665 666 -Users n eedto setSYNCMOD=0tomanualtime,otherwise,theuser setimewill bewritten by thetimeset by theserver.666 +Users can get this time from the link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 667 667 668 +Below is the converter example: 668 668 670 +[[image:image-20250401163906-4.jpeg]] 671 + 672 + 669 669 === 2.6.3 Poll sensor value === 670 670 671 671 Users can poll sensor values based on timestamps. Below is the downlink command. ... ... @@ -1440,6 +1440,30 @@ 1440 1440 [[image:image-20240329175044-1.png]] 1441 1441 1442 1442 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 + 1443 1443 = 7. Troubleshooting = 1444 1444 1445 1445 == 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-20250603171503-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.7 KB - Content