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 129.1
edited by Xiaoling
on 2025/04/19 16:25
on 2025/04/19 16:25
Change comment:
Uploaded new attachment "image-20250419162538-1.png", version {1}
To version 137.1
edited by Mengting Qiu
on 2025/05/19 14:36
on 2025/05/19 14:36
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -2,7 +2,7 @@ 2 2 3 3 4 4 (% style="text-align:center" %) 5 -[[image:image-20240109154731-4.png||height="6 71" width="945"]]5 +[[image:image-20240109154731-4.png||height="546" width="769"]] 6 6 7 7 8 8 ... ... @@ -48,9 +48,7 @@ 48 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. 49 49 ))) 50 50 51 -[[image:1675071321348-194.png]] 52 52 53 - 54 54 == 1.2 Features == 55 55 56 56 ... ... @@ -136,7 +136,7 @@ 136 136 === 1.4.2 Immersion Type === 137 137 138 138 139 -[[image:image-20240109160445-5.png||height=" 221" width="166"]]137 +[[image:image-20240109160445-5.png||height="199" width="150"]] 140 140 141 141 * Immersion Type, Probe IP Level: IP68 142 142 * Measuring Range: Measure range can be customized, up to 100m. ... ... @@ -148,7 +148,7 @@ 148 148 149 149 === 1.4.3 Wireless Differential Air Pressure Sensor === 150 150 151 -[[image:image-20240511174954-1.png||height=" 215" width="215"]]149 +[[image:image-20240511174954-1.png||height="193" width="193"]] 152 152 153 153 * Measuring Range: -100KPa~~0~~100KPa(Optional measuring range). 154 154 * Accuracy: 0.5% F.S, resolution is 0.05%. ... ... @@ -307,13 +307,13 @@ 307 307 308 308 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. 309 309 310 -[[image: 1675144005218-297.png]]308 +[[image:image-20250419162538-1.png]] 311 311 312 312 313 313 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. 314 314 315 315 316 -Step 1: Create a device in TTN with the OTAA keys from PS-LB/LS. 314 +(% style="color:blue" %)**Step 1: Create a device in TTN with the OTAA keys from PS-LB/LS.** 317 317 318 318 Each PS-LB/LS is shipped with a sticker with the default device EUI as below: 319 319 ... ... @@ -322,30 +322,45 @@ 322 322 323 323 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 324 324 323 +**Create the application.** 325 325 326 - Registerdevice325 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]] 327 327 328 -[[image: 1675144099263-405.png]]327 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]] 329 329 330 330 331 -Add APPEUIandDEV EUI330 +**Add devices to the created Application.** 332 332 333 -[[image:167514 4117571-832.png]]332 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]] 334 334 334 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]] 335 335 336 -Add APP EUI in the application 337 337 337 +**Enter end device specifics manually.** 338 338 339 -[[image:167 5144143021-195.png]]339 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]] 340 340 341 341 342 -Add APPKEY342 +**Add DevEUI and AppKey. Customize a platform ID for the device.** 343 343 344 -[[image: 1675144157838-392.png]]344 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]] 345 345 346 -Step 2: Activate on PS-LB/LS 347 347 347 +(% style="color:blue" %)**Step 2: Add decoder.** 348 348 349 +In TTN, user can add a custom payload so it shows friendly reading. 350 + 351 +Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]] 352 + 353 +Below is TTN screen shot: 354 + 355 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]] 356 + 357 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png" height="562" width="1168"]] 358 + 359 + 360 +(% style="color:blue" %)**Step 3: Activate on PS-LB/LS** 361 + 349 349 Press the button for 5 seconds to activate the PS-LB/LS. 350 350 351 351 Green led will fast blink 5 times, device will enter OTA mode for 3 seconds. And then start to JOIN LoRaWAN network. Green led will solidly turn on for 5 seconds after joined in network. ... ... @@ -363,7 +363,7 @@ 363 363 Users can also use the downlink command(0x26 01) to ask PS-LB/LS to resend this uplink. 364 364 365 365 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 366 -|(% colspan="6" style="background-color:#4f81bd; color:white" %)Device Status (FPORT=5) 379 +|(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 367 367 |(% 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 368 368 |(% 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 369 369 ... ... @@ -433,10 +433,8 @@ 433 433 434 434 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 435 435 |(% style="background-color:#4f81bd; color:white; width:97px" %)((( 436 - 437 - 438 -Size(bytes) 439 -)))|(% style="background-color:#4f81bd; color:white; width:50px" %)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 449 +**Size(bytes)** 450 +)))|(% style="background-color:#4f81bd; color:white; width:50px" %)**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** 440 440 |(% 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"]] 441 441 442 442 [[image:1675144608950-310.png]] ... ... @@ -457,11 +457,10 @@ 457 457 458 458 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. 459 459 460 - 461 461 For example. 462 462 463 463 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 464 -|(% 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 474 +|(% 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** 465 465 |(% 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 466 466 |(% 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 467 467 |(% 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 ... ... @@ -469,6 +469,23 @@ 469 469 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. 470 470 471 471 482 +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. 483 + 484 +**Examples for decoder implementation:** 485 + 486 +~1. For AT+PROBE=0005, add the following processing in your decoder: 487 + 488 +[[image:image-20250512144042-1.png]] 489 + 490 +[[image:image-20250512144122-2.png]] 491 + 492 +2. For AT+PROBE=0102, add the following processing in your decoder(Corresponding to the position shown in the above screenshot). 493 + 494 +bytes[i]=0x01;bytes[1+i]=0x02; 495 + 496 +bytes[2]=0x01;bytes[3]=0x02; 497 + 498 + 472 472 === 2.3.5 0~~20mA value (IDC_IN) === 473 473 474 474 ... ... @@ -522,10 +522,8 @@ 522 522 523 523 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 524 524 |(% style="background-color:#4f81bd; color:white; width:65px" %)((( 525 - 526 - 527 -Size(bytes) 528 -)))|(% style="background-color:#4f81bd; color:white; width:35px" %)2|(% style="background-color:#4f81bd; color:white; width:400px" %)n 552 +**Size(bytes)** 553 +)))|(% style="background-color:#4f81bd; color:white; width:35px" %)**2**|(% style="background-color:#4f81bd; color:white; width:400px" %)**n** 529 529 |(% style="width:94px" %)Value|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)((( 530 530 531 531 ... ... @@ -1240,6 +1240,116 @@ 1240 1240 1241 1241 * Example 1: Downlink Payload: AE 01 02 58 12 ~-~--> AT+STDC=1,600,18 1242 1242 1268 + 1269 + 1270 +== 3.4 Print data entries base on page(Since v1.1.0) == 1271 + 1272 + 1273 +Feature: Print the sector data from start page to stop page (max is 416 pages). 1274 + 1275 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1276 + 1277 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1278 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1279 +|(% style="width:156px" %)((( 1280 + AT+PDTA=1,1 1281 +Print page 1 to 1 1282 +)))|(% style="width:311px" %)((( 1283 +Stop Tx events when read sensor data 1284 + 1285 +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 1286 + 1287 +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 1288 + 1289 +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 1290 + 1291 +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 1292 + 1293 +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 1294 + 1295 +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 1296 + 1297 +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 1298 + 1299 +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 1300 + 1301 +Start Tx events 1302 + 1303 + 1304 +OK 1305 +))) 1306 + 1307 +(% style="color:#4f81bd" %)**Downlink Command:** 1308 + 1309 +No downlink commands for feature 1310 + 1311 + 1312 +== 3.5 Print last few data entries(Since v1.1.0) == 1313 + 1314 + 1315 +Feature: Print the last few data entries 1316 + 1317 + 1318 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1319 + 1320 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1321 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1322 +|(% style="width:156px" %)((( 1323 +AT+PLDTA=10 1324 +Print last 10 entries 1325 +)))|(% style="width:311px" %)((( 1326 +Stop Tx events when read sensor data 1327 + 1328 +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 1329 + 1330 +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 1331 + 1332 +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 1333 + 1334 +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 1335 + 1336 +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 1337 + 1338 +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 1339 + 1340 +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 1341 + 1342 +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 1343 + 1344 +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 1345 + 1346 +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 1347 + 1348 +Start Tx events 1349 + 1350 +OK 1351 +))) 1352 + 1353 +(% style="color:#4f81bd" %)**Downlink Command:** 1354 + 1355 +No downlink commands for feature 1356 + 1357 + 1358 +== 3.6 Clear Flash Record(Since v1.1.0) == 1359 + 1360 + 1361 +Feature: Clear flash storage for data log feature. 1362 + 1363 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1364 + 1365 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1366 +|(% 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** 1367 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1368 +Clear all stored sensor data… 1369 + 1370 +OK 1371 +))) 1372 + 1373 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1374 + 1375 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1376 + 1377 + 1243 1243 = 4. Battery & Power Consumption = 1244 1244 1245 1245
- 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