<
From version < 4.17 >
edited by Xiaoling
on 2023/05/16 10:16
To version < 14.1 >
edited by Saxer Lin
on 2023/06/30 15:54
>
Change comment: Uploaded new attachment "image-20230630155451-2.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Saxer
Content
... ... @@ -51,8 +51,12 @@
51 51  )))
52 52  
53 53  
54 +[[image:image-20230522092934-2.png||height="346" width="774"]]
55 +
56 +
54 54  == 1.2 ​Features ==
55 55  
59 +
56 56  * LoRaWAN 1.0.3 Class A
57 57  * Ultra-low power consumption
58 58  * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
... ... @@ -67,8 +67,11 @@
67 67  * Wall Mountable
68 68  * Outdoor Use
69 69  
74 +
75 +
70 70  == 1.3 Specification ==
71 71  
78 +
72 72  (% style="color:#037691" %)**Common DC Characteristics:**
73 73  
74 74  * Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v
... ... @@ -99,8 +99,11 @@
99 99  * Sleep Mode: 5uA @ 3.3v
100 100  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
101 101  
109 +
110 +
102 102  == 1.4 Applications ==
103 103  
113 +
104 104  [[image:Main.User Manual for LoRaWAN End Nodes.LDS03A - Outdoor LoRaWAN OpenClose Door Sensor Manual.WebHome@1654741400370-813.png]]
105 105  
106 106  
... ... @@ -131,10 +131,12 @@
131 131  )))
132 132  |(% 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.
133 133  
144 +
145 +
134 134  == 1.7 BLE connection ==
135 135  
136 136  
137 -D2x-LB support BLE remote configure.
149 +DS03A-LB support BLE remote configure.
138 138  
139 139  
140 140  BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
... ... @@ -174,9 +174,11 @@
174 174  
175 175  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. (% style="display:none" %)
176 176  
177 -The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
189 +The LPS8v2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
178 178  
191 +[[image:image-20230522092858-1.png||height="391" width="874"]]
179 179  
193 +
180 180  (% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from DS03A-LB.
181 181  
182 182  Each DS03A-LB is shipped with a sticker with the default device EUI as below:
... ... @@ -223,6 +223,7 @@
223 223  
224 224  === 2.3.1 Device Status, FPORT~=5 ===
225 225  
240 +
226 226  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.
227 227  
228 228  The Payload format is as below.
... ... @@ -235,42 +235,42 @@
235 235  
236 236  Example parse in TTNv3
237 237  
238 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20230415153147-2.png?rev=1.1||alt="图片-20230415153147-2.png" height="209" width="1063"]]
253 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS03A%20-%20Outdoor%20LoRaWAN%20OpenClose%20Door%20Sensor%20Manual/WebHome/image-20220609104802-1.png?rev=1.1||alt="image-20220609104802-1.png" height="393" width="1195"]]
239 239  
240 240  
241 -(% style="color:#037691" %)**Sensor Model**(%%): For DS03A-LB, this value is 0x0B
256 +(% style="color:#037691" %)**Sensor Model**(%%): For DS03A-LB, this value is 0x1B
242 242  
243 243  (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
244 244  
245 245  (% style="color:#037691" %)**Frequency Band**:
246 246  
247 -*0x01: EU868
262 +0x01: EU868
248 248  
249 -*0x02: US915
264 +0x02: US915
250 250  
251 -*0x03: IN865
266 +0x03: IN865
252 252  
253 -*0x04: AU915
268 +0x04: AU915
254 254  
255 -*0x05: KZ865
270 +0x05: KZ865
256 256  
257 -*0x06: RU864
272 +0x06: RU864
258 258  
259 -*0x07: AS923
274 +0x07: AS923
260 260  
261 -*0x08: AS923-1
276 +0x08: AS923-1
262 262  
263 -*0x09: AS923-2
278 +0x09: AS923-2
264 264  
265 -*0x0a: AS923-3
280 +0x0a: AS923-3
266 266  
267 -*0x0b: CN470
282 +0x0b: CN470
268 268  
269 -*0x0c: EU433
284 +0x0c: EU433
270 270  
271 -*0x0d: KR920
286 +0x0d: KR920
272 272  
273 -*0x0e: MA869
288 +0x0e: MA869
274 274  
275 275  
276 276  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -301,20 +301,23 @@
301 301  
302 302  Uplink Payload totals 11 bytes.
303 303  
304 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
305 -|=(% colspan="5" style="background-color: rgb(217, 226, 243); color: rgb(0, 112, 192); width: 522px;" %)**Real-Time Open/Close Status, FPORT=2**
306 -|(% style="width:95px" %)**Size(bytes)**|(% style="width:78px" %)**1**|(% style="width:98px" %)**3**|(% style="width:144px" %)**3**|(% style="width:108px" %)**4**
319 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
320 +|=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0;width:515px" %)**Real-Time Open/Close Status, FPORT=2**
321 +|(% style="width:94px" %)**Size(bytes)**|(% style="width:77px" %)**1**|(% style="width:97px" %)**3**|(% style="width:143px" %)**3**|(% style="width:107px" %)**4**
307 307  |(% style="width:95px" %)**Value**|(% style="width:78px" %)Status & [[Alarm>>||anchor="H3.3.4A0AlarmBaseonTimeout"]]|(% style="width:98px" %)Total open door events|(% style="width:144px" %)(((
308 308  The last door open duration (unit: min)
309 309  )))|(% style="width:108px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]]
310 310  
326 +**Status & Alarm:**
311 311  
312 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:518.818px" %)
313 -|=(% colspan="4" style="background-color: rgb(217, 226, 243); color: rgb(0, 112, 192); width: 516px;" %)**Status & Alarm field**
314 -|(% style="width:76px" %)**Size(bit)**|(% style="width:70px" %)**6**|(% style="width:240px" %)**1**|(% style="width:130px" %)**1**
315 -|(% style="width:76px" %)**Value**|(% style="width:70px" %)Reserve|(% style="width:240px" %)[[Enable/disable Timeout Alarm>>||anchor="H3.3.3A0Enable2FDisableAlarm"]]
316 -0: No Alarm; 1: Alarm|(% style="width:130px" %)Status
317 -0: Close, 1: Open
328 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
329 +|(% style="background-color:#d9e2f3; color:#0070c0; width:59px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:79px" %)**bit7**|(% style="background-color:#d9e2f3; color:#0070c0; width:79px" %)**bit6**|(% style="background-color:#d9e2f3; color:#0070c0; width:59px" %)**[bit5:bit2]**|(% style="background-color:#d9e2f3; color:#0070c0; width:129px" %)**bit1**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**bit0**
330 +|(% style="width:76px" %)**Value**|(% style="width:79px" %)(((
331 +No ACK Message
332 +)))|(% style="width:84px" %)(((
333 +Poll Message Flag
334 +)))|(% style="width:96px" %)Reserve|(% style="width:197px" %)[[Enable/disable Timeout Alarm>>||anchor="H3.3.3A0Enable2FDisableAlarm"]]
335 +0: No Alarm; 1: Alarm|(% style="width:104px" %)Status 0: Close, 1: Open
318 318  
319 319  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS03A%20-%20Outdoor%20LoRaWAN%20OpenClose%20Door%20Sensor%20Manual/WebHome/image-20220609110547-6.png?width=1191&height=337&rev=1.1||alt="image-20220609110547-6.png" height="337" width="1191"]]
320 320  
... ... @@ -332,17 +332,20 @@
332 332  
333 333  For example, in the US915 band, the max payload for different DR is:
334 334  
335 -1. (((
336 -**DR0**: max is 11 bytes so one entry of data
353 +(((
354 +**~1. DR0**: max is 11 bytes so one entry of data
337 337  )))
338 -1. (((
339 -**DR1**: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
356 +
357 +(((
358 +**2. DR1**: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
340 340  )))
341 -1. (((
342 -**DR2**: total payload includes 11 entries of data
360 +
361 +(((
362 +**3. DR2**: total payload includes 11 entries of data
343 343  )))
344 -1. (((
345 -**DR3**: total payload includes 22 entries of data.
364 +
365 +(((
366 +**4. DR3**: total payload includes 22 entries of data.
346 346  )))
347 347  
348 348  If DS03A-LB doesn't have any data in the polling time. It will uplink 11 bytes of 0
... ... @@ -531,11 +531,9 @@
531 531  == 2.8 ​Firmware Change Log ==
532 532  
533 533  
534 -**Firmware download link:**
555 +**Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/b0uwyzjs4px4eao/AADvI7fPRwsFKTglEmaRRuaaa?dl=0>>https://www.dropbox.com/sh/b0uwyzjs4px4eao/AADvI7fPRwsFKTglEmaRRuaaa?dl=0]]
535 535  
536 -[[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
537 537  
538 -
539 539  = 3. Configure DS03A-LB =
540 540  
541 541  == 3.1 Configure Methods: ==
... ... @@ -547,8 +547,11 @@
547 547  * 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]].
548 548  * LoRaWAN Downlink.  Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
549 549  
569 +
570 +
550 550  == 3.2 General Commands ==
551 551  
573 +
552 552  These commands are to configure:
553 553  
554 554  * General system settings like: uplink interval.
... ... @@ -573,7 +573,7 @@
573 573  (% style="color:blue" %)**AT Command: AT+TDC**
574 574  
575 575  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
576 -|=(% style="width: 156px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3" %)**Function**|=(% style="background-color:#D9E2F3" %)**Response**
598 +|=(% style="width: 156px;background-color:#D9E2F3; color:#0070c0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3; color:#0070c0" %)**Function**|=(% style="background-color:#D9E2F3; color:#0070c0" %)**Response**
577 577  |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
578 578  30000
579 579  OK
... ... @@ -593,6 +593,8 @@
593 593  * Example 1: Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
594 594  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
595 595  
618 +
619 +
596 596  === 3.3.2 Get Device Status ===
597 597  
598 598  
... ... @@ -682,7 +682,7 @@
682 682  (% style="color:blue" %)**AT Command:**
683 683  
684 684  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
685 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 277px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response**
709 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 277px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 88px;background-color:#D9E2F3;color:#0070C0" %)**Response**
686 686  |(% style="width:155px" %)(((
687 687  AT+COUNTMOD=0
688 688  )))|(% style="width:277px" %)(((
... ... @@ -713,7 +713,7 @@
713 713  |(% style="width:155px" %)(((
714 714  AT+TTRCHANNEL=1
715 715  )))|(% style="width:288px" %)(((
716 -set as single channel, only use PB14 pin as interrupt pin.
740 +set as single channel, only use PA8 pin as interrupt pin.
717 717  )))|(% style="width:44px" %)(((
718 718  OK
719 719  )))
... ... @@ -720,7 +720,7 @@
720 720  |(% style="width:155px" %)(((
721 721  AT+TTRCHANNEL=2
722 722  )))|(% style="width:288px" %)(((
723 -is set as dual channel, use PB14 pin and PB15 pin as interrupt pin.
747 +is set as dual channel, use PA8 pin and PA4 pin as interrupt pin.
724 724  )))|(% style="width:44px" %)(((
725 725  OK
726 726  )))
... ... @@ -775,32 +775,6 @@
775 775  Example:  0C aa  => AT+TTRALARM= aa
776 776  
777 777  
778 -=== 3.3.9  Select counting mode ===
779 -
780 -
781 -(% style="color:blue" %)**AT+TTRMODx=a,b**
782 -
783 -When (% style="color:#037691" %)**a=0**(%%), the door is opened to count, and when (% style="color:#037691" %)**a=1**(%%),the closed door is counted.
784 -
785 -When (% style="color:#037691" %)**b=0**(%%), it is the last door open duration, and when (% style="color:#037691" %)**b=1**(%%),the last door close duration.
786 -
787 -(% style="color:blue" %)**AT Command:**
788 -
789 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
790 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 278px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 85px;background-color:#D9E2F3;color:#0070C0" %)**Response**
791 -|(% style="width:155px" %)(((
792 -AT+TTRMODx=1,0
793 -)))|(% style="width:278px" %)Door closed count and record the last door opened duration|(% style="width:85px" %)(((
794 -OK
795 -)))
796 -|(% style="width:155px" %)(((
797 -AT+TTRMODx=0,1
798 -)))|(% style="width:278px" %)(((
799 -Door opened count and record the last door Door Door open closed duration
800 -)))|(% style="width:85px" %)(((
801 -OK
802 -)))
803 -
804 804  = 4. Battery & Power Consumption =
805 805  
806 806  
... ... @@ -821,11 +821,13 @@
821 821  Firmware and changelog can be downloaded from : **[[Firmware download link>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]]**
822 822  
823 823  
824 -Methods to Update Firmware:
822 +**Methods to Update Firmware:**
825 825  
826 -* (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/]]
827 -* 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]]**.
824 +* (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/]]**
825 +* 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]]**.
828 828  
827 +
828 +
829 829  = 6. FAQ =
830 830  
831 831  
... ... @@ -853,6 +853,8 @@
853 853  
854 854  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
855 855  
856 +
857 +
856 856  = 8. ​Packing Info =
857 857  
858 858  
... ... @@ -870,6 +870,8 @@
870 870  
871 871  * Weight / pcs : g
872 872  
875 +
876 +
873 873  = 9. Support =
874 874  
875 875  
image-20230522092858-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +156.5 KB
Content
image-20230522092934-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +156.5 KB
Content
image-20230522093256-3.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +34.5 KB
Content
image-20230630155406-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +41.8 KB
Content
image-20230630155451-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +77.2 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0