Changes for page DS03A-LB/LS -- Outdoor LoRaWAN Door Sensor User Manual
Last modified by Mengting Qiu on 2025/01/10 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -373,7 +373,6 @@ 373 373 * Every 2 hours, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]]. 374 374 * There is an Open/Close event. (This info can be disabled by AT+DISALARM=1) 375 375 376 - 377 377 1)When **AT+TTRCHANNEL=1**, Uplink Payload totals 11 bytes. (**Default mode**) 378 378 379 379 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) ... ... @@ -545,7 +545,7 @@ 545 545 546 546 [PART,NO,TRUE,OPEN, 3,31,2023-06-30 07:04:11], 547 547 548 -[[image:image-202306301 55751-5.png||height="188" width="809"]]547 +[[image:image-20230630172740-1.png||height="199" width="868"]] 549 549 550 550 551 551 == 2.4 Payload Decoder file == ... ... @@ -719,19 +719,10 @@ 719 719 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 720 720 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 721 721 722 -=== 3.3.2 Get Device Status === 723 723 722 +=== 3.3.2 Enable / Disable Alarm === 724 724 725 -Send a LoRaWAN downlink to ask device send Alarm settings. 726 726 727 -* (% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 728 - 729 -Sensor will upload Device Status via FPORT=5. See payload section for detail. 730 - 731 - 732 -=== 3.3.3 Enable / Disable Alarm === 733 - 734 - 735 735 Feature: Enable/Disable Alarm for open/close event. Default value 0. 736 736 737 737 (% style="color:blue" %)**AT Command: ** ... ... @@ -748,7 +748,7 @@ 748 748 0xA7 00 ~/~/ Same As AT+DISALARM=0 749 749 750 750 751 -=== 3.3. 4Alarm Base on Timeout ===741 +=== 3.3.3 Alarm Base on Timeout === 752 752 753 753 754 754 DS03A-LB can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are: ... ... @@ -774,37 +774,103 @@ 774 774 If (% style="color:#037691" %)**keep time > 0**(%%), device will monitor the keep status event and send an alarm when status doesn't change after timeout. 775 775 776 776 767 +* ((( 768 +(% style="color:blue" %)**Downlink Command** 769 +))) 770 + 771 +(% style="color:#037691" %)**Command: 0xA9 aa bb cc dd** 772 + 773 +**A9:** Command Type Code 774 + 775 +**aa: **01:TTRIG1; 02:TTRIG2 776 + 777 +**bb:** status to be monitored 778 + 779 +**cc dd:** timeout. 780 + 781 + 782 +1)**AT+TTRIG1**:(PA8 of pin) 783 + 777 777 (% style="color:blue" %)**AT Command to configure:** 778 778 779 779 * ((( 780 -(% style="color:#037691" %)**AT+TTRIG=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. LDS03A will send an uplink packet, the [[Alarm bit>>||anchor="H2.3.2A0Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 787 +(% style="color:#037691" %)**AT+TTRIG1=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm1 bit(the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 788 + 789 +(% style="color:#037691" %)**AT+TTRIG1=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm1 bit (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1. 781 781 ))) 782 782 783 783 * ((( 784 -(% style="color:#037691" %)**AT+TTRIG=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 793 +(% style="color:#037691" %)**AT+TTRIG1=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 794 + 795 + 796 + 785 785 ))) 786 786 787 787 (% style="color:blue" %)**Downlink Command to configure:** 788 788 789 - (%style="color:#037691"%)**Command:0xA9 aabbcc**801 +If user send 0xA9 01 01 00 1E: equal to AT+TTRIG1=1,30 or 790 790 791 - **A9:**CommandTypeCode803 + 0xA9 01 00 00 00: Equal to AT+TTRIG1=0,0. 792 792 793 -**aa:** status to be monitored 794 794 795 -** bb cc:**timeout.806 +2)**AT+TTRIG2**:(PA4 of pin,need to use AT+TTRCHANNEL=2) 796 796 808 +(% style="color:blue" %)**AT Command to configure:** 797 797 798 -If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30 810 +* ((( 811 +(% style="color:#037691" %)**AT+TTRIG2=1,30** (%%) **~-~->** When the **Keep Status** change from close to open, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 799 799 800 -Or 813 +(% style="color:#037691" %)**AT+TTRIG2=0,30** (%%) **~-~->** When the **Keep Status** change from open to close, and device remains in open status for more than 30 seconds. DS03A-LB will send an uplink packet, the Alarm2 bit (the second bit of 12^^st^^ byte of payload) on this uplink packet is set to 1. 814 +))) 801 801 802 -0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm. 816 +* ((( 817 +(% style="color:#037691" %)**AT+TTRIG2=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 803 803 804 804 820 + 821 +))) 822 + 823 +(% style="color:blue" %)**Downlink Command to configure:** 824 + 825 +If user send 0xA9 02 00 00 1E: equal to AT+TTRIG2=0,30 or 826 + 827 + 0xA9 02 00 00 00: Equal to AT+TTRIG2=0,0. 828 + 829 + 830 +=== 3.3.4 TTRIG1 & TTRIG2 timeout status alarm === 831 + 832 + 833 +It needs to be used with AT+TTRIG1 or AT+TTRIG2. When TTRIG1 or TTRIG2 times out and causes an alarm, and the status does not change subsequently, an alarm packet will be sent at the alarm interval. 834 + 835 +(% style="color:blue" %)**AT Command:** 836 + 837 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 838 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 279px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 76px;background-color:#D9E2F3;color:#0070C0" %)**Response** 839 +|(% style="width:155px" %)((( 840 +AT+TTRALARM=0 841 +)))|(% style="width:279px" %)((( 842 +disable continuous alarm 843 +)))|(% style="width:84px" %)((( 844 +OK 845 +))) 846 +|(% style="width:155px" %)((( 847 +AT+TTRALARM=60 848 +)))|(% style="width:279px" %)((( 849 +The alarm interval is 60 minutes (unit: minutes) 850 +)))|(% style="width:84px" %)((( 851 +OK 852 +))) 853 + 854 +(% style="color:blue" %)**Downlink Command:** 855 + 856 +Example: 0C aa => AT+TTRALARM= aa 857 + 858 + 805 805 === 3.3.5 Count Mod === 806 806 807 807 862 +Feature: Manually set the count mode. 863 + 808 808 (% style="color:blue" %)**AT Command:** 809 809 810 810 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) ... ... @@ -829,24 +829,26 @@ 829 829 Example: 0B aa => AT+COUNTMOD = second byte 830 830 831 831 832 -=== 3.3.6 InterruptPinChannelMod ===888 +=== 3.3.6 Number of channel of door sensors === 833 833 834 834 891 +Feature: Set the number of door sensor channels. 892 + 835 835 (% style="color:blue" %)**AT Command:** 836 836 837 837 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 838 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 2 88px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**896 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 259px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 839 839 |(% style="width:155px" %)((( 840 840 AT+TTRCHANNEL=1 841 -)))|(% style="width:2 88px" %)(((842 - set as single channel, only use PA8 pin as interrupt pin.899 +)))|(% style="width:259px" %)((( 900 +Set as single channel, only use PA8 pin as interrupt pin. 843 843 )))|(% style="width:44px" %)((( 844 844 OK 845 845 ))) 846 846 |(% style="width:155px" %)((( 847 847 AT+TTRCHANNEL=2 848 -)))|(% style="width:2 88px" %)(((849 - is set as dual channel, use PA8 pin and PA4 pin as interrupt pin.906 +)))|(% style="width:259px" %)((( 907 +Set as dual channel, use PA8 pin and PA4 pin as interrupt pin. 850 850 )))|(% style="width:44px" %)((( 851 851 OK 852 852 ))) ... ... @@ -856,51 +856,6 @@ 856 856 Example: 0D aa => AT+TTRCHANNEL = second byte 857 857 858 858 859 -=== 3.3.7 Change the name of AT+TTRIG to AT+TTRIG1 === 860 - 861 - 862 -(% style="color:blue" %)**Downlink Command:** 863 - 864 -Example: A9 01 aa bb cc => AT+TTRIG1= third byte, 4th byte and 5th byte 865 - 866 - 867 -=== 3.3.8 Added AT+TTRIG2 for PB15 pin === 868 - 869 - 870 -(% style="color:blue" %)**Downlink Command:** 871 - 872 -Example: A9 02 aa bb cc => AT+TTRIG2= third byte, 4th byte and 5th byte 873 - 874 - 875 -=== 3.3.9 TTRIG1/2 timeout status alarm === 876 - 877 - 878 -It needs to be used with AT+TTRIG1 or AT+TTRIG2. When TTRIG1 or TTRIG2 times out and causes an alarm, and the status does not change subsequently, an alarm packet will be sent at the alarm interval. 879 - 880 -(% style="color:blue" %)**AT Command:** 881 - 882 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 883 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 279px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 76px;background-color:#D9E2F3;color:#0070C0" %)**Response** 884 -|(% style="width:155px" %)((( 885 -AT+TTRALARM=0 886 -)))|(% style="width:279px" %)((( 887 -disable continuous alarm 888 -)))|(% style="width:84px" %)((( 889 -OK 890 -))) 891 -|(% style="width:155px" %)((( 892 -AT+TTRALARM=60 893 -)))|(% style="width:279px" %)((( 894 -The alarm interval is 60 minutes (unit: minutes) 895 -)))|(% style="width:84px" %)((( 896 -OK 897 -))) 898 - 899 -(% style="color:blue" %)**Downlink Command:** 900 - 901 -Example: 0C aa => AT+TTRALARM= aa 902 - 903 - 904 904 = 4. Battery & Power Consumption = 905 905 906 906