<
From version < 38.3 >
edited by Xiaoling
on 2023/07/19 17:06
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -80,6 +80,11 @@
80 80  * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v
81 81  * Operating Temperature: -40 ~~ 85°C
82 82  
83 +(% style="color:#037691" %)**Sensor Detect Distance:**
84 +
85 +* Wood Door: 10mm ~~ 30mm
86 +* Iron Door: 30 ~~ 45mm
87 +
83 83  (% style="color:#037691" %)**LoRa Spec:**
84 84  
85 85  * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
... ... @@ -170,14 +170,6 @@
170 170  [[image:Main.User Manual for LoRaWAN End Nodes.PS-LB -- LoRaWAN Pressure Sensor.WebHome@1675143909447-639.png]]
171 171  
172 172  
173 -== 1.10 Magnet Distance ==
174 -
175 -
176 -* Wood Door: 10mm ~~ 30mm
177 -* Iron Door: 30 ~~ 45mm
178 -
179 -
180 -
181 181  = 2. Configure DS03A-LB to connect to LoRaWAN network =
182 182  
183 183  == 2.1 How it works ==
... ... @@ -243,11 +243,8 @@
243 243  === 2.3.1 Device Status, FPORT~=5 ===
244 244  
245 245  
246 -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.
247 247  
248 -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.
249 -
250 -
251 251  The Payload format is as below.
252 252  
253 253  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -316,7 +316,7 @@
316 316  === 2.3.2  Sensor Configuration, FPORT~=4 ===
317 317  
318 318  
319 -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.
320 320  
321 321  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
322 322  |(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4**
... ... @@ -807,40 +807,9 @@
807 807  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
808 808  
809 809  
810 -=== 3.3.2  Set Power Output Duration ===
804 +=== 3.3.2  Enable / Disable Alarm ===
811 811  
812 812  
813 -Control the output duration 5V . Before each sampling, device will
814 -
815 -~1. first enable the power output to external sensor,
816 -
817 -2. keep it on as per duration, read sensor value and construct uplink payload
818 -
819 -3. final, close the power output.
820 -
821 -(% style="color:blue" %)**AT Command: AT+5VT**
822 -
823 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
824 -|=(% 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**
825 -|(% style="width:156px" %)AT+5VT=?|(% style="width:204px" %)Show 5V open time.|(% style="width:149px" %)0 (default)
826 -OK
827 -|(% style="width:156px" %)AT+5VT=500|(% style="width:204px" %)Close after a delay of 500 milliseconds.|(% style="width:149px" %)(((
828 -OK
829 -
830 -)))
831 -
832 -(% style="color:blue" %)**Downlink Command: 0x07**(%%)
833 -Format: Command Code (0x07) followed by 2 bytes.
834 -
835 -The first and second bytes are the time to turn on.
836 -
837 -* Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
838 -* Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
839 -
840 -
841 -=== 3.3.3  Enable / Disable Alarm ===
842 -
843 -
844 844  Feature: Enable/Disable Alarm for open/close event. Default value 0.
845 845  
846 846  (% style="color:blue" %)**AT Command: **
... ... @@ -857,7 +857,7 @@
857 857  0xA7 00  ~/~/ Same As AT+DISALARM=0
858 858  
859 859  
860 -=== 3.3.4  Alarm Base on Timeout ===
823 +=== 3.3.3  Alarm Base on Timeout ===
861 861  
862 862  
863 863  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:
... ... @@ -941,7 +941,7 @@
941 941  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.
942 942  
943 943  
944 -=== 3.3.5  TTRIG1 & TTRIG2 timeout status alarm ===
907 +=== 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
945 945  
946 946  
947 947  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.
... ... @@ -970,7 +970,7 @@
970 970  Example:  0C aa  => AT+TTRALARM= aa
971 971  
972 972  
973 -=== 3.3.6  Count Mod ===
936 +=== 3.3.5  Count Mod ===
974 974  
975 975  
976 976  Feature: Manually set the count mode.
... ... @@ -999,7 +999,7 @@
999 999  Example:  0B aa  => AT+COUNTMOD = second byte
1000 1000  
1001 1001  
1002 -=== 3.3.7  Number of channel of door sensors ===
965 +=== 3.3.6  Number of channel of door sensors ===
1003 1003  
1004 1004  
1005 1005  Feature: Set the number of door sensor channels.
... ... @@ -1028,7 +1028,7 @@
1028 1028  Example:  0D aa => AT+TTRCHANNEL = second byte
1029 1029  
1030 1030  
1031 -=== 3.3.8  Set Time Sync Mode ===
994 +=== 3.3.7  Set Time Sync Mode ===
1032 1032  
1033 1033  
1034 1034  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
... ... @@ -1066,7 +1066,7 @@
1066 1066  0x28 00  ~/~/ Same As AT+SYNCMOD=0
1067 1067  
1068 1068  
1069 -=== 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 ===
1070 1070  
1071 1071  
1072 1072  (% style="color:blue" %)**AT Command:**
... ... @@ -1082,7 +1082,7 @@
1082 1082  The sensor will clear the open door times and the duration of the last open door.
1083 1083  
1084 1084  
1085 -=== 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 ===
1086 1086  
1087 1087  
1088 1088  (% style="color:blue" %)**AT Command:**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0