<
From version < 35.1 >
edited by Saxer Lin
on 2023/07/10 13:44
To version < 38.3 >
edited by Xiaoling
on 2023/07/19 17:06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Saxer
1 +XWiki.Xiaoling
Content
... ... @@ -80,11 +80,6 @@
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 -
88 88  (% style="color:#037691" %)**LoRa Spec:**
89 89  
90 90  * Frequency Range,  Band 1 (HF): 862 ~~ 1020 Mhz
... ... @@ -175,6 +175,14 @@
175 175  [[image:Main.User Manual for LoRaWAN End Nodes.PS-LB -- LoRaWAN Pressure Sensor.WebHome@1675143909447-639.png]]
176 176  
177 177  
173 +== 1.10 Magnet Distance ==
174 +
175 +
176 +* Wood Door: 10mm ~~ 30mm
177 +* Iron Door: 30 ~~ 45mm
178 +
179 +
180 +
178 178  = 2. Configure DS03A-LB to connect to LoRaWAN network =
179 179  
180 180  == 2.1 How it works ==
... ... @@ -240,8 +240,11 @@
240 240  === 2.3.1 Device Status, FPORT~=5 ===
241 241  
242 242  
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.
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.
244 244  
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 +
245 245  The Payload format is as below.
246 246  
247 247  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -310,7 +310,7 @@
310 310  === 2.3.2  Sensor Configuration, FPORT~=4 ===
311 311  
312 312  
313 -DS03A-LB will only send this command after getting the downlink command (0x26 02) from the server.
319 +DS03A-LB will only send this command after getting the downlink command **(0x26 02)** from the server.
314 314  
315 315  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
316 316  |(% colspan="8" style="background-color:#d9e2f3; color:#0070c0; width:515px" %)**Sensor Configuration FPORT=4**
... ... @@ -801,9 +801,40 @@
801 801  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
802 802  
803 803  
804 -=== 3.3.2  Enable / Disable Alarm ===
810 +=== 3.3.2  Set Power Output Duration ===
805 805  
806 806  
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 +
807 807  Feature: Enable/Disable Alarm for open/close event. Default value 0.
808 808  
809 809  (% style="color:blue" %)**AT Command: **
... ... @@ -820,7 +820,7 @@
820 820  0xA7 00  ~/~/ Same As AT+DISALARM=0
821 821  
822 822  
823 -=== 3.3.3  Alarm Base on Timeout ===
860 +=== 3.3.4  Alarm Base on Timeout ===
824 824  
825 825  
826 826  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:
... ... @@ -904,7 +904,7 @@
904 904  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.
905 905  
906 906  
907 -=== 3.3.4  TTRIG1 & TTRIG2 timeout status alarm ===
944 +=== 3.3.5  TTRIG1 & TTRIG2 timeout status alarm ===
908 908  
909 909  
910 910  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.
... ... @@ -933,7 +933,7 @@
933 933  Example:  0C aa  => AT+TTRALARM= aa
934 934  
935 935  
936 -=== 3.3.5  Count Mod ===
973 +=== 3.3.6  Count Mod ===
937 937  
938 938  
939 939  Feature: Manually set the count mode.
... ... @@ -962,7 +962,7 @@
962 962  Example:  0B aa  => AT+COUNTMOD = second byte
963 963  
964 964  
965 -=== 3.3.6  Number of channel of door sensors ===
1002 +=== 3.3.7  Number of channel of door sensors ===
966 966  
967 967  
968 968  Feature: Set the number of door sensor channels.
... ... @@ -991,7 +991,7 @@
991 991  Example:  0D aa => AT+TTRCHANNEL = second byte
992 992  
993 993  
994 -=== 3.3.7  Set Time Sync Mode ===
1031 +=== 3.3.8  Set Time Sync Mode ===
995 995  
996 996  
997 997  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply to this command.
... ... @@ -1029,7 +1029,7 @@
1029 1029  0x28 00  ~/~/ Same As AT+SYNCMOD=0
1030 1030  
1031 1031  
1032 -=== 3.3.8  Clear the open door times and the duration of the last open door ===
1069 +=== 3.3.9  Clear the open door times and the duration of the last open door ===
1033 1033  
1034 1034  
1035 1035  (% style="color:blue" %)**AT Command:**
... ... @@ -1045,7 +1045,7 @@
1045 1045  The sensor will clear the open door times and the duration of the last open door.
1046 1046  
1047 1047  
1048 -=== 3.3.9  Set the count value of the number of open door ===
1085 +=== 3.3.10  Set the count value of the number of open door ===
1049 1049  
1050 1050  
1051 1051  (% style="color:blue" %)**AT Command:**
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0