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, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -402,25 +402,18 @@ 402 402 403 403 404 404 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 405 -|((( 406 -**Size** 405 +|(% style="width:97px" %)((( 406 +**Size(bytes)** 407 +)))|(% style="width:48px" %)**2**|(% style="width:58px" %)**2**|**2**|**2**|**1** 408 +|(% style="width:97px" %)**Value**|(% style="width:48px" %)[[BAT>>path:#bat]]|(% style="width:58px" %)[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt flag>>path:#Int_pin]] 407 407 408 -**(bytes)** 409 -)))|**2**|**2**|**2**|**2**|**1** 410 -|**Value**|[[BAT>>path:#bat]]|[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt flag>>path:#Int_pin]] 410 +[[image:1675144608950-310.png]] 411 411 412 412 413 413 414 +=== 2.3.3 Battery Info === 414 414 415 415 416 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] 417 - 418 - 419 - 420 -1. 421 -11. 422 -111. Battery Info 423 - 424 424 Check the battery voltage for PS-LB. 425 425 426 426 Ex1: 0x0B45 = 2885mV ... ... @@ -428,50 +428,45 @@ 428 428 Ex2: 0x0B49 = 2889mV 429 429 430 430 431 -1. 432 -11. 433 -111. Probe Model 424 +=== 2.3.4 Probe Model === 434 434 426 + 435 435 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. 436 436 437 437 438 438 For example. 439 439 440 -|**Part Number**|**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning** 441 -|PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 442 -|PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 432 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 433 +|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning** 434 +|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 435 +|(% style="width:111px" %)PS-LB-I5|(% style="width:158px" %)immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 443 443 444 444 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. 445 445 446 446 447 -1. 448 -11. 449 -111. 0~~20mA value (IDC_IN) 440 +=== 2.3.5 0~~20mA value (IDC_IN) === 450 450 442 + 451 451 The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. 452 452 453 - 454 454 **Example**: 455 455 456 456 27AE(H) = 10158 (D)/1000 = 10.158mA. 457 457 458 458 459 -1. 460 -11. 461 -111. 0~~30V value ( pin VDC_IN) 450 +=== 2.3.6 0~~30V value ( pin VDC_IN) === 462 462 452 + 463 463 Measure the voltage value. The range is 0 to 30V. 464 464 465 - 466 466 **Example**: 467 467 468 468 138E(H) = 5006(D)/1000= 5.006V 469 469 470 470 471 -1. 472 -11. 473 -111. IN1&IN2&INT pin 460 +=== 2.3.7 IN1&IN2&INT pin === 474 474 462 + 475 475 IN1 and IN2 are used as digital input pins. 476 476 477 477 **Example**: ... ... @@ -481,10 +481,8 @@ 481 481 09 (H) :(0x09&0x04)>>2=0 IN2 pin is low level. 482 482 483 483 484 - 485 485 This data field shows if this packet is generated by **Interrupt Pin** or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal. 486 486 487 - 488 488 **Example:** 489 489 490 490 09 (H) : (0x09&0x02)>>1=1 The level of the interrupt pin. ... ... @@ -494,109 +494,82 @@ 494 494 0x01: Interrupt Uplink Packet. 495 495 496 496 483 +=== 2.3.8 Decode payload in The Things Network === 497 497 498 498 499 - 500 - 501 - 502 -1. 503 -11. 504 -111. Decode payload in The Things Network 505 - 506 506 While using TTN network, you can add the payload format to decode the payload. 507 507 508 508 509 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]489 +[[image:1675144839454-913.png]] 510 510 511 -PS-LB TTN Payload Decoder: 512 512 513 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 492 +PS-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 514 514 515 515 516 -1. 517 -11. Uplink Interval 495 +== 2.4 Uplink Interval == 518 518 519 -The PS-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: 520 520 521 -[[http:~~/~~/wiki.dragino.com/in dex.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]]498 +The PS-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval||style="background-color: rgb(255, 255, 255);"]] 522 522 523 523 501 +== 2.5 Show Data in DataCake IoT Server == 524 524 525 -1. 526 -11. Show Data in DataCake IoT Server 527 527 528 528 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: 529 529 530 530 531 -**Step 1 **: Be sure that your device is programmed and properly connected to the network at this time.507 +**Step 1: **Be sure that your device is programmed and properly connected to the network at this time. 532 532 533 -**Step 2** :To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:509 +**Step 2:** To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps: 534 534 535 535 536 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]512 +[[image:1675144951092-237.png]] 537 537 538 538 539 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]515 +[[image:1675144960452-126.png]] 540 540 541 541 542 -Step 3: Create an account or log in Datacake. 518 +**Step 3:** Create an account or log in Datacake. 543 543 544 -Step 4: Create PS-LB product. 520 +**Step 4:** Create PS-LB product. 545 545 546 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]522 +[[image:1675145004465-869.png]] 547 547 548 548 525 +[[image:1675145018212-853.png]] 549 549 550 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 551 551 552 552 553 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]] 554 554 530 +[[image:1675145029119-717.png]] 555 555 556 -Step 5: add payload decode 557 557 533 +**Step 5: **add payload decode 558 558 559 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]535 +[[image:1675145051360-659.png]] 560 560 561 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] 562 562 538 +[[image:1675145060812-420.png]] 563 563 564 564 541 + 565 565 After added, the sensor data arrive TTN, it will also arrive and show in Datacake. 566 566 567 567 568 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]545 +[[image:1675145081239-376.png]] 569 569 570 570 548 +== 2.6 Frequency Plans == 571 571 572 572 573 - 574 - 575 - 576 - 577 - 578 - 579 - 580 - 581 - 582 - 583 - 584 - 585 - 586 -1. 587 -11. Frequency Plans 588 - 589 589 The PS-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 590 590 553 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 591 591 592 -[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Frequency_Band>>url:https://wiki.dragino.com/index.php?title=End_Device_Frequency_Band]] 593 593 556 +== 2.7 Firmware Change Log == 594 594 595 595 596 - 597 -1. 598 -11. Firmware Change Log 599 - 600 600 **Firmware download link:** 601 601 602 602 [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] ... ... @@ -603,16 +603,15 @@ 603 603 604 604 605 605 606 - 1. Configure PS-LB via AT Command or LoRaWAN Downlink565 += 3. Configure PS-LB via AT Command or LoRaWAN Downlink = 607 607 567 + 608 608 Use can configure PS-LB via AT Command or LoRaWAN Downlink. 609 609 610 610 * AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 611 -* LoRaWAN Downlink instruction for different platforms: 571 +* LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 612 612 613 -[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 614 614 615 - 616 616 There are two kinds of commands to configure PS-LB, they are: 617 617 618 618 * **General Commands**. ... ... @@ -624,7 +624,7 @@ 624 624 625 625 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 626 626 627 -[[http:~~/~~/wiki.dragino.com/in dex.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]585 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 628 628 629 629 630 630 * **Commands special design for PS-LB** ... ... @@ -632,13 +632,14 @@ 632 632 These commands only valid for PS-LB, as below: 633 633 634 634 635 -1. 636 -11. Set Transmit Interval Time 593 +== 3.1 Set Transmit Interval Time == 637 637 595 + 638 638 Feature: Change LoRaWAN End Node Transmit Interval. 639 639 640 640 **AT Command: AT+TDC** 641 641 600 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 642 642 |**Command Example**|**Function**|**Response** 643 643 |AT+TDC=?|Show current transmit Interval|((( 644 644 30000 ... ... @@ -663,13 +663,14 @@ 663 663 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 664 664 665 665 666 -1. 667 -11. Set Interrupt Mode 625 +== 3.2 Set Interrupt Mode == 668 668 627 + 669 669 Feature, Set Interrupt mode for GPIO_EXIT. 670 670 671 671 **AT Command: AT+INTMOD** 672 672 632 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 673 673 |**Command Example**|**Function**|**Response** 674 674 |AT+INTMOD=?|Show current interrupt mode|((( 675 675 0 ... ... @@ -681,10 +681,13 @@ 681 681 |AT+INTMOD=2|((( 682 682 Set Transmit Interval 683 683 684 -1. (Disable Interrupt), 685 -1. (Trigger by rising and falling edge), 686 -1. (Trigger by falling edge) 687 -1. (Trigger by rising edge) 644 +~1. (Disable Interrupt), 645 + 646 +2. (Trigger by rising and falling edge), 647 + 648 +3. (Trigger by falling edge) 649 + 650 +4. (Trigger by rising edge) 688 688 )))|OK 689 689 690 690 **Downlink Command: 0x06** ... ... @@ -696,74 +696,82 @@ 696 696 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 697 697 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 698 698 699 -1. 700 -11. Set the output time 701 701 663 + 664 +== 3.3 Set the output time == 665 + 666 + 702 702 Feature, Control the output 3V3 , 5V or 12V. 703 703 704 704 **AT Command: AT+3V3T** 705 705 706 -|**Command Example**|**Function**|**Response** 707 -|AT+3V3T=?|Show 3V3 open time.|((( 671 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 672 +|(% style="width:156px" %)**Command Example**|(% style="width:236px" %)**Function**|(% style="width:117px" %)**Response** 673 +|(% style="width:156px" %)AT+3V3T=?|(% style="width:236px" %)Show 3V3 open time.|(% style="width:117px" %)((( 708 708 0 709 709 710 710 OK 711 711 ))) 712 -|AT+3V3T=0|Normally open 3V3 power supply.|((( 678 +|(% style="width:156px" %)AT+3V3T=0|(% style="width:236px" %)Normally open 3V3 power supply.|(% style="width:117px" %)((( 713 713 OK 714 714 715 715 default setting 716 716 ))) 717 -|AT+3V3T=1000|Close after a delay of 1000 milliseconds.|((( 683 +|(% style="width:156px" %)AT+3V3T=1000|(% style="width:236px" %)Close after a delay of 1000 milliseconds.|(% style="width:117px" %)((( 718 718 OK 719 719 720 720 721 721 ))) 722 -|AT+3V3T=65535|Normally closed 3V3 power supply.|((( 688 +|(% style="width:156px" %)AT+3V3T=65535|(% style="width:236px" %)Normally closed 3V3 power supply.|(% style="width:117px" %)((( 723 723 OK 724 724 725 725 726 726 ))) 727 727 694 + 728 728 **AT Command: AT+5VT** 729 729 730 -|**Command Example**|**Function**|**Response** 731 -|AT+5VT=?|Show 5V open time.|((( 697 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 698 +|(% style="width:158px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:119px" %)**Response** 699 +|(% style="width:158px" %)AT+5VT=?|(% style="width:232px" %)Show 5V open time.|(% style="width:119px" %)((( 732 732 0 733 733 734 734 OK 735 735 ))) 736 -|AT+5VT=0|Normally closed 5V power supply.|((( 704 +|(% style="width:158px" %)AT+5VT=0|(% style="width:232px" %)Normally closed 5V power supply.|(% style="width:119px" %)((( 737 737 OK 738 738 739 739 default setting 740 740 ))) 741 -|AT+5VT=1000|Close after a delay of 1000 milliseconds.|((( 709 +|(% style="width:158px" %)AT+5VT=1000|(% style="width:232px" %)Close after a delay of 1000 milliseconds.|(% style="width:119px" %)((( 742 742 OK 743 743 744 744 745 745 ))) 746 -|AT+5VT=65535|Normally open 5V power supply.|((( 714 +|(% style="width:158px" %)AT+5VT=65535|(% style="width:232px" %)Normally open 5V power supply.|(% style="width:119px" %)((( 747 747 OK 748 748 749 749 750 750 ))) 751 751 720 + 752 752 **AT Command: AT+12VT** 753 753 754 -|**Command Example**|**Function**|**Response** 755 -|AT+12VT=?|Show 12V open time.|((( 723 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 724 +|(% style="width:156px" %)**Command Example**|(% style="width:268px" %)**Function**|**Response** 725 +|(% style="width:156px" %)AT+12VT=?|(% style="width:268px" %)Show 12V open time.|((( 756 756 0 757 757 758 758 OK 759 759 ))) 760 -|AT+12VT=0|Normally closed 12V power supply.|OK 761 -|AT+12VT=500|Close after a delay of 500 milliseconds.|((( 730 +|(% style="width:156px" %)AT+12VT=0|(% style="width:268px" %)Normally closed 12V power supply.|OK 731 +|(% style="width:156px" %)AT+12VT=500|(% style="width:268px" %)Close after a delay of 500 milliseconds.|((( 762 762 OK 763 763 764 764 765 765 ))) 766 766 737 + 767 767 **Downlink Command: 0x07** 768 768 769 769 Format: Command Code (0x07) followed by 3 bytes. ... ... @@ -777,24 +777,27 @@ 777 777 * Example 5: Downlink Payload: 070301F4 -> AT+12VT=500 778 778 * Example 6: Downlink Payload: 07030000 -> AT+12VT=0 779 779 780 -1. 781 -11. Set the Probe Model 782 782 752 + 753 +== 3.4 Set the Probe Model == 754 + 755 + 783 783 **AT Command: AT** **+PROBE** 784 784 785 -|**Command Example**|**Function**|**Response** 786 -|AT +PROBE =?|Get or Set the probe model.|((( 758 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 759 +|(% style="width:157px" %)**Command Example**|(% style="width:267px" %)**Function**|**Response** 760 +|(% style="width:157px" %)AT +PROBE =?|(% style="width:267px" %)Get or Set the probe model.|((( 787 787 0 788 788 789 789 OK 790 790 ))) 791 -|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK 792 -|AT +PROBE =0101|Set pressure transmitters mode, first type.|((( 765 +|(% style="width:157px" %)AT +PROBE =0003|(% style="width:267px" %)Set water depth sensor mode, 3m type.|OK 766 +|(% style="width:157px" %)AT +PROBE =0101|(% style="width:267px" %)Set pressure transmitters mode, first type.|((( 793 793 OK 794 794 795 795 796 796 ))) 797 -|AT +PROBE =0000|Initial state, no settings.|((( 771 +|(% style="width:157px" %)AT +PROBE =0000|(% style="width:267px" %)Initial state, no settings.|((( 798 798 OK 799 799 800 800
- 1675145029119-717.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.6 KB - Content
- 1675145051360-659.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.2 KB - Content
- 1675145060812-420.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.1 KB - Content
- 1675145081239-376.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.9 KB - Content