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,6 +99,8 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 102 + 103 + 102 102 == 1.4 Applications == 103 103 104 104 ... ... @@ -110,6 +110,8 @@ 110 110 * Automatic control 111 111 * Sewer 112 112 115 + 116 + 113 113 (% style="display:none" %) 114 114 115 115 == 1.5 Sleep mode and working mode == ... ... @@ -238,7 +238,7 @@ 238 238 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 239 239 240 240 241 -== 2.3 Uplink Payload == 245 +== 2.3 Uplink Payload == 242 242 243 243 244 244 ((( ... ... @@ -249,22 +249,23 @@ 249 249 Uplink payload includes in total 11 bytes. 250 250 ))) 251 251 252 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 253 -|=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)((( 256 + 257 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 258 +|=(% style="width: 62.5px;background-color:#D9E2F3;color:#0070C0" %)((( 254 254 **Size(bytes)** 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"]] 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; color:#0070c0" %)**2**|=(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|=(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|=(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|=(% style="background-color:#d9e2f3; color:#0070c0" %)**1** 261 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:62.5px" %)((( 262 +[[Temperature DS18B20>>||anchor="H2.3.2A0DS18B20Temperaturesensor"]] 263 +)))|[[Distance>>||anchor="H2.3.3A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|((( 264 +[[Interrupt flag>>||anchor="H2.3.5A0InterruptPin"]] 265 +)))|[[LiDAR temp>>||anchor="H2.3.6A0LiDARtemp"]]|((( 266 +[[Message Type>>||anchor="H2.3.7A0MessageType"]] 262 262 ))) 263 263 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"]]269 +[[image:1654833689380-972.png]] 265 265 266 266 267 -=== 2.3.1 Battery Info === 272 +=== 2.3.1 Battery Info === 268 268 269 269 270 270 Check the battery voltage for LDS12-LB. ... ... @@ -274,7 +274,7 @@ 274 274 Ex2: 0x0B49 = 2889mV 275 275 276 276 277 -=== 2.3.2 DS18B20 Temperature sensor === 282 +=== 2.3.2 DS18B20 Temperature sensor === 278 278 279 279 280 280 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. ... ... @@ -287,7 +287,7 @@ 287 287 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 288 288 289 289 290 -=== 2.3.3 Distance === 295 +=== 2.3.3 Distance === 291 291 292 292 293 293 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. ... ... @@ -298,7 +298,7 @@ 298 298 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. 299 299 300 300 301 -=== 2.3.4 Distance signal strength === 306 +=== 2.3.4 Distance signal strength === 302 302 303 303 304 304 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. ... ... @@ -311,12 +311,12 @@ 311 311 Customers can judge whether they need to adjust the environment based on the signal strength. 312 312 313 313 314 -=== 2.3.5 Interrupt Pin === 319 +=== 2.3.5 Interrupt Pin === 315 315 316 316 317 -This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H 3.3.2SetInterruptMode"]] for the hardware and software set up.322 +This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H4.2A0SetInterruptMode"]] for the hardware and software set up. 318 318 319 -Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1. 8PinDefinitions"]].324 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.6A0Pinmappingandpoweron"]]. 320 320 321 321 **Example:** 322 322 ... ... @@ -325,7 +325,7 @@ 325 325 0x01: Interrupt Uplink Packet. 326 326 327 327 328 -=== 2.3.6 LiDAR temp === 333 +=== 2.3.6 LiDAR temp === 329 329 330 330 331 331 Characterize the internal temperature value of the sensor. ... ... @@ -335,7 +335,7 @@ 335 335 If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃. 336 336 337 337 338 -=== 2.3.7 Message Type === 343 +=== 2.3.7 Message Type === 339 339 340 340 341 341 ((( ... ... @@ -347,19 +347,20 @@ 347 347 ))) 348 348 349 349 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 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="H 3.ConfigureLDS12-LB"]]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.3A0200BUplinkPayload"]] 357 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H4.3A0GetFirmwareVersionInfo"]] 353 353 354 354 355 -=== 2.3.8 Decode payload in The Things Network === 360 +=== 2.3.8 Decode payload in The Things Network === 356 356 357 357 358 358 While using TTN network, you can add the payload format to decode the payload. 359 359 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"]] 361 361 366 +[[image:1654592762713-715.png]] 362 362 368 + 363 363 ((( 364 364 The payload decoder function for TTN is here: 365 365 ))) ... ... @@ -369,13 +369,13 @@ 369 369 ))) 370 370 371 371 372 -== 2.4 Uplink Interval == 378 +== 2.4 Uplink Interval == 373 373 374 374 375 375 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"]] 376 376 377 377 378 -== 2.5 Show Data in DataCake IoT Server == 384 +== 2.5 Show Data in DataCake IoT Server == 379 379 380 380 381 381 ((( ... ... @@ -502,15 +502,16 @@ 502 502 503 503 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. 504 504 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"]] 506 506 512 +[[image:1654831757579-263.png]] 507 507 514 + 508 508 === 2.8.2 Distance Measurement Characteristics === 509 509 510 510 511 511 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: 512 512 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"]]520 +[[image:1654831774373-275.png]] 514 514 515 515 516 516 ((( ... ... @@ -531,7 +531,7 @@ 531 531 ))) 532 532 533 533 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"]]541 +[[image:1654831797521-720.png]] 535 535 536 536 537 537 ((( ... ... @@ -538,14 +538,15 @@ 538 538 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. 539 539 ))) 540 540 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"]]548 +[[image:1654831810009-716.png]] 542 542 550 + 543 543 ((( 544 544 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. 545 545 ))) 546 546 547 547 548 -=== 2.8.3 Notice of usage === 556 +=== 2.8.3 Notice of usage: === 549 549 550 550 551 551 Possible invalid /wrong reading for LiDAR ToF tech: ... ... @@ -556,13 +556,11 @@ 556 556 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 557 557 558 558 559 - 560 - 561 561 === 2.8.4 Reflectivity of different objects === 562 562 563 563 564 564 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:379px" %) 565 -|=(% 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" %)Relectivity571 +|=(% 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" %)Relectivity 566 566 |(% style="width:53px" %)1|(% style="width:229px" %)Black foam rubber|(% style="width:93px" %)2.4% 567 567 |(% style="width:53px" %)2|(% style="width:229px" %)Black fabric|(% style="width:93px" %)3% 568 568 |(% style="width:53px" %)3|(% style="width:229px" %)Black rubber|(% style="width:93px" %)4% ... ... @@ -584,6 +584,7 @@ 584 584 |(% style="width:53px" %)17|(% style="width:229px" %)stainless steel|(% style="width:93px" %)200% 585 585 |(% style="width:53px" %)18|(% style="width:229px" %)Reflector plate, reflective tape|(% style="width:93px" %)>300% 586 586 593 + 587 587 = 3. Configure LDS12-LB = 588 588 589 589 == 3.1 Configure Methods == ... ... @@ -657,6 +657,9 @@ 657 657 ))) 658 658 * ((( 659 659 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 667 + 668 + 669 + 660 660 ))) 661 661 662 662 === 3.3.2 Set Interrupt Mode === ... ... @@ -693,85 +693,6 @@ 693 693 694 694 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 695 695 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 - 775 775 = 4. Battery & Power Consumption = 776 776 777 777