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