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
-
... ... @@ -99,7 +99,6 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 102 - 103 103 == 1.4 Applications == 104 104 105 105 ... ... @@ -111,7 +111,6 @@ 111 111 * Automatic control 112 112 * Sewer 113 113 114 - 115 115 (% style="display:none" %) 116 116 117 117 == 1.5 Sleep mode and working mode == ... ... @@ -251,7 +251,6 @@ 251 251 Uplink payload includes in total 11 bytes. 252 252 ))) 253 253 254 - 255 255 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 256 256 |=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)((( 257 257 **Size(bytes)** ... ... @@ -258,7 +258,7 @@ 258 258 )))|=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1** 259 259 |(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 260 260 [[Temperature DS18B20>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 261 -)))|[[Distance>>||anchor="H2.3.3 A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4Distancesignalstrength"]]|(((258 +)))|[[Distance>>||anchor="H2.3.3Distance"]]|[[Distance signal strength>>||anchor="H2.3.4Distancesignalstrength"]]|((( 262 262 [[Interrupt flag>>||anchor="H2.3.5InterruptPin"]] 263 263 )))|[[LiDAR temp>>||anchor="H2.3.6LiDARtemp"]]|((( 264 264 [[Message Type>>||anchor="H2.3.7MessageType"]] ... ... @@ -317,9 +317,9 @@ 317 317 === 2.3.5 Interrupt Pin === 318 318 319 319 320 -This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H 4.2A0SetInterruptMode"]] for the hardware and software set up.317 +This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.3.2SetInterruptMode"]] for the hardware and software set up. 321 321 322 -Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1. 6A0Pinmappingandpoweron"]].319 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.8PinDefinitions"]]. 323 323 324 324 **Example:** 325 325 ... ... @@ -351,21 +351,18 @@ 351 351 352 352 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 353 353 |=(% style="width: 161px;background-color:#4F81BD;color:white" %)**Message Type Code**|=(% style="width: 164px;background-color:#4F81BD;color:white" %)**Description**|=(% style="width: 174px;background-color:#4F81BD;color:white" %)**Payload** 354 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3 A0200BUplinkPayload"]]355 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H 4.3A0GetFirmwareVersionInfo"]]351 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]] 352 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.ConfigureLDS12-LB"]] 356 356 357 357 358 - 359 - 360 360 === 2.3.8 Decode payload in The Things Network === 361 361 362 362 363 363 While using TTN network, you can add the payload format to decode the payload. 364 364 360 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654592762713-715.png?rev=1.1||alt="1654592762713-715.png"]] 365 365 366 -[[image:1654592762713-715.png]] 367 367 368 - 369 369 ((( 370 370 The payload decoder function for TTN is here: 371 371 ))) ... ... @@ -508,16 +508,15 @@ 508 508 509 509 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. 510 510 505 +[[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"]] 511 511 512 -[[image:1654831757579-263.png]] 513 513 514 - 515 515 === 2.8.2 Distance Measurement Characteristics === 516 516 517 517 518 518 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: 519 519 520 -[[image:1654831774373-275.png]] 513 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654831774373-275.png?rev=1.1||alt="1654831774373-275.png"]] 521 521 522 522 523 523 ((( ... ... @@ -538,7 +538,7 @@ 538 538 ))) 539 539 540 540 541 -[[image:1654831797521-720.png]] 534 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654831797521-720.png?rev=1.1||alt="1654831797521-720.png"]] 542 542 543 543 544 544 ((( ... ... @@ -545,15 +545,14 @@ 545 545 In the formula above, d is the diameter of light spot; D is detecting range; β is the value of the receiving angle of The LiDAR probe, 3.6°. Correspondence between the diameter of light spot and detecting range is given in Table below. 546 546 ))) 547 547 548 -[[image:1654831810009-716.png]] 541 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LLDS12-LoRaWAN%20LiDAR%20ToF%20Distance%20Sensor%20User%20Manual/WebHome/1654831810009-716.png?rev=1.1||alt="1654831810009-716.png"]] 549 549 550 - 551 551 ((( 552 552 If the light spot reaches two objects with different distances, as shown in Figure 3, the output distance value will be a value between the actual distance values of the two objects. For a high accuracy requirement in practice, the above situation should be noticed to avoid the measurement error. 553 553 ))) 554 554 555 555 556 -=== 2.8.3 Notice of usage :===548 +=== 2.8.3 Notice of usage === 557 557 558 558 559 559 Possible invalid /wrong reading for LiDAR ToF tech: ... ... @@ -563,11 +563,14 @@ 563 563 * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe. 564 564 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 565 565 558 + 559 + 560 + 566 566 === 2.8.4 Reflectivity of different objects === 567 567 568 568 569 569 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:379px" %) 570 -|=(% style="width: 54px;background-color:# D9E2F3;color:#0070C0" %)Item|=(% style="width: 231px;background-color:#D9E2F3;color:#0070C0" %)Material|=(% style="width: 94px;background-color:#D9E2F3;color:#0070C0" %)Relectivity565 +|=(% 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 571 571 |(% style="width:53px" %)1|(% style="width:229px" %)Black foam rubber|(% style="width:93px" %)2.4% 572 572 |(% style="width:53px" %)2|(% style="width:229px" %)Black fabric|(% style="width:93px" %)3% 573 573 |(% style="width:53px" %)3|(% style="width:229px" %)Black rubber|(% style="width:93px" %)4% ... ... @@ -589,6 +589,9 @@ 589 589 |(% style="width:53px" %)17|(% style="width:229px" %)stainless steel|(% style="width:93px" %)200% 590 590 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 591 591 587 + 588 + 589 + 592 592 = 3. Configure LDS12-LB = 593 593 594 594 == 3.1 Configure Methods == ... ... @@ -602,6 +602,9 @@ 602 602 603 603 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 604 604 603 + 604 + 605 + 605 605 == 3.2 General Commands == 606 606 607 607 ... ... @@ -634,7 +634,7 @@ 634 634 ))) 635 635 636 636 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 637 -|=(% style="width: 156px;background-color:# D9E2F3;#0070c0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3;#0070c0" %)**Function**|=(% style="background-color:#D9E2F3;#0070c0" %)**Response**638 +|=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 638 638 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 639 639 30000 640 640 OK ... ... @@ -674,7 +674,7 @@ 674 674 (% style="color:blue" %)**AT Command: AT+INTMOD** 675 675 676 676 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 677 -|=(% style="width: 155px;background-color:# D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response**678 +|=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response** 678 678 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 679 679 0 680 680 OK ... ... @@ -700,6 +700,8 @@ 700 700 701 701 702 702 704 + 705 + 703 703 === 3.3.3 Get Firmware Version Info === 704 704 705 705 ... ... @@ -708,7 +708,7 @@ 708 708 (% style="color:#037691" %)**Downlink Command: 0x26** 709 709 710 710 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:492px" %) 711 -|(% style="background-color:# d9e2f3;#0070c0; width:191px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3;#0070c0; width:57px" %)**FPort**|(% style="background-color:#d9e2f3;#0070c0; width:91px" %)**Type Code**|(% style="background-color:#d9e2f3;#0070c0; width:153px" %)**Downlink payload size(bytes)**714 +|(% style="background-color:#4F81BD;color:white; width:191px" %)**Downlink Control Type**|(% style="background-color:#4F81BD;color:white; width:57px" %)**FPort**|(% style="background-color:#4F81BD;color:white; width:91px" %)**Type Code**|(% style="background-color:#4F81BD;color:white; width:153px" %)**Downlink payload size(bytes)** 712 712 |(% style="width:191px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:151px" %)2 713 713 714 714 * Reply to the confirmation package: 26 01 ... ... @@ -719,15 +719,13 @@ 719 719 Configures info payload: 720 720 721 721 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 722 -|=(% style="background-color:# D9E2F3;color:#0070C0" %)(((725 +|=(% style="background-color:#4F81BD;color:white" %)((( 723 723 **Size(bytes)** 724 -)))|=(% style="background-color:# D9E2F3;color:#0070C0" %)**1**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**5**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**1**727 +)))|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**5**|=(% style="background-color:#4F81BD;color:white" %)**1** 725 725 |**Value**|Software Type|((( 726 -Frequency 727 -Band 729 +Frequency Band 728 728 )))|Sub-band|((( 729 -Firmware 730 -Version 731 +Firmware Version 731 731 )))|Sensor Type|Reserve|((( 732 732 [[Message Type>>||anchor="H2.3.7A0MessageType"]] 733 733 Always 0x02