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,7 @@ 99 99 * Sleep Mode: 5uA @ 3.3v 100 100 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 101 101 102 + 102 102 == 1.4 Applications == 103 103 104 104 ... ... @@ -110,6 +110,7 @@ 110 110 * Automatic control 111 111 * Sewer 112 112 114 + 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 == 243 +== 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 254 + 252 252 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 253 253 |=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)((( 254 254 **Size(bytes)** 255 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"]] 259 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:62.5px" %)((( 260 +[[Temperature DS18B20>>||anchor="H2.3.2A0DS18B20Temperaturesensor"]] 261 +)))|[[Distance>>||anchor="H2.3.3A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|((( 262 +[[Interrupt flag>>||anchor="H2.3.5A0InterruptPin"]] 263 +)))|[[LiDAR temp>>||anchor="H2.3.6A0LiDARtemp"]]|((( 264 +[[Message Type>>||anchor="H2.3.7A0MessageType"]] 262 262 ))) 263 263 264 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"]] 265 265 266 266 267 -=== 2.3.1 Battery Info === 270 +=== 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 === 280 +=== 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 === 293 +=== 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 === 304 +=== 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 === 317 +=== 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.320 +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"]].322 +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 === 331 +=== 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 === 341 +=== 2.3.7 Message Type === 339 339 340 340 341 341 ((( ... ... @@ -348,18 +348,18 @@ 348 348 349 349 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 350 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"]]354 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3A0200BUplinkPayload"]] 355 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H4.3A0GetFirmwareVersionInfo"]] 353 353 357 +=== 2.3.8 Decode payload in The Things Network === 354 354 355 -=== 2.3.8 Decode payload in The Things Network === 356 356 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 363 +[[image:1654592762713-715.png]] 362 362 365 + 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 == 375 +== 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 == 381 +== 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 509 +[[image:1654831757579-263.png]] 507 507 511 + 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"]]517 +[[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"]]538 +[[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"]]545 +[[image:1654831810009-716.png]] 542 542 547 + 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 === 553 +=== 2.8.3 Notice of usage: === 549 549 550 550 551 551 Possible invalid /wrong reading for LiDAR ToF tech: ... ... @@ -555,14 +555,11 @@ 555 555 * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe. 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 - 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" %)Relectivity567 +|=(% 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% ... ... @@ -693,6 +693,8 @@ 693 693 694 694 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 695 695 698 + 699 + 696 696 === 3.3.3 Get Firmware Version Info === 697 697 698 698