<
From version < 36.1 >
edited by Saxer Lin
on 2023/07/10 13:49
To version < 38.9 >
edited by Xiaoling
on 2023/12/14 14:45
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DS03A-LB Outdoor LoRaWAN Door Sensor User Manual
1 +DS03A-LB -- Outdoor LoRaWAN Door Sensor User Manual
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +XWiki.Xiaoling
Content
... ... @@ -2,7 +2,7 @@
2 2  [[image:image-20230516085523-1.jpeg||height="491" width="491"]]
3 3  
4 4  
5 -**Table of Contents**
5 +**Table of Contents:**
6 6  
7 7  {{toc/}}
8 8  
... ... @@ -79,11 +79,6 @@
79 79  * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v
80 80  * Operating Temperature: -40 ~~ 85°C
81 81  
82 -(% style="color:#037691" %)**Sensor Detect Distance:**
83 -
84 -* Wood Door: 10mm ~~ 30mm
85 -* Iron Door: 30 ~~ 45mm
86 -
87 87  (% style="color:#037691" %)**LoRa Spec:**
88 88  
89 89  * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
... ... @@ -172,6 +172,12 @@
172 172  [[image:Main.User Manual for LoRaWAN End Nodes.PS-LB -- LoRaWAN Pressure Sensor.WebHome@1675143909447-639.png]]
173 173  
174 174  
170 +== 1.10 Magnet Distance ==
171 +
172 +
173 +* Wood Door: 10mm ~~ 30mm
174 +* Iron Door: 30 ~~ 45mm
175 +
175 175  = 2. Configure DS03A-LB to connect to LoRaWAN network =
176 176  
177 177  == 2.1 How it works ==
... ... @@ -387,7 +387,7 @@
387 387  
388 388  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
389 389  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:105px" %)**bit0**
390 -|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
391 +|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
391 391  Count mod
392 392  )))|(% style="width:106px" %)TDC flag 0:No;1:Yes|(% style="width:148px" %)(((
393 393  Alarm 0: No Alarm; 1: Alarm
... ... @@ -469,7 +469,7 @@
469 469  
470 470  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:514px" %)
471 471  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:117px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:117px" %)**bit0**
472 -|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
473 +|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
473 473  Count mod
474 474  )))|(% style="width:103px" %)TDC flag 0:No;1:Yes|(% style="width:216px" %)(((
475 475  Alarm1 0: No Alarm; 1: Alarm (PA8 of pin)
... ... @@ -481,7 +481,7 @@
481 481  
482 482  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
483 483  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[bit7:bit2]**|(% style="background-color:#d9e2f3; color:#0070c0; width:200px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:200px" %)**bit0**
484 -|(% style="width:76px" %)**Value**|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
485 +|(% style="width:76px" %)Value|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
485 485  Alarm2 0: No Alarm; 1: Alarm (PA4 of pin)
486 486  )))|(% style="width:181px" %)(((
487 487  Status2 0: Close; 1: Open (PA4 of pin)
... ... @@ -560,7 +560,7 @@
560 560  
561 561  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
562 562  |(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**bit7**|(% style="background-color:#d9e2f3; color:#0070c0; width:65px" %)**bit6**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**[bit5:bit4]**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**bit3**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**bit2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**bit0**
563 -|(% style="width:76px" %)**Value**|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)(((
564 +|(% style="width:76px" %)Value|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)(((
564 564  Count mod
565 565  )))|(% style="width:95px" %)(((
566 566  TDC flag 0:No; 1:Yes
... ... @@ -799,9 +799,39 @@
799 799  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
800 800  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
801 801  
802 -=== 3.3.2  Enable / Disable Alarm ===
803 +=== 3.3.2  Set Power Output Duration ===
803 803  
804 804  
806 +Control the output duration 5V . Before each sampling, device will
807 +
808 +~1. first enable the power output to external sensor,
809 +
810 +2. keep it on as per duration, read sensor value and construct uplink payload
811 +
812 +3. final, close the power output.
813 +
814 +(% style="color:blue" %)**AT Command: AT+5VT**
815 +
816 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
817 +|=(% style="width: 156px;background-color:#D9E2F3; color:#0070c0" %)**Command Example**|=(% style="width: 204px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="background-color: rgb(217, 226, 243); color: rgb(0, 112, 192); width: 149px;" %)**Response**
818 +|(% style="width:156px" %)AT+5VT=?|(% style="width:204px" %)Show 5V open time.|(% style="width:149px" %)0 (default)
819 +OK
820 +|(% style="width:156px" %)AT+5VT=500|(% style="width:204px" %)Close after a delay of 500 milliseconds.|(% style="width:149px" %)(((
821 +OK
822 +
823 +)))
824 +
825 +(% style="color:blue" %)**Downlink Command: 0x07**(%%)
826 +Format: Command Code (0x07) followed by 2 bytes.
827 +
828 +The first and second bytes are the time to turn on.
829 +
830 +* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
831 +* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
832 +
833 +=== 3.3.3  Enable / Disable Alarm ===
834 +
835 +
805 805  Feature: Enable/Disable Alarm for open/close event. Default value 0.
806 806  
807 807  (% style="color:blue" %)**AT Command: **
... ... @@ -818,7 +818,7 @@
818 818  0xA7 00  ~/~/ Same As AT+DISALARM=0
819 819  
820 820  
821 -=== 3.3.3  Alarm Base on Timeout ===
852 +=== 3.3.4  Alarm Base on Timeout ===
822 822  
823 823  
824 824  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:
... ... @@ -902,7 +902,7 @@
902 902  If user send 0xA9 02 00 00 1E: equal to AT+TTRIG2=0,30  **or**  0xA9 02 00 00 00: Equal to AT+TTRIG2=0,0.
903 903  
904 904  
905 -=== 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
936 +=== 3.3.5  TTRIG1 & TTRIG2 timeout status alarm ===
906 906  
907 907  
908 908  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.
... ... @@ -931,7 +931,7 @@
931 931  Example:  0C aa  => AT+TTRALARM= aa
932 932  
933 933  
934 -=== 3.3.5  Count Mod ===
965 +=== 3.3.6  Count Mod ===
935 935  
936 936  
937 937  Feature: Manually set the count mode.
... ... @@ -960,7 +960,7 @@
960 960  Example:  0B aa  => AT+COUNTMOD = second byte
961 961  
962 962  
963 -=== 3.3.6  Number of channel of door sensors ===
994 +=== 3.3.7  Number of channel of door sensors ===
964 964  
965 965  
966 966  Feature: Set the number of door sensor channels.
... ... @@ -989,7 +989,7 @@
989 989  Example:  0D aa => AT+TTRCHANNEL = second byte
990 990  
991 991  
992 -=== 3.3.7  Set Time Sync Mode ===
1023 +=== 3.3.8  Set Time Sync Mode ===
993 993  
994 994  
995 995  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
... ... @@ -1027,7 +1027,7 @@
1027 1027  0x28 00  ~/~/ Same As AT+SYNCMOD=0
1028 1028  
1029 1029  
1030 -=== 3.3.8  Clear the open door times and the duration of the last open door ===
1061 +=== 3.3.9  Clear the open door times and the duration of the last open door ===
1031 1031  
1032 1032  
1033 1033  (% style="color:blue" %)**AT Command:**
... ... @@ -1043,7 +1043,7 @@
1043 1043  The sensor will clear the open door times and the duration of the last open door.
1044 1044  
1045 1045  
1046 -=== 3.3.9  Set the count value of the number of open door ===
1077 +=== 3.3.10  Set the count value of the number of open door ===
1047 1047  
1048 1048  
1049 1049  (% style="color:blue" %)**AT Command:**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0