Show last authors
1
2
3 (% style="text-align:center" %)
4 [[image:1655254599445-662.png]]
5
6
7
8
9
10
11 **Table of Contents:**
12
13 {{toc/}}
14
15
16
17
18
19
20
21 = 1.  Introduction =
22
23 == 1.1 ​ What is LoRaWAN Ultrasonic liquid level Sensor ==
24
25 (((
26
27
28 (((
29 (((
30 (((
31 The Dragino LDDS20 is a (% style="color:#4472c4" %)**LoRaWAN Ultrasonic liquid level sensor**(%%) for Internet of Things solution. It uses (% style="color:#4472c4" %)**none-contact method **(%%)to measure the height of liquid in a container without opening the container, and send the value via LoRaWAN network to IoT Server
32 )))
33
34 (((
35 The LDDS20 sensor is installed directly below the container to detect the height of the liquid level. User doesn't need to open a hole on the container to be tested. The (% style="color:#4472c4" %)**none-contact measurement makes the measurement safety, easier and possible for some strict situation**. 
36 )))
37
38 (((
39 LDDS20 uses ultrasonic sensing technology for distance measurement. LDDS20 is of high accuracy to measure various liquid such as: (% style="color:#4472c4" %)**toxic substances**(%%), (% style="color:#4472c4" %)**strong acids**(%%), (% style="color:#4472c4" %)**strong alkalis**(%%) and (% style="color:#4472c4" %)**various pure liquids**(%%) in high-temperature and high-pressure airtight containers.
40 )))
41
42 (((
43 The LoRa wireless technology used in LDDS20 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.
44 )))
45
46 (((
47 LDDS20 is powered by (% style="color:#4472c4" %)**8500mA Li-SOCI2 battery**(%%); It is designed for long term use up to 10 years*.
48 )))
49
50 (((
51 Each LDDS20 pre-loads with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect if there is network coverage, after power on.
52 )))
53 )))
54
55 (((
56 (((
57 (% style="color:#4472c4" %) * (%%)Actually lifetime depends on network coverage and uplink interval and other factors.
58 )))
59 )))
60 )))
61 )))
62
63
64 [[image:1655255122126-327.png]]
65
66
67 == ​1.2  Features ==
68
69
70 * LoRaWAN 1.0.3 Class A
71 * Ultra low power consumption
72 * Liquid Level Measurement by Ultrasonic technology
73 * Measure through container, No need to contact Liquid.
74 * Valid level range 20mm - 2000mm
75 * Accuracy: ±(5mm+S*0.5%) (S: Measure Value)
76 * Cable Length : 25cm
77 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
78 * AT Commands to change parameters
79 * Uplink on periodically
80 * Downlink to change configure
81 * IP66 Waterproof Enclosure
82 * 8500mAh Battery for long term use
83
84 == 1.3  Suitable Container & Liquid ==
85
86
87 * Solid Wall container such as: steel, iron, glass, ceramics, non-foaming plastics etc.
88 * Container shape is regular, and surface is smooth.
89 * Container Thickness:
90 ** Pure metal material.  2~~8mm, best is 3~~5mm
91 ** Pure non metal material: <10 mm
92 * Pure liquid without irregular deposition.(% style="display:none" %)
93
94 == 1.4  Mechanical ==
95
96
97 [[image:image-20220615090910-1.png]]
98
99
100 [[image:image-20220615090910-2.png]]
101
102 (% style="display:none" %) (%%)
103
104 == 1.5  Install LDDS20 ==
105
106
107 (% style="color:blue" %)**Step 1**(%%):  Choose the installation point.
108
109 LDDS20 (% style="color:red" %)**MUST**(%%) be installed on the container bottom middle position.
110
111
112 [[image:image-20220615091045-3.png]]
113
114
115
116 (((
117 (% style="color:blue" %)**Step 2**(%%):  Polish the installation point.
118 )))
119
120 (((
121 For Metal Surface with paint, it is important to polish the surface, first use crude sand paper to polish the paint level , then use exquisite sand paper to polish the metal level to make it shine & smooth.
122 )))
123
124 [[image:image-20220615092010-11.png]]
125
126
127 No polish needed if the container is shine metal surface without paint or non-metal container.
128
129 [[image:image-20220615092044-12.png]]
130
131
132
133 (((
134 (% style="color:blue" %)**Step3:   **(%%)Test the installation point.
135 )))
136
137 (((
138 Power on LDDS20, check if the blue LED is on, If the blue LED is on, means the sensor works. Then put ultrasonic coupling paste on the sensor and put it tightly on the installation point.
139 )))
140
141 (((
142
143 )))
144
145 (((
146 It is necessary to put the coupling paste between the sensor and the container, otherwise LDDS20 won't detect the liquid level.
147 )))
148
149 [[image:1655256160324-178.png||height="151" width="419"]][[image:image-20220615092327-13.png||height="146" width="260"]]
150
151
152 (((
153 After paste the LDDS20 well, power on LDDS20. In the first 30 seconds of booting, device will check the sensors status and BLUE LED will show the status as below. After 30 seconds, BLUE LED will be off to save battery life.
154 )))
155
156 (((
157
158 )))
159
160 (((
161 (% style="color:red" %)**LED Status:**
162 )))
163
164 * (((
165 Onboard LED: When power on device, the onboard LED will fast blink 4 times which means detect the sensor well.
166 )))
167
168 * (((
169 (% style="color:blue" %)**BLUE LED**(% style="color:red" %)** always ON**(%%): Sensor is power on but doesn't detect liquid. There is problem in installation point.
170 )))
171 * (((
172 (% style="color:blue" %)**BLUE LED**(% style="color:red" %)** slowly blinking**(%%): Sensor detects Liquid Level, The installation point is good.
173 )))
174
175 (((
176 LDDS20 will enter into low power mode at 30 seconds after system reset or power on, Blue LED will be off after that.
177 )))
178
179 (((
180
181 )))
182
183 (((
184 (% style="color:red" %)**Note 2:**
185 )))
186
187 (((
188 (% style="color:red" %)**Ultrasonic coupling paste** (%%) is subjected in most shipping way. So the default package doesn't include it and user needs to purchase locally.
189 )))
190
191 (((
192
193 )))
194
195 (((
196
197 )))
198
199 (((
200 (% style="color:blue" %)**Step4:   **(%%)Install use Epoxy ab glue.
201
202 After ensuring that the ultrasonic coupling paste is applied to the sensor and adheres closely to the mounting point, and the sensor can work normally, add AB epoxy glue.
203
204 ((% style="color:red" %)**Note:**(%%) The ultrasonic coupling agent is used to help the sensor detect the liquid in the container, and the epoxy AB glue is used to fix the probe. Both need to be used at the same time.)
205 )))
206
207 (((
208 Prepare Eproxy AB glue.
209 )))
210
211 (((
212 Put Eproxy AB glue in the sensor and press it hard on the container installation point.
213 )))
214
215 (((
216 Reset LDDS20 and see if the BLUE LED is slowly blinking.
217 )))
218
219 [[image:image-20220615091045-8.png||height="203" width="341"]] [[image:image-20220615091045-9.png||height="200" width="284"]]
220
221
222 (((
223 (% style="color:red" %)**Note 1:**
224 )))
225
226 (((
227 Eproxy AB glue needs 3~~ 5 minutes to stable attached. we can use other glue material to keep it in the position.
228 )))
229
230 (((
231
232 )))
233
234 (((
235 (% style="color:red" %)**Note 2:**
236 )))
237
238 (((
239 (% style="color:red" %)**Epoxy AB glue**(%%) is subjected in most shipping way. So the default package doesn't include it and user needs to purchase locally.
240 )))
241
242
243 == 1.6 ​ Applications ==
244
245
246 * Smart liquid control solution.
247 * Smart liquefied gas solution.(% style="display:none" %)
248
249 == 1.7  Precautions ==
250
251
252 * At room temperature, containers of different materials, such as steel, glass, iron, ceramics, non-foamed plastics and other dense materials, have different detection blind areas and detection limit heights.
253 * For containers of the same material at room temperature, the detection blind zone and detection limit height are also different for the thickness of the container.
254 * When the detected liquid level exceeds the effective detection value of the sensor, and the liquid level of the liquid to be measured shakes or tilts, the detected liquid height is unstable.(% style="display:none" %)
255
256 == 1.8  Pin mapping and power on ==
257
258
259 [[image:1655257026882-201.png]]
260
261
262 = 2.  Configure LDDS20 to connect to LoRaWAN network =
263
264 == 2.1  How it works ==
265
266
267 (((
268 The LDDS20 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and power on the LDDS20. If there is coverage of the LoRaWAN network, it will automatically join the network via OTAA and start to send the sensor value.
269 )))
270
271 (((
272 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="H3.A0UsingtheATCommands"]]to set the keys in the LDDS20.
273 )))
274
275
276 == 2.2  ​Quick guide to connect to LoRaWAN server (OTAA) ==
277
278
279 (((
280 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 [[LG308>>url:http://www.dragino.com/products/lora/item/140-lg308.html]] as a LoRaWAN gateway in this example.
281
282
283 )))
284
285 (((
286 [[image:1655257698953-697.png]]
287
288
289 )))
290
291 (((
292 (((
293 The LG308 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server.
294 )))
295 )))
296
297 (((
298 (((
299
300 )))
301
302 (((
303 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LDDS20.
304 )))
305 )))
306
307 (((
308 (((
309 Each LDDS20 is shipped with a sticker with the default device keys, user can find this sticker in the box. it looks like below.
310 )))
311 )))
312
313 [[image:image-20230426085627-1.png||height="271" width="584"]]
314
315
316 (((
317 (((
318 For OTAA registration, we need to set **APP EUI/ APP KEY/ DEV EUI**. Some server might no need to set APP EUI.
319 )))
320 )))
321
322 (((
323 (((
324 Enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot:
325 )))
326 )))
327
328 (((
329 (((
330
331 )))
332
333 (((
334 **Add APP EUI in the application**
335 )))
336 )))
337
338 [[image:image-20220610161353-4.png]]
339
340 [[image:image-20220610161353-5.png]]
341
342 [[image:image-20220610161353-6.png]]
343
344
345 [[image:image-20220610161353-7.png]]
346
347
348
349 You can also choose to create the device manually.
350
351 [[image:image-20220610161538-8.png]]
352
353
354
355 **Add APP KEY and DEV EUI**
356
357 [[image:image-20220610161538-9.png]]
358
359
360 (% style="color:blue" %)**Step 2**(%%):  Power on LDDS20
361
362 Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
363
364 [[image:image-20220615095102-14.png]]
365
366
367 (((
368 (% style="color:blue" %)**Step 3**(%%)**:**  The LDDS20 will auto join to the TTN network. After join success, it will start to upload messages to TTN and you can see the messages in the panel.
369
370
371 )))
372
373 [[image:1654849068701-275.png]]
374
375
376 == 2.3  ​Uplink Payload ==
377
378
379 (((
380 (((
381 (((
382 LDDS20 will uplink payload via LoRaWAN with below payload format: 
383 )))
384
385 (((
386 Uplink payload includes in total 8 bytes.
387 Payload for firmware version v1.1.4. . Before v1.1.3, there is only 5 bytes: BAT and Distance(Please check manual v1.2.0 if you have 5 bytes payload).
388 )))
389 )))
390 )))
391
392 (((
393
394 )))
395
396 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
397 |=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
398 **Size(bytes)**
399 )))|=(% style="width: 40px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**2**|=(% style="width:130px;background-color:#4F81BD;color:white" %)1|=(% style="width:130px;background-color:#4F81BD;color:white" %)2|=(% style="width:70px;background-color:#4F81BD;color:white" %)**1**
400 |(% style="width:62.5px" %)Value|(% style="width:62.5px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(((
401 [[Distance>>||anchor="H2.3.2A0Distance"]](unit: mm)
402 )))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|(((
403 [[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]]
404 )))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]]
405
406 [[image:1654850511545-399.png]]
407
408
409 === 2.3.1  Battery Info ===
410
411
412 Check the battery voltage for LDDS20.
413
414 Ex1: 0x0B45 = 2885mV
415
416 Ex2: 0x0B49 = 2889mV
417
418
419 === 2.3.2  Distance ===
420
421
422 (((
423 Get the distance. Flat object range 20mm - 2000mm.
424 )))
425
426 (((
427 For example, if the data you get from the register is __0x06 0x05__, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** 0605(H) = 1541 (D) = 1541 mm.**
428 )))
429
430 * If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor.
431 * If the sensor value lower than 0x0014 (20mm), the sensor value will be invalid.(% style="display:none" %)
432
433 === 2.3.3  Interrupt Pin ===
434
435
436 This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.2A0SetInterruptMode"]] for the hardware and software set up.
437
438 **Example:**
439
440 0x00: Normal uplink packet.
441
442 0x01: Interrupt Uplink Packet.
443
444
445 === 2.3.4  DS18B20 Temperature sensor ===
446
447
448 This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
449
450 **Example**:
451
452 If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
453
454 If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
455
456 (% style="color:red" %)**Note: DS18B20 feature is supported in the hardware version > v1.3 which made since early of 2021.**
457
458
459 === 2.3.5  Sensor Flag ===
460
461
462 (((
463 0x01: Detect Ultrasonic Sensor
464 )))
465
466 (((
467 0x00: No Ultrasonic Sensor
468 )))
469
470
471 === 2.3.6  Decode payload in The Things Network ===
472
473
474 While using TTN network, you can add the payload format to decode the payload.
475
476
477 [[image:1655261164557-670.png]]
478
479 (((
480 The payload decoder function for TTN V3 is here:
481 )))
482
483 (((
484 (((
485 LDDS20 TTN V3 Payload Decoder:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
486 )))
487 )))
488
489
490 == 2.4  Downlink Payload ==
491
492
493 By default, LDDS20 prints the downlink payload to console port.
494
495 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
496 |(% style="background-color:#4f81bd; color:white; width:208px" %)**Downlink Control Type**|(% style="background-color:#4f81bd; color:white; width:56px" %)**FPort**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:146px" %)**Downlink payload size(bytes)**
497 |(% style="width:208px" %)TDC (Transmit Time Interval)|(% style="width:56px" %)Any|(% style="width:100px" %)01|(% style="width:154px" %)4
498 |(% style="width:208px" %)RESET|(% style="width:56px" %)Any|(% style="width:100px" %)04|(% style="width:154px" %)2
499 |AT+CFM|Any|05|4
500 |(% style="width:208px" %)INTMOD|(% style="width:56px" %)Any|(% style="width:100px" %)06|(% style="width:154px" %)4
501
502 **Examples:**
503
504
505 * (% style="color:blue" %)**Set TDC**
506
507 If the payload=0100003C, it means set the END Node's TDC to 0x00003C=60(S), while type code is 01.
508
509 Payload:    01 00 00 1E    TDC=30S
510
511 Payload:    01 00 00 3C    TDC=60S
512
513
514 * (% style="color:blue" %)**Reset**
515
516 If payload = 0x04FF, it will reset the LDDS20
517
518
519 * (% style="color:blue" %)**CFM**
520
521 Downlink Payload: 05000001, Set AT+CFM=1 or 05000000 , set AT+CFM=0
522
523
524 == 2.5  ​Show Data in DataCake IoT Server ==
525
526
527 (((
528 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
529 )))
530
531 (((
532
533 )))
534
535 (((
536 (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
537 )))
538
539 (((
540 (% style="color:blue" %)**Step 2**(%%)**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:**
541 )))
542
543
544 [[image:1654592790040-760.png]]
545
546
547 [[image:1654592800389-571.png]]
548
549
550 (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
551
552 (% style="color:blue" %)**Step 4**(%%)**: Search the LDDS75 and add DevEUI.(% style="color:red" %)(Note: LDDS20 use same payload as LDDS75)(%%)**
553
554 [[image:1654851029373-510.png]]
555
556
557 After added, the sensor data arrive TTN V3, it will also arrive and show in Datacake.
558
559 [[image:image-20220610165129-11.png||height="595" width="1088"]]
560
561
562 == 2.6  LED Indicator ==
563
564
565 The LDDS20 has an internal LED which is to show the status of different state.
566
567
568 * Blink once when device power on.
569 * The device detects the sensor and flashes 5 times.
570 * Solid ON for 5 seconds once device successful Join the network.
571 * Blink once when device transmit a packet.(% style="display:none" %)
572
573 == 2.7  ​Firmware Change Log ==
574
575
576 (((
577 **Firmware download link:   **[[https:~~/~~/www.dropbox.com/sh/26spxc7wr3aduwi/AACQSJESTaVkWO5JVHLvdt0Za?dl=0>>https://www.dropbox.com/sh/26spxc7wr3aduwi/AACQSJESTaVkWO5JVHLvdt0Za?dl=0]]
578 )))
579
580 (((
581 **Firmware Upgrade Method:  **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
582 )))
583
584
585 == 2.8 Battery & Power Consumption ==
586
587
588 LDDS20 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
589
590 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
591
592
593 = 3.  Using the AT Commands =
594
595 == 3.1  Access AT Commands ==
596
597
598 LDDS20 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LDDS20 for using AT command, as below.
599
600 [[image:image-20240312113025-1.jpeg||height="523" width="735"]]
601
602
603 Or if you have below board, use below connection:
604
605 [[image:image-20220610172924-5.png||height="416" width="663"]]
606
607
608 (((
609 In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LDDS20. LDDS20 will output system info once power on as below:
610 )))
611
612 [[image:image-20220610172924-6.png||height="601" width="860"]]
613
614 Below are the available commands, a more detailed AT Command manual can be found at [[AT Command Manual>>https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/]].
615
616
617 AT+<CMD>?  :  Help on <CMD>
618
619 AT+<CMD>  :  Run <CMD>
620
621 AT+<CMD>=<value>  :  Set the value
622
623 AT+<CMD>=?  :  Get the value
624
625
626 (% style="color:#037691" %)** General Commands :**     
627
628 AT  :  Attention       
629
630 AT?  :  Short Help     
631
632 ATZ :  MCU Reset    
633
634 AT+TDC :  Application Data Transmission Interval 
635
636
637 (% style="color:#037691" %)** Keys, IDs and EUIs management :**
638
639 AT+APPEUI  :  Application EUI      
640
641 AT+APPKEY  :  Application Key     
642
643 AT+APPSKEY  :  Application Session Key
644
645 AT+DADDR :  Device Address     
646
647 AT+DEUI :  Device EUI     
648
649 AT+NWKID  :  Network ID (You can enter this command change only after successful network connection) 
650
651 AT+NWKSKEY  : Network Session Key Joining and sending date on LoRa network  
652
653 AT+CFM :  Confirm Mode       
654
655 AT+CFS :  Confirm Status       
656
657 AT+JOIN  :  Join LoRa? Network       
658
659 AT+NJM  :  LoRa? Network Join Mode    
660
661 AT+NJS  :  LoRa? Network Join Status    
662
663 AT+RECV  :  Print Last Received Data in Raw Format
664
665 AT+RECVB :  Print Last Received Data in Binary Format      
666
667 AT+SEND  :  Send Text Data      
668
669 AT+SENB  :  Send Hexadecimal Data
670
671
672 (% style="color:#037691" %)** LoRa Network Management :**
673
674 AT+ADR  :  Adaptive Rate
675
676 AT+CLASS  :  LoRa Class(Currently only support class A
677
678 AT+DCS  :  Duty Cycle Setting 
679
680 AT+DR  :  Data Rate (Can Only be Modified after ADR=0)     
681
682 AT+FCD  :  Frame Counter Downlink       
683
684 AT+FCU  :  Frame Counter Uplink   
685
686 AT+JN1DL  :  Join Accept Delay1
687
688 AT+JN2DL  :  Join Accept Delay2
689
690 AT+PNM  :  Public Network Mode   
691
692 AT+RX1DL  :  Receive Delay1      
693
694 AT+RX2DL  :  Receive Delay2      
695
696 AT+RX2DR  :  Rx2 Window Data Rate 
697
698 AT+RX2FQ  :  Rx2 Window Frequency
699
700 AT+TXP  :  Transmit Power
701
702
703 (% style="color:#037691" %)** Information :**
704
705 AT+RSSI  :  RSSI of the Last Received Packet   
706
707 AT+SNR  :  SNR of the Last Received Packet   
708
709 AT+VER  :  Image Version and Frequency Band       
710
711 AT+FDR  :  Factory Data Reset
712
713 AT+PORT  :  Application Port    
714
715 AT+CHS  :  Get or Set Frequency (Unit: Hz) for Single Channel Mode
716
717 AT+CHE  :  Get or Set eight channels mode, Only for US915, AU915, CN470
718
719
720 == 3.2  Set Interrupt Mode ==
721
722
723 Feature, Set Interrupt mode for GPIO_EXIT.
724
725 (% style="color:#037691" %)**Downlink Command: AT+INTMOD**(% style="display:none" %)
726
727 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
728 |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:188px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Response**
729 |(% style="width:155px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:177px" %)(((
730 0
731 OK
732 the mode is 0 = No interruption
733 )))
734 |(% style="width:155px" %)AT+INTMOD=2|(% style="width:187px" %)(((
735 Set Transmit Interval
736
737 1. (Disable Interrupt),
738 1. (Trigger by rising and falling edge),
739 1. (Trigger by falling edge)
740 1. (Trigger by rising edge)
741 )))|(% style="width:177px" %)(((
742 OK
743 Set transmit interval to 60000ms = 60 seconds
744 )))
745
746 (((
747 (% style="color:#037691" %)**Downlink Command: 0x06**
748 )))
749
750 (((
751 Format: Command Code (0x06) followed by 3 bytes.
752 )))
753
754 (((
755 (((
756 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
757 )))
758 )))
759
760 * (((
761 Example 1: Downlink Payload: 06000000  ~/~/ Turn off interrupt mode
762 )))
763 * (((
764 Example 2: Downlink Payload: 06000003  ~/~/ Set the interrupt mode to rising edge trigger
765 )))
766
767 (((
768 (% style="display:none" %) (%%)
769 )))
770
771
772 = 4.  FAQ =
773
774 == 4.1  What is the frequency plan for LDDS20? ==
775
776
777 LDDS20 use the same frequency as other Dragino products. User can see the detail from this link:  [[Introduction>>doc:Main.End Device Frequency Band.WebHome||anchor="H1.Introduction"]]
778
779
780 == 4.2  How to change the LoRa Frequency Bands/Region ==
781
782
783 You can follow the instructions for [[how to upgrade image>>||anchor="H2.7A0200BFirmwareChangeLog"]].
784 When downloading the images, choose the required image file for download. ​
785
786
787 = 5.  Trouble Shooting =
788
789 == 5.1  Why I can't join TTN V3 in US915 / AU915 bands? ==
790
791
792 It is due to channel mapping. Please see below link:  [[Frequency band>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
793
794
795 == 5.2  AT Command input doesn't work ==
796
797
798 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.
799
800
801 == 5.3 Why i always see 0x0000 or 0 for the distance value? ==
802
803
804 (((
805 LDDS20 has a strict [[**installation requirement**>>||anchor="H1.5A0InstallLDDS20"]]. Please make sure the installation method exactly follows up with the installation requirement. Otherwise, the reading might be always 0x00.
806
807 If you have followed the instruction requirement exactly but still see the 0x00 reading issue, please. please double-check the decoder, you can check the raw payload to verify.
808 )))
809
810
811 = 6.  Order Info =
812
813
814 Part Number **:** (% style="color:blue" %)**LDDS20-XX**
815
816
817 (% style="color:blue" %)**XX**(%%)**: **The default frequency band
818
819 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
820 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
821 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
822 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
823 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
824 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
825 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
826 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band
827
828 = 7. ​ Packing Info =
829
830
831 (((
832 **Package Includes**:
833 )))
834
835 * (((
836 LDDS20 LoRaWAN Liquid Level Sensor x 1
837 )))
838
839 (((
840 (% style="color:red" %)**Note:**
841 )))
842
843 (((
844 (((
845 (% style="color:red" %)**Ultrasonic coupling paste**(%%) and(% style="color:red" %)** Eproxy AB glue**(%%) are subjected in most shipping way. So the default package doesn't include it and user needs to purchase locally.
846 )))
847 )))
848
849 (((
850
851 )))
852
853 (((
854 **Dimension and weight**:
855 )))
856
857 * (((
858 Device Size: cm
859 )))
860 * (((
861 Device Weight: g
862 )))
863 * (((
864 Package Size / pcs : cm
865 )))
866 * (((
867 Weight / pcs : g
868
869
870
871 )))
872
873 = 8.  ​Support =
874
875
876 * 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.
877 * 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-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0