Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -55,6 +55,7 @@ 55 55 * 8500mAh Battery for long term use 56 56 57 57 58 + 58 58 == 1.3 Specification == 59 59 60 60 ... ... @@ -101,6 +101,7 @@ 101 101 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 102 102 103 103 105 + 104 104 == 1.4 Applications == 105 105 106 106 ... ... @@ -113,6 +113,7 @@ 113 113 * Sewer 114 114 115 115 118 + 116 116 (% style="display:none" %) 117 117 118 118 == 1.5 Sleep mode and working mode == ... ... @@ -143,6 +143,7 @@ 143 143 |(% 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. 144 144 145 145 149 + 146 146 == 1.7 BLE connection == 147 147 148 148 ... ... @@ -257,8 +257,6 @@ 257 257 258 258 Example parse in TTNv3 259 259 260 -[[image:image-20230805103904-1.png||height="131" width="711"]] 261 - 262 262 (% style="color:blue" %)**Sensor Model**(%%): For LDS12-LB, this value is 0x24 263 263 264 264 (% style="color:blue" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version ... ... @@ -314,11 +314,11 @@ 314 314 315 315 316 316 ((( 317 -LDS12-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And LDS12-LB will: 319 +LDS12-LB will uplink payload via LoRaWAN with below payload format: 320 +))) 318 318 319 -periodically send this uplink every 20 minutes, this interval [[can be changed>>https://111]]. 320 - 321 -Uplink Payload totals 11 bytes. 322 +((( 323 +Uplink payload includes in total 11 bytes. 322 322 ))) 323 323 324 324 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -333,7 +333,7 @@ 333 333 [[Message Type>>||anchor="HMessageType"]] 334 334 ))) 335 335 336 -[[image:i mage-20230805104104-2.png||height="136" width="754"]]338 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654833689380-972.png?rev=1.1||alt="1654833689380-972.png"]] 337 337 338 338 339 339 ==== (% style="color:blue" %)**Battery Info**(%%) ==== ... ... @@ -424,6 +424,7 @@ 424 424 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.ConfigureLDS12-LB"]] 425 425 426 426 429 + 427 427 === 2.3.3 Decode payload in The Things Network === 428 428 429 429 ... ... @@ -441,9 +441,15 @@ 441 441 ))) 442 442 443 443 444 -== 2.4 Show DatainDataCakeIoT Server==447 +== 2.4 Uplink Interval == 445 445 446 446 450 +The LDS12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>||anchor="H3.3.1SetTransmitIntervalTime"]] 451 + 452 + 453 +== 2.5 Show Data in DataCake IoT Server == 454 + 455 + 447 447 ((( 448 448 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: 449 449 ))) ... ... @@ -476,13 +476,13 @@ 476 476 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220610165129-11.png?width=1088&height=595&rev=1.1||alt="image-20220610165129-11.png"]] 477 477 478 478 479 -== 2. 5Datalog Feature ==488 +== 2.6 Datalog Feature == 480 480 481 481 482 482 Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LDS12-LB will store the reading for future retrieving purposes. 483 483 484 484 485 -=== 2. 5.1 Ways to get datalog via LoRaWAN ===494 +=== 2.6.1 Ways to get datalog via LoRaWAN === 486 486 487 487 488 488 Set PNACKMD=1, LDS12-LB will wait for ACK for every uplink, when there is no LoRaWAN network,LDS12-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. ... ... @@ -499,7 +499,7 @@ 499 499 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]] 500 500 501 501 502 -=== 2. 5.2 Unix TimeStamp ===511 +=== 2.6.2 Unix TimeStamp === 503 503 504 504 505 505 LDS12-LB uses Unix TimeStamp format based on ... ... @@ -516,7 +516,7 @@ 516 516 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 517 517 518 518 519 -=== 2. 5.3 Set Device Time ===528 +=== 2.6.3 Set Device Time === 520 520 521 521 522 522 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. ... ... @@ -526,7 +526,7 @@ 526 526 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 527 527 528 528 529 -=== 2. 5.4 Poll sensor value ===538 +=== 2.6.4 Poll sensor value === 530 530 531 531 532 532 Users can poll sensor values based on timestamps. Below is the downlink command. ... ... @@ -553,7 +553,7 @@ 553 553 ))) 554 554 555 555 556 -== 2. 6Frequency Plans ==565 +== 2.7 Frequency Plans == 557 557 558 558 559 559 The LDS12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. ... ... @@ -561,9 +561,9 @@ 561 561 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 562 562 563 563 564 -== 2. 7LiDAR ToF Measurement ==573 +== 2.8 LiDAR ToF Measurement == 565 565 566 -=== 2. 7.1 Principle of Distance Measurement ===575 +=== 2.8.1 Principle of Distance Measurement === 567 567 568 568 569 569 The LiDAR probe is based on TOF, namely, Time of Flight principle. To be specific, the product emits modulation wave of near infrared ray on a periodic basis, which will be reflected after contacting object. The product obtains the time of flight by measuring round-trip phase difference and then calculates relative range between the product and the detection object, as shown below. ... ... @@ -571,7 +571,7 @@ 571 571 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654831757579-263.png?rev=1.1||alt="1654831757579-263.png"]] 572 572 573 573 574 -=== 2. 7.2 Distance Measurement Characteristics ===583 +=== 2.8.2 Distance Measurement Characteristics === 575 575 576 576 577 577 With optimization of light path and algorithm, The LiDAR probe has minimized influence from external environment on distance measurement performance. Despite that, the range of distance measurement may still be affected by the environment illumination intensity and the reflectivity of detection object. As shown in below: ... ... @@ -609,7 +609,7 @@ 609 609 ))) 610 610 611 611 612 -=== 2. 7.3 Notice of usage ===621 +=== 2.8.3 Notice of usage === 613 613 614 614 615 615 Possible invalid /wrong reading for LiDAR ToF tech: ... ... @@ -620,9 +620,10 @@ 620 620 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 621 621 622 622 623 -=== 2.7.4 Reflectivity of different objects === 624 624 633 +=== 2.8.4 Reflectivity of different objects === 625 625 635 + 626 626 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:379px" %) 627 627 |=(% style="width: 54px;background-color:#4F81BD;color:white" %)Item|=(% style="width: 231px;background-color:#4F81BD;color:white" %)Material|=(% style="width: 94px;background-color:#4F81BD;color:white" %)Relectivity 628 628 |(% style="width:53px" %)1|(% style="width:229px" %)Black foam rubber|(% style="width:93px" %)2.4% ... ... @@ -647,6 +647,7 @@ 647 647 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 648 648 649 649 660 + 650 650 = 3. Configure LDS12-LB = 651 651 652 652 == 3.1 Configure Methods == ... ... @@ -661,6 +661,7 @@ 661 661 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 662 662 663 663 675 + 664 664 == 3.2 General Commands == 665 665 666 666 ... ... @@ -761,6 +761,7 @@ 761 761 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 762 762 763 763 776 + 764 764 === 3.3.3 Set Power Output Duration === 765 765 766 766 Control the output duration 3V3 . Before each sampling, device will ... ... @@ -789,6 +789,7 @@ 789 789 * Example 2: Downlink Payload: 07 01 01 F4 **~-~-->** AT+3V3T=500 790 790 791 791 805 + 792 792 = 4. Battery & Power Consumption = 793 793 794 794 ... ... @@ -818,6 +818,7 @@ 818 818 * 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]]**. 819 819 820 820 835 + 821 821 = 6. FAQ = 822 822 823 823 == 6.1 What is the frequency plan for LDS12-LB? == ... ... @@ -879,6 +879,7 @@ 879 879 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 880 880 881 881 897 + 882 882 = 9. Packing Info = 883 883 884 884 ... ... @@ -897,6 +897,7 @@ 897 897 * Weight / pcs : g 898 898 899 899 916 + 900 900 = 10. Support = 901 901 902 902