Changes for page LDS02 - LoRaWAN Door Sensor User Manual
Last modified by Edwin Chen on 2024/02/14 18:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -23,7 +23,6 @@ 23 23 24 24 = 1. Introduction = 25 25 26 - 27 27 == 1.1 What is LDS02 LoRaWAN Door Sensor == 28 28 29 29 ... ... @@ -57,7 +57,6 @@ 57 57 58 58 == 1.2 Features == 59 59 60 - 61 61 * LoRaWAN Class A v1.0.3 62 62 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865/RU864 63 63 * SX1262 LoRa Core ... ... @@ -69,9 +69,9 @@ 69 69 * Firmware upgradable via program port 70 70 71 71 70 + 72 72 == 1.3 Applications == 73 73 74 - 75 75 * Smart Buildings & Home Automation 76 76 * Logistics and Supply Chain Management 77 77 * Smart Metering ... ... @@ -80,9 +80,9 @@ 80 80 * Smart Factory 81 81 82 82 81 + 83 83 == 1.4 Dimension == 84 84 85 - 86 86 Unit: mm 87 87 88 88 [[image:1654680563545-120.png]] ... ... @@ -91,28 +91,26 @@ 91 91 [[image:1654680510816-654.png]] 92 92 93 93 94 - 95 95 == 1.5 Firmware Change log == 96 96 97 - 98 98 ((( 99 99 ((( 100 -LDS02 use the same firmware as LDS01 :[[LDS02 Image files – Download link>>https://www.dropbox.com/sh/9j35mnsxnz0y3ye/AACj5gHGOURGEHCpj-E861Mua?dl=0]]96 +LDS02 use the same firmware as LDS01. 101 101 ))) 98 + 99 +((( 100 +[[LDS02 Image files – Download link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Firmware/]] 102 102 ))) 102 +))) 103 103 104 104 105 - 106 106 = 2. Power ON LDS02 = 107 107 108 - 109 109 When receive the LDS02, please open the enclosure and add 2 x AAA batteries to power it. The [[LED>>||anchor="H4.7LEDs"]] will blink when device is powered. 110 110 111 111 112 - 113 113 = 3. How to install LDS02 = 114 114 115 - 116 116 ((( 117 117 ((( 118 118 When install the LDS02 on wall. Please make sure install as below so the marks will close to each other when close the door. ... ... @@ -120,8 +120,6 @@ 120 120 121 121 ((( 122 122 Open/Close threshold range: ~~ 25mm 123 - 124 - 125 125 ))) 126 126 ))) 127 127 ... ... @@ -131,10 +131,8 @@ 131 131 132 132 = 4. Operation Mode = 133 133 134 - 135 135 == 4.1 How it works? == 136 136 137 - 138 138 ((( 139 139 The LDS02 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and [[power on>>||anchor="H2.PowerONLDS02"]] the LDS02. It will auto join the network via OTAA. 140 140 ))) ... ... @@ -144,10 +144,8 @@ 144 144 ))) 145 145 146 146 147 - 148 148 == 4.2 Example to join LoRaWAN network == 149 149 150 - 151 151 Here shows an example for how to join the [[TTN V3 Network>>url:https://eu1.cloud.thethings.network/]]. Below is the network structure, we use [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway here. 152 152 153 153 [[image:1654680810108-149.png]] ... ... @@ -169,8 +169,6 @@ 169 169 170 170 ((( 171 171 The LG308 is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. What we need to now is only configure the TTN V3: 172 - 173 - 174 174 ))) 175 175 ))) 176 176 ... ... @@ -207,7 +207,6 @@ 207 207 [[image:1654671889112-678.png]] 208 208 209 209 210 - 211 211 ((( 212 212 (% style="color:blue" %)**Step 2**(%%): **[[Power on>>||anchor="H2.PowerONLDS02"]]** LDS02 and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel. 213 213 ))) ... ... @@ -224,17 +224,16 @@ 224 224 225 225 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:480px" %) 226 226 |=(% style="width: 80px;" %)**Size(bytes)**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 80px;" %)**3**|=(% style="width: 80px;" %)**3**|=(% style="width: 80px;" %)**1** 227 -| **value**|Status&BAT|(((214 +|value|Status&BAT|((( 228 228 MOD 216 + 229 229 Always:0x01 230 230 )))|Total open door events|((( 231 231 Last door open 220 + 232 232 duration (unit: min) 233 233 )))|[[Alarm>>||anchor="H4.6AlarmBaseonTimeout"]] 234 234 235 - 236 - 237 - 238 238 **Example:** 239 239 240 240 [[image:1654681706301-731.png]] ... ... @@ -243,12 +243,10 @@ 243 243 244 244 245 245 ((( 246 -Example Payload Decoder in TTN V3: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 247 - 248 - 249 - 232 +Example Payload Decoder in TTN V3: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS02/Payload/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDS01/Payload/]] 250 250 ))) 251 251 235 + 252 252 == 4.4 Downlink Payload == 253 253 254 254 ... ... @@ -331,10 +331,8 @@ 331 331 See [[Alarm Base Timeout>>||anchor="H4.6AlarmBaseonTimeout"]] for detail. 332 332 333 333 334 - 335 335 == 4.5 Integrate with Datacake == 336 336 337 - 338 338 ((( 339 339 ((( 340 340 Datacake provides a human friendly interface to show the sensor data, once we have data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: ... ... @@ -370,10 +370,8 @@ 370 370 [[image:1654674556510-911.png]] 371 371 372 372 373 - 374 374 == 4.6 Alarm Base on Timeout == 375 375 376 - 377 377 ((( 378 378 ((( 379 379 LDS02 can monitor the timeout for a status change, this feature can be used to monitor some event such as open fridge too long etc. ... ... @@ -392,13 +392,13 @@ 392 392 393 393 ((( 394 394 ((( 395 -(% style="color:blue" %)**AT Command**(%%) **to configure:**375 +(% style="color:blue" %)**AT Command**(%%) to configure: 396 396 ))) 397 397 ))) 398 398 399 399 * ((( 400 400 ((( 401 - (% style="color:red" %)**AT+TTRIG=1,30 **(%%)381 +**AT+TTRIG=1,30 ** **~-~->** When status change from close to open, and device keep in open 402 402 ))) 403 403 ))) 404 404 ... ... @@ -410,7 +410,7 @@ 410 410 411 411 * ((( 412 412 ((( 413 - (% style="color:red" %)**AT+TTRIG=0,0**(%%)393 +**AT+TTIG=0,0** **~-~->** Default Value, disable timeout Alarm. 414 414 ))) 415 415 ))) 416 416 ... ... @@ -418,13 +418,13 @@ 418 418 ((( 419 419 420 420 421 -(% style="color:blue" %)**Downlink Command**(%%) **to configure:**401 +(% style="color:blue" %)**Downlink Command**(%%) to configure: 422 422 ))) 423 423 ))) 424 424 425 425 ((( 426 426 ((( 427 -**Command: (% style="color:red" %)0xA9 aa bb cc(%%)**407 +**Command: 0xA9 aa bb cc** 428 428 ))) 429 429 ))) 430 430 ... ... @@ -483,16 +483,14 @@ 483 483 |(% style="width:184px" %)Got a downlink message|(% style="width:275px" %)(% style="color:blue" %)**BLUE LED**(%%) blinks once 484 484 485 485 466 + 486 486 = 5. Battery & How to replace = 487 487 488 - 489 489 == 5.1 Battery Type and replace == 490 490 491 - 492 492 ((( 493 493 LDS02 is equipped with 2 x AAA LR03 batteries. If the batteries running low (shows 2.1v in the platform). User can buy generic AAA battery and replace it. 494 494 495 - 496 496 (% style="color:red" %)**Note:** 497 497 498 498 1. The LDS02 doesn't have any screw, use can use nail to open it by the middle. ... ... @@ -514,10 +514,8 @@ 514 514 [[image:1654675278044-307.png]] 515 515 516 516 517 - 518 518 == 5.2 Power Consumption Analyze == 519 519 520 - 521 521 ((( 522 522 Dragino battery powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimate battery life: 523 523 ))) ... ... @@ -527,16 +527,12 @@ 527 527 ))) 528 528 529 529 530 - 531 531 = 6. Use AT Command = 532 532 533 - 534 534 == 6.1 Access AT Command == 535 535 536 - 537 537 LDS02 supports AT Command set. User can use a USB to TTL adapter to configure LDS02 via use AT command, as below. 538 538 539 - 540 540 [[image:image-20220609085453-1.png]] 541 541 542 542 ... ... @@ -565,7 +565,7 @@ 565 565 ))) 566 566 567 567 ((( 568 -When entering the first command, the (% style="color:red" %)**RED LED**(%%) will on and user can now input AT Commands. After input all needed AT Commands, please input **AT+CLPM=1**to set the device to work in Low Power mode and (% style="color:red" %)**RED LED**(%%) will be off.540 +When entering the first command, the (% style="color:red" %)**RED LED**(%%) will on and user can now input AT Commands. After input all needed AT Commands, please input AT+CLPM=1 to set the device to work in Low Power mode and (% style="color:red" %)**RED LED**(%%) will be off. 569 569 ))) 570 570 571 571 ((( ... ... @@ -573,48 +573,39 @@ 573 573 ))) 574 574 575 575 576 - 577 577 = 7. FAQ = 578 578 579 - 580 580 == 7.1 How to upgrade the image? == 581 581 582 - 583 583 User can upgrade the of LDS02 for bug fix, new features, or change working region. The upgrade instruction is here: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]] 584 584 585 585 586 - 587 587 == 7.2 How to change the LoRa Frequency Bands/Region? == 588 588 589 - 590 590 If user has for example US915 frequency and want to change it to AS923 frequency. User can follow the introduction for [[how to upgrade image>>||anchor="H7.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 591 591 592 592 593 - 594 594 == 7.3 Can I disable uplink for each event to save battery life? == 595 595 596 - 597 597 Yes, User can use below method to disable this: 598 598 599 599 600 -(% style="color:b lue" %)**via AT Command**:565 +(% style="color:#4f81bd" %)**via AT Command**: 601 601 602 - (% style="color:red" %)**AT+DISALARM=1**(%%), End node will only send packet in TDC time.567 +AT+DISALARM=1, End node will only send packet in TDC time. 603 603 604 - (% style="color:red" %)**AT+DISALARM=0**(%%), End node will send packet in TDC time or status change for door sensor.569 +AT+DISALARM=0, End node will send packet in TDC time or status change for door sensor. 605 605 606 606 607 -(% style="color:b lue" %)**via LoRaWAN downlink Command**:572 +(% style="color:#4f81bd" %)**via LoRaWAN downlink Command**: 608 608 609 - (% style="color:red" %)**0xA701**(%%): Equal to AT+DISALARM=1574 +0xA701 : Equal to AT+DISALARM=1 610 610 611 - (% style="color:red" %)**0xA700**(%%): Equal to AT+DISALARM=0576 +0xA700 : Equal to AT+DISALARM=0 612 612 613 613 614 - 615 615 = 8. Order Info = 616 616 617 - 618 618 **Part Number: (% style="color:blue" %)LDS02-XXX(%%)** 619 619 620 620 (% style="color:blue" %)**XXX:** ... ... @@ -633,7 +633,6 @@ 633 633 634 634 = 9. Packing Info = 635 635 636 - 637 637 ((( 638 638 **Package Includes**: 639 639 ))) ... ... @@ -650,13 +650,11 @@ 650 650 Device Size: 69.2 x 29.2 x 14.8 mm 651 651 652 652 653 - 654 654 655 655 ))) 656 656 657 657 = 10. Support = 658 658 659 - 660 660 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 661 661 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]. 662 662