Show last authors
1
2
3
4 (% style="text-align:center" %)
5 [[image:image-20231018150414-1.png||height="411" width="605"]]
6
7
8
9
10
11
12
13 **Table of Contents:**
14
15 {{toc/}}
16
17
18
19
20
21
22 = 1. Introduction =
23
24 == 1.1 What is NB-IoT 4-Channels Distance Sensor ==
25
26
27 The Dragino DDS04-NB is a (% style="color:blue" %)**NB-IoT 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 The DDS04-NB 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.
30
31 It detects the distance between the measured object and the sensor, and uploads the value via wireless to NB-IoT IoT Server.
32
33 DDS04-NB supports different uplink methods including (% style="color:blue" %)**MQTT, MQTTs, UDP & TCP**(%%) for different application requirement, and support uplinks to various IoT Servers.
34
35 DDS04-NB (% style="color:blue" %)**supports BLE configure **(%%)and(% style="color:blue" %)** OTA update**(%%) which make user easy to use.
36
37 DDS04-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to several years.
38
39 DDS04-NB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
40
41 [[image:image-20231018151321-2.png||height="306" width="881"]]
42
43
44 == 1.2 ​Features ==
45
46
47 * NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B18/B19/B20/B25/B28/B66/B70/B85 @H-FDD
48 * Ultra-low power consumption
49 * max: 4 x Distance Detect Channels
50 * Different types of probes can be used together
51 * Detect Range: Base on External Probe
52 * Multiply Sampling and one uplink
53 * Support Bluetooth v5.1 remote configure and update firmware
54 * Uplink on periodically
55 * Downlink to change configure
56 * 8500mAh Battery for long term use
57 * Nano SIM card slot for NB-IoT SIM
58
59 == 1.3 Specification ==
60
61
62 (% style="color:blue" %)**Common DC Characteristics:**
63
64 * Supply Voltage: 2.5v ~~ 3.6v
65 * Operating Temperature: -40 ~~ 85°C
66
67 (% style="color:blue" %)**NB-IoT Spec:**
68
69 (% style="color:#037691" %)**NB-IoT Module: BC660K-GL**
70
71 (% style="color:#037691" %)**Support Bands:**
72
73 * B1 @H-FDD: 2100MHz
74 * B2 @H-FDD: 1900MHz
75 * B3 @H-FDD: 1800MHz
76 * B4 @H-FDD: 2100MHz
77 * B5 @H-FDD: 860MHz
78 * B8 @H-FDD: 900MHz
79 * B12 @H-FDD: 720MHz
80 * B13 @H-FDD: 740MHz
81 * B17 @H-FDD: 730MHz
82 * B18 @H-FDD: 870MHz
83 * B19 @H-FDD: 870MHz
84 * B20 @H-FDD: 790MHz
85 * B25 @H-FDD: 1900MHz
86 * B28 @H-FDD: 750MHz
87 * B66 @H-FDD: 2000MHz
88 * B70 @H-FDD: 2000MHz
89 * B85 @H-FDD: 700MHz
90
91 (% style="color:blue" %)**Battery:**
92
93 * Li/SOCI2 un-chargeable battery
94 * Capacity: 8500mAh
95 * Self Discharge: <1% / Year @ 25°C
96 * Max continuously current: 130mA
97 * Max boost current: 2A, 1 second
98
99 (% style="color:blue" %)**Power Consumption**
100
101 * STOP Mode: 10uA @ 3.3v
102 * Max transmit power: 350mA@3.3v
103
104 == 1.4 Probe Options ==
105
106 === 1.4.1 Probes Comparation ===
107
108
109 (% border="1" cellspacing="5" style="width:505px" %)
110 |=(% 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**
111 |(% style="width:78px" %)**A01A-15**|(% style="width:145px" %)(((
112 [[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/1654931296150-422.png?width=180&height=180&rev=1.1||alt="1654931296150-422.png"]]
113 )))|(% style="width:277px" %)(((
114 (((
115 Detect Distance: 28 cm ~~ 750 cm
116 )))
117
118 (((
119 Bling Spot Distance: 0 ~~ 28cm
120 )))
121
122 (((
123 Accuracy: ±(1cm+S*0.3%) (S: Distance)
124 )))
125
126 (((
127 Measure Angle: ~~ 40°
128 )))
129
130 (((
131 Cable Length: 1.5 meter
132 )))
133
134 (((
135 Temperature Compensation
136 )))
137
138 (((
139 Suitable for Flat Object Detect
140 )))
141
142 (((
143 IP67 Water Proof
144 )))
145 )))
146 |(% style="width:78px" %)**A02-15**|(% style="width:145px" %)(((
147 [[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-20220611150955-2.png?width=180&height=180&rev=1.1||alt="image-20220611150955-2.png"]]
148 )))|(% style="width:277px" %)(((
149 (((
150 Detect Distance: 3cm ~~ 450cm
151 )))
152
153 (((
154 Bling Spot Distance: 0 ~~ 3cm
155 )))
156
157 (((
158 Accuracy: ±(1cm+S*0.3%) (S: Distance)
159 )))
160
161 (((
162 Measure Angle: ~~ 60°
163 )))
164
165 (((
166 Cable Length: 1.5 meter
167 )))
168
169 (((
170 Temperature Compensation
171 )))
172
173 (((
174 Suitable for Flat Object Detect, Rubbish Bin
175 )))
176
177 (((
178 IP67 Water Proof
179 )))
180 )))
181 |(% style="width:78px" %)**A13-15**|(% style="width:145px" %)(((
182 [[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/1654931353123-552.png?width=180&height=180&rev=1.1||alt="1654931353123-552.png"]]
183 )))|(% style="width:277px" %)(((
184 (((
185 Detect Distance: 25cm ~~ 200cm
186 )))
187
188 (((
189 Bling Spot Distance: 0 ~~ 25cm
190 )))
191
192 (((
193 Accuracy: ±(1cm+S*0.3%) (S: Distance)
194 )))
195
196 (((
197 Measure Angle: ~~ 20°
198 )))
199
200 (((
201 Cable Length: 1.5 meter
202 )))
203
204 (((
205 Temperature Compensation
206 )))
207
208 (((
209 Suitable for Flat Object Detect, Rubbish Bin
210 )))
211
212 (((
213 IP67 Water Proof
214 )))
215 )))
216 |(% style="width:78px" %)**A16-15**|(% style="width:145px" %)(((
217 [[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/1654931363281-306.png?width=180&height=180&rev=1.1||alt="1654931363281-306.png"]]
218 )))|(% style="width:277px" %)(((
219 (((
220 Detect Distance: 50cm ~~ 1500cm
221 )))
222
223 (((
224 Bling Spot Distance: 0 ~~ 50cm
225 )))
226
227 (((
228 Accuracy: ±(1cm+S*0.3%) (S: Distance)
229 )))
230
231 (((
232 Measure Angle: ~~ 40°
233 )))
234
235 (((
236 Cable Length: 1.5 meter
237 )))
238
239 (((
240 Temperature Compensation
241 )))
242
243 (((
244 Suitable for Long Distance Detect
245 )))
246
247 (((
248 IP67 Water Proof
249 )))
250 )))
251
252 === 1.4.2 A01A-15 probe ===
253
254
255 (((
256 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.
257 )))
258
259
260 (((
261 (% style="color:blue" %)**Beam Chart:**
262 )))
263
264 (((
265 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
266 )))
267
268 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654852253176-749.png?rev=1.1||alt="1654852253176-749.png"]]
269
270
271 (((
272 **(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.**
273 )))
274
275 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654852175653-550.png?rev=1.1||alt="1654852175653-550.png"]]
276
277
278 (% style="color:blue" %)**Mechanical:**
279
280 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611152848-11.png?rev=1.1||alt="image-20220611152848-11.png"]]
281
282 [[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/1654932546845-829.png?rev=1.1||alt="1654932546845-829.png"]]
283
284 [[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-20220611152934-12.png?rev=1.1||alt="image-20220611152934-12.png"]]
285
286
287 (% style="color:blue" %)**Application:**
288
289 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220613093246-3.png?rev=1.1||alt="image-20220613093246-3.png"]]
290
291
292 === 1.4.3 A02-15 probe ===
293
294 (% id="cke_bm_620491S" style="color:blue; display:none" %)** **
295
296
297 (((
298 (% style="color:blue" %)**Beam Chart:**
299 )))
300
301 (((
302 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
303 )))
304
305 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934329751-424.png?rev=1.1||alt="1654934329751-424.png"]]
306
307
308 (((
309 **(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.**
310 )))
311
312 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934343649-264.png?rev=1.1||alt="1654934343649-264.png"]]
313
314
315 (% style="color:blue" %)**Mechanical:**(% 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" %)​
316
317 [[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/1654932923252-110.png?rev=1.1||alt="1654932923252-110.png"]]
318
319
320 (% style="color:blue" %)**Application:**
321
322 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611153001-13.png?rev=1.1||alt="image-20220611153001-13.png"]]
323
324
325 === 1.4.4 A13-15 probe ===
326
327 (% id="cke_bm_695100S" style="color:blue; display:none" %)** **
328
329
330 (((
331 (% style="color:blue" %)**Beam Chart:**
332 )))
333
334 (((
335 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
336 )))
337
338 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934363730-880.png?rev=1.1||alt="1654934363730-880.png"]]
339
340
341
342 (((
343 **(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.**
344 )))
345
346
347 (((
348 (% style="color:blue" %)**Mechanical:**
349 )))
350
351 [[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-20220611154330-16.png?rev=1.1||alt="image-20220611154330-16.png"]]
352
353 (% 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" %)​
354
355 (% style="color:blue" %)**Installation Requirement:**
356
357 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654933425011-311.png?width=747&height=649&rev=1.1||alt="1654933425011-311.png"]]
358
359
360 (% style="color:blue" %)**Application:**
361
362 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220613093149-2.png?rev=1.1||alt="image-20220613093149-2.png"]]
363
364
365 === 1.4.5 A13-16 probe ===
366
367 (% id="cke_bm_695100S" style="color:blue; display:none" %)** **
368
369
370 (((
371 (% style="color:blue" %)**Beam Chart:**
372 )))
373
374 (((
375 **(1) The tested object is a white cylindrical tube made of PVC, with a height of 100cm and a diameter of 7.5cm.**
376 )))
377
378 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934415156-713.png?rev=1.1||alt="1654934415156-713.png"]]
379
380
381 (((
382 **(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.**
383 )))
384
385 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/1654934424571-232.png?rev=1.1||alt="1654934424571-232.png"]]
386
387
388
389 (% style="color:blue" %)**Mechanical:**
390
391 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220611160117-1.png?rev=1.1||alt="image-20220611160117-1.png"]]
392
393
394 (% style="color:blue" %)**Application:**
395
396 (% 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/LDDS04%20-%20LoRaWAN%204-Channels%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20220613093102-1.png?rev=1.1||alt="image-20220613093102-1.png"]]
397
398
399 == 1.5 Applications ==
400
401
402 * Horizontal distance measurement
403 * Parking management system
404 * Object proximity and presence detection
405 * Intelligent trash can management system
406 * Robot obstacle avoidance
407 * Automatic control
408 * Sewer
409
410 == 1.6 Sleep mode and working mode ==
411
412
413 (% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.
414
415 (% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.
416
417
418 == 1.7 Button & LEDs ==
419
420
421 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]]
422
423
424 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
425 |=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width:225px;background-color:#4F81BD;color:white" %)**Action**
426 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
427 If sensor has already attached to NB-IoT network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
428 Meanwhile, BLE module will be active and user can connect via BLE to configure device.
429 )))
430 |(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
431 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to attach NB-IoT network.
432 (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
433 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT network or not.
434 )))
435 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode.
436
437 (% style="color:red" %)**Note: When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.**
438
439
440 == 1.8 BLE connection ==
441
442
443 DDS04-NB support BLE remote configure and firmware update.
444
445
446 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:
447
448 * Press button to send an uplink
449 * Press button to active device.
450 * Device Power on or reset.
451
452 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.
453
454
455 == 1.9 Pin Definitions , Switch & SIM Direction ==
456
457
458 [[image:image-20231120143818-1.png]]
459
460
461 === 1.9.1 Jumper JP2 ===
462
463
464 Power on Device when put this jumper.
465
466
467 === 1.9.2 BOOT MODE / SW1 ===
468
469
470 **1)** (% style="color:blue" %)**ISP**(%%): upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
471
472 **2)** (% style="color:blue" %)**Flash**(%%): work mode, device starts to work and send out console output for further debug
473
474
475 === 1.9.3 Reset Button ===
476
477
478 Press to reboot the device.
479
480
481 === 1.9.4 SIM Card Direction ===
482
483
484 See this link. [[How to insert SIM Card>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
485
486
487 == 1.10 Mechanical ==
488
489 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143884058-338.png?rev=1.1||alt="1675143884058-338.png"]]
490
491 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143899218-599.png?rev=1.1||alt="1675143899218-599.png"]]
492
493 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/1675143909447-639.png?rev=1.1||alt="1675143909447-639.png"]]
494
495
496 = 2. Use DDS04-NB to communicate with IoT Server =
497
498 == 2.1 Send data to IoT server via NB-IoT network ==
499
500
501 The DDS04-NB is equipped with a NB-IoT module, the pre-loaded firmware in DDS04-NB will get environment data from sensors and send the value to local NB-IoT network via the NB-IoT module.  The NB-IoT network will forward this value to IoT server via the protocol defined by DDS04-NB.
502
503 Below shows the network structure:
504
505 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS04-NB_NB-IoT_4-Channels_Distance_Detection_Sensor_User_Manual/WebHome/image-20231018151321-2.png?width=881&height=306&rev=1.1||alt="image-20231018151321-2.png"]]
506
507
508 There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of DDS04-NB.
509
510
511 (% style="color:blue" %)**GE Version**(%%): This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set LDS12-NB send data to IoT server.
512
513 * Install NB-IoT SIM card and configure APN. See instruction of [[Attach Network>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H2.AttachNetwork]].
514
515 * Set up sensor to point to IoT Server. See instruction of [[Configure to Connect Different Servers>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.Configuretoconnecttodifferentservers]]. 
516
517 Below shows result of different server as a glance.
518
519 (% border="1" cellspacing="4" style="width:515px" %)
520 |(% style="background-color:#4f81bd; color:white; width:100px" %)**Servers**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Dash Board**|(% style="background-color:#4f81bd; color:white; width:115px" %)**Comments**
521 |(% style="width:127px" %)[[Node-Red>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.5A0Node-RedA028viaA0MQTT29]]|(% style="width:385px" %)(((
522 (% style="text-align:center" %)
523 [[image:image-20230819113244-8.png||height="183" width="367"]]
524 )))|(% style="width:170px" %)
525 |(% style="width:127px" %)[[DataCake>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]]|(% style="width:385px" %)(((
526 (% style="text-align:center" %)
527 [[image:image-20230819113244-9.png||height="119" width="367"]]
528 )))|(% style="width:170px" %)
529 |(% style="width:127px" %)[[Tago.IO>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.7A0Tago.ioA028viaA0MQTT29]]|(% style="width:385px" %) |(% style="width:170px" %)
530 |(% style="width:127px" %)[[General UDP>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.1GeneralA0UDPA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
531 |(% style="width:127px" %)[[General MQTT>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.2GeneralA0MQTTA0Connection]]|(% style="width:385px" %)Raw Payload. Need Developer to design Dash Board|(% style="width:170px" %)
532 |(% style="width:127px" %)[[ThingSpeak>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.3A0ThingSpeakA028viaA0MQTT29]]|(% style="width:385px" %)(((
533 (% style="text-align:center" %)
534 [[image:image-20230819113244-10.png||height="104" width="367"]]
535 )))|(% style="width:170px" %)
536 |(% style="width:127px" %)[[ThingsBoard>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.6A0ThingsBoard.CloudA028viaA0MQTT29]]|(% style="width:385px" %)(((
537 (% style="text-align:center" %)
538 [[image:image-20230819113244-11.png||height="141" width="367"]]
539 )))|(% style="width:170px" %)
540
541 (% style="color:blue" %)**1D Version**(%%): This version has 1NCE SIM card pre-installed and configure to send value to DataCake. User Just need to select the sensor type in DataCake and Activate DDS04-NB and user will be able to see data in DataCake. See here for [[DataCake Config Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/General%20Configure%20to%20Connect%20to%20IoT%20server%20for%20-NB%20%26%20-NS%20NB-IoT%20models/#H3.4Datacake]].
542
543
544 == 2.2 ​Payload Types ==
545
546
547 To meet different server requirement, DDS04-NB supports different payload type.
548
549 **Includes:**
550
551 * [[General JSON format payload>>||anchor="H2.2.1GeneralJsonFormat28Type3D529"]]. (Type=5)
552
553 * [[HEX format Payload>>||anchor="H2.2.2HEXformatPayload28Type3D029"]]. (Type=0)
554
555 * [[ThingSpeak Format>>||anchor="H2.2.4ThingSpeakPayload28Type3D129"]]. (Type=1)
556
557 * [[ThingsBoard Format>>||anchor="H2.2.3ThingsBoardPayload28Type3D329"]]. (Type=3)
558
559 User can specify the payload type when choose the connection protocol. Example:
560
561 (% style="color:#037691" %)**AT+PRO=2,0**  (%%) ~/~/ Use UDP Connection & hex Payload
562
563 (% style="color:#037691" %)**AT+PRO=2,5**   (%%) ~/~/ Use UDP Connection & Json Payload
564
565 (% style="color:#037691" %)**AT+PRO=3,5 ** (%%) ~/~/ Use MQTT Connection & Json Payload
566
567
568 === 2.2.1 General Json Format(Type~=5) ===
569
570
571 This is the General Json Format. As below:
572
573 (% style="color:#4472c4" %)**{"IMEI":"866207052559857","Model":"DDS04-NB","ds18b20_temperature":-0.1,"distance1":90,"distance2":775,"distance3":656,"distance4":793,"battery":3.51,"signal":20,"1":{5,4923,0,29,2023/11/07 01:59:43},"2":{4,4900,0,29,2023/11/07 01:56:43},"3":{10,1475,0,29,2023/11/07 01:53:43},"4":{364,1280,0,29,2023/11/07 01:50:43},"5":{356,1281,0,29,2023/11/07 01:47:43},"6":{359,1280,0,29,2023/11/07 01:37:22},"7":{358,1301,0,27,2023/11/06 10:01:07},"8":{357,1293,0,27,2023/11/06 09:46:07}}**
574
575 [[image:image-20231107103319-1.png||height="750" width="1004"]]
576
577
578 (% style="color:red" %)**Notice, from above payload:**
579
580 * DS18B20_temperature, Distance1, Distance2, Distance3, Distance4, Battery & Signal are the value at uplink time.
581
582 * Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Distance1, Distance2, Distance3, Distance4, Sampling time.
583
584 === 2.2.2 HEX format Payload(Type~=0) ===
585
586
587 This is the HEX Format. As below:
588
589 (% style="color:#4472c4" %)**f8662070525598570c640db217010000000351000002890db96549a3bf034104c40289031c6549a1a40005133b0000001d65499a0f000413240000001d6549995b000a05c30000001d654998a7016c05000000001d654997f3016405010000001d6549973f016705000000001d654994d2016605150000001b6548b963**
590
591 [[image:image-20231107103940-2.png||height="195" width="1205"]]
592
593
594 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
595
596 [[image:image-20231107104445-3.png||height="750" width="1000"]]
597
598
599 (% style="color:blue" %)**Version:**
600
601 These bytes include the hardware and software version.
602
603 (% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x0c for DDS04-NB
604
605 (% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 1.0.0
606
607
608 (% style="color:blue" %)**BAT (Battery Info):**
609
610 Ex1: 0x0DB4 = 3508mV
611
612
613 (% style="color:blue" %)**Interrupt flag & Interrupt level**
614
615 (((
616 This data field shows if this packet is generated by interrupt or not.
617 )))
618
619 (((
620 (% style="color:red" %)**Note: **(%%)The Internet Pin is a separate pin in the screw terminal.
621 )))
622
623
624 (((
625 **Example:**
626 )))
627
628 (((
629 (0x0D4A & 0x4000) >>14 = 0: Normal uplink packet.
630 )))
631
632 (((
633 (0x4D41 & (% title="Click and drag to resize" %)0x4000)(%%) >>14 = 1: Interrupt Uplink Packet.
634 )))
635
636
637 (((
638 (0x0D4A & 0x8000) >>15 = 0: Pin of GPIO_EXTI is low level.
639 )))
640
641 (((
642 (0x8D41 & (% title="Click and drag to resize" %)0x8000)(%%) >>15 = 1: Pin of GPIO_EXTI is high level.
643 )))
644
645
646 (% style="color:blue" %)**Distance**
647
648 (((
649 (((
650 The measuring distance of the four distance measuring modules, the default unit is cm.(% style="display:none" %)
651 )))
652
653 (((
654 **Example**:
655 )))
656
657 (((
658 Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01
659 )))
660
661 (((
662 (% title="Click and drag to resize" %)**Data analysis:**
663 )))
664
665 (((
666 Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm.
667 )))
668
669 (((
670 Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm.
671 )))
672
673 (((
674 Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm.
675 )))
676
677 (((
678 Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm.
679 )))
680 )))
681
682
683 (% style="color:blue" %)**TimeStamp:   **
684
685 Unit TimeStamp Example: 64e2d74f(H) = 1692587855(D)
686
687 Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]])to get the time.
688
689
690 === 2.2.3 ThingsBoard Payload(Type~=3) ===
691
692
693 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
694
695 (% style="color:#4472c4" %)** {"IMEI": "866207052559857",
696 "Model": "DDS04-NB",
697 "ds18b20_temperature": -0.1,
698 "distance1": 697,
699 "distance2": 702,
700 "distance3": 698,
701 "distance4": 709,
702 "battery": 3.49,
703 "signal": 23
704 }**
705
706 [[image:image-20231107113808-4.png||height="598" width="1060"]]
707
708
709 === 2.2.4 ThingSpeak Payload(Type~=1) ===
710
711
712 This payload meets ThingSpeak platform requirement. It includes seven fields. Form 1~~7 are:
713
714 Distance 1, Distance 2, Distance 3, Distance 4, Battery, Signal&Temp. This payload type only valid for ThingsSpeak Platform.
715
716 As below:
717
718 (% style="color:#4472c4" %)**field1=Distance1 value&field2=Distance2 value&field3=Distance3 value&field4=Distance4 value&field5=Battery value&field6=Singal value&field7=DS18B20 Temp value**
719
720 [[image:image-20231107120047-5.png||height="653" width="904"]]
721
722 [[image:image-20231107120055-6.png||height="579" width="904"]]
723
724
725 == 2.3 Test Uplink and Change Update Interval ==
726
727
728 By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8
729
730 User can use below commands to change the (% style="color:blue" %)**uplink interval**.
731
732 (% style="color:#037691" %)**AT+TDC=600 ** (%%) ~/~/ Set Update Interval to 600s
733
734 User can also push the button for more than 1 seconds to activate an uplink.
735
736
737 == 2.4 Multi-Samplings and One uplink ==
738
739 (% style="color:red" %)Notice: The AT+NOUD feature is upgraded to Clock Logging, please refer [[Clock Logging Feature>>||anchor="H2.9Clocklogging28Sincefirmwareversionv1.2.129"]]
740
741 To save battery life, DDS04-NB will sample distance data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:
742
743 * (% style="color:#037691" %)**AT+TR=900**   (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds)
744
745 * (% style="color:#037691" %)**AT+NOUD=8**     (%%)~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
746
747 The diagram below explains the relationship between TR, NOUD, and TDC more clearly:
748
749 [[image:1692424376354-959.png]]
750
751
752 == 2.5 Trggier an uplink by external interrupt ==
753
754
755 DDS04-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
756
757 (% style="color:blue" %)**AT command:**
758
759 * (% style="color:#037691" %)**AT+INTMOD **(%%) ~/~/ Set the trigger interrupt mode
760
761 * (% style="color:#037691" %)**AT+INTMOD=0 **(%%) ~/~/ Disable Interrupt
762
763 * (% style="color:#037691" %)**AT+INTMOD=1 **(%%) ~/~/ Trigger by rising and falling edge
764
765 * (% style="color:#037691" %)**AT+INTMOD=2 **(%%) ~/~/ Trigger by falling edge
766
767 * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
768
769 == 2.6 Connect Probe ==
770
771
772 DDS04-NB 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.
773
774 [[image:image-20231018160750-3.jpeg]]
775
776
777
778 **Probe mapping as below.**
779
780 [[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"]]
781
782
783 == 2.7 Set Transmit Interval Time ==
784
785
786 (((
787 Feature: Change NB-IoT End Node Transmit Interval.
788 )))
789
790 (((
791 (% style="color:blue" %)**AT Command: AT+TDC**
792 )))
793
794 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
795 |=(% style="width: 156px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**
796 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
797 30000
798 OK
799 the interval is 30000ms = 30s
800 )))
801 |(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
802 OK
803 Set transmit interval to 60000ms = 60 seconds
804 )))
805
806 (((
807 (% style="color:blue" %)**Downlink Command: 0x01**
808 )))
809
810 (((
811 Format: Command Code (0x01) followed by 3 bytes time value.
812 )))
813
814 (((
815 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
816 )))
817
818 * (((
819 Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
820 )))
821 * (((
822 Example 2: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds 
823
824
825
826 )))
827
828 == 2.8 Set enable or disable of the measurement channel ==
829
830
831 This command can be used when user connects **less than four distance sensors**. This command can turn off unused measurement channels to **save battery life**.
832
833 (% style="color:blue" %)**AT Command: AT+ENCHANNEL**
834
835 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
836 |=(% style="width: 185px; background-color: #4F81BD; color: white;" %)**Command Example**|=(% style="width: 193px; background-color: #4F81BD; color: white;" %)**Function**|=(% style="width: 122px; background-color: #4F81BD; color: white;" %)**Response**
837 |(% style="width:183px" %)AT+ENCHANNEL=?|(% style="width:191px" %)Get enabled channels.|(% style="width:120px" %)1,1,1,1 (default)
838 OK
839 |(% style="width:183px" %)AT+ENCHANNEL=1,1,1,0|(% style="width:191px" %)Channel 4 disabled.|(% style="width:120px" %)OK
840 |(% style="width:183px" %)AT+ENCHANNEL=1,1,0,0|(% style="width:191px" %)Channel 3 and 4 disabled.|(% style="width:120px" %)OK
841
842 (% style="color:blue" %)**Downlink Command: 0x08**
843
844 Format: Command Code (0x08) followed by 4 bytes.
845
846 The first byte means the first channel, the second byte means the second channel, the third byte means the third channel, and the fourth byte means the fourth channel.And 1 means enable channel, 0 means disable channel.
847
848 * Example 1: Downlink Payload: 08 01 01 01 01  **~-~-->**  AT+ENCHANNEL=1,1,1,1  ~/~/ All channels are enabled
849
850 * Example 2: Downlink Payload: 08 01 01 01 00  **~-~-->**  AT+ENCHANNEL=1,1,1,0  ~/~/ Channel 4 disabled
851
852 * Example 3: Downlink Payload: 08 01 01 00 00  **~-~-->**  AT+ENCHANNEL=1,1,0,0  ~/~/ Channel 3 and 4 disabled
853
854 == 2.9 Clock logging (Since firmware version v1.2.1) ==
855
856
857 Sometimes when we deploy lots of end nodes in field. We want all sensors sample data at the same time, and upload these data together for analyze. In such case, we can use clock loging feature.
858
859 We can use this command to set the start time of data recording and the time interval to meet the requirements of the specific collection time of data.
860
861 * (% style="color:blue" %)**AT Command: AT+CLOCKLOG=a,b,c,d**
862
863 **a: 0:** Disable Clock logging.  ** 1: **Enable Clock Logging
864
865 **b: **Specify First sampling start second: range **(0 ~~ 3599, 65535)   ** ~/~/ (% style="color:red" %)**Note:**(%%)** **If parameter b is set to 65535, the log period starts after the node accesses the network and sends packets.
866
867 **c: **Specify the sampling interval: range **(0 ~~ 255 minutes)**
868
869 **d: **How many entries should be uplink on every TDC **(max 32)**
870
871 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SPH01-NB_NB-IoT_Soil_pH_Sensor_User_Manual/WebHome/image-20240315141254-1.png?rev=1.1||alt="image-20240315141254-1.png"]]
872
873 **Example:**
874
875 **AT+CLOCKLOG=1,65535,1,5**
876
877 After the node sends the first packet, data is recorded to the memory at intervals of 1 minute. For each TDC uplink, the uplink load will include: battery information + the last 5 memory records (payload + timestamp).
878
879 (% class="wikigeneratedid" %)
880 [[image:image-20240316143310-1.png||height="491" width="1222"]]
881
882 (% class="wikigeneratedid" %)
883 (% style="color:red" %)**Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.**
884
885
886 == 2.8 Example Query saved historical records ==
887
888
889 * (% style="color:blue" %)**AT Command: AT+CDP**
890
891 This command can be used to search the saved history, recording up to 32 groups of data, each group of historical data contains a maximum of 100 bytes.
892
893 (% class="wikigeneratedid" %)
894 [[image:image-20240316143356-2.png||height="672" width="866"]]
895
896
897 == 2.9 Uplink log query ==
898
899
900 * (% style="color:blue" %)**AT Command: AT+GETLOG**
901
902 This command can be used to query upstream logs of data packets.
903
904 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-NB-NA_NB-IoT_Analog_Sensor_User_Manual/WebHome/image-20240407191922-2.png?width=903&height=631&rev=1.1||alt="image-20240407191922-2.png"]]
905
906
907 = 3. Configure DDS04-NB =
908
909 == 3.1 Configure Methods ==
910
911
912 DDS04-NB supports below configure method:
913
914 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
915
916 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]].
917
918 == 3.2 AT Commands Set ==
919
920
921 AT+<CMD>?        : Help on <CMD>
922
923 AT+<CMD>         : Run <CMD>
924
925 AT+<CMD>=<value> : Set the value
926
927 AT+<CMD>=?       : Get the value
928
929
930 (% style="color:blue" %)**General Commands**      
931
932 AT                    : Attention       
933
934 AT?  : Short Help     
935
936 ATZ  : MCU Reset    
937
938 AT+TDC  : Application Data Transmission Interval
939
940 AT+CFG  : Print all configurations
941
942 AT+CFGMOD           : Working mode selection
943
944 AT+DEUI  : Get or set the Device ID
945
946 AT+INTMOD            : Set the trigger interrupt mode
947
948 AT+5VT           : Set extend the time of 5V power  
949
950 AT+PRO          : Choose agreement
951
952 AT+RXDL  : Extend the sending and receiving time
953
954 AT+DNSCFG  : Get or Set DNS Server
955
956 AT+GETSENSORVALUE   : Returns the current sensor measurement
957
958 AT+NOUD  : Get or Set the number of data to be uploaded
959
960 AT+CDP     : Read or Clear cached data
961
962 AT+SHTEMP:  Get or Set alarm of temp
963
964 AT+SHHUM:  Get or Set alarm of moisture
965
966 AT+SERVADDR :  Server Address
967
968
969
970 (% style="color:blue" %)**MQTT Management**
971
972 AT+CLIENT               : Get or Set MQTT client
973
974 AT+UNAME              : Get or Set MQTT Username
975
976 AT+PWD                  : Get or Set MQTT password
977
978 AT+PUBTOPIC  : Get or Set MQTT publish topic
979
980 AT+SUBTOPIC  : Get or Set MQTT subscription topic
981
982
983 (% style="color:blue" %)**Information**          
984
985 AT+FDR  : Factory Data Reset
986
987 AT+PWORD  : Serial Access Password
988
989 AT+LDATA  : Get the last upload data
990
991 AT+CDP  : Read or Clear cached data
992
993
994 = 4. Battery & Power Consumption =
995
996
997 DDS04-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
998
999 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1000
1001
1002 = 5. Firmware update =
1003
1004
1005 User can change device firmware to::
1006
1007 * Update with new features.
1008
1009 * Fix bugs.
1010
1011 Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/82y41qxxaypn6n4/AACuN8dxt1gIqZ8iOX2wCGZga?dl=0]]**
1012
1013 Methods to Update Firmware:
1014
1015 * (Recommended way) OTA firmware update via BLE: [[**Instruction**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE_Firmware_Update_NB_Sensors_BC660K-GL/]].
1016
1017 * Update through UART TTL interface : **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART_Access_for_NB_ST_BC660K-GL/#H4.2UpdateFirmware28Assumethedevicealreadyhaveabootloader29]]**.
1018
1019 = 6. FAQ =
1020
1021 == 6.1 How can I access t BC660K-GL AT Commands? ==
1022
1023
1024 User can access to BC660K-GL directly and send AT Commands.
1025
1026 [[See BC660K-GL AT Command set>>url:https://www.dropbox.com/sh/5f6ssda5fum8rvs/AABT68l8ZzWOvZ5eg2qwOoFda?dl=0]]
1027
1028
1029 = 7. Trouble Shooting =
1030
1031 == 7.1  Why does the sensor reading show 0 or "No sensor" ==
1032
1033
1034 ~1. The measurement object is very close to the sensor, but in the blind spot of the sensor.
1035
1036 2. Sensor wiring is disconnected
1037
1038 3. Not using the correct decoder
1039
1040
1041 = 8. Order Info =
1042
1043 == 8.1  Main Device DDS04-NB ==
1044
1045
1046 Part Number: (% style="color:blue" %)**DDS04-NB-XX**
1047
1048 (% style="color:red" %)**XX**(%%):
1049
1050 * (% style="color:#037691" %)**GE**(%%): General version ( Exclude SIM card)
1051
1052 * (% style="color:#037691" %)**1D**(%%): with 1NCE* 10 years 500MB SIM card and Pre-configure to DataCake server
1053
1054 (% style="color:#037691" %)**1NCE SIM Card NB-IoT network coverage**(%%): Austria, Belgium, Bulgaria, Croatia, Czech Republic, Denmark, Finland, Germany, Great Britain, Greece, Hungary, Ireland, Italy, Latvia, Malta, Netherlands, Norway, Puerto Rico, Russia, Slovak , Republic, Slovenia, Spain, Sweden, Switzerland, Taiwan, USA, US Virgin Islands
1055
1056
1057 == 8.2  Probe Model ==
1058
1059
1060 Detail See [[Probe Option>>||anchor="H1.4ProbeOptions"]] Section
1061
1062 * A01A-15
1063 * A02-15
1064 * A13-15
1065 * A16-15
1066
1067 = 9. ​Packing Info =
1068
1069
1070 (% style="color:#037691" %)**Package Includes**:
1071
1072 * DDS04-NB NB-IoT 4-Channels Distance Detection sensor x 1
1073
1074 * External antenna x 1
1075
1076 (% style="color:#037691" %)**Dimension and weight**:
1077
1078 * Device Size: 13.0 x 5 x 4.5 cm
1079
1080 * Device Weight: 150g
1081
1082 * Package Size / pcs : 14.0 x 8x 5 cm
1083
1084 * Weight / pcs : 180g
1085
1086 = 10. Support =
1087
1088
1089 * 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.
1090
1091 * 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.cc>>mailto:Support@dragino.cc]].
1092
1093 (% style="display:none" %) (%%)
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0