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 (2 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 - 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 ... ... @@ -151,7 +151,6 @@ 151 151 152 152 [[image:image-20230630160843-7.png]] 153 153 154 - 155 155 == 1.9 Mechanical == 156 156 157 157 ... ... @@ -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,13 +238,11 @@ 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.239 +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 243 + 248 248 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 249 249 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 250 250 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** ... ... @@ -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.310 +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** ... ... @@ -326,11 +326,6 @@ 326 326 Alarm interval(unit: min) 327 327 ))) 328 328 329 -Example parse in TTNv3 330 - 331 -[[image:image-20230630155527-3.png||height="146" width="902"]] 332 - 333 - 334 334 * ((( 335 335 (% style="color:blue" %)**TDC: (default: 0x001C20)** 336 336 ))) ... ... @@ -356,6 +356,7 @@ 356 356 357 357 Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.3.3A0AlarmBaseonTimeout"]] 358 358 350 +[[image:image-20230630155527-3.png||height="146" width="902"]] 359 359 360 360 361 361 * ((( ... ... @@ -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" %)((( 383 +|(% 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 ... ... @@ -403,9 +403,9 @@ 403 403 (% style="color:blue" %)**Count mod:Default=0** 404 404 ))) 405 405 406 -0 :Uplink total open door times since factory398 +MOD=0 ~-~-> Uplink total open door times since factory 407 407 408 -1 :Uplink total open door times since last FPORT=2 uplink.400 +MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink. 409 409 410 410 411 411 * (% style="color:blue" %)**TDC flag** ... ... @@ -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" %)((( 465 +|(% 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" %)((( 477 +|(% 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) ... ... @@ -495,9 +495,9 @@ 495 495 (% style="color:blue" %)**Count mod:Default=0** 496 496 ))) 497 497 498 -0 :Uplink total open door times since factory490 +MOD=0 ~-~-> Uplink total open door times since factory 499 499 500 -1 :Uplink total open door times since last FPORT=2 uplink.492 +MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink. 501 501 502 502 503 503 * (% style="color:blue" %)**TDC flag** ... ... @@ -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" %)((( 556 +|(% 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 SetPowerOutputDuration===795 +=== 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. 4Alarm Base on Timeout ===814 +=== 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 ===898 +=== 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 ===927 +=== 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 ===956 +=== 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 ===985 +=== 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 ===1023 +=== 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 ===1039 +=== 3.3.9 Set the count value of the number of open door === 1078 1078 1079 1079 1080 1080 (% style="color:blue" %)**AT Command:**