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 (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -DS03A-LB --Outdoor LoRaWAN Door Sensor User Manual1 +DS03A-LB Outdoor LoRaWAN Door Sensor User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +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 ... ... @@ -71,6 +71,7 @@ 71 71 * Wall Mountable 72 72 * Outdoor Use 73 73 74 + 74 74 == 1.3 Specification == 75 75 76 76 ... ... @@ -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 83 +(% style="color:#037691" %)**Sensor Detect Distance:** 84 + 85 +* Wood Door: 10mm ~~ 30mm 86 +* Iron Door: 30 ~~ 45mm 87 + 82 82 (% style="color:#037691" %)**LoRa Spec:** 83 83 84 84 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz ... ... @@ -99,6 +99,7 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 108 + 102 102 == 1.4 Applications == 103 103 104 104 ... ... @@ -132,6 +132,7 @@ 132 132 ))) 133 133 |(% 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. 134 134 142 + 135 135 == 1.7 BLE connection == 136 136 137 137 ... ... @@ -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 == ... ... @@ -238,11 +238,8 @@ 238 238 === 2.3.1 Device Status, FPORT~=5 === 239 239 240 240 241 - Includedeviceconfigurestatus.OnceDS03A-LBJoinedthenetwork,itwilluplink this messageto theserver.After that,DS03A-LB will uplinkDeviceStatusevery 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. 242 242 243 -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. 244 - 245 - 246 246 The Payload format is as below. 247 247 248 248 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -311,7 +311,7 @@ 311 311 === 2.3.2 Sensor Configuration, FPORT~=4 === 312 312 313 313 314 -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. 315 315 316 316 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 317 317 |(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4** ... ... @@ -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 ... ... @@ -753,6 +753,7 @@ 753 753 * 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]]. 754 754 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 755 755 755 + 756 756 == 3.2 General Commands == 757 757 758 758 ... ... @@ -800,39 +800,10 @@ 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 === 804 804 804 +=== 3.3.2 Enable / Disable Alarm === 805 805 806 -Control the output duration 5V . Before each sampling, device will 807 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. 4Alarm Base on Timeout ===823 +=== 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. 5TTRIG1 & TTRIG2 timeout status alarm ===907 +=== 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. 6Count Mod ===936 +=== 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. 7Number of channel of door sensors ===965 +=== 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. 8Set Time Sync Mode ===994 +=== 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. 9Clear 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 === 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. 10Set the count value of the number of open door ===1048 +=== 3.3.9 Set the count value of the number of open door === 1078 1078 1079 1079 1080 1080 (% style="color:blue" %)**AT Command:** ... ... @@ -1130,6 +1130,7 @@ 1130 1130 * (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/]]** 1131 1131 * 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]]**. 1132 1132 1104 + 1133 1133 = 6. FAQ = 1134 1134 1135 1135 ... ... @@ -1157,6 +1157,7 @@ 1157 1157 1158 1158 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1159 1159 1132 + 1160 1160 = 8. Packing Info = 1161 1161 1162 1162 ... ... @@ -1174,6 +1174,7 @@ 1174 1174 1175 1175 * Weight / pcs : g 1176 1176 1150 + 1177 1177 = 9. Support = 1178 1178 1179 1179