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