Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
From version 135.1
edited by Mengting Qiu
on 2023/12/07 14:22
on 2023/12/07 14:22
Change comment:
Uploaded new attachment "image-20231207142208-1.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -8,7 +8,7 @@ 8 8 9 9 10 10 11 -**Table of Contents :(% style="display:none" %) (%%)**11 +**Table of Contents:** 12 12 13 13 {{toc/}} 14 14 ... ... @@ -47,6 +47,8 @@ 47 47 * Firmware upgradable via program port or LoRa protocol 48 48 * Built-in 2400mAh battery or power by external power source 49 49 50 + 51 + 50 50 == 1.3 Specification == 51 51 52 52 ... ... @@ -60,6 +60,8 @@ 60 60 * ToF FoV: ±9°, Total 18° 61 61 * Light source: VCSEL 62 62 65 + 66 + 63 63 == 1.4 Power Consumption == 64 64 65 65 ... ... @@ -73,6 +73,8 @@ 73 73 * Idle: 21 mA @ 3.3v 74 74 * Max : 360 mA 75 75 80 + 81 + 76 76 = 2. Configure DS20L to connect to LoRaWAN network = 77 77 78 78 == 2.1 How it works == ... ... @@ -150,7 +150,7 @@ 150 150 151 151 Example parse in TTNv3 152 152 153 -[[image: image-20231206151412-3.png||height="179" width="1070"]]159 +[[image:1701149922873-259.png]] 154 154 155 155 (% style="color:blue" %)**Sensor Model**(%%): For DS20L, this value is 0x21 156 156 ... ... @@ -216,7 +216,7 @@ 216 216 |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:30px" %)**2**|(% style="background-color:#4f81bd; color:white; width:130px" %)**1**|(% style="background-color:#4f81bd; color:white; width:70px" %)**2**|(% style="background-color:#4f81bd; color:white; width:100px" %)**1**|(% style="background-color:#4f81bd; color:white; width:120px" %)**4** 217 217 |(% style="width:91px" %)Value|(% style="width:41px" %)BAT|(% style="width:176px" %)MOD+ Alarm+Interrupt|(% style="width:74px" %)Distance|(% style="width:100px" %)Sensor State|(% style="width:119px" %)Interrupt Count 218 218 219 -[[image: image-20231206195704-6.png||height="238" width="999"]]225 +[[image:1701155076393-719.png]] 220 220 221 221 (% style="color:blue" %)**Battery Info:** 222 222 ... ... @@ -317,12 +317,12 @@ 317 317 The lower limit of the threshold cannot be less than 3mm. 318 318 319 319 320 -== 2. 4Decode payload in The Things Network ==326 +=== 2.3.3 Decode payload in The Things Network === 321 321 322 322 323 323 While using TTN network, you can add the payload format to decode the payload. 324 324 325 -[[image:i mage-20231206143515-1.png||height="534" width="759"]]331 +[[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"]] 326 326 327 327 328 328 ((( ... ... @@ -334,7 +334,7 @@ 334 334 ))) 335 335 336 336 337 -== 2. 5Show Data in DataCake IoT Server ==343 +== 2.4 Show Data in DataCake IoT Server == 338 338 339 339 340 340 ((( ... ... @@ -366,10 +366,10 @@ 366 366 367 367 After added, the sensor data arrive TTN V3, it will also arrive and show in Datacake. 368 368 369 -[[image:image-20231129 100454-2.png||height="501" width="928"]]375 +[[image:image-20231129085201-1.png||height="515" width="961"]] 370 370 371 371 372 -== 2. 6Frequency Plans ==378 +== 2.5 Frequency Plans == 373 373 374 374 375 375 The DS20L uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. ... ... @@ -390,6 +390,8 @@ 390 390 391 391 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 392 392 399 + 400 + 393 393 == 3.2 General Commands == 394 394 395 395 ... ... @@ -493,6 +493,8 @@ 493 493 494 494 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 495 495 504 + 505 + 496 496 === 3.3.3 Set work mode === 497 497 498 498 ... ... @@ -510,10 +510,12 @@ 510 510 511 511 (% style="color:blue" %)**Downlink Command:** 512 512 513 -* **Example: **0x0A0 1~/~/ Same as AT+MOD=1523 +* **Example: **0x0A00 ~/~/ Same as AT+MOD=0 514 514 515 -* **Example:** 0x0A0 2~/~/ Same as AT+MOD=2525 +* **Example:** 0x0A01 ~/~/ Same as AT+MOD=1 516 516 527 + 528 + 517 517 === 3.3.4 Set threshold and threshold mode === 518 518 519 519 ... ... @@ -531,6 +531,8 @@ 531 531 ))) 532 532 |(% style="width:172px" %)AT+ DOL =1,1800,100,0,400|(% style="width:279px" %)Set only the upper and lower thresholds|(% style="width:118px" %)OK 533 533 546 + 547 + 534 534 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 535 535 |(% rowspan="11" style="color:blue; width:120px" %)((( 536 536 ... ... @@ -545,15 +545,7 @@ 545 545 546 546 547 547 **AT+DOL=5,1800,0,0,400** 548 -)))|(% rowspan="6" style="width:240px" %)((( 549 - 550 - 551 - 552 - 553 - 554 - 555 -The first bit sets the limit mode 556 -)))|(% style="width:150px" %)0: Do not use upper and lower limits 562 +)))|(% rowspan="6" style="width:240px" %)The first bit sets the limit mode|(% style="width:150px" %)0: Do not use upper and lower limits 557 557 |(% style="width:251px" %)1: Use upper and lower limits 558 558 |(% style="width:251px" %)2: Less than the lower limit 559 559 |(% style="width:251px" %)3: Greater than the lower limit ... ... @@ -569,14 +569,14 @@ 569 569 570 570 ))) 571 571 578 + 579 + 572 572 (% style="color:blue" %)**Downlink Command: 0x07** 573 573 574 -Format: Command Code (0x07) followed by 9 582 +Format: Command Code (0x07) followed by 9bytes. 575 575 576 - Ifthedownlinkpayload=**0710708006400190**, it means set the END Node's limit mode to0x01,upper limit value to0x0708=1800(mm),lowerlimitvalueto0x0064=100(mm),to over-limit alarm(0x00),the sampling time to0x0190=400(ms), while type code is 0x07.584 +* Example 0: Downlink Payload: 070000000000000190 **~-~-->** AT+MOD=0,0,0,0,400 577 577 578 -* Example 0: Downlink Payload: 07 00 0000 0000 00 0190 **~-~-->** AT+MOD=0,0,0,0,400 579 - 580 580 * Example 1: Downlink Payload: 070107080064000190 **~-~-->** AT+MOD=1,1800,100,0,400 581 581 582 582 * Example 2: Downlink Payload: 070200000064000190 **~-~-->** AT+MOD=2,0,100,0,400 ... ... @@ -587,6 +587,8 @@ 587 587 588 588 * Example 5: Downlink Payload: 070507080000000190 **~-~-->** AT+MOD=5,1800,100,0,400 589 589 596 + 597 + 590 590 = 4. Battery & Power Consumption = 591 591 592 592 ... ... @@ -615,6 +615,8 @@ 615 615 616 616 * Update through UART TTL interface: **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 617 617 626 + 627 + 618 618 = 6. FAQ = 619 619 620 620 == 6.1 What is the frequency plan for DS20L? == ... ... @@ -702,6 +702,8 @@ 702 702 703 703 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 704 704 715 + 716 + 705 705 = 9. Packing Info = 706 706 707 707 ... ... @@ -719,6 +719,8 @@ 719 719 720 720 * Weight / pcs : g 721 721 734 + 735 + 722 722 = 10. Support = 723 723 724 724 ... ... @@ -725,4 +725,3 @@ 725 725 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 726 726 727 727 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]]. 728 -
- image-20231129100454-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.1 KB - Content
- image-20231206143515-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -89.5 KB - Content
- image-20231206144950-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.0 KB - Content
- image-20231206151412-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -58.8 KB - Content
- image-20231206154621-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -71.2 KB - Content
- image-20231206194804-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -53.7 KB - Content
- image-20231206195704-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -64.1 KB - Content
- image-20231207142208-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.2 KB - Content