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 130.2
edited by Xiaoling
on 2025/04/27 09:44
on 2025/04/27 09:44
Change comment:
There is no comment for this version
To version 138.1
edited by Mengting Qiu
on 2025/05/23 08:45
on 2025/05/23 08:45
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
-
... ... @@ -311,7 +311,7 @@ 311 311 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. 312 312 313 313 314 -**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.** 315 315 316 316 Each PS-LB/LS is shipped with a sticker with the default device EUI as below: 317 317 ... ... @@ -344,7 +344,7 @@ 344 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 346 347 -**Step 2: Add decoder.** 347 +(% style="color:blue" %)**Step 2: Add decoder.** 348 348 349 349 In TTN, user can add a custom payload so it shows friendly reading. 350 350 ... ... @@ -357,7 +357,7 @@ 357 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 358 359 359 360 -**Step 3: Activate on PS-LB/LS** 360 +(% style="color:blue" %)**Step 3: Activate on PS-LB/LS** 361 361 362 362 Press the button for 5 seconds to activate the PS-LB/LS. 363 363 ... ... @@ -376,7 +376,7 @@ 376 376 Users can also use the downlink command(0x26 01) to ask PS-LB/LS to resend this uplink. 377 377 378 378 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 379 -|(% 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)** 380 380 |(% 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 381 381 |(% 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 382 382 ... ... @@ -446,10 +446,8 @@ 446 446 447 447 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 448 448 |(% style="background-color:#4f81bd; color:white; width:97px" %)((( 449 - 450 - 451 -Size(bytes) 452 -)))|(% 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** 453 453 |(% 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"]] 454 454 455 455 [[image:1675144608950-310.png]] ... ... @@ -470,11 +470,10 @@ 470 470 471 471 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. 472 472 473 - 474 474 For example. 475 475 476 476 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 477 -|(% 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** 478 478 |(% 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 479 479 |(% 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 480 480 |(% 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 ... ... @@ -482,6 +482,23 @@ 482 482 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. 483 483 484 484 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 + 485 485 === 2.3.5 0~~20mA value (IDC_IN) === 486 486 487 487 ... ... @@ -535,10 +535,8 @@ 535 535 536 536 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 537 537 |(% style="background-color:#4f81bd; color:white; width:65px" %)((( 538 - 539 - 540 -Size(bytes) 541 -)))|(% 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** 542 542 |(% style="width:94px" %)Value|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)((( 543 543 544 544 ... ... @@ -1219,7 +1219,7 @@ 1219 1219 1220 1220 AT Command: AT +STDC 1221 1221 1222 -AT+STDC=aa,bb, bb1234 +AT+STDC=aa,bb,cc 1223 1223 1224 1224 aa: 1225 1225 0: means disable this function and use TDC to send packets. ... ... @@ -1253,6 +1253,114 @@ 1253 1253 1254 1254 * Example 1: Downlink Payload: AE 01 02 58 12 ~-~--> AT+STDC=1,600,18 1255 1255 1268 + 1269 +== 3.4 Print data entries base on page(Since v1.1.0) == 1270 + 1271 + 1272 +Feature: Print the sector data from start page to stop page (max is 416 pages). 1273 + 1274 +(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1275 + 1276 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1277 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1278 +|(% style="width:156px" %)((( 1279 + AT+PDTA=1,1 1280 +Print page 1 to 1 1281 +)))|(% style="width:311px" %)((( 1282 +Stop Tx events when read sensor data 1283 + 1284 +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 1285 + 1286 +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 1287 + 1288 +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 1289 + 1290 +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 1291 + 1292 +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 1293 + 1294 +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 1295 + 1296 +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 1297 + 1298 +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 1299 + 1300 +Start Tx events 1301 + 1302 + 1303 +OK 1304 +))) 1305 + 1306 +(% style="color:#4f81bd" %)**Downlink Command:** 1307 + 1308 +No downlink commands for feature 1309 + 1310 + 1311 +== 3.5 Print last few data entries(Since v1.1.0) == 1312 + 1313 + 1314 +Feature: Print the last few data entries 1315 + 1316 + 1317 +(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1318 + 1319 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 1320 +|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 1321 +|(% style="width:156px" %)((( 1322 +AT+PLDTA=10 1323 +Print last 10 entries 1324 +)))|(% style="width:311px" %)((( 1325 +Stop Tx events when read sensor data 1326 + 1327 +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 1328 + 1329 +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 1330 + 1331 +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 1332 + 1333 +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 1334 + 1335 +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 1336 + 1337 +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 1338 + 1339 +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 1340 + 1341 +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 1342 + 1343 +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 1344 + 1345 +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 1346 + 1347 +Start Tx events 1348 + 1349 +OK 1350 +))) 1351 + 1352 +(% style="color:#4f81bd" %)**Downlink Command:** 1353 + 1354 +No downlink commands for feature 1355 + 1356 + 1357 +== 3.6 Clear Flash Record(Since v1.1.0) == 1358 + 1359 + 1360 +Feature: Clear flash storage for data log feature. 1361 + 1362 +(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1363 + 1364 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 1365 +|(% 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** 1366 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1367 +Clear all stored sensor data… 1368 + 1369 +OK 1370 +))) 1371 + 1372 +(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1373 + 1374 +* Example: 0xA301 ~/~/ Same as AT+CLRDTA 1375 + 1256 1256 = 4. Battery & Power Consumption = 1257 1257 1258 1258
- 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