<
From version < 39.1 >
edited by Xiaoling
on 2024/01/08 16:04
To version < 36.1 >
edited by Saxer Lin
on 2023/07/10 13:49
>
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.Xiaoling
1 +XWiki.Saxer
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,6 +79,11 @@
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 +
82 82  (% style="color:#037691" %)**LoRa Spec:**
83 83  
84 84  * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
... ... @@ -167,12 +167,6 @@
167 167  [[image:Main.User Manual for LoRaWAN End Nodes.PS-LB -- LoRaWAN Pressure Sensor.WebHome@1675143909447-639.png]]
168 168  
169 169  
170 -== 1.10 Magnet Distance ==
171 -
172 -
173 -* Wood Door: 10mm ~~ 30mm
174 -* Iron Door: 30 ~~ 45mm
175 -
176 176  = 2. Configure DS03A-LB to connect to LoRaWAN network =
177 177  
178 178  == 2.1 How it works ==
... ... @@ -388,7 +388,7 @@
388 388  
389 389  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
390 390  |(% 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**
391 -|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
390 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
392 392  Count mod
393 393  )))|(% style="width:106px" %)TDC flag 0:No;1:Yes|(% style="width:148px" %)(((
394 394  Alarm 0: No Alarm; 1: Alarm
... ... @@ -470,7 +470,7 @@
470 470  
471 471  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:514px" %)
472 472  |(% 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**
473 -|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
472 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
474 474  Count mod
475 475  )))|(% style="width:103px" %)TDC flag 0:No;1:Yes|(% style="width:216px" %)(((
476 476  Alarm1 0: No Alarm; 1: Alarm (PA8 of pin)
... ... @@ -482,7 +482,7 @@
482 482  
483 483  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
484 484  |(% 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**
485 -|(% style="width:76px" %)Value|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
484 +|(% style="width:76px" %)**Value**|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
486 486  Alarm2 0: No Alarm; 1: Alarm (PA4 of pin)
487 487  )))|(% style="width:181px" %)(((
488 488  Status2 0: Close; 1: Open (PA4 of pin)
... ... @@ -561,7 +561,7 @@
561 561  
562 562  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
563 563  |(% 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**
564 -|(% style="width:76px" %)Value|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)(((
563 +|(% style="width:76px" %)**Value**|(% style="width:88px" %)No ACK message|(% style="width:92px" %)Poll Message Flag|(% style="width:89px" %)Reserve|(% style="width:90px" %)(((
565 565  Count mod
566 566  )))|(% style="width:95px" %)(((
567 567  TDC flag 0:No; 1:Yes
... ... @@ -800,39 +800,9 @@
800 800  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
801 801  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
802 802  
803 -=== 3.3.2  Set Power Output Duration ===
802 +=== 3.3.2  Enable / Disable Alarm ===
804 804  
805 805  
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 -
836 836  Feature: Enable/Disable Alarm for open/close event. Default value 0.
837 837  
838 838  (% style="color:blue" %)**AT Command: **
... ... @@ -849,7 +849,7 @@
849 849  0xA7 00  ~/~/ Same As AT+DISALARM=0
850 850  
851 851  
852 -=== 3.3.4  Alarm Base on Timeout ===
821 +=== 3.3.3  Alarm Base on Timeout ===
853 853  
854 854  
855 855  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:
... ... @@ -933,7 +933,7 @@
933 933  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.
934 934  
935 935  
936 -=== 3.3.5  TTRIG1 & TTRIG2 timeout status alarm ===
905 +=== 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
937 937  
938 938  
939 939  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.
... ... @@ -962,7 +962,7 @@
962 962  Example:  0C aa  => AT+TTRALARM= aa
963 963  
964 964  
965 -=== 3.3.6  Count Mod ===
934 +=== 3.3.5  Count Mod ===
966 966  
967 967  
968 968  Feature: Manually set the count mode.
... ... @@ -991,7 +991,7 @@
991 991  Example:  0B aa  => AT+COUNTMOD = second byte
992 992  
993 993  
994 -=== 3.3.7  Number of channel of door sensors ===
963 +=== 3.3.6  Number of channel of door sensors ===
995 995  
996 996  
997 997  Feature: Set the number of door sensor channels.
... ... @@ -1020,7 +1020,7 @@
1020 1020  Example:  0D aa => AT+TTRCHANNEL = second byte
1021 1021  
1022 1022  
1023 -=== 3.3.8  Set Time Sync Mode ===
992 +=== 3.3.7  Set Time Sync Mode ===
1024 1024  
1025 1025  
1026 1026  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
... ... @@ -1058,7 +1058,7 @@
1058 1058  0x28 00  ~/~/ Same As AT+SYNCMOD=0
1059 1059  
1060 1060  
1061 -=== 3.3.9  Clear the open door times and the duration of the last open door ===
1030 +=== 3.3.8  Clear the open door times and the duration of the last open door ===
1062 1062  
1063 1063  
1064 1064  (% style="color:blue" %)**AT Command:**
... ... @@ -1074,7 +1074,7 @@
1074 1074  The sensor will clear the open door times and the duration of the last open door.
1075 1075  
1076 1076  
1077 -=== 3.3.10  Set the count value of the number of open door ===
1046 +=== 3.3.9  Set the count value of the number of open door ===
1078 1078  
1079 1079  
1080 1080  (% style="color:blue" %)**AT Command:**
image-20240108160443-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -500.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0