<
From version < 40.3 >
edited by Xiaoling
on 2024/01/08 16:12
To version < 35.1 >
edited by Saxer Lin
on 2023/07/10 13:44
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -DS03A-LB/LS -- 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
... ... @@ -1,18 +3,9 @@
1 -(% style="display:none" %) (%%)
2 -
3 3  (% style="text-align:center" %)
4 -[[image:image-20240108161155-2.png]]
2 +[[image:image-20230516085523-1.jpeg||height="491" width="491"]]
5 5  
6 6  
5 +**Table of Contents:**
7 7  
8 -
9 -
10 -
11 -
12 -
13 -
14 -**Table of Contents:**
15 -
16 16  {{toc/}}
17 17  
18 18  
... ... @@ -52,7 +52,7 @@
52 52  )))
53 53  
54 54  (((
55 -DS03A-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery **(%%)or **solar powered + li-on battery**, it is designed for long term use up to 5 years.
46 +DS03A-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
56 56  )))
57 57  
58 58  (((
... ... @@ -80,6 +80,7 @@
80 80  * Wall Mountable
81 81  * Outdoor Use
82 82  
74 +
83 83  == 1.3 Specification ==
84 84  
85 85  
... ... @@ -88,6 +88,11 @@
88 88  * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v
89 89  * Operating Temperature: -40 ~~ 85°C
90 90  
83 +(% style="color:#037691" %)**Sensor Detect Distance:**
84 +
85 +* Wood Door: 10mm ~~ 30mm
86 +* Iron Door: 30 ~~ 45mm
87 +
91 91  (% style="color:#037691" %)**LoRa Spec:**
92 92  
93 93  * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
... ... @@ -108,6 +108,7 @@
108 108  * Sleep Mode: 5uA @ 3.3v
109 109  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
110 110  
108 +
111 111  == 1.4 Applications ==
112 112  
113 113  
... ... @@ -141,6 +141,7 @@
141 141  )))
142 142  |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means Device is in Deep Sleep Mode.
143 143  
142 +
144 144  == 1.7 BLE connection ==
145 145  
146 146  
... ... @@ -176,12 +176,6 @@
176 176  [[image:Main.User Manual for LoRaWAN End Nodes.PS-LB -- LoRaWAN Pressure Sensor.WebHome@1675143909447-639.png]]
177 177  
178 178  
179 -== 1.10 Magnet Distance ==
180 -
181 -
182 -* Wood Door: 10mm ~~ 30mm
183 -* Iron Door: 30 ~~ 45mm
184 -
185 185  = 2. Configure DS03A-LB to connect to LoRaWAN network =
186 186  
187 187  == 2.1 How it works ==
... ... @@ -247,11 +247,8 @@
247 247  === 2.3.1 Device Status, FPORT~=5 ===
248 248  
249 249  
250 -Include device configure status. Once DS03A-LB Joined the network, it will uplink this message to the server. After that, DS03A-LB will uplink Device Status every 12 hours.
243 +Users can use the downlink command(**0x26 01**) to ask DS03A-LB to send device configure detail, include device configure status. DS03A-LB will uplink a payload via FPort=5 to server.
251 251  
252 -Users can also use the downlink command**(0x26 01)** to ask DS03A-LB to resend this uplink. This uplink payload also includes the DeviceTimeReq to get time.
253 -
254 -
255 255  The Payload format is as below.
256 256  
257 257  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -320,7 +320,7 @@
320 320  === 2.3.2  Sensor Configuration, FPORT~=4 ===
321 321  
322 322  
323 -DS03A-LB will only send this command after getting the downlink command **(0x26 02)** from the server.
313 +DS03A-LB will only send this command after getting the downlink command (0x26 02) from the server.
324 324  
325 325  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
326 326  |(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4**
... ... @@ -397,7 +397,7 @@
397 397  
398 398  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
399 399  |(% 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**
400 -|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
390 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:110px" %)(((
401 401  Count mod
402 402  )))|(% style="width:106px" %)TDC flag 0:No;1:Yes|(% style="width:148px" %)(((
403 403  Alarm 0: No Alarm; 1: Alarm
... ... @@ -479,7 +479,7 @@
479 479  
480 480  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:514px" %)
481 481  |(% 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**
482 -|(% style="width:76px" %)Value|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
472 +|(% style="width:76px" %)**Value**|(% style="width:96px" %)Reserve|(% style="width:99px" %)(((
483 483  Count mod
484 484  )))|(% style="width:103px" %)TDC flag 0:No;1:Yes|(% style="width:216px" %)(((
485 485  Alarm1 0: No Alarm; 1: Alarm (PA8 of pin)
... ... @@ -491,7 +491,7 @@
491 491  
492 492  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
493 493  |(% 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**
494 -|(% style="width:76px" %)Value|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
484 +|(% style="width:76px" %)**Value**|(% style="width:113px" %)Reserve|(% style="width:219px" %)(((
495 495  Alarm2 0: No Alarm; 1: Alarm (PA4 of pin)
496 496  )))|(% style="width:181px" %)(((
497 497  Status2 0: Close; 1: Open (PA4 of pin)
... ... @@ -570,7 +570,7 @@
570 570  
571 571  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
572 572  |(% 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**
573 -|(% 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" %)(((
574 574  Count mod
575 575  )))|(% style="width:95px" %)(((
576 576  TDC flag 0:No; 1:Yes
... ... @@ -762,6 +762,7 @@
762 762  * AT Command via UART Connection : See [[Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
763 763  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
764 764  
755 +
765 765  == 3.2 General Commands ==
766 766  
767 767  
... ... @@ -809,39 +809,10 @@
809 809  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
810 810  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
811 811  
812 -=== 3.3.2  Set Power Output Duration ===
813 813  
804 +=== 3.3.2  Enable / Disable Alarm ===
814 814  
815 -Control the output duration 5V . Before each sampling, device will
816 816  
817 -~1. first enable the power output to external sensor,
818 -
819 -2. keep it on as per duration, read sensor value and construct uplink payload
820 -
821 -3. final, close the power output.
822 -
823 -(% style="color:blue" %)**AT Command: AT+5VT**
824 -
825 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
826 -|=(% 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**
827 -|(% style="width:156px" %)AT+5VT=?|(% style="width:204px" %)Show 5V open time.|(% style="width:149px" %)0 (default)
828 -OK
829 -|(% style="width:156px" %)AT+5VT=500|(% style="width:204px" %)Close after a delay of 500 milliseconds.|(% style="width:149px" %)(((
830 -OK
831 -
832 -)))
833 -
834 -(% style="color:blue" %)**Downlink Command: 0x07**(%%)
835 -Format: Command Code (0x07) followed by 2 bytes.
836 -
837 -The first and second bytes are the time to turn on.
838 -
839 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
840 -* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
841 -
842 -=== 3.3.3  Enable / Disable Alarm ===
843 -
844 -
845 845  Feature: Enable/Disable Alarm for open/close event. Default value 0.
846 846  
847 847  (% style="color:blue" %)**AT Command: **
... ... @@ -858,7 +858,7 @@
858 858  0xA7 00  ~/~/ Same As AT+DISALARM=0
859 859  
860 860  
861 -=== 3.3.4  Alarm Base on Timeout ===
823 +=== 3.3.3  Alarm Base on Timeout ===
862 862  
863 863  
864 864  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:
... ... @@ -942,7 +942,7 @@
942 942  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.
943 943  
944 944  
945 -=== 3.3.5  TTRIG1 & TTRIG2 timeout status alarm ===
907 +=== 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
946 946  
947 947  
948 948  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.
... ... @@ -971,7 +971,7 @@
971 971  Example:  0C aa  => AT+TTRALARM= aa
972 972  
973 973  
974 -=== 3.3.6  Count Mod ===
936 +=== 3.3.5  Count Mod ===
975 975  
976 976  
977 977  Feature: Manually set the count mode.
... ... @@ -1000,7 +1000,7 @@
1000 1000  Example:  0B aa  => AT+COUNTMOD = second byte
1001 1001  
1002 1002  
1003 -=== 3.3.7  Number of channel of door sensors ===
965 +=== 3.3.6  Number of channel of door sensors ===
1004 1004  
1005 1005  
1006 1006  Feature: Set the number of door sensor channels.
... ... @@ -1029,7 +1029,7 @@
1029 1029  Example:  0D aa => AT+TTRCHANNEL = second byte
1030 1030  
1031 1031  
1032 -=== 3.3.8  Set Time Sync Mode ===
994 +=== 3.3.7  Set Time Sync Mode ===
1033 1033  
1034 1034  
1035 1035  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
... ... @@ -1067,7 +1067,7 @@
1067 1067  0x28 00  ~/~/ Same As AT+SYNCMOD=0
1068 1068  
1069 1069  
1070 -=== 3.3.9  Clear the open door times and the duration of the last open door ===
1032 +=== 3.3.8  Clear the open door times and the duration of the last open door ===
1071 1071  
1072 1072  
1073 1073  (% style="color:blue" %)**AT Command:**
... ... @@ -1083,7 +1083,7 @@
1083 1083  The sensor will clear the open door times and the duration of the last open door.
1084 1084  
1085 1085  
1086 -=== 3.3.10  Set the count value of the number of open door ===
1048 +=== 3.3.9  Set the count value of the number of open door ===
1087 1087  
1088 1088  
1089 1089  (% style="color:blue" %)**AT Command:**
... ... @@ -1139,6 +1139,7 @@
1139 1139  * (Recommanded way) OTA firmware update via wireless:** [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
1140 1140  * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
1141 1141  
1104 +
1142 1142  = 6. FAQ =
1143 1143  
1144 1144  
... ... @@ -1166,6 +1166,7 @@
1166 1166  
1167 1167  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1168 1168  
1132 +
1169 1169  = 8. ​Packing Info =
1170 1170  
1171 1171  
... ... @@ -1183,6 +1183,7 @@
1183 1183  
1184 1184  * Weight / pcs : g
1185 1185  
1150 +
1186 1186  = 9. Support =
1187 1187  
1188 1188  
image-20240108160443-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -500.2 KB
Content
image-20240108161155-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -265.7 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0