Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/04/19 17:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -41,7 +41,7 @@ 41 41 ))) 42 42 43 43 ((( 44 -PS-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or (% style="color:blue" %)**solar powered + li-on battery **(%%), it is designed for long term use up to 5 years.44 +PS-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or (% style="color:blue" %)**solar powered + Li-ion battery **(%%), it is designed for long term use up to 5 years. 45 45 ))) 46 46 47 47 ((( ... ... @@ -67,7 +67,7 @@ 67 67 * Downlink to change configure 68 68 * Controllable 3.3v,5v and 12v output to power external sensor 69 69 * 8500mAh Li/SOCl2 Battery (PS-LB) 70 -* Solar panel + 3000mAh Li-on battery (PS-LS) 70 +* Solar panel + 3000mAh Li-ion battery (PS-LS) 71 71 72 72 == 1.3 Specification == 73 73 ... ... @@ -647,7 +647,6 @@ 647 647 )))|(% style="background-color:#f2f2f2; width:150px" %)**1byte** 648 648 |(% style="background-color:#f2f2f2; width:70px" %)31|(% style="background-color:#f2f2f2; width:140px" %)Timestamp start|(% style="background-color:#f2f2f2; width:140px" %)Timestamp end|(% style="background-color:#f2f2f2; width:150px" %)Uplink Interval 649 649 650 - 651 651 Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval. 652 652 653 653 For example, downlink command[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]] ... ... @@ -670,12 +670,143 @@ 670 670 671 671 The PS-LB/LS uses OTAA mode and below frequency plans by default. Each frequency band use different firmware, user update the firmware to the corresponding band for their country. 672 672 673 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 672 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/a>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 674 674 675 675 676 -== 2.8 Firmware ChangeLog==675 +== 2.8 Report on Change Feature (Since firmware V1.1.2) == 677 677 678 678 678 +=== 2.8.1 Uplink payload(Enable ROC) === 679 + 680 + 681 +Used to Monitor the IDC and VDC increments, and send ROC uplink when the IDC or VDC changes exceed. 682 + 683 +With ROC enabled, the payload is as follows: 684 + 685 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 686 +|(% style="background-color:#4f81bd; color:white; width:97px" %)((( 687 +**Size(bytes)** 688 +)))|(% style="background-color:#4f81bd; color:white; width:48px" %)**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** 689 +|(% 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" %)((( 690 +[[IN1 &IN2 Interrupt flag>>||anchor="H2.3.7IN126IN226INTpin"]] 691 + 692 +& **ROC_flag** 693 +))) 694 + 695 +(% style="color:blue" %)**IN1 &IN2 , Interrupt flag , ROC_flag:** 696 + 697 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 698 +|(% style="background-color:#4f81bd; color:white; width:55px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:46.5834px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:1px" %)**bit5**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit4**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit0** 699 +|(% style="width:75px" %)Value|(% style="width:89px" %)IDC_Roc_flagL|(% style="width:46.5834px" %)IDC_Roc_flagH|(% style="width:1px" %)VDC_Roc_flagL|(% style="width:89px" %)VDC_Roc_flagH|(% style="width:89px" %)IN1_pin_level|(% style="width:103px" %)IN2_pin_level|(% style="width:103px" %)Exti_pin_level|(% style="width:103px" %)Exti_status 700 + 701 +* (% style="color:#037691" %)**IDC_Roc_flagL** 702 + 703 +80 (H): (0x80&0x80)=80(H)=**1**000 0000(B) bit7=1, "TRUE", This uplink is triggered when the decrease in the IDC compared to the last ROC refresh exceeds the set threshold. 704 + 705 +60 (H): (0x60&0x80)=0 bit7=0, "FALSE", This uplink is not triggered when the decrease in the IDC compared to the last ROC refresh exceeds the set threshold. 706 + 707 + 708 +* (% style="color:#037691" %)**IDC_Roc_flagH** 709 + 710 +60 (H): (0x60&0x40)=60(H)=0**1**000 0000(B) bit6=1, "TRUE", This uplink is triggered when the increase in the value of the IDC compared to the last ROC refresh exceeds the set threshold. 711 + 712 +80 (H): (0x80&0x40)=0 bit6=0, "FALSE", This uplink is not triggered when the increase in the value of the IDC compared to the last ROC refresh exceeds the set threshold. 713 + 714 + 715 +* (% style="color:#037691" %)**VDC_Roc_flagL** 716 + 717 +20 (H): (0x20&0x20)=20(H)=00**1**0 0000(B) bit5=1, "TRUE", This uplink is triggered when the decrease in the VDC compared to the last ROC refresh exceeds the set threshold. 718 + 719 +90 (H): (0x90&0x20)=0 bit5=0, "FALSE", This uplink is not triggered when the decrease in the VDC compared to the last ROC refresh exceeds the set threshold. 720 + 721 + 722 +* (% style="color:#037691" %)**VDC_Roc_flagH** 723 + 724 +90 (H): (0x90&0x10)=10(H)=000**1** 0000(B) bit4=1, "TRUE", This uplink is triggered when the increase in the value of the VDC compared to the last ROC refresh exceeds the set threshold. 725 + 726 +20 (H): (0x20&0x10)=0 bit4=0, "FALSE", This uplink is not triggered when the increase in the value of the VDC compared to the last ROC refresh exceeds the set threshold. 727 + 728 + 729 +* (% style="color:#037691" %)**IN1_pin_level & IN2_pin_level** 730 + 731 +IN1 and IN2 are used as digital input pins. 732 + 733 +80 (H): (0x80&0x08)=0 IN1 pin is low level. 734 + 735 +80 (H): (0x09&0x04)=0 IN2 pin is low level. 736 + 737 + 738 +* (% style="color:#037691" %)**Exti_pin_level &Exti_status** 739 + 740 +This data field shows whether the packet is generated by an interrupt pin. 741 + 742 +Note: The Internet pin of the old motherboard is a separate pin in the screw terminal, and the interrupt pin of the new motherboard(SIB V1.3) is the **GPIO_EXTI** pin. 743 + 744 +**Exti_pin_level:** 80 (H): (0x80&0x02)=0 "low", The level of the interrupt pin. 745 + 746 +**Exti_status: **80 (H): (0x80&0x01)=0 "False", Normal uplink packet. 747 + 748 + 749 +=== 2.8.2 Set the Report on Change === 750 + 751 + 752 +Feature: Set the detection interval and threshold to monitor whether the IDC/VDC variable exceeds the threshold. If the threshold is exceeded, an ROC uplink is sent. 753 +(% style="color:blue" %)**AT Command: AT+ROC** 754 + 755 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 756 +|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)**Parameters**|=(% style="width: 168px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation** 757 +|(% style="width:143px" %)AT+ROC=?|(% style="width:197px" %)Show current ROC setting|(% style="width:168px" %)((( 758 +0,0,0,0(default) 759 + 760 +OK 761 +))) 762 +|(% colspan="1" rowspan="4" style="width:143px" %)((( 763 + 764 + 765 + 766 + 767 +AT+ROC=a,b,c,d 768 +)))|(% style="width:197px" %)**a**: Enable or disable the ROC|(% style="width:168px" %)((( 769 +0: off 770 + 771 +1: on 772 +))) 773 +|(% style="width:197px" %)**b**: Set the detection interval|(% style="width:168px" %)Unit: second 774 +|(% style="width:197px" %)**c**: Setting the IDC change threshold|(% style="width:168px" %)Unit: uA 775 +|(% style="width:197px" %)**d**: Setting the VDC change threshold|(% style="width:168px" %)Unit: mV 776 + 777 +**Example:** 778 + 779 +* AT+ROC=1,60,3000, 500 ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink. 780 +* AT+ROC=1,60,3000,0 ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink. 0 Means doesn't monitor Voltage. 781 + 782 +(% style="color:blue" %)**Downlink Command: 0x09 aa bb cc dd** 783 + 784 +Format: Function code (0x09) followed by 4 bytes. 785 + 786 +(% style="color:blue" %)**aa: **(%%)Enable/Disable the ROC. 787 + 788 +(% style="color:blue" %)**bb: **(%%)Set the detection interval. (second) 789 + 790 +(% style="color:blue" %)**cc: **(%%)Setting the IDC change threshold. (uA) 791 + 792 +(% style="color:blue" %)**dd: **(%%)Setting the VDC change threshold. (mV) 793 + 794 +**Example:** 795 + 796 +* Downlink Payload: **09 01 00 3C 0B B8 01 F4 ** ~/~/Equal to AT+ROC=1,60,3000, 500 797 +* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/AT+ROC=1,60,3000,0 798 + 799 +(% style="color:blue" %)**Screenshot of parsing example in TTN:** 800 + 801 +* AT+ROC=1,60,3000, 500. 802 + 803 +[[image:image-20241019170902-1.png||height="450" width="1454"]] 804 + 805 + 806 +== 2.9 Firmware Change Log == 807 + 808 + 679 679 **Firmware download link:** 680 680 681 681 [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] ... ... @@ -856,6 +856,12 @@ 856 856 857 857 (A->01,B->02,C->03,D->04,E->05,F->06,G->07,H->08,I->09,J->0A,K->0B,L->0C) 858 858 989 +When aa=02, it is the Differential Pressure Sensor , which converts the current into a pressure value; 990 + 991 +bb represents which type of pressure sensor it is. 992 + 993 +(0~~100Pa->01,0~~200Pa->02,0~~300Pa->03,0~~1KPa->04,0~~2KPa->05,0~~3KPa->06,0~~4KPa->07,0~~5KPa->08,0~~10KPa->09,-100~~ 100Pa->0A,-200~~ 200Pa->0B,-1~~ 1KPa->0C) 994 + 859 859 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 860 860 |(% style="background-color:#4f81bd; color:white; width:154px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:269px" %)**Function**|(% style="background-color:#4f81bd; color:white" %)**Response** 861 861 |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=?|(% style="background-color:#f2f2f2; width:269px" %)Get or Set the probe model.|(% style="background-color:#f2f2f2" %)0 ... ... @@ -878,7 +878,7 @@ 878 878 === 3.3.5 Multiple collections are one uplink (Since firmware V1.1) === 879 879 880 880 881 -Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time. 1017 +Added AT+STDC command to collect the voltage of VDC_INPUT/IDC_INPUT multiple times and upload it at one time. 882 882 883 883 (% style="color:blue" %)**AT Command: AT** **+STDC** 884 884 ... ... @@ -886,7 +886,8 @@ 886 886 887 887 (% style="color:#037691" %)**aa:**(%%) 888 888 **0:** means disable this function and use TDC to send packets. 889 -**1:** means enable this function, use the method of multiple acquisitions to send packets. 1025 +**1:** means that the function is enabled to send packets by collecting VDC data for multiple times. 1026 +**2:** means that the function is enabled to send packets by collecting IDC data for multiple times. 890 890 (% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535 891 891 (% style="color:#037691" %)**cc:**(%%)** **the number of collection times, the value is 1~~120 892 892 ... ... @@ -911,7 +911,7 @@ 911 911 912 912 (% style="color:blue" %)**Downlink Command: 0xAE** 913 913 914 -Format: Command Code (0x 08) followed by5bytes.1051 +Format: Command Code (0xAE) followed by 4 bytes. 915 915 916 916 * Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->** AT+STDC=1,600,18 917 917 ... ... @@ -997,6 +997,7 @@ 997 997 998 998 [[image:image-20240109172423-7.png]](% style="display:none" %) 999 999 1137 +[[image:image-20240817150702-1.png]] 1000 1000 1001 1001 = 9. Packing Info = 1002 1002
- image-20240817150702-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.4 KB - Content