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,8 +99,6 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 102 - 103 - 104 104 == 1.4 Applications == 105 105 106 106 ... ... @@ -112,8 +112,6 @@ 112 112 * Automatic control 113 113 * Sewer 114 114 115 - 116 - 117 117 (% style="display:none" %) 118 118 119 119 == 1.5 Sleep mode and working mode == ... ... @@ -242,7 +242,7 @@ 242 242 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 243 243 244 244 245 -== 2.3 241 +== 2.3 Uplink Payload == 246 246 247 247 248 248 ((( ... ... @@ -253,23 +253,22 @@ 253 253 Uplink payload includes in total 11 bytes. 254 254 ))) 255 255 256 - 257 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 258 -|=(% style="width: 62.5px;background-color:#D9E2F3;color:#0070C0" %)((( 252 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 253 +|=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)((( 259 259 **Size(bytes)** 260 -)))|=(% style="width: 62.5px;background-color:# D9E2F3;color:#0070C0" %)**2**|=(% style="width: 62.5px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="background-color:#d9e2f3;#0070c0" %)**2**|=(% style="background-color:#d9e2f3;#0070c0" %)**2**|=(% style="background-color:#d9e2f3;#0070c0" %)**1**|=(% style="background-color:#d9e2f3;#0070c0" %)**1**|=(% style="background-color:#d9e2f3;#0070c0" %)**1**261 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1 A0BatteryInfo"]]|(% style="width:62.5px" %)(((262 -[[Temperature DS18B20>>||anchor="H2.3.2 A0DS18B20Temperaturesensor"]]263 -)))|[[Distance>>||anchor="H2.3.3 A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|(((264 -[[Interrupt flag>>||anchor="H2.3.5 A0InterruptPin"]]265 -)))|[[LiDAR temp>>||anchor="H2.3.6 A0LiDARtemp"]]|(((266 -[[Message Type>>||anchor="H2.3.7 A0MessageType"]]255 +)))|=(% 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** 256 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)((( 257 +[[Temperature DS18B20>>||anchor="H2.3.2DS18B20Temperaturesensor"]] 258 +)))|[[Distance>>||anchor="H2.3.3Distance"]]|[[Distance signal strength>>||anchor="H2.3.4Distancesignalstrength"]]|((( 259 +[[Interrupt flag>>||anchor="H2.3.5InterruptPin"]] 260 +)))|[[LiDAR temp>>||anchor="H2.3.6LiDARtemp"]]|((( 261 +[[Message Type>>||anchor="H2.3.7MessageType"]] 267 267 ))) 268 268 269 -[[image:1654833689380-972.png]] 264 +[[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"]] 270 270 271 271 272 -=== 2.3.1 267 +=== 2.3.1 Battery Info === 273 273 274 274 275 275 Check the battery voltage for LDS12-LB. ... ... @@ -279,7 +279,7 @@ 279 279 Ex2: 0x0B49 = 2889mV 280 280 281 281 282 -=== 2.3.2 277 +=== 2.3.2 DS18B20 Temperature sensor === 283 283 284 284 285 285 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. ... ... @@ -292,7 +292,7 @@ 292 292 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 293 293 294 294 295 -=== 2.3.3 290 +=== 2.3.3 Distance === 296 296 297 297 298 298 Represents the distance value of the measurement output, the default unit is cm, and the value range parsed as a decimal number is 0-1200. In actual use, when the signal strength value Strength. ... ... @@ -303,7 +303,7 @@ 303 303 If the data you get from the register is 0x0B 0xEA, the distance between the sensor and the measured object is 0BEA(H) = 3050 (D)/10 = 305cm. 304 304 305 305 306 -=== 2.3.4 301 +=== 2.3.4 Distance signal strength === 307 307 308 308 309 309 Refers to the signal strength, the default output value will be between 0-65535. When the distance measurement gear is fixed, the farther the distance measurement is, the lower the signal strength; the lower the target reflectivity, the lower the signal strength. When Strength is greater than 100 and not equal to 65535, the measured value of Dist is considered credible. ... ... @@ -316,12 +316,12 @@ 316 316 Customers can judge whether they need to adjust the environment based on the signal strength. 317 317 318 318 319 -=== 2.3.5 314 +=== 2.3.5 Interrupt Pin === 320 320 321 321 322 -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. 323 323 324 -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"]]. 325 325 326 326 **Example:** 327 327 ... ... @@ -330,7 +330,7 @@ 330 330 0x01: Interrupt Uplink Packet. 331 331 332 332 333 -=== 2.3.6 328 +=== 2.3.6 LiDAR temp === 334 334 335 335 336 336 Characterize the internal temperature value of the sensor. ... ... @@ -340,7 +340,7 @@ 340 340 If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃. 341 341 342 342 343 -=== 2.3.7 338 +=== 2.3.7 Message Type === 344 344 345 345 346 346 ((( ... ... @@ -352,20 +352,19 @@ 352 352 ))) 353 353 354 354 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 355 -|=(% style="width: 161px;background-color:# D9E2F3;color:#0070C0" %)**Message Type Code**|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**Description**|=(% style="width: 174px;background-color:#D9E2F3;color:#0070C0" %)**Payload**356 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3 A0200BUplinkPayload"]]357 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H 4.3A0GetFirmwareVersionInfo"]]350 +|=(% 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** 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"]] 358 358 359 359 360 -=== 2.3.8 355 +=== 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 ))) ... ... @@ -375,13 +375,13 @@ 375 375 ))) 376 376 377 377 378 -== 2.4 372 +== 2.4 Uplink Interval == 379 379 380 380 381 381 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"]] 382 382 383 383 384 -== 2.5 378 +== 2.5 Show Data in DataCake IoT Server == 385 385 386 386 387 387 ((( ... ... @@ -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: ... ... @@ -564,11 +564,13 @@ 564 564 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 565 565 566 566 559 + 560 + 567 567 === 2.8.4 Reflectivity of different objects === 568 568 569 569 570 570 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:379px" %) 571 -|=(% 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 572 572 |(% style="width:53px" %)1|(% style="width:229px" %)Black foam rubber|(% style="width:93px" %)2.4% 573 573 |(% style="width:53px" %)2|(% style="width:229px" %)Black fabric|(% style="width:93px" %)3% 574 574 |(% style="width:53px" %)3|(% style="width:229px" %)Black rubber|(% style="width:93px" %)4% ... ... @@ -590,7 +590,6 @@ 590 590 |(% style="width:53px" %)17|(% style="width:229px" %)stainless steel|(% style="width:93px" %)200% 591 591 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 592 592 593 - 594 594 = 3. Configure LDS12-LB = 595 595 596 596 == 3.1 Configure Methods == ... ... @@ -664,9 +664,6 @@ 664 664 ))) 665 665 * ((( 666 666 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 667 - 668 - 669 - 670 670 ))) 671 671 672 672 === 3.3.2 Set Interrupt Mode === ... ... @@ -703,6 +703,85 @@ 703 703 704 704 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 705 705 696 +=== 3.3.3 Get Firmware Version Info === 697 + 698 + 699 +Feature: use downlink to get firmware version. 700 + 701 +(% style="color:#037691" %)**Downlink Command: 0x26** 702 + 703 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:492px" %) 704 +|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:57px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:91px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Downlink payload size(bytes)** 705 +|(% style="width:191px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:151px" %)2 706 + 707 +* Reply to the confirmation package: 26 01 708 +* Reply to non-confirmed packet: 26 00 709 + 710 +Device will send an uplink after got this downlink command. With below payload: 711 + 712 +Configures info payload: 713 + 714 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 715 +|=(% style="background-color:#D9E2F3;color:#0070C0" %)((( 716 +**Size(bytes)** 717 +)))|=(% 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** 718 +|**Value**|Software Type|((( 719 +Frequency 720 +Band 721 +)))|Sub-band|((( 722 +Firmware 723 +Version 724 +)))|Sensor Type|Reserve|((( 725 +[[Message Type>>||anchor="H2.3.7A0MessageType"]] 726 +Always 0x02 727 +))) 728 + 729 +(% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LLDS12 730 + 731 +(% style="color:#037691" %)**Frequency Band**: 732 + 733 +*0x01: EU868 734 + 735 +*0x02: US915 736 + 737 +*0x03: IN865 738 + 739 +*0x04: AU915 740 + 741 +*0x05: KZ865 742 + 743 +*0x06: RU864 744 + 745 +*0x07: AS923 746 + 747 +*0x08: AS923-1 748 + 749 +*0x09: AS923-2 750 + 751 +*0xa0: AS923-3 752 + 753 + 754 +(% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08 755 + 756 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 757 + 758 +(% style="color:#037691" %)**Sensor Type**: 759 + 760 +0x01: LSE01 761 + 762 +0x02: LDDS75 763 + 764 +0x03: LDDS20 765 + 766 +0x04: LLMS01 767 + 768 +0x05: LSPH01 769 + 770 +0x06: LSNPK01 771 + 772 +0x07: LLDS12 773 + 774 + 706 706 = 4. Battery & Power Consumption = 707 707 708 708