Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/04/19 17:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,7 +43,6 @@ 43 43 [[image:1675071321348-194.png]] 44 44 45 45 46 - 47 47 == 1.2 Features == 48 48 49 49 ... ... @@ -144,7 +144,6 @@ 144 144 145 145 146 146 147 - 148 148 == 1.6 Application and Installation == 149 149 150 150 === 1.6.1 Thread Installation Type === ... ... @@ -199,17 +199,17 @@ 199 199 200 200 201 201 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 202 -|=(% style="width: 1 50px;" %)**Behavior on ACT**|=(% style="width:90px;" %)**Function**|=**Action**203 -|(% style="width: 260px" %)Pressing ACT between 1s < time < 3s|(% style="width:100px" %)Send an uplink|(((200 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action** 201 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 204 204 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 205 205 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 206 206 ))) 207 -|(% style="width:1 38px" %)Pressing ACT for more than 3s|(% style="width:100px" %)Active Device|(((205 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)((( 208 208 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. 209 209 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 210 210 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. 211 211 ))) 212 -|(% style="width:1 38px" %)Fast press ACT 5 times.|(% style="width:100px" %)Deactivate Device|red led will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.210 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode. 213 213 214 214 == 1.9 Pin Mapping == 215 215 ... ... @@ -235,8 +235,6 @@ 235 235 == 1.11 Mechanical == 236 236 237 237 238 - 239 - 240 240 [[image:1675143884058-338.png]] 241 241 242 242 ... ... @@ -254,7 +254,6 @@ 254 254 The PS-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 255 255 256 256 257 - 258 258 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 259 259 260 260 ... ... @@ -330,8 +330,8 @@ 330 330 331 331 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 332 332 |(% colspan="6" %)**Device Status (FPORT=5)** 333 -|(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|**1**|**1**|**2** 334 -|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT 328 +|(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 329 +|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT 335 335 336 336 Example parse in TTNv3 337 337 ... ... @@ -401,15 +401,28 @@ 401 401 |(% style="width:97px" %)((( 402 402 **Size(bytes)** 403 403 )))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1** 404 -|(% 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"]]399 +|(% 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"]] 405 405 406 406 [[image:1675144608950-310.png]] 407 407 408 408 404 +=== 2.3.3 Sensor value, FPORT~=7 === 409 409 410 -=== 2.3.3 Battery Info === 411 411 407 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %) 408 +|(% style="width:94px" %)((( 409 +**Size(bytes)** 410 +)))|(% style="width:43px" %)2|(% style="width:367px" %)n 411 +|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)((( 412 +Voltage value, each 2 bytes is a set of voltage values. 413 +))) 412 412 415 +[[image:image-20230220171300-1.png||height="207" width="863"]] 416 + 417 + 418 +=== 2.3.4 Battery Info === 419 + 420 + 413 413 Check the battery voltage for PS-LB. 414 414 415 415 Ex1: 0x0B45 = 2885mV ... ... @@ -417,7 +417,7 @@ 417 417 Ex2: 0x0B49 = 2889mV 418 418 419 419 420 -=== 2.3. 4Probe Model ===428 +=== 2.3.5 Probe Model === 421 421 422 422 423 423 PS-LB has different kind of probe, 0~~20mA represent the full scale of the measuring range. So a 15mA output means different meaning for different probe. ... ... @@ -433,7 +433,7 @@ 433 433 The probe model field provides the convenient for server to identical how it should parse the 0~~20mA sensor value and get the correct value. 434 434 435 435 436 -=== 2.3. 50~~20mA value (IDC_IN) ===444 +=== 2.3.6 0~~20mA value (IDC_IN) === 437 437 438 438 439 439 The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. ... ... @@ -443,7 +443,7 @@ 443 443 27AE(H) = 10158 (D)/1000 = 10.158mA. 444 444 445 445 446 -=== 2.3. 60~~30V value ( pin VDC_IN) ===454 +=== 2.3.7 0~~30V value ( pin VDC_IN) === 447 447 448 448 449 449 Measure the voltage value. The range is 0 to 30V. ... ... @@ -453,7 +453,7 @@ 453 453 138E(H) = 5006(D)/1000= 5.006V 454 454 455 455 456 -=== 2.3. 7IN1&IN2&INT pin ===464 +=== 2.3.8 IN1&IN2&INT pin === 457 457 458 458 459 459 IN1 and IN2 are used as digital input pins. ... ... @@ -476,7 +476,7 @@ 476 476 0x01: Interrupt Uplink Packet. 477 477 478 478 479 -=== 2.3. 8Decode payload in The Things Network ===487 +=== 2.3.9 Decode payload in The Things Network === 480 480 481 481 482 482 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -534,7 +534,6 @@ 534 534 [[image:1675145060812-420.png]] 535 535 536 536 537 - 538 538 After added, the sensor data arrive TTN, it will also arrive and show in Datacake. 539 539 540 540 ... ... @@ -568,7 +568,7 @@ 568 568 569 569 There are two kinds of commands to configure PS-LB, they are: 570 570 571 -* (% style="color:#037691" %)**General Commands** .578 +* (% style="color:#037691" %)**General Commands** 572 572 573 573 These commands are to configure: 574 574 ... ... @@ -608,10 +608,10 @@ 608 608 609 609 Format: Command Code (0x01) followed by 3 bytes time value. 610 610 611 -If the downlink payload=0100003C, it means set the END Node ’s Transmit Interval to 0x00003C=60(S), while type code is 01.618 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. 612 612 613 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 614 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 620 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 621 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 615 615 616 616 == 3.2 Set Interrupt Mode == 617 617 ... ... @@ -621,19 +621,19 @@ 621 621 (% style="color:blue" %)**AT Command: AT+INTMOD** 622 622 623 623 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 624 -|=**Command Example**|=**Function**|=**Response** 625 -|AT+INTMOD=?|Show current interrupt mode|((( 631 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 157px;" %)**Response** 632 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 626 626 0 627 627 OK 628 628 the mode is 0 = No interruption 629 629 ))) 630 -|AT+INTMOD=2|((( 637 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 631 631 Set Transmit Interval 632 632 ~1. (Disable Interrupt), 633 633 2. (Trigger by rising and falling edge) 634 634 3. (Trigger by falling edge) 635 635 4. (Trigger by rising edge) 636 -)))|OK 643 +)))|(% style="width:157px" %)OK 637 637 638 638 (% style="color:blue" %)**Downlink Command: 0x06** 639 639 ... ... @@ -641,8 +641,8 @@ 641 641 642 642 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 643 643 644 -* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 645 -* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 651 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 652 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 646 646 647 647 == 3.3 Set the output time == 648 648 ... ... @@ -706,12 +706,12 @@ 706 706 707 707 The first byte is which power, the second and third bytes are the time to turn on. 708 708 709 -* Example 1: Downlink Payload: 070101F4 -> AT+3V3T=500 710 -* Example 2: Downlink Payload: 0701FFFF -> AT+3V3T=65535 711 -* Example 3: Downlink Payload: 070203E8 -> AT+5VT=1000 712 -* Example 4: Downlink Payload: 07020000 -> AT+5VT=0 713 -* Example 5: Downlink Payload: 070301F4 -> AT+12VT=500 714 -* Example 6: Downlink Payload: 07030000 -> AT+12VT=0 716 +* Example 1: Downlink Payload: 070101F4 **~-~-->** AT+3V3T=500 717 +* Example 2: Downlink Payload: 0701FFFF **~-~-->** AT+3V3T=65535 718 +* Example 3: Downlink Payload: 070203E8 **~-~-->** AT+5VT=1000 719 +* Example 4: Downlink Payload: 07020000 **~-~-->** AT+5VT=0 720 +* Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 721 +* Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 715 715 716 716 == 3.4 Set the Probe Model == 717 717 ... ... @@ -736,9 +736,39 @@ 736 736 737 737 Format: Command Code (0x08) followed by 2 bytes. 738 738 739 -* Example 1: Downlink Payload: 080003 -> AT+PROBE=0003 740 -* Example 2: Downlink Payload: 080101 -> AT+PROBE=0101 746 +* Example 1: Downlink Payload: 080003 **~-~-->** AT+PROBE=0003 747 +* Example 2: Downlink Payload: 080101 **~-~-->** AT+PROBE=0101 741 741 749 +== 3.5 Multiple collections are one uplink(Since firmware V1.1) == 750 + 751 + 752 +Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time. 753 + 754 +(% style="color:blue" %)**AT Command: AT** **+STDC** 755 + 756 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 757 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response** 758 +|(% style="width:156px" %)AT+STDC=?|(% style="width:137px" %)((( 759 +Get the mode of multiple acquisitions and one uplink 760 +)))|((( 761 +1,10,18 762 +OK 763 +))) 764 +|(% style="width:156px" %)AT+STDC=1,10,18|(% style="width:137px" %)Set the mode of multiple acquisitions and one uplink|((( 765 +OK 766 +**(% style="color:#037691" %)aa:**(%%) 767 +**0** means disable this function and use TDC to send packets. 768 +**1** means enable this function, use the method of multiple acquisitions to send packets. 769 +**(% style="color:#037691" %)bb:**(%%) Each collection interval (s), the value is 1~~65535 770 +**(% style="color:#037691" %)cc:**(%%)the number of collection times, the value is 1~~120 771 +))) 772 + 773 +(% style="color:blue" %)**Downlink Command: 0xAE** 774 + 775 +Format: Command Code (0x08) followed by 5 bytes. 776 + 777 +* Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->** AT+STDC=1,600,18 778 + 742 742 = 4. Battery & how to replace = 743 743 744 744 == 4.1 Battery Type == ... ... @@ -746,7 +746,6 @@ 746 746 747 747 PS-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 748 748 749 - 750 750 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 751 751 752 752 [[image:1675146710956-626.png]] ... ... @@ -770,15 +770,10 @@ 770 770 771 771 Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval. 772 772 773 - 774 774 Instruction to use as below: 775 775 811 +(% style="color:blue" %)**Step 1:**(%%) Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0>>https://www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0]] 776 776 777 -(% style="color:blue" %)**Step 1:**(%%) Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 778 - 779 -[[https:~~/~~/www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0>>https://www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0]] 780 - 781 - 782 782 (% style="color:blue" %)**Step 2:**(%%) Open it and choose 783 783 784 784 * Product Model
- image-20230201090514-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +560.9 KB - Content
- image-20230220171300-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +98.0 KB - Content