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)
-
Attachments (0 modified, 0 added, 2 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
-
... ... @@ -1,18 +3,9 @@ 1 -(% style="display:none" %) (%%) 2 - 3 3 (% style="text-align:center" %) 4 -[[image:image-202 40108161155-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 ... ... @@ -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 82 +(% style="color:#037691" %)**Sensor Detect Distance:** 83 + 84 +* Wood Door: 10mm ~~ 30mm 85 +* Iron Door: 30 ~~ 45mm 86 + 91 91 (% style="color:#037691" %)**LoRa Spec:** 92 92 93 93 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz ... ... @@ -160,7 +160,6 @@ 160 160 161 161 [[image:image-20230630160843-7.png]] 162 162 163 - 164 164 == 1.9 Mechanical == 165 165 166 166 ... ... @@ -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,13 +247,11 @@ 247 247 === 2.3.1 Device Status, FPORT~=5 === 248 248 249 249 250 - 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. 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 243 + 257 257 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 258 258 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 259 259 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** ... ... @@ -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.310 +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** ... ... @@ -335,11 +335,6 @@ 335 335 Alarm interval(unit: min) 336 336 ))) 337 337 338 -Example parse in TTNv3 339 - 340 -[[image:image-20230630155527-3.png||height="146" width="902"]] 341 - 342 - 343 343 * ((( 344 344 (% style="color:blue" %)**TDC: (default: 0x001C20)** 345 345 ))) ... ... @@ -365,6 +365,7 @@ 365 365 366 366 Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.3.3A0AlarmBaseonTimeout"]] 367 367 350 +[[image:image-20230630155527-3.png||height="146" width="902"]] 368 368 369 369 370 370 * ((( ... ... @@ -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" %)((( 383 +|(% 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 ... ... @@ -412,9 +412,9 @@ 412 412 (% style="color:blue" %)**Count mod:Default=0** 413 413 ))) 414 414 415 -0 :Uplink total open door times since factory398 +MOD=0 ~-~-> Uplink total open door times since factory 416 416 417 -1 :Uplink total open door times since last FPORT=2 uplink.400 +MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink. 418 418 419 419 420 420 * (% style="color:blue" %)**TDC flag** ... ... @@ -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" %)((( 465 +|(% 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" %)((( 477 +|(% 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) ... ... @@ -504,9 +504,9 @@ 504 504 (% style="color:blue" %)**Count mod:Default=0** 505 505 ))) 506 506 507 -0 :Uplink total open door times since factory490 +MOD=0 ~-~-> Uplink total open door times since factory 508 508 509 -1 :Uplink total open door times since last FPORT=2 uplink.492 +MOD=1 ~-~-> Uplink total open door times since last FPORT=2 uplink. 510 510 511 511 512 512 * (% style="color:blue" %)**TDC flag** ... ... @@ -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" %)((( 556 +|(% 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 ... ... @@ -809,39 +809,9 @@ 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 SetPowerOutputDuration===795 +=== 3.3.2 Enable / Disable Alarm === 813 813 814 814 815 -Control the output duration 5V . Before each sampling, device will 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. 4Alarm Base on Timeout ===814 +=== 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. 5TTRIG1 & TTRIG2 timeout status alarm ===898 +=== 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. 6Count Mod ===927 +=== 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. 7Number of channel of door sensors ===956 +=== 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. 8Set Time Sync Mode ===985 +=== 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. 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 === 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. 10Set the count value of the number of open door ===1039 +=== 3.3.9 Set the count value of the number of open door === 1087 1087 1088 1088 1089 1089 (% 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
- image-20240108161155-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -265.7 KB - Content