Show last authors
1
2
3 (% style="text-align:center" %)
4 [[image:image-20230203113613-1.png]]
5
6
7
8
9 **Table of Contents:**
10
11 {{toc/}}
12
13
14
15
16
17
18
19
20 = 1.  Introduction =
21
22 == 1.1 ​ What is LMDS120 Microwave Radar Distance Sensor ==
23
24
25 (((
26 The Dragino LMDS120 is a (% style="color:blue" %)**LoRaWAN Microwave Radar distance sensor**(%%). It uses use Microwave Radar to detect the distance between sensor and different objects. Different from ultrosonic or Lidar measurement. Microwave Radar is (% style="color:blue" %)**more reliable for condensation / dusty environment**(%%). It can sense correct distance even there is water or think dust on top of the sensor.
27 )))
28
29 (((
30 The LMDS120 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.
31 )))
32
33 (((
34 The LoRa wireless technology used in LMDS120 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.
35 )))
36
37 (((
38 LMDS120 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
39 )))
40
41 (((
42 Each LMDS120 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.
43 )))
44
45 [[image:image-20230203114147-2.png||height="355" width="767"]]
46
47
48 == ​1.2  Features ==
49
50
51 * LoRaWAN 1.0.3 Class A
52 * Ultra-low power consumption
53 * 60Ghz Microwave Radar for distance detection
54 * Monitor Battery Level
55 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
56 * AT Commands to change parameters
57 * Uplink on periodically
58 * Downlink to change configure
59 * 8500mAh Battery for long term use
60 * Wall Mountable
61 * Outdoor Use
62
63 == 1.3  Radar probe specification ==
64
65
66 * Measuring Method: FMCW
67 * Frequency: 60 GHz
68 * Measure Range : 15 ~~ 1200cm
69 * Accuracy: ±(2cm+SX0.3%). S: Measure Value
70 * Resolution: 1cm
71 * Measurement Angle : 25 degrees horizontal and 23 degrees vertical
72
73 == 1.4  Storage & Operation Temperature ==
74
75
76 -15°C to +65°C
77
78
79 == 1.5 ​ Applications ==
80
81
82 * Horizontal distance measurement
83 * Liquid level measurement
84 * Parking management system
85 * Object proximity and presence detection
86 * Intelligent trash can management system
87 * Robot obstacle avoidance
88 * Automatic control
89 * Sewer
90 * Bottom water level monitoring
91
92 == 1.6  Pin mapping and power on ==
93
94
95 [[image:1655257026882-201.png]]
96
97 (% style="display:none" %) (%%)
98
99 = 2.  Operation Mode =
100
101 == 2.1  How it works ==
102
103
104 (((
105 Each LMDS120 is shipped with a worldwide unique set of OTAA keys. To use LMDS120 in a LoRaWAN network, user needs to input the OTAA keys in the LoRaWAN network server. So LMDS120 can join the LoRaWAN network and start to transmit sensor data.
106 )))
107
108
109 == 2.2  ​Example to use for LoRaWAN network ==
110
111
112 (((
113 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[DLOS8 >>https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] as a LoRaWAN gateway in this example.
114 )))
115
116 (((
117 [[image:image-20230203115545-3.png||height="356" width="769"]]
118
119 * In this user case, the LMDS120 is installed on top of river to detect the water level and send the level info to the LoRaWAN server. The LMDS120 will uplink different types of messages to the LoRaWAN server. See [[Uplink payload>>path:#Uplink_Payload]] for detail.
120 )))
121
122 (((
123 Assume the LoRaWAN Gateway DLOS8 is already set to connect to the [[TTN V3 network >>url:https://eu1.cloud.thethings.network]]. We need to add the LMDS120 device in TTN V3:
124 )))
125
126 (((
127 (((
128
129 )))
130
131 (((
132 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LMDS120.
133 )))
134 )))
135
136 (((
137 (((
138 Each LMDS120 is shipped with a sticker with the default device keys, user can find this sticker in the box. it looks like below.
139
140 [[image:image-20230426085652-1.png||height="258" width="556"]]
141
142
143 )))
144 )))
145
146 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
147
148 **Create the application.**
149
150 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]]
151
152 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]]
153
154
155 **Add devices to the created Application.**
156
157 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]]
158
159 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]]
160
161
162 **Enter end device specifics manually.**
163
164 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]]
165
166
167 **Add DevEUI and AppKey. Customize a platform ID for the device.**
168
169 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]]
170
171
172 (% style="color:blue" %)**Step 2**(%%):  Add decoder.
173
174 In TTN, user can add a custom payload so it shows friendly reading.
175
176 Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]]
177
178 Below is TTN screen shot:
179
180 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]]
181
182 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png" height="562" width="1168"]]
183
184
185 (% style="color:blue" %)**Step 3**(%%):  Power on LMDS120
186
187 Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
188
189 [[image:1655278589727-228.png]]
190
191 (((
192 Put the jumper to power on LMDS120 and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and the user can see it in the panel.
193 )))
194
195
196 == 2.3  ​Uplink Payload ==
197
198
199 Uplink payloads have two types:
200
201 * Distance Value: Use FPORT=2
202 * Other control commands: Use other FPORT fields.
203
204 The application server should parse the correct value based on FPORT settings.
205
206
207 === 2.3.1  Device Status, FPORT~=5 ===
208
209
210 (((
211 Include device configure status. Once LMDS120 Joined the network, it will uplink this message to the server.
212 )))
213
214 Users can also use the downlink command (0x26 01) to ask LMDS120 to resend Device Status.
215
216 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:490px" %)
217 |=(% colspan="6" style="background-color:#4F81BD;color:white" %)Device Status (FPORT=5)
218 |(% style="width:60px" %)**Size(bytes)**|(% style="width:80px" %)**1**|(% style="width:140px" %)**2**|(% style="width:140px" %)**1**|(% style="width:70px" %)**1**
219 |(% style="width:94px" %)Value|(% style="width:68px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:86px" %)Frequency Band|(% style="width:61px" %)Sub-band
220
221 [[image:image-20230203133803-4.png]]
222
223
224 * (% style="color:#037691" %)**Sensor Model:**(%%) For LMDS120, this value is 0x18
225
226 * (% style="color:#037691" %)**Firmware Version:**(%%) 0x0100, Means: v1.0.0 version
227
228 * (% style="color:#037691" %)**Frequency Band:**
229
230 0x01: EU868
231
232 0x02: US915
233
234 0x03: IN865
235
236 0x04: AU915
237
238 0x05: KZ865
239
240 0x06: RU864
241
242 0x07: AS923
243
244 0x08: AS923-1
245
246 0x09: AS923-2
247
248 0x0a: AS923-3
249
250 0x0b: AS923-4
251
252
253 * (% style="color:#037691" %)**Sub-Band**(%%)**:**
254 ** AU915 and US915:value 0x00 ~~ 0x08
255 ** CN470: value 0x0B ~~ 0x0C
256 ** Other Bands: Always 0x00
257
258 === 2.3.2  Distance, Uplink FPORT~=2 ===
259
260
261 LMDS120 will send this uplink **after** Device Status once join the LoRaWAN network successfully. And LMDS120 will:
262
263 1. periodically send this uplink every 20 minute (TDC time), this interval [[can be changed>>||anchor="H3.1A0SetTransmitIntervalTime280x0129"]].
264 1. send this uplink while there is [[interrupt event>>||anchor="H3.2A0SetInterruptMode280x0629"]].
265
266 Uplink Payload totals 8 bytes.
267
268 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:400px" %)
269 |=(% colspan="6" style="width: 400px;background-color:#4F81BD;color:white" %)**Distance Value, FPORT=2**
270 |(% style="width:60px" %)**Size(bytes)**|(% style="width:40px" %)**2**|(% style="width:60px" %)**2**|(% style="width:60px" %)**1**|(% style="width:100px" %)**2**|(% style="width:80px" %)**1**
271 |(% style="width:72px" %)Value|(% style="width:43px" %)BAT|(% style="width:76px" %)Distance|(% style="width:76px" %)interrupt|(% style="width:75px" %)DS18B20 temperature|(% style="width:75px" %)Sensor flag
272
273 [[image:image-20230203142732-5.png]]
274
275
276 (((
277 (% style="color:blue" %)**Distance:**
278 )))
279
280 (((
281 Distance between sensor probe to the first object. (unit: mm)
282 )))
283
284 (((
285 For example, if the data you get from the register is** __0x0D 0xC6__**, the distance between the sensor and the measured object is(% style="color:#037691" %)** 0DC6(H) = 3526 (D) = 3526 mm.**
286 )))
287
288
289 (((
290 (% style="color:red" %)**Notice: The distance has a special value :**
291 )))
292
293 (((
294 (% style="color:blue" %)**0x3FFF**(%%): Reading Invalid (exceed the valid range of the probe) or Probe not detected.
295 )))
296
297
298 === 2.3.3  Decoder in TTN V3 ===
299
300
301 [[image:1655261164557-670.png]]
302
303
304 (((
305 Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
306 )))
307
308
309 == 2.4  ​Show data on Datacake ==
310
311
312 (((
313 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
314
315
316 )))
317
318 (((
319 (% style="color:blue" %)**Step 1**(%%)**: **Link TTNv3 to [[DATACAKE>>url:https://datacake.co/]]
320 )))
321
322 (((
323 (% style="color:blue" %)**Step 2**(%%)**: **Configure LMDS120 in Datacake
324 )))
325
326
327 [[image:image-20230203150230-6.png]]
328
329
330 [[image:image-20220615163646-7.png]]
331
332
333 [[image:image-20230203150402-8.png]]
334
335
336 [[image:image-20230203150513-9.png]]
337
338 (% style="display:none" %) (%%)
339
340 [[image:image-20230203150531-10.png]](% style="display:none" %)
341
342
343 (% style="display:none" %)
344
345 (% style="display:none" %) (%%) [[image:image-20230203150555-11.png]]
346
347
348 (% style="display:none" %)
349
350 = 3.  Configure LMDS120 via AT Command or LoRaWAN Downlink =
351
352
353 (((
354 (((
355 Use can configure LMDS120 via AT Command or LoRaWAN Downlink.
356 )))
357 )))
358
359 * (((
360 (((
361 AT Command Connection: See [[FAQ>>||anchor="H5.A0FAQ"]].
362 )))
363 )))
364 * (((
365 (((
366 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
367 )))
368 )))
369
370 (((
371 (((
372
373 )))
374
375 (((
376 There are two kinds of commands to configure LMDS120, they are:
377 )))
378 )))
379
380 * (((
381 (((
382 (% style="color:#4f81bd" %)** General Commands**.
383 )))
384 )))
385
386 (((
387 (((
388 These commands are to configure:
389 )))
390 )))
391
392 * (((
393 (((
394 General system settings like: uplink interval.
395 )))
396 )))
397 * (((
398 (((
399 LoRaWAN protocol & radio related command.
400 )))
401 )))
402
403 (((
404 (((
405 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack**(Note~*~*)**. 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]]
406 )))
407 )))
408
409 (((
410 (((
411
412 )))
413 )))
414
415 * (((
416 (((
417 (% style="color:#4f81bd" %)** Commands special design for LMDS120**
418 )))
419 )))
420
421 (((
422 (((
423 These commands only valid for LMDS120, as below:
424 )))
425 )))
426
427
428 == 3.1  Set Transmit Interval Time(0x01) ==
429
430
431 Feature: Change LoRaWAN End Node Transmit Interval.
432
433 (% style="color:#037691" %)**AT Command: AT+TDC**
434
435 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
436 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**
437 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
438 30000
439 OK
440 the interval is 30000ms = 30s
441 )))
442 |(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
443 OK
444 Set transmit interval to 60000ms = 60 seconds
445 )))
446
447 (((
448 (% style="color:#037691" %)**Downlink Command: 0x01**
449 )))
450
451 Format: Command Code (0x01) followed by 3 bytes time value.
452
453 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
454
455 **Example 1:** Downlink Payload: 0100001E  ~/~/  Set Transmit Interval (TDC) = 30 seconds
456
457 **Example 2: **Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
458
459
460 == 3.2  Set Interrupt Mode(0x06) ==
461
462
463 (((
464 Feature, Set Interrupt mode for GPIO_EXIT.
465 )))
466
467 (((
468 (% style="color:#037691" %)**Downlink Command: AT+INTMOD**
469 )))
470
471 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
472 |=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Response**
473 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
474 0
475 OK
476 the mode is 0 = No interruption
477 )))
478 |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
479 Set Transmit Interval
480 ~1. (Disable Interrupt),
481 2. (Trigger by rising and falling edge)
482 3. (Trigger by falling edge)
483 4. (Trigger by rising edge)
484 )))|(% style="width:157px" %)OK
485
486 (% style="color:#037691" %)**Downlink Command: 0x06**
487
488 Format: Command Code (0x06) followed by 3 bytes.
489
490 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
491
492 **Example 1: **Downlink Payload: 06000000  ~/~/ Turn off interrupt mode
493
494 **Example 2:** Downlink Payload: 06000003  ~/~/ Set the interrupt mode to rising edge trigger
495
496 == 3.3 Get or set the maximum detection distance(since v1.1) ==
497
498
499 Feature,The farthest detection distance can be set to 5m, 10m.
500
501 (% style="color:blue" %)**AT Command: AT+SMDD**
502
503 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
504 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
505 |(% style="width:154px" %)AT+SMDD=?|(% style="width:196px" %)Displays the current distance parameter|(% style="width:157px" %)(((
506 5
507 OK
508 )))
509 |(% style="width:154px" %)AT+SMDD=10|(% style="width:196px" %)(((
510 Set detection distance:
511 5:detection distance is 5m
512
513 10:detection distance is 10m
514 )))|(% style="width:157px" %)(((
515 01 08 01 (% style="color:blue" %)**00**(%%) 81 8a
516
517 OK
518
519 00~-~-->successes
520
521 01~-~-->fail
522 )))
523
524 (% style="color:blue" %)**Downlink Command: 0xB3**
525
526 Format: Command Code (0xB3) followed by 1 bytes.
527
528 If the downlink payload=B30A, it means that the distance mode of the end node is set to 0x0A=10 (distance of 10m) and the type code is B3.
529
530 * Example 1: Downlink Payload: B3 05  ~/~/ Set the measuring distance to 5m
531
532 * Example 2: Downlink Payload: B3 0A  ~/~/ Set the measuring distance to 10m
533
534 == 3.4 Get or set the accuracy level(since v1.1) ==
535
536
537 Feature,Accuracy can be set to: 10mm , 5mm,  2mm.
538
539 (% style="color:blue" %)**AT Command: AT+SAL**
540
541 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
542 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
543 |(% style="width:154px" %)AT+SAL=?|(% style="width:196px" %)Displays the current accuracy parameters|(% style="width:157px" %)(((
544 2
545 OK
546 )))
547 |(% style="width:154px" %)AT+SAL=1|(% style="width:196px" %)(((
548 Set accuracy level:
549
550 0: 10mm
551
552 1:5mm
553
554 2:2mm
555 )))|(% style="width:157px" %)(((
556 01 0d 01 (% style="color:blue" %)**00**(%%) 91 8b
557
558 OK
559
560 00~-~-->successes
561
562 01~-~-->fail
563 )))
564
565 (% style="color:blue" %)**Downlink Command: 0xB4**
566
567 Format: Command Code (0xB4) followed by 1 bytes.
568
569 If the downlink payload=B400, it means that the precision of the terminal node is set to 0x00=10 (10mm precision) and the type code is B4.
570
571 * Example 1: Downlink Payload: B4 00  ~/~/ Accuracy of 10mm
572 * Example 2: Downlink Payload: B4 01  ~/~/ Accuracy of 5mm
573 * Example 3: Downlink Payload: B4 02  ~/~/ Accuracy of 2mm
574
575 (% style="color:red" %)**Note: When the node's accuracy is set to 2mm, the node automatically modifies the maximum detection distance to 2.5m.**
576
577
578 == 3.5 Get or set the speed level(since v1.1) ==
579
580
581 Feature,Sampling speed can be set to: fast, normal, slow.
582
583 (% style="color:blue" %)**AT Command: AT+SSL**
584
585 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
586 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
587 |(% style="width:154px" %)AT+SSL=?|(% style="width:196px" %)Displays the current sampling rate|(% style="width:157px" %)(((
588 1
589 OK
590 )))
591 |(% style="width:154px" %)AT+SSL=1|(% style="width:196px" %)(((
592 Set speed level:
593
594 0: slower
595
596 1:ordinary
597
598 2:fastest
599 )))|(% style="width:157px" %)(((
600
601
602 OK
603 )))
604
605 (% style="color:blue" %)**Downlink Command: 0xB4**
606
607 Format: Command Code (0xB5) followed by 1 bytes.
608
609 If the downlink payload=B501, it means that the sampling speed of the terminal node is set to 0x01=1 (Sampling Speed: Normal) and the type code is B5.
610
611 * Example 1: Downlink Payload: B5 00  ~/~/ Sampling speed: slow
612 * Example 2: Downlink Payload: B5 01  ~/~/ Sampling speed: normal
613 * Example 3: Downlink Payload: B5 02  ~/~/ Sampling speed: fast
614
615 == 3.6 Get or Set Command delay of sensors 1(since v1.1) ==
616
617
618 Feature,the response delay of the sensor can be set.
619
620 (% style="color:blue" %)**AT Command: AT+CD1EL**
621
622 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
623 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
624 |(% style="width:154px" %)AT+CD1EL=?|(% style="width:196px" %)Get the current delay time ( ms)|(% style="width:157px" %)(((
625 500
626 OK
627 )))
628 |(% style="width:154px" %)AT+CD1EL=500|(% style="width:196px" %)(((
629 Set command delay
630 )))|(% style="width:157px" %)(((
631 OK
632 )))
633
634 (% style="color:blue" %)**Downlink Command: 0xB6**
635
636 Format: Command Code (0xB6) followed by 2 bytes.
637
638 If the downlink payload=B601F4, it means that the sampling speed of the terminal node is set to 0x01 F4 (Response delay: 500) and the type code is B6.
639
640 * Example : Downlink Payload: B6 01 F4  ~/~/ Set the current delay time to: 500ms
641
642 (% style="color:red" %)**Note:**
643
644 (% style="color:red" %)**This delay command is the key to whether or not the maximum collection distance of the node can be modified successfully: the following are the recommended settings for the two distances:**
645
646 (% style="color:red" %)*** Maximum sampling distance: 5m, can be set to: 500ms delay**
647
648 (% style="color:red" %)*** Maximum sampling distance: 10m, can be set to: 1000ms delay**
649
650 (% style="color:red" %)**When the setting is unsuccessful with AT command, the serial port will return invalid data: ff od bl bd 00 00, ff means the modification is invalid.**
651
652
653 == 3.7 Get or Set Command delay of sensors 2(since v1.1) ==
654
655
656 Feature,the response delay of the sensor can be set.
657
658 (% style="color:blue" %)**AT Command: AT+CD2EL**
659
660 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
661 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
662 |(% style="width:154px" %)AT+CD2EL=?|(% style="width:196px" %)Get the current delay time ( ms)|(% style="width:157px" %)(((
663 1000
664 OK
665 )))
666 |(% style="width:154px" %)AT+CD2EL=1000|(% style="width:196px" %)(((
667 Set command delay
668 )))|(% style="width:157px" %)(((
669 OK
670 )))
671
672 (% style="color:blue" %)**Downlink Command: 0xB7**
673
674 Format: Command Code (0xB7) followed by 2 bytes.
675
676 If the downlink payload=B703E8, it means that the sampling speed of the terminal node is set to 0x03 E8 (Response delay: 1000) and the type code is B7.
677
678 * Example : Downlink Payload: B7 03 E8  ~/~/ Set the current delay time to: 1000ms
679
680 (% style="color:red" %)**Note:**
681
682 (% style="color:red" %)**This delay command is the key to successfully modifying the node's maximum acquisition distance: the following are the recommended settings for the two distances:**
683
684 (% style="color:red" %)*** Maximum Sampling Distance: 5 meters with 2000ms delay.**
685
686 (% style="color:red" %)*** Maximum Sampling Distance: 10 meters, can be set to 3000ms delay.**
687
688 (% style="color:red" %)**If the AT command is not successful, the serial port will return invalid data: ff od bl bd 00 00, ff means the modification is invalid.**
689
690
691 == 3.8 Query sensor parameters(since v1.1) ==
692
693
694 Features, query the maximum detection distance, accuracy, sampling speed parameters of the sensor   
695
696 (% style="color:blue" %)**AT Command: AT+DQUE**
697
698 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
699 |=(% style="width: 155px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**
700 |(% style="width:154px" %)AT+DQUE|(% style="width:196px" %)Get the maximum detection distance, accuracy, and sampling speed parameters.|(% style="width:157px" %)(((
701 01 88 04 01 01 00 00 b4 b4
702
703 OK
704 )))
705
706 (% style="color:blue" %)**Downlink Command: 0xB8**
707
708 Format: Command Code (0xB8) followed by 1 bytes.
709
710 If the downlink payload=B801, it means that the sampling speed of the terminal node is set to 0x01,  and the type code is B8.
711
712 * Example : Downlink Payload: B8 01  ~/~/ Get the maximum detection distance, accuracy, and sampling speed parameters.
713
714 Returns data parsing:
715
716 * 01 ~-~--> Frame header
717 * 88 ~-~--> Function code
718 * 04 ~-~--> Total bytes of returned data
719 * 01 ~-~--> Maximum detection distance is: 10m. (Return 00, then maximum detection distance is: 5
720 * 01 ~-~--> Detection speed is: normal. (00: fastest; 01: normal; 02: slower)
721 * 00 ~-~--> Accuracy is: 10mm. (00: 10mm; 1: 5mm, 2: 2mm)
722 * 00 ~-~--> Condensation function is: weaker. (00: weaker; 01: normal; 02: stronger)
723 * B4 B4 ~-~--> Checksum
724
725 = 4. Battery & Power Consumption =
726
727
728 LMDS120 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
729
730 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
731
732
733 = 5.  FAQ =
734
735 == 5.1  How to use AT Command to configure LMDS120 ==
736
737
738 LMDS120 UART connection photo
739
740 [[image:image-20230203155404-15.png||height="433" width="690"]]
741
742
743 LMDS120 supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LMDS120 to use AT command, as below.
744
745 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/test/WebHome/1654135840598-282.png?rev=1.1||alt="1654135840598-282.png" height="571" width="767"]]
746
747
748 In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LMDS120. LMDS120 will output system info once power on as below:
749
750 [[image:image-20220615180555-4.png||height="620" width="887"]]
751
752
753 == 5.2  How to upgrade the firmware? ==
754
755
756 (((
757 A new firmware might be available for:
758 )))
759
760 * (((
761 Support new features
762 )))
763 * (((
764 For bug fix
765 )))
766 * (((
767 Change LoRaWAN bands.
768 )))
769
770 (((
771 Instruction for how to upgrade: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H2.HardwareUpgradeMethodSupportList]]
772 )))
773
774 (((
775 Firmware location: [[https:~~/~~/www.dropbox.com/sh/vxhj7k0utq5dk4a/AAC-DW1UeeWSnSPeG-lHWg4da?dl=0>>https://www.dropbox.com/sh/vxhj7k0utq5dk4a/AAC-DW1UeeWSnSPeG-lHWg4da?dl=0]]
776 )))
777
778
779 == 5.3  How to change the LoRa Frequency Bands/Region ==
780
781
782 You can follow the instructions for [[how to upgrade image>>||anchor="H5.2A0Howtoupgradethefirmware3F"]].
783 When downloading the images, choose the required image file for download. ​
784
785
786 == 5.4 Why does the LMDS120 get invalid data? ==
787
788
789 By default, The latest firmware value of POWERIC is 0, versions after 3322 require POWERIC to be set to 1 to work properly
790
791
792 * **//1. Check if the hardware version is 3322//**
793
794 If the sensor hardware version is 3322 or earlier, the user can change the POWERIC value to 0, If the sensor hardware is later than 3322, the user can change the value of POWERIC to 1.
795
796 **a. Using AT command**
797
798 (% class="box infomessage" %)
799 (((
800 AT+POWERIC=0.
801
802 AT+POWERIC=1.
803 )))
804
805
806 **b. Using Downlink**
807
808 (% class="box infomessage" %)
809 (((
810 FF 00(AT+POWERIC=0).
811
812 FF 01(AT+POWERIC=1).
813 )))
814
815
816 [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20240531090837-1.png?rev=1.1||alt="image-20240531090837-1.png"]]
817
818
819 Please check your hardware production date
820
821 The first two digits are the week of the year, and the last two digits are the year.
822
823 The number 3322 is the first batch we changed the power IC.
824
825
826 = 6.  Trouble Shooting =
827
828 == 6.1  AT Command input doesn't work ==
829
830
831 In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
832
833
834 = 7.  Order Info =
835
836
837 Part Number **:** (% style="color:blue" %)**LMDS120-XX**
838
839 (% style="color:blue" %)**XX**(%%)**: **The default frequency band
840
841 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
842 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
843 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
844 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
845 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
846 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
847 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
848 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band
849
850 = 8. ​ Packing Info =
851
852
853 (((
854 **Package Includes**:
855 )))
856
857 (((
858 * LMDS120 LoRaWAN Microwave Radar Distance Sensor x 1
859 )))
860
861
862
863 = 9.  ​Support =
864
865
866 * 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.
867
868 * 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.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]].
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0