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,6 +373,7 @@ 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 + 376 376 1)When **AT+TTRCHANNEL=1**, Uplink Payload totals 11 bytes. (**Default mode**) 377 377 378 378 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) ... ... @@ -544,7 +544,7 @@ 544 544 545 545 [PART,NO,TRUE,OPEN, 3,31,2023-06-30 07:04:11], 546 546 547 -[[image:image-2023063017 2740-1.png||height="199" width="868"]]548 +[[image:image-20230630155751-5.png||height="188" width="809"]] 548 548 549 549 550 550 == 2.4 Payload Decoder file == ... ... @@ -718,10 +718,19 @@ 718 718 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 719 719 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 720 720 722 +=== 3.3.2 Get Device Status === 721 721 722 -=== 3.3.2 Enable / Disable Alarm === 723 723 725 +Send a LoRaWAN downlink to ask device send Alarm settings. 724 724 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 + 725 725 Feature: Enable/Disable Alarm for open/close event. Default value 0. 726 726 727 727 (% style="color:blue" %)**AT Command: ** ... ... @@ -738,7 +738,7 @@ 738 738 0xA7 00 ~/~/ Same As AT+DISALARM=0 739 739 740 740 741 -=== 3.3. 3Alarm Base on Timeout ===751 +=== 3.3.4 Alarm Base on Timeout === 742 742 743 743 744 744 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: ... ... @@ -764,103 +764,37 @@ 764 764 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. 765 765 766 766 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 - 784 784 (% style="color:blue" %)**AT Command to configure:** 785 785 786 786 * ((( 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. 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. 790 790 ))) 791 791 792 792 * ((( 793 -(% style="color:#037691" %)**AT+TTRIG1=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 794 - 795 - 796 - 784 +(% style="color:#037691" %)**AT+TTRIG=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 797 797 ))) 798 798 799 799 (% style="color:blue" %)**Downlink Command to configure:** 800 800 801 - Ifusersend 0xA901 01 00 1E: equaltoAT+TTRIG1=1,30 or789 +(% style="color:#037691" %)**Command: 0xA9 aa bb cc** 802 802 803 - 0xA901 00 00 00:Equalto AT+TTRIG1=0,0.791 +**A9:** Command Type Code 804 804 793 +**aa:** status to be monitored 805 805 806 - 2)**AT+TTRIG2**:(PA4of pin,need tose AT+TTRCHANNEL=2)795 +**bb cc:** timeout. 807 807 808 -(% style="color:blue" %)**AT Command to configure:** 809 809 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. 798 +If user send 0xA9 01 00 1E: equal to AT+TTRIG=1,30 812 812 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 -))) 800 +Or 815 815 816 -* ((( 817 -(% style="color:#037691" %)**AT+TTRIG2=0,0** (%%) **~-~-> ** Default Value, disable timeout Alarm. 802 +0xA9 00 00 00: Equal to AT+TTRIG=0,0. Disable timeout Alarm. 818 818 819 819 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 - 859 859 === 3.3.5 Count Mod === 860 860 861 861 862 -Feature: Manually set the count mode. 863 - 864 864 (% style="color:blue" %)**AT Command:** 865 865 866 866 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) ... ... @@ -885,26 +885,24 @@ 885 885 Example: 0B aa => AT+COUNTMOD = second byte 886 886 887 887 888 -=== 3.3.6 Numberofchannel ofdoorsensors===832 +=== 3.3.6 Interrupt Pin Channel Mod === 889 889 890 890 891 -Feature: Set the number of door sensor channels. 892 - 893 893 (% style="color:blue" %)**AT Command:** 894 894 895 895 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 896 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 2 59px;rgb(217, 226, 243);rgb(0, 112, 192);" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response**838 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 288px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 57px;background-color:#D9E2F3;color:#0070C0" %)**Response** 897 897 |(% style="width:155px" %)((( 898 898 AT+TTRCHANNEL=1 899 -)))|(% style="width:2 59px" %)(((900 - Set as single channel, only use PA8 pin as interrupt pin.841 +)))|(% style="width:288px" %)((( 842 +set as single channel, only use PA8 pin as interrupt pin. 901 901 )))|(% style="width:44px" %)((( 902 902 OK 903 903 ))) 904 904 |(% style="width:155px" %)((( 905 905 AT+TTRCHANNEL=2 906 -)))|(% style="width:2 59px" %)(((907 - Set as dual channel, use PA8 pin and PA4 pin as interrupt pin.848 +)))|(% style="width:288px" %)((( 849 +is set as dual channel, use PA8 pin and PA4 pin as interrupt pin. 908 908 )))|(% style="width:44px" %)((( 909 909 OK 910 910 ))) ... ... @@ -914,6 +914,51 @@ 914 914 Example: 0D aa => AT+TTRCHANNEL = second byte 915 915 916 916 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 + 917 917 = 4. Battery & Power Consumption = 918 918 919 919