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

From version 129.2
edited by Xiaoling
on 2025/04/19 16:27
Change comment: There is no comment for this version
To version 137.1
edited by Mengting Qiu
on 2025/05/19 14:36
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
... ... @@ -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  
... ... @@ -320,30 +320,45 @@
320 320  
321 321  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
322 322  
323 +**Create the application.**
323 323  
324 -Register the device
325 +[[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"]]
325 325  
326 -[[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"]]
327 327  
328 328  
329 -Add APP EUI and DEV EUI
330 +**Add devices to the created Application.**
330 330  
331 -[[image:1675144117571-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"]]
332 332  
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"]]
333 333  
334 -Add APP EUI in the application
335 335  
337 +**Enter end device specifics manually.**
336 336  
337 -[[image:1675144143021-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"]]
338 338  
339 339  
340 -Add APP KEY
342 +**Add DevEUI and AppKey. Customize a platform ID for the device.**
341 341  
342 -[[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"]]
343 343  
344 -Step 2: Activate on PS-LB/LS
345 345  
347 +(% style="color:blue" %)**Step 2: Add decoder.**
346 346  
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 +
347 347  Press the button for 5 seconds to activate the PS-LB/LS.
348 348  
349 349  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.
... ... @@ -361,7 +361,7 @@
361 361  Users can also use the downlink command(0x26 01) to ask PS-LB/LS to resend this uplink.
362 362  
363 363  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
364 -|(% 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)**
365 365  |(% 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
366 366  |(% 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
367 367  
... ... @@ -431,10 +431,8 @@
431 431  
432 432  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
433 433  |(% style="background-color:#4f81bd; color:white; width:97px" %)(((
434 -
435 -
436 -Size(bytes)
437 -)))|(% 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**
438 438  |(% 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"]]
439 439  
440 440  [[image:1675144608950-310.png]]
... ... @@ -455,11 +455,10 @@
455 455  
456 456  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. 
457 457  
458 -
459 459  For example.
460 460  
461 461  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
462 -|(% 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**
463 463  |(% 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
464 464  |(% 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
465 465  |(% 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
... ... @@ -467,6 +467,23 @@
467 467  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.
468 468  
469 469  
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 +
470 470  === 2.3.5 0~~20mA value (IDC_IN) ===
471 471  
472 472  
... ... @@ -520,10 +520,8 @@
520 520  
521 521  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
522 522  |(% style="background-color:#4f81bd; color:white; width:65px" %)(((
523 -
524 -
525 -Size(bytes)
526 -)))|(% 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**
527 527  |(% style="width:94px" %)Value|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)(((
528 528  
529 529  
... ... @@ -1238,6 +1238,116 @@
1238 1238  
1239 1239  * Example 1: Downlink Payload: AE 01 02 58 12 ~-~-->  AT+STDC=1,600,18
1240 1240  
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 +
1241 1241  = 4. Battery & Power Consumption =
1242 1242  
1243 1243  
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