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 == ... ... @@ -240,7 +240,7 @@ 240 240 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 241 241 242 242 243 -== 2.3 241 +== 2.3 Uplink Payload == 244 244 245 245 246 246 ((( ... ... @@ -251,23 +251,22 @@ 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 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 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1 A0BatteryInfo"]]|(% style="width:62.5px" %)(((260 -[[Temperature DS18B20>>||anchor="H2.3.2 A0DS18B20Temperaturesensor"]]261 -)))|[[Distance>>||anchor="H2.3.3 A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|(((262 -[[Interrupt flag>>||anchor="H2.3.5 A0InterruptPin"]]263 -)))|[[LiDAR temp>>||anchor="H2.3.6 A0LiDARtemp"]]|(((264 -[[Message Type>>||anchor="H2.3.7 A0MessageType"]]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"]] 265 265 ))) 266 266 267 267 [[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"]] 268 268 269 269 270 -=== 2.3.1 267 +=== 2.3.1 Battery Info === 271 271 272 272 273 273 Check the battery voltage for LDS12-LB. ... ... @@ -277,7 +277,7 @@ 277 277 Ex2: 0x0B49 = 2889mV 278 278 279 279 280 -=== 2.3.2 277 +=== 2.3.2 DS18B20 Temperature sensor === 281 281 282 282 283 283 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. ... ... @@ -290,7 +290,7 @@ 290 290 If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 291 291 292 292 293 -=== 2.3.3 290 +=== 2.3.3 Distance === 294 294 295 295 296 296 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. ... ... @@ -301,7 +301,7 @@ 301 301 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. 302 302 303 303 304 -=== 2.3.4 301 +=== 2.3.4 Distance signal strength === 305 305 306 306 307 307 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. ... ... @@ -314,12 +314,12 @@ 314 314 Customers can judge whether they need to adjust the environment based on the signal strength. 315 315 316 316 317 -=== 2.3.5 314 +=== 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 ... ... @@ -328,7 +328,7 @@ 328 328 0x01: Interrupt Uplink Packet. 329 329 330 330 331 -=== 2.3.6 328 +=== 2.3.6 LiDAR temp === 332 332 333 333 334 334 Characterize the internal temperature value of the sensor. ... ... @@ -338,7 +338,7 @@ 338 338 If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃. 339 339 340 340 341 -=== 2.3.7 338 +=== 2.3.7 Message Type === 342 342 343 343 344 344 ((( ... ... @@ -350,19 +350,19 @@ 350 350 ))) 351 351 352 352 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %) 353 -|=(% 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**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"]]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"]] 356 356 357 -=== 2.3.8 Decode payload in The Things Network === 358 358 355 +=== 2.3.8 Decode payload in The Things Network === 359 359 357 + 360 360 While using TTN network, you can add the payload format to decode the payload. 361 361 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"]] 362 362 363 -[[image:1654592762713-715.png]] 364 364 365 - 366 366 ((( 367 367 The payload decoder function for TTN is here: 368 368 ))) ... ... @@ -372,13 +372,13 @@ 372 372 ))) 373 373 374 374 375 -== 2.4 372 +== 2.4 Uplink Interval == 376 376 377 377 378 378 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"]] 379 379 380 380 381 -== 2.5 378 +== 2.5 Show Data in DataCake IoT Server == 382 382 383 383 384 384 ((( ... ... @@ -505,16 +505,15 @@ 505 505 506 506 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. 507 507 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"]] 508 508 509 -[[image:1654831757579-263.png]] 510 510 511 - 512 512 === 2.8.2 Distance Measurement Characteristics === 513 513 514 514 515 515 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: 516 516 517 -[[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"]] 518 518 519 519 520 520 ((( ... ... @@ -535,7 +535,7 @@ 535 535 ))) 536 536 537 537 538 -[[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"]] 539 539 540 540 541 541 ((( ... ... @@ -542,15 +542,14 @@ 542 542 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. 543 543 ))) 544 544 545 -[[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"]] 546 546 547 - 548 548 ((( 549 549 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. 550 550 ))) 551 551 552 552 553 -=== 2.8.3 Notice of usage :===548 +=== 2.8.3 Notice of usage === 554 554 555 555 556 556 Possible invalid /wrong reading for LiDAR ToF tech: ... ... @@ -560,11 +560,14 @@ 560 560 * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe. 561 561 * The sensor window is made by Acrylic. Don't touch it with alcohol material. This will destroy the sensor window. 562 562 558 + 559 + 560 + 563 563 === 2.8.4 Reflectivity of different objects === 564 564 565 565 566 566 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:379px" %) 567 -|=(% 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 568 568 |(% style="width:53px" %)1|(% style="width:229px" %)Black foam rubber|(% style="width:93px" %)2.4% 569 569 |(% style="width:53px" %)2|(% style="width:229px" %)Black fabric|(% style="width:93px" %)3% 570 570 |(% style="width:53px" %)3|(% style="width:229px" %)Black rubber|(% style="width:93px" %)4% ... ... @@ -695,8 +695,6 @@ 695 695 696 696 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 697 697 698 - 699 - 700 700 === 3.3.3 Get Firmware Version Info === 701 701 702 702