Last modified by Xiaoling on 2025/04/27 14:32

Show last authors
1 (% style="text-align:center" %)
2 [[image:image-20220611143226-1.png||height="568" width="437"]]
3
4
5
6
7
8
9 **Table of Contents:**
10
11 {{toc/}}
12
13
14
15
16
17
18
19
20
21
22 = 1.  Introduction =
23
24 == 1.1 ​ What is LoRaWAN 4-Channels Distance Sensor ==
25
26
27 (((
28 The Dragino LDDS04 is a (% style="color:blue" %)**LoRaWAN 4-Channels Distance Sensor**(%%) for Internet of Things solution. It is capable to add up to four Ultrasonic Sensors to measure four distances at the same time.
29 )))
30
31 (((
32 The LDDS04 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.
33 )))
34
35 (((
36 It detects the distance between the measured object and the sensor, and uploads the value via wireless to LoRaWAN IoT Server.
37 )))
38
39 (((
40 The LoRa wireless technology used in LDDS04 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.
41 )))
42
43 (((
44 LDDS04 is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.
45 )))
46
47 (((
48 Each LDDS04 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.
49 )))
50
51
52 == ​1.2  Features ==
53
54
55 * LoRaWAN 1.0.3 Class A
56 * Ultra-low power consumption
57 * Detect Range: Base on External Probe
58 * Monitor Battery Level
59 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
60 * AT Commands to change parameters
61 * Uplink on periodically
62 * Downlink to change configure
63 * 8500mAh Battery for long term use
64
65 == 1.3 ​ Applications ==
66
67
68 * Horizontal distance measurement
69 * Parking management system
70 * Object proximity and presence detection
71 * Intelligent trash can management system
72 * Robot obstacle avoidance
73 * Automatic control
74 * Sewer
75
76 == 1.4  Pin mapping and power on ==
77
78
79 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654930101285-501.png?rev=1.1||alt="1654930101285-501.png"]]
80
81
82 == 1.5  Probe Options ==
83
84 === 1.5.1  Probes Comparation ===
85
86
87 (% border="1" cellspacing="3" style="width:505px" %)
88 |=(% style="width: 80px;background-color:#4F81BD;color:white" %)**Model**|=(% style="width: 147px;background-color:#4F81BD;color:white" %)**Photo**|=(% style="width: 278px;background-color:#4F81BD;color:white" %)**Description**
89 |(% style="width:78px" %)A01A-15|(% style="width:145px" %)(((
90 (% aria-label="1654931296150-422.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654931296150-422.png||data-widget="image" height="180" width="180"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
91
92
93
94 )))|(% style="width:277px" %)(((
95 (((
96 Detect Distance: 28 cm ~~ 750 cm
97 )))
98
99 (((
100 Blind Spot Distance: 0 ~~ 28cm
101 )))
102
103 (((
104 Accuracy: ±(1cm+S*0.3%) (S: Distance)
105 )))
106
107 (((
108 Measure Angle: ~~ 40°
109 )))
110
111 (((
112 Cable Length: 1.5 meter
113 )))
114
115 (((
116 Temperature Compensation
117 )))
118
119 (((
120 Suitable for Flat Object Detect
121 )))
122
123 (((
124 IP67 Water Proof
125 )))
126 )))
127 |(% style="width:78px" %)A02-15|(% style="width:145px" %)(((
128 [[image:image-20220611150955-2.png||data-widget="image" height="180" width="180"]]
129
130
131
132 )))|(% style="width:277px" %)(((
133 (((
134 Detect Distance: 3cm ~~ 450cm
135 )))
136
137 (((
138 Blind Spot Distance: 0 ~~ 3cm
139 )))
140
141 (((
142 Accuracy: ±(1cm+S*0.3%) (S: Distance)
143 )))
144
145 (((
146 Measure Angle: ~~ 60°
147 )))
148
149 (((
150 Cable Length: 1.5 meter
151 )))
152
153 (((
154 Temperature Compensation
155 )))
156
157 (((
158 Suitable for Flat Object Detect, Rubbish Bin
159 )))
160
161 (((
162 IP67 Water Proof
163 )))
164 )))
165 |(% style="width:78px" %)A13-15|(% style="width:145px" %)(((
166 [[image:1654931353123-552.png||data-widget="image" height="180" width="180"]]
167
168
169
170 )))|(% style="width:277px" %)(((
171 (((
172 Detect Distance: 25cm ~~ 200cm
173 )))
174
175 (((
176 Blind Spot Distance: 0 ~~ 25cm
177 )))
178
179 (((
180 Accuracy: ±(1cm+S*0.3%) (S: Distance)
181 )))
182
183 (((
184 Measure Angle: ~~ 20°
185 )))
186
187 (((
188 Cable Length: 1.5 meter
189 )))
190
191 (((
192 Temperature Compensation
193 )))
194
195 (((
196 Suitable for Flat Object Detect, Rubbish Bin
197 )))
198
199 (((
200 IP67 Water Proof
201 )))
202 )))
203 |(% style="width:78px" %)A16-15|(% style="width:145px" %)(((
204 [[image:1654931363281-306.png||data-widget="image" height="180" width="180"]]
205
206
207
208 )))|(% style="width:277px" %)(((
209 (((
210 Detect Distance: 50cm ~~ 1500cm
211 )))
212
213 (((
214 Blind Spot Distance: 0 ~~ 50cm
215 )))
216
217 (((
218 Accuracy: ±(1cm+S*0.3%) (S: Distance)
219 )))
220
221 (((
222 Measure Angle: ~~ 40°
223 )))
224
225 (((
226 Cable Length: 1.5 meter
227 )))
228
229 (((
230 Temperature Compensation
231 )))
232
233 (((
234 Suitable for Long Distance Detect
235 )))
236
237 (((
238 IP67 Water Proof
239 )))
240 )))
241
242 === 1.5.2  P01A-15 probe ===
243
244
245 (((
246 A01A-15 is mainly used for plane distance measurement; it can carry out targeted measurement on plane objects and can measure long distances and high accuracy.
247 )))
248
249
250 (((
251 (% style="color:blue" %)**Beam Chart:**
252 )))
253
254 (((
255 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
256 )))
257
258 [[image:1654852253176-749.png||data-widget="image"]]
259
260
261 (((
262 **(2)** **The object to be tested is a "corrugated cardboard box" perpendicular to the central axis of 0 °, and the length * width is 60cm * 50cm.**
263 )))
264
265 [[image:1654852175653-550.png||data-widget="image"]]
266
267
268
269 (% style="color:blue" %)**Mechanical:**
270
271 [[image:image-20220611152848-11.png||data-widget="image"]]
272
273
274 [[image:1654932546845-829.png||data-widget="image"]]
275
276
277 [[image:image-20220611152934-12.png||data-widget="image"]]
278
279
280 (% style="color:blue" %)**Application:**
281
282 [[image:image-20220613093246-3.png||data-widget="image"]]
283
284
285 === 1.5.3  A02-15 probe ===
286
287 (% id="cke_bm_620491S" style="color:blue; display:none" %)** **
288
289
290 (((
291 (% style="color:blue" %)**Beam Chart:**
292 )))
293
294 (((
295 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
296 )))
297
298 [[image:1654934329751-424.png||data-widget="image"]]
299
300
301
302 (((
303 **(2)** **The object to be tested is a "corrugated cardboard box" perpendicular to the central axis of 0 °, and the length * width is 60cm * 50cm.**
304 )))
305
306 [[image:1654934343649-264.png||data-widget="image"]]
307
308
309 (% style="color:blue" %)**Mechanical:**
310
311 [[image:1654932923252-110.png||data-widget="image"]]
312
313
314 (% style="color:blue" %)**Application:**
315
316 [[image:image-20220611153001-13.png||data-widget="image"]]
317
318
319 === 1.5.4  A13-15 probe ===
320
321 (% id="cke_bm_695100S" style="color:blue; display:none" %)** **
322
323
324 (((
325 (% style="color:blue" %)**Beam Chart:**
326 )))
327
328 (((
329 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
330 )))
331
332 [[image:1654934363730-880.png||data-widget="image"]]
333
334
335 (((
336 **(2)** **The object to be tested is a "corrugated cardboard box" perpendicular to the central axis of 0 °, and the length * width is 60cm * 50cm.**
337 )))
338
339
340 (((
341 (% style="color:blue" %)**Mechanical:**
342 )))
343
344 [[image:image-20220611154330-16.png||data-widget="image"]]
345
346
347 (% style="color:blue" %)**Installation Requirement:**
348
349 [[image:1654933425011-311.png||data-widget="image" height="649" width="747"]]
350
351
352 (% style="color:blue" %)**Application:**
353
354 [[image:image-20220613093149-2.png||data-widget="image"]]
355
356
357 === 1.5.5  A13-16 probe ===
358
359 (% id="cke_bm_695100S" style="color:blue; display:none" %)** **
360
361
362 (((
363 (% style="color:blue" %)**Beam Chart:**
364 )))
365
366 (((
367 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
368 )))
369
370 [[image:1654934415156-713.png||data-widget="image"]]
371
372
373 (((
374 **(2)** **The object to be tested is a "corrugated cardboard box" perpendicular to the central axis of 0 °, and the length * width is 60cm * 50cm.**
375
376 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934424571-232.png?rev=1.1||alt="1654934424571-232.png"]]
377
378
379 )))
380
381 (% style="color:blue" %)**Mechanical:**
382
383 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611160117-1.png?rev=1.1||alt="image-20220611160117-1.png"]]
384
385
386 (% style="color:blue" %)**Application:**
387
388 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220613093102-1.png?rev=1.1||alt="image-20220613093102-1.png"]]
389
390
391 = 2.  Configure LDDS04 to connect to LoRaWAN network =
392
393 == 2.1  How it works ==
394
395
396 The LDDS04 is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and power on the LDDS04. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
397
398
399 == 2.2  Connect Probe ==
400
401
402 LDDS04 has a converter, User need to connect the Ultrasonic Probes to the convert as below. Different probes are supported, please see this link for the probe options.
403
404 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611160853-2.png?width=407&height=351&rev=1.1||alt="image-20220611160853-2.png" height="351" width="407"]]​
405
406 Probe mapping as below.
407
408 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611160853-3.png?width=746&height=463&rev=1.1||alt="image-20220611160853-3.png" height="463" width="746"]]
409
410
411
412 == 2.3  ​Quick guide to connect to LoRaWAN server (OTAA) ==
413
414
415 Below is the network structure; we use the [[DLOS8 >>url:https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] as a LoRaWAN gateway in this example.
416
417 (% aria-label="1654935011447-935.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654935011447-935.png||data-widget="image" height="410" width="802"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
418 ​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
419
420 (((
421 The DLOS8 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.
422 )))
423
424 (((
425
426
427 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LDDS04.
428 )))
429
430 (((
431 Each LDDS04 is shipped with a sticker with the default device keys, user can find this sticker in the box. it looks like below:
432 )))
433
434 (% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT52%20-%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20230426083617-1.png?rev=1.1||alt="image-20230426083617-1.png" height="222" width="478"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
435
436
437 (((
438 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
439
440 **Create the application.**
441
442 [[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"]]
443
444 [[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"]]
445
446
447 **Add devices to the created Application.**
448
449 [[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"]]
450
451 [[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"]]
452
453
454 **Enter end device specifics manually.**
455
456 [[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"]]
457
458
459 **Add DevEUI and AppKey. Customize a platform ID for the device.**
460
461 [[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"]]
462
463
464 (% style="color:blue" %)**Step 2**(%%): Add decoder.
465
466 In TTN, user can add a custom payload so it shows friendly reading.
467
468 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/]]
469
470 Below is TTN screen shot:
471
472 [[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"]]
473
474 [[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"]]
475
476 (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
477 )))
478
479 (% style="color:blue" %)**Step 3**(%%): Power on LDDS04
480
481 Put a Jumper on JP2 to power on the device. ( The Switch must be in FLASH position).
482
483
484 (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="1654935407017-525.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654935407017-525.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](%%)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
485
486 The LDDS04 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.
487
488 (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="1654935473814-664.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654935473814-664.png||data-widget="image" height="203" width="744"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](%%)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​​
489
490
491 == 2.4  ​Uplink Payload ==
492
493
494 (((
495 (((
496 (((
497 LDDS04 will uplink payload via LoRaWAN with below payload format: 
498 )))
499
500 (((
501 Uplink payload includes in total 11 bytes.(% style="display:none" %) 
502 )))
503 )))
504 )))
505
506 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
507 |=(% style="width: 62.5px;background-color:#4F81BD;color:white" %)(((
508 **Size(bytes)**
509 )))|=(% 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" %)2|=(% style="background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD;color:white" %)1
510 |(% style="width:62.5px" %)Value|(((
511 [[BAT>>||anchor="H2.4.1A0BatteryInfo"]] &
512 [[Interrupt  flag>>||anchor="H2.4.2A0InterruptPin"]]
513 )))|(((
514 [[Distance of UT sensor1>>||anchor="H2.4.3A0Distance"]]
515 )))|(((
516 [[Distance of UT sensor2>>||anchor="H2.4.3A0Distance"]]
517 )))|(((
518 [[Distance of UT sensor3>>||anchor="H2.4.3A0Distance"]]
519 )))|(((
520 [[Distance of UT sensor4>>||anchor="H2.4.3A0Distance"]]
521 )))|(((
522 [[Message Type>>||anchor="H2.4.4A0MessageType"]]
523 )))
524
525 (% aria-label="1654935473814-664.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654935473814-664.png||data-widget="image" height="199" width="729"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
526
527
528 === 2.4.1  Battery Info ===
529
530
531 Check the battery voltage for LDDS04.
532
533 Ex1: 0x0B45 = 2885mV
534
535 Ex2: 0x0B49 = 2889mV
536
537
538 === 2.4.2  Interrupt Pin ===
539
540
541 (((
542 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.
543 )))
544
545 (((
546 (% style="color:red" %)**Note: **(%%)The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.4A0Pinmappingandpoweron"]].
547 )))
548
549 (((
550
551 )))
552
553 (((
554 **Example:**
555 )))
556
557 (((
558 (0x0D4A & 0x8000) >>15 = 0: Normal uplink packet.
559 )))
560
561 (((
562 (0x8D41 & (% title="Click and drag to resize" %)0x8000)(%%) >>15 = 1: Interrupt Uplink Packet.
563 )))
564
565 (% style="display:none" %) (%%)
566
567 === 2.4.3  Distance ===
568
569
570 (((
571 (((
572 The measuring distance of the four distance measuring modules, the default unit is cm.(% style="display:none" %)
573 )))
574
575 (((
576 **Example**:
577 )))
578
579 (((
580 Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01
581 )))
582
583 (((
584 (% style="display:none" %) (%%)
585 )))
586
587 (((
588 (% title="Click and drag to resize" %)**Data analysis:**
589 )))
590
591 (((
592 Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm.
593 )))
594
595 (((
596 Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm.
597 )))
598
599 (((
600 Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm.
601 )))
602
603 (((
604 Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm.
605 )))
606 )))
607
608
609 === 2.4.4  Message Type ===
610
611 (((
612
613
614 For a normal uplink payload, the message type is always 0x01.
615 )))
616
617 (((
618 Valid Message Type:(% style="display:none" %) 
619 )))
620
621 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:499px" %)
622 |=(% 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**
623 |(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.4A0200BUplinkPayload"]]
624 |(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.3A0GetFirmwareVersionInfo"]]
625
626 [[image:1654936589640-122.png||data-widget="image" height="248" width="806"]]​
627
628
629 === 2.4.5  Decode payload in The Things Network ===
630
631
632 While using TTN network, you can add the payload format to decode the payload.
633
634 [[image:1654936675588-151.png||data-widget="image" height="379" width="762"]]
635
636
637 The payload decoder function for TTN is here:
638
639 LDDS04 TTN Payload Decoder:  [[ttps:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
640
641
642 **//function Decoder(bytes, port) {//**
643
644 **// var decode = {};//**
645
646 **// var value=(bytes[0]<<8 | bytes[1]) & 0x3FFF;//**
647
648 **// decode.BatV= value/1000;//**
649
650 **// decode.EXTI_Trigger=(bytes[0] & 0x80)? "TRUE":"FALSE";//**
651
652 **// decode.distance1_cm=(bytes[2]<<8 | bytes[3])/10;//**
653
654 **// decode.distance2_cm=(bytes[4]<<8 | bytes[5])/10;//**
655
656 **// decode.distance3_cm=(bytes[6]<<8 | bytes[7])/10//**
657
658 **// decode.distance4_cm=(bytes[8]<<8 | bytes[9])/10;//**
659
660 **// decode.mes_type= bytes[10];//**
661
662
663 **// if(!((bytes[0]==0x03)&&(bytes[10]==0x02~)~)~)//**
664
665 **// {//**
666
667 **// return decode;//**
668
669 **// }//**
670
671 **//}//**
672
673
674
675 == 2.5  Uplink Interval ==
676
677
678 The LDDS04 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>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
679
680
681 == 2.6  ​Show Data in DataCake IoT Server ==
682
683
684 (((
685 [[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:
686 )))
687
688 (((
689
690 )))
691
692 (((
693 (% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
694 )))
695
696 (((
697 (% 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:**
698 )))
699
700
701 (% aria-label="1654592790040-760.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654592790040-760.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
702
703
704 (% aria-label="1654592800389-571.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654592800389-571.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
705
706
707 (% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
708
709 (% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. **
710
711
712
713 (% aria-label="image-20220611164604-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-7.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
714
715
716
717 (% aria-label="image-20220611164604-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-8.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
718
719
720 (% aria-label="image-20220611164604-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-9.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
721
722
723 (% style="color:blue" %)**Step 5**(%%)**: ** **add payload decode**
724
725
726 (% aria-label="image-20220611164604-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-10.png||data-widget="image" height="394" width="923"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
727
728
729 (% aria-label="image-20220611164604-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-11.png||data-widget="image" height="303" width="931"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
730
731
732 (% aria-label="image-20220611164604-12.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-12.png||data-widget="image" height="331" width="897"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
733
734
735 After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
736
737 (% aria-label="image-20220611164604-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-13.png||data-widget="image" height="215" width="899"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
738
739
740 (% aria-label="image-20220611164604-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-14.png||data-widget="image" height="632" width="824"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
741
742
743 (% aria-label="image-20220611164604-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-15.png||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
744
745
746 (% aria-label="image-20220611164604-16.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-16.png||data-widget="image" height="409" width="833"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
747
748
749 == 2.7  Frequency Plans ==
750
751
752 (((
753 (((
754 The LDDS04 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.
755 )))
756 )))
757
758
759 === 2.7.1  EU863-870 (EU868) ===
760
761
762 (((
763 (% style="color:blue" %)**Uplink:**
764 )))
765
766 (((
767 868.1 - SF7BW125 to SF12BW125
768 )))
769
770 (((
771 868.3 - SF7BW125 to SF12BW125 and SF7BW250
772 )))
773
774 (((
775 868.5 - SF7BW125 to SF12BW125
776 )))
777
778 (((
779 867.1 - SF7BW125 to SF12BW125
780 )))
781
782 (((
783 867.3 - SF7BW125 to SF12BW125
784 )))
785
786 (((
787 867.5 - SF7BW125 to SF12BW125
788 )))
789
790 (((
791 867.7 - SF7BW125 to SF12BW125
792 )))
793
794 (((
795 867.9 - SF7BW125 to SF12BW125
796 )))
797
798 (((
799 868.8 - FSK
800 )))
801
802 (((
803
804 )))
805
806 (((
807 (% style="color:blue" %)**Downlink:**
808 )))
809
810 (((
811 Uplink channels 1-9 (RX1)
812 )))
813
814 (((
815 869.525 - SF9BW125 (RX2 downlink only)
816 )))
817
818
819 === 2.7.2  US902-928(US915) ===
820
821 (((
822
823
824 (((
825 Used in USA, Canada, and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
826 )))
827
828 (((
829 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join.
830 )))
831
832 (((
833
834 )))
835
836 (((
837 After Join success, the end node will switch to the correct sub band by:
838 )))
839
840 * (((
841 Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
842 )))
843 * (((
844 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)
845 )))
846 )))
847
848
849 (% style="display:none" %) (%%)
850
851 === 2.7.3  CN470-510 (CN470) ===
852
853
854 (((
855 Used in China, Default use CHE=1
856 )))
857
858 (((
859 (% style="color:blue" %)**Uplink:**
860 )))
861
862 (((
863 486.3 - SF7BW125 to SF12BW125
864 )))
865
866 (((
867 486.5 - SF7BW125 to SF12BW125
868 )))
869
870 (((
871 486.7 - SF7BW125 to SF12BW125
872 )))
873
874 (((
875 486.9 - SF7BW125 to SF12BW125
876 )))
877
878 (((
879 487.1 - SF7BW125 to SF12BW125
880 )))
881
882 (((
883 487.3 - SF7BW125 to SF12BW125
884 )))
885
886 (((
887 487.5 - SF7BW125 to SF12BW125
888 )))
889
890 (((
891 487.7 - SF7BW125 to SF12BW125
892 )))
893
894 (((
895
896 )))
897
898 (((
899 (% style="color:blue" %)**Downlink:**
900 )))
901
902 (((
903 506.7 - SF7BW125 to SF12BW125
904 )))
905
906 (((
907 506.9 - SF7BW125 to SF12BW125
908 )))
909
910 (((
911 507.1 - SF7BW125 to SF12BW125
912 )))
913
914 (((
915 507.3 - SF7BW125 to SF12BW125
916 )))
917
918 (((
919 507.5 - SF7BW125 to SF12BW125
920 )))
921
922 (((
923 507.7 - SF7BW125 to SF12BW125
924 )))
925
926 (((
927 507.9 - SF7BW125 to SF12BW125
928 )))
929
930 (((
931 508.1 - SF7BW125 to SF12BW125
932 )))
933
934 (((
935 505.3 - SF12BW125 (RX2 downlink only)
936 )))
937
938
939 === 2.7.4  AU915-928(AU915) ===
940
941 (((
942
943
944 (((
945 Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
946 )))
947
948 (((
949 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join.
950 )))
951
952 (((
953
954 )))
955
956 (((
957 After Join success, the end node will switch to the correct sub band by:
958 )))
959
960 * (((
961 Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
962 )))
963 * (((
964 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)
965 )))
966 )))
967
968 (% style="display:none" %) (%%)
969
970 (% style="display:none" %) (%%)
971
972 === 2.7.5  AS920-923 & AS923-925 (AS923) ===
973
974
975 (((
976 (% style="color:blue" %)**Default Uplink channel:**
977 )))
978
979 (((
980 923.2 - SF7BW125 to SF10BW125
981 )))
982
983 (((
984 923.4 - SF7BW125 to SF10BW125
985 )))
986
987 (((
988
989 )))
990
991 (((
992 (% style="color:blue" %)**Additional Uplink Channel**:
993 )))
994
995 (((
996 (OTAA mode, channel added by JoinAccept message)
997 )))
998
999 (((
1000
1001 )))
1002
1003 (((
1004 (% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**:
1005 )))
1006
1007 (((
1008 922.2 - SF7BW125 to SF10BW125
1009 )))
1010
1011 (((
1012 922.4 - SF7BW125 to SF10BW125
1013 )))
1014
1015 (((
1016 922.6 - SF7BW125 to SF10BW125
1017 )))
1018
1019 (((
1020 922.8 - SF7BW125 to SF10BW125
1021 )))
1022
1023 (((
1024 923.0 - SF7BW125 to SF10BW125
1025 )))
1026
1027 (((
1028 922.0 - SF7BW125 to SF10BW125
1029 )))
1030
1031 (((
1032
1033 )))
1034
1035 (((
1036 (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:
1037 )))
1038
1039 (((
1040 923.6 - SF7BW125 to SF10BW125
1041 )))
1042
1043 (((
1044 923.8 - SF7BW125 to SF10BW125
1045 )))
1046
1047 (((
1048 924.0 - SF7BW125 to SF10BW125
1049 )))
1050
1051 (((
1052 924.2 - SF7BW125 to SF10BW125
1053 )))
1054
1055 (((
1056 924.4 - SF7BW125 to SF10BW125
1057 )))
1058
1059 (((
1060 924.6 - SF7BW125 to SF10BW125
1061 )))
1062
1063 (((
1064
1065 )))
1066
1067 (((
1068 (% style="color:blue" %)**Downlink:**
1069 )))
1070
1071 (((
1072 Uplink channels 1-8 (RX1)
1073 )))
1074
1075 (((
1076 923.2 - SF10BW125 (RX2)
1077 )))
1078
1079
1080 === 2.7.6  KR920-923 (KR920) ===
1081
1082
1083 (((
1084 (% style="color:blue" %)**Default channel:**
1085 )))
1086
1087 (((
1088 922.1 - SF7BW125 to SF12BW125
1089 )))
1090
1091 (((
1092 922.3 - SF7BW125 to SF12BW125
1093 )))
1094
1095 (((
1096 922.5 - SF7BW125 to SF12BW125
1097 )))
1098
1099 (((
1100
1101 )))
1102
1103 (((
1104 (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**
1105 )))
1106
1107 (((
1108 922.1 - SF7BW125 to SF12BW125
1109 )))
1110
1111 (((
1112 922.3 - SF7BW125 to SF12BW125
1113 )))
1114
1115 (((
1116 922.5 - SF7BW125 to SF12BW125
1117 )))
1118
1119 (((
1120 922.7 - SF7BW125 to SF12BW125
1121 )))
1122
1123 (((
1124 922.9 - SF7BW125 to SF12BW125
1125 )))
1126
1127 (((
1128 923.1 - SF7BW125 to SF12BW125
1129 )))
1130
1131 (((
1132 923.3 - SF7BW125 to SF12BW125
1133 )))
1134
1135 (((
1136
1137 )))
1138
1139 (((
1140 (% style="color:blue" %)**Downlink:**
1141 )))
1142
1143 (((
1144 Uplink channels 1-7(RX1)
1145 )))
1146
1147 (((
1148 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
1149 )))
1150
1151
1152 === 2.7.7  IN865-867 (IN865) ===
1153
1154
1155 (((
1156 (% style="color:blue" %)**Uplink:**
1157 )))
1158
1159 (((
1160 865.0625 - SF7BW125 to SF12BW125
1161 )))
1162
1163 (((
1164 865.4025 - SF7BW125 to SF12BW125
1165 )))
1166
1167 (((
1168 865.9850 - SF7BW125 to SF12BW125
1169 )))
1170
1171 (((
1172
1173 )))
1174
1175 (((
1176 (% style="color:blue" %)**Downlink:**
1177 )))
1178
1179 (((
1180 Uplink channels 1-3 (RX1)
1181 )))
1182
1183 (((
1184 866.550 - SF10BW125 (RX2)
1185 )))
1186
1187
1188 == 2.8  LED Indicator ==
1189
1190
1191 The LDDS04 has an internal LED which is used to show the status of different state.
1192
1193
1194 * After LDDS04 is turned on, if the 4 channels converter is detected, the LED will (% style="color:green" %)**flash 4 times quickly**.  
1195
1196 * (% style="color:green" %)**Blink once**(%%) when device transmit a packet.
1197
1198 * Solid ON for (% style="color:green" %)**Five Seconds**(%%) when OTAA Join Successfully.
1199
1200 == 2.9  ​Firmware Change Log ==
1201
1202
1203 **Firmware download link:  **[[https:~~/~~/www.dropbox.com/sh/q25x7twbj031usi/AAAkI5LmJYIqdnDkYvHjiLyba?dl=0>>https://www.dropbox.com/sh/q25x7twbj031usi/AAAkI5LmJYIqdnDkYvHjiLyba?dl=0]]
1204
1205 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
1206
1207
1208 = 3.  Configure LDDS04 via AT Command or LoRaWAN Downlink =
1209
1210
1211 (((
1212 (((
1213 Use can configure LDDS04 via AT Command or LoRaWAN Downlink.
1214 )))
1215 )))
1216
1217 * (((
1218 (((
1219 AT Command Connection: See [[FAQ>>||anchor="H6.A0FAQ"]].
1220 )))
1221 )))
1222 * (((
1223 (((
1224 LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1225 )))
1226 )))
1227
1228 (((
1229 (((
1230
1231 )))
1232
1233 (((
1234 There are two kinds of commands to configure LDDS04, they are:
1235 )))
1236 )))
1237
1238 * (((
1239 (((
1240 (% style="color:#4f81bd" %)** General Commands**.
1241 )))
1242 )))
1243
1244 (((
1245 (((
1246 These commands are to configure:
1247 )))
1248 )))
1249
1250 * (((
1251 (((
1252 General system settings like: uplink interval.
1253 )))
1254 )))
1255 * (((
1256 (((
1257 LoRaWAN protocol & radio related command.
1258 )))
1259 )))
1260
1261 (((
1262 (((
1263 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]]
1264 )))
1265 )))
1266
1267
1268 * (((
1269 (((
1270 (% style="color:#4f81bd" %)** Commands special design for LDDS04**
1271 )))
1272 )))
1273
1274 (((
1275 (((
1276 These commands only valid for LDDS04, as below:(% title="Click and drag to resize" %)​
1277 )))
1278 )))
1279
1280
1281 == 3.1  Set Transmit Interval Time ==
1282
1283
1284 Feature: Change LoRaWAN End Node Transmit Interval.
1285
1286 (% style="color:#037691" %)**AT Command: AT+TDC**
1287
1288 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1289 |=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 140px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 210px;background-color:#4F81BD;color:white" %)**Response**
1290 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
1291 30000
1292 OK
1293 the interval is 30000ms = 30s
1294 )))
1295 |(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
1296 OK
1297 Set transmit interval to 60000ms = 60 seconds
1298 )))
1299
1300 (((
1301 (% style="color:#037691" %)**Downlink Command: 0x01**
1302 )))
1303
1304 (((
1305 (((
1306 Format: Command Code (0x01) followed by 3 bytes time value.
1307
1308 (((
1309 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
1310 )))
1311
1312 * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
1313 * Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1314 )))
1315 )))
1316
1317
1318
1319 == 3.2  Set Interrupt Mode ==
1320
1321
1322 (((
1323 Feature, Set Interrupt mode for GPIO_EXIT.
1324 )))
1325
1326 (((
1327 (% style="color:#037691" %)**Downlink Command: AT+INTMOD**
1328 )))
1329
1330 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1331 |=(% 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**
1332 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
1333 0
1334 OK
1335 the mode is 0 =No Interruption
1336 )))
1337 |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
1338 Set Transmit Interval
1339 0. (Disable Interrupt),
1340 ~1. (Trigger by rising and falling edge)
1341 2. (Trigger by falling edge)
1342 3. (Trigger by rising edge)
1343 )))|(% style="width:157px" %)OK
1344
1345 (((
1346 (% style="color:#037691" %)**Downlink Command: 0x06**
1347 )))
1348
1349 (((
1350 Format: Command Code (0x06) followed by 3 bytes.
1351 )))
1352
1353 (((
1354 (((
1355 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
1356 )))
1357 )))
1358
1359 * (((
1360 Example 1: Downlink Payload: 06000000  ~/~/ Turn off interrupt mode
1361 )))
1362 * (((
1363 Example 2: Downlink Payload: 06000003  ~/~/ Set the interrupt mode to rising edge (% title="Click and drag to resize" %)trigger
1364 )))
1365
1366 == 3.3  Get Firmware Version Info ==
1367
1368
1369 Feature: use downlink to get firmware version.
1370
1371 (% style="color:#037691" %)**Downlink Command: 0x26**
1372
1373 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:492px" %)
1374 |(% style="background-color:#4f81bd; color:white; width:191px" %)**Downlink Control Type**|(% style="background-color:#4f81bd; color:white; width:57px" %)**FPort**|(% style="background-color:#4f81bd; color:white; width:91px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:153px" %)**Downlink payload size(bytes)**
1375 |(% style="width:191px" %)Get Firmware Version Info|(% style="width:57px" %)Any|(% style="width:91px" %)26|(% style="width:151px" %)2
1376
1377 * Reply to the confirmation package: 26 01
1378 * Reply to non-confirmed packet: 26 00
1379
1380 Device will send an uplink after got this downlink command. With below payload:
1381
1382 Configures info payload:
1383
1384 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1385 |=(% style="background-color:#4F81BD;color:white" %)(((
1386 **Size(bytes)**
1387 )))|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**2**|=(% style="background-color:#4F81BD;color:white" %)**1**|=(% style="background-color:#4F81BD;color:white" %)**4**|=(% style="background-color:#4F81BD;color:white" %)**1**
1388 |**Value**|Software Type|(((
1389 Frequency
1390 Band
1391 )))|Sub-band|(((
1392 Firmware
1393 Version
1394 )))|Sensor Type|Reserve|(((
1395 [[Message Type>>||anchor="H2.4.4A0MessageType"]]
1396 Always 0x02
1397 )))
1398
1399 (% style="color:#037691" %)**Software Type**(%%): Always 0x03 for LDDS04
1400
1401 (% style="color:#037691" %)**Frequency Band**:
1402
1403 0x01: EU868
1404
1405 0x02: US915
1406
1407 0x03: IN865
1408
1409 0x04: AU915
1410
1411 0x05: KZ865
1412
1413 0x06: RU864
1414
1415 0x07: AS923
1416
1417 0x08: AS923-1
1418
1419 0x09: AS923-2
1420
1421 0xa0: AS923-3
1422
1423
1424 (% style="color:#037691" %)**Sub-Band**(%%): value 0x00 ~~ 0x08
1425
1426 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
1427
1428 (% style="color:#037691" %)**Sensor Type**:
1429
1430 0x01: LSE01
1431
1432 0x02: LDDS75
1433
1434 0x03: LDDS20
1435
1436 0x04: LLMS01
1437
1438 0x05: LSPH01
1439
1440 0x06: LSNPK01
1441
1442 0x07: LLDS12
1443
1444
1445 = 4.  Battery & Power Consumption =
1446
1447
1448 LDDS04 uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1449
1450 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1451
1452
1453 = 5.  Use AT Command =
1454
1455 == 5.1  Access AT Commands ==
1456
1457
1458 LDDS04 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LDDS04 for using AT command, as below.
1459
1460 [[image:1654940081538-914.png||data-widget="image"]]
1461
1462
1463 **Connection:**
1464
1465 (% style="background-color:yellow" %)** USB TTL GND <~-~-~-~-> GND**
1466
1467 (% style="background-color:yellow" %)** USB TTL TXD  <~-~-~-~-> UART_RXD**
1468
1469 (% style="background-color:yellow" %)** USB TTL RXD  <~-~-~-~-> UART_TXD**
1470
1471
1472 (((
1473 (((
1474 In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LDDS04.
1475 )))
1476
1477 (((
1478 LDDS04 will output system info once power on as below:
1479 )))
1480 )))
1481
1482
1483 [[image:1654593712276-618.png||data-widget="image"]]
1484
1485 Valid AT Command please check [[Configure Device>>||anchor="H3.A0ConfigureLDDS04viaATCommandorLoRaWANDownlink"]].
1486
1487
1488 = 6.  FAQ =
1489
1490 == 6.1  How to change the LoRa Frequency Bands/Region ==
1491
1492
1493 You can follow the instructions for [[how to upgrade image>>||anchor="H2.9A0200BFirmwareChangeLog"]].
1494 When downloading the images, choose the required image file for download. ​
1495
1496
1497 = 7.  Trouble Shooting =
1498
1499 == 7.1  AT Command input doesn't work ==
1500
1501
1502 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.
1503
1504
1505 = 8.  Order Info =
1506
1507 == 8.1  Main Device LDDS04 ==
1508
1509
1510 Part Number **:** (% style="color:blue" %)**LDDS04-XX**
1511
1512 (% style="color:blue" %)**XX**(%%)**: **The default frequency band
1513
1514 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
1515 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
1516 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
1517 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
1518 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
1519 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
1520 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
1521 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 (% title="Click and drag to resize" %)band
1522
1523 (% style="display:none" %) (%%)
1524
1525
1526 == 8.2  Probe Model ==
1527
1528
1529 Detail See [[Probe Option>>||anchor="H1.5A0ProbeOptions"]] Section
1530
1531 * A01A-15
1532 * A02-15
1533 * A13-15
1534 * A16-15
1535
1536 = 9. ​ Packing Info =
1537
1538
1539 **Package Includes**:
1540
1541 * LDDS04 LoRaWAN 4-Channels Distance Sensor x 1
1542
1543 **Dimension and weight**:
1544
1545 * Device Size: cm
1546 * Device Weight: g
1547 * Package Size / pcs : cm
1548 * Weight / pcs : g
1549
1550 = 10.  ​Support =
1551
1552
1553 * 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.
1554
1555 * 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