<
From version < 109.6 >
edited by Xiaoling
on 2022/06/10 13:49
To version < 111.22 >
edited by Xiaoling
on 2022/06/10 14:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,6 +4,7 @@
4 4  
5 5  **Contents:**
6 6  
7 +{{toc/}}
7 7  
8 8  
9 9  
... ... @@ -10,6 +10,7 @@
10 10  
11 11  
12 12  
14 +
13 13  = 1.  Introduction =
14 14  
15 15  == 1.1 ​ What is LoRaWAN LiDAR ToF Distance Sensor ==
... ... @@ -17,18 +17,30 @@
17 17  (((
18 18  
19 19  
22 +(((
20 20  The Dragino LLDS12 is a (% style="color:blue" %)**LoRaWAN LiDAR ToF (Time of Flight) Distance Sensor**(%%) for Internet of Things solution. It is capable to measure the distance to an object as close as 10 centimeters (+/- 5cm up to 6m) and as far as 12 meters (+/-1% starting at 6m)!. The LiDAR probe uses laser induction technology for distance measurement.
24 +)))
21 21  
26 +(((
22 22  The LLDS12 can be applied to scenarios such as horizontal distance measurement, parking management system, object proximity and presence detection, intelligent trash can management system, robot obstacle avoidance, automatic control, sewer, etc.
28 +)))
23 23  
30 +(((
24 24  It detects the distance between the measured object and the sensor, and uploads the value via wireless to LoRaWAN IoT Server.
32 +)))
25 25  
34 +(((
26 26  The LoRa wireless technology used in LLDS12 allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.
36 +)))
27 27  
38 +(((
28 28  LLDS12 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
40 +)))
29 29  
42 +(((
30 30  Each LLDS12 is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.
31 31  )))
45 +)))
32 32  
33 33  
34 34  [[image:1654826306458-414.png]]
... ... @@ -70,7 +70,6 @@
70 70  [[image:1654827224480-952.png]]
71 71  
72 72  
73 -
74 74  == 1.5 ​ Applications ==
75 75  
76 76  * Horizontal distance measurement
... ... @@ -87,8 +87,6 @@
87 87  [[image:1654827332142-133.png]]
88 88  
89 89  
90 -
91 -
92 92  = 2.  Configure LLDS12 to connect to LoRaWAN network =
93 93  
94 94  == 2.1  How it works ==
... ... @@ -98,7 +98,7 @@
98 98  )))
99 99  
100 100  (((
101 -In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H6.UseATCommand"]]to set the keys in the LLDS12.
112 +In case you can’t set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands >>||anchor="H6.A0UseATCommand"]]to set the keys in the LLDS12.
102 102  )))
103 103  
104 104  
... ... @@ -189,14 +189,12 @@
189 189  |=(% style="width: 62.5px;" %)(((
190 190  **Size (bytes)**
191 191  )))|=(% style="width: 62.5px;" %)**2**|=(% style="width: 62.5px;" %)**2**|=**2**|=**2**|=**1**|=**1**|=**1**
192 -|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1BatteryInfo"]]|(% style="width:62.5px" %)(((
193 -[[Temperature>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
194 -
195 -[[DS18B20>>||anchor="H2.3.2DS18B20Temperaturesensor"]]
196 -)))|[[Distance>>||anchor="H"]]|[[Distance signal strength>>||anchor="H2.3.4SoilTemperature"]]|(((
197 -[[Interrupt flag>>||anchor="H2.3.5InterruptPin"]]
198 -)))|[[LiDAR temp>>||anchor="H"]]|(((
199 -[[Message Type>>||anchor="H2.3.6MessageType"]]
203 +|(% style="width:62.5px" %)**Value**|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:62.5px" %)(((
204 +[[Temperature DS18B20>>||anchor="H2.3.2A0DS18B20Temperaturesensor"]]
205 +)))|[[Distance>>||anchor="H2.3.3A0Distance"]]|[[Distance signal strength>>||anchor="H2.3.4A0Distancesignalstrength"]]|(((
206 +[[Interrupt flag>>||anchor="H2.3.5A0InterruptPin"]]
207 +)))|[[LiDAR temp>>||anchor="H2.3.6A0LiDARtemp"]]|(((
208 +[[Message Type>>||anchor="H2.3.7A0MessageType"]]
200 200  )))
201 201  
202 202  [[image:1654833689380-972.png]]
... ... @@ -251,10 +251,11 @@
251 251  
252 252  
253 253  
254 -=== 2.3.5 Interrupt Pin ===
263 +=== 2.3.5  Interrupt Pin ===
255 255  
256 -This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.2SetInterruptMode"]] for the hardware and software set up.
265 +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.
257 257  
267 +Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.6A0Pinmappingandpoweron"]].
258 258  
259 259  **Example:**
260 260  
... ... @@ -264,8 +264,18 @@
264 264  
265 265  
266 266  
267 -=== 2.3.6 Message Type ===
277 +=== 2.3.6  LiDAR temp ===
268 268  
279 +Characterize the internal temperature value of the sensor.
280 +
281 +**Example: **
282 +If payload is: 1C(H) <<24>>24=28(D),LiDAR temp=28℃.
283 +If payload is: F2(H) <<24>>24=-14(D),LiDAR temp=-14℃.
284 +
285 +
286 +
287 +=== 2.3.7  Message Type ===
288 +
269 269  (((
270 270  For a normal uplink payload, the message type is always 0x01.
271 271  )))
... ... @@ -277,12 +277,12 @@
277 277  
278 278  (% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
279 279  |=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
280 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3200BUplinkPayload"]]
281 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]]
282 -|(% style="width:160px" %)0x03|(% style="width:163px" %)Reply Calibration Info|(% style="width:173px" %)[[Calibration Payload>>||anchor="H2.7Calibration"]]
300 +|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.3A0200BUplinkPayload"]]
301 +|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H4.3A0GetFirmwareVersionInfo"]]
283 283  
284 -=== 2.3.7 Decode payload in The Things Network ===
285 285  
304 +=== 2.3.8  Decode payload in The Things Network ===
305 +
286 286  While using TTN network, you can add the payload format to decode the payload.
287 287  
288 288  
... ... @@ -293,7 +293,7 @@
293 293  )))
294 294  
295 295  (((
296 -LSPH01 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSNPK01/Decoder/]]
316 +LLDS12 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Decoder/]]
297 297  )))
298 298  
299 299  
... ... @@ -449,8 +449,10 @@
449 449  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
450 450  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
451 451  
452 -=== 2.6.3 CN470-510 (CN470) ===
453 453  
473 +
474 +=== 2.6.3  CN470-510 (CN470) ===
475 +
454 454  (((
455 455  Used in China, Default use CHE=1
456 456  )))
... ... @@ -538,7 +538,7 @@
538 538  
539 539  
540 540  
541 -=== 2.6.4 AU915-928(AU915) ===
563 +=== 2.6.4  AU915-928(AU915) ===
542 542  
543 543  (((
544 544  Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
... ... @@ -559,8 +559,10 @@
559 559  * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
560 560  * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
561 561  
562 -=== 2.6.5 AS920-923 & AS923-925 (AS923) ===
563 563  
585 +
586 +=== 2.6.5  AS920-923 & AS923-925 (AS923) ===
587 +
564 564  (((
565 565  (% style="color:blue" %)**Default Uplink channel:**
566 566  )))
... ... @@ -668,7 +668,7 @@
668 668  
669 669  
670 670  
671 -=== 2.6.6 KR920-923 (KR920) ===
695 +=== 2.6.6  KR920-923 (KR920) ===
672 672  
673 673  (((
674 674  (% style="color:blue" %)**Default channel:**
... ... @@ -741,7 +741,7 @@
741 741  
742 742  
743 743  
744 -=== 2.6.7 IN865-867 (IN865) ===
768 +=== 2.6.7  IN865-867 (IN865) ===
745 745  
746 746  (((
747 747  (% style="color:blue" %)**Uplink:**
... ... @@ -785,6 +785,7 @@
785 785  * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected.
786 786  * Blink once when device transmit a packet.
787 787  
812 +
788 788  == 2.8  ​Firmware Change Log ==
789 789  
790 790  
... ... @@ -791,7 +791,7 @@
791 791  **Firmware download link: **[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Firmware/]]
792 792  
793 793  
794 -**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>path:/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/]]
819 +**Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
795 795  
796 796  
797 797  
... ... @@ -843,6 +843,8 @@
843 843  * The LiDAR probe is cover by dirty things; the reading might be wrong. In this case, need to clean the probe.
844 844  * The sensor window is made by Acrylic. Don’t touch it with alcohol material. This will destroy the sensor window.
845 845  
871 +
872 +
846 846  = 4.  Configure LLDS12 via AT Command or LoRaWAN Downlink =
847 847  
848 848  (((
... ... @@ -850,10 +850,10 @@
850 850  )))
851 851  
852 852  * (((
853 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
880 +AT Command Connection: See [[FAQ>>||anchor="H7.A0FAQ"]].
854 854  )))
855 855  * (((
856 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>path:/xwiki/bin/view/Main/]]
883 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
857 857  )))
858 858  
859 859  (((
... ... @@ -878,7 +878,7 @@
878 878  )))
879 879  
880 880  (((
881 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>path:/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
908 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
882 882  )))
883 883  
884 884  (((
... ... @@ -936,8 +936,6 @@
936 936  [[image:image-20220610105806-2.png]]
937 937  
938 938  
939 -
940 -
941 941  (((
942 942  (% style="color:#037691" %)**Downlink Command: 0x06**
943 943  )))
... ... @@ -957,6 +957,9 @@
957 957  Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
958 958  )))
959 959  
985 +
986 +
987 +
960 960  == 4.3  Get Firmware Version Info ==
961 961  
962 962  Feature: use downlink to get firmware version.
... ... @@ -985,7 +985,7 @@
985 985  
986 986  Version
987 987  )))|Sensor Type|Reserve|(((
988 -[[Message Type>>||anchor="H2.3.6MessageType"]]
1016 +[[Message Type>>||anchor="H2.3.7A0MessageType"]]
989 989  Always 0x02
990 990  )))
991 991  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0