Changes for page wiki_test

Last modified by Mengting Qiu on 2024/09/05 17:35

From version 100.2
edited by Xiaoling
on 2023/10/10 09:10
Change comment: There is no comment for this version
To version 86.9
edited by Xiaoling
on 2023/09/12 11:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -SW3L-NB -- NB-IoT Flow Sensor User Manual
1 +DDS45-NB -- NB-IoT Distance Detection Sensor User Manual
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20231010090810-1.png||height="518" width="839"]]
2 +[[image:image-20230912085600-1.png||height="519" width="731"]]
3 3  
4 4  
5 5  
... ... @@ -8,6 +8,7 @@
8 8  
9 9  
10 10  
11 +
11 11  **Table of Contents:**
12 12  
13 13  {{toc/}}
... ... @@ -30,7 +30,7 @@
30 30  
31 31  DDS45-NB (% style="color:blue" %)**supports BLE configure **(%%)and(% style="color:blue" %)** OTA update**(%%) which make user easy to use.
32 32  
33 -DDS45-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to several years.
34 +DDS45-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to severa years.
34 34  
35 35  DDS45-NB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration.
36 36  
... ... @@ -147,12 +147,13 @@
147 147  * Sewer
148 148  * Bottom water level monitoring
149 149  
151 +
150 150  == 1.7 Sleep mode and working mode ==
151 151  
152 152  
153 -(% 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.
155 +(% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.
154 154  
155 -(% 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.
157 +(% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN 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.
156 156  
157 157  
158 158  == 1.8 Button & LEDs ==
... ... @@ -310,17 +310,14 @@
310 310  
311 311  This is the General Json Format. As below:
312 312  
313 -(% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DDS45-NB","distance":217,"battery":3.54,"signal":24,"1":{221,2023/09/20 09:47:01},"2":{0,2023/09/20 09:15:04},"3":{0,2023/09/20 09:00:04},"4":{0,2023/09/20 08:45:03},"5":{0,2023/09/20 08:30:03},"6":{0,2023/09/20 08:15:03},"7":{0,2023/09/20 08:00:04},"8":{0,2023/09/20 07:45:04}}**
315 +(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24,"Model":DDS45-NB, "1":{28.2,48.3,2023/08/10 08:00:37},"2":{28.1,49.1,2023/08/10 07:57:37},"3":{28.1,48.5,2023/08/10 07:54:37},"4":{28.2,48.6,2023/08/10 07:51:37},"5":{28.1,48.9,2023/08/10 07:48:37},"6":{28.2,48.8,2023/08/10 07:45:37},"7":{28.2,48.8,2023/08/10 07:42:37},"8":{28.0,48.8,2023/08/10 07:39:37}}**
314 314  
315 315  
316 -[[image:image-20230920175015-3.png||height="613" width="890"]]
317 -
318 -
319 319  (% style="color:red" %)**Notice, from above payload:**
320 320  
321 -* Distance , Battery & Signal are the value at uplink time.
320 +* Temperature , Humidity , Battery & Signal are the value at uplink time.
322 322  
323 -* 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): Distance, Sampling time.
322 +* 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): Temperature, Humidity, Sampling time.
324 324  
325 325  === 2.2.2 HEX format Payload(Type~=0) ===
326 326  
... ... @@ -327,28 +327,23 @@
327 327  
328 328  This is the HEX Format. As below:
329 329  
330 -(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308**
329 +(% style="color:#4472c4" %)**f86620705346276200640cba16010000000011011801e864d49c2d011a01e364d49925011901eb64d49871011901e564d497bd011a01e664d49709011901e964d49655011a01e864d495a1011a01e864d494ed011801e864d49439**
331 331  
332 -[[image:image-20230920172200-1.png||height="191" width="1047"]]
331 +[[image:1692424009971-458.png]]
333 333  
334 334  
335 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
336 -
337 -[[image:image-20230920173352-2.png||height="636" width="919"]]
338 -
339 -
340 340  (% style="color:blue" %)**Version:**
341 341  
342 342  These bytes include the hardware and software version.
343 343  
344 -(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x0b for DDS45-NB
338 +(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x00 for DDS45-NB
345 345  
346 -(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 1.0.0
340 +(% style="color:#037691" %)**Lower byte:**(%%) Specify the software version: 0x64=100, means firmware version 100
347 347  
348 348  
349 349  (% style="color:blue" %)**BAT (Battery Info):**
350 350  
351 -Ex1: 0x0dda = 3546mV
345 +Ex1: 0x0CBA = 3258mV
352 352  
353 353  
354 354  (% style="color:blue" %)**Signal Strength:**
... ... @@ -355,7 +355,7 @@
355 355  
356 356  NB-IoT Network signal Strength.
357 357  
358 -**Ex1: 0x15 = 21**
352 +**Ex1: 0x16 = 22**
359 359  
360 360  **0**  -113dBm or less
361 361  
... ... @@ -368,44 +368,33 @@
368 368  **99**    Not known or not detectable
369 369  
370 370  
371 -(% style="color:blue" %)**Distance:  **
365 +(% style="color:blue" %)**TimeStamp  **
372 372  
373 -Ex1: 0x03a4 = 932 mm
367 +Unit TimeStamp Example: 64d49439(H) = 1691653177(D)
374 374  
369 +Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
375 375  
376 -(% style="color:blue" %)**Timestamp:   **
377 377  
378 -Unit Timestamp Example: 650abc40(H) = 1695202368(D)
379 -
380 -Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]]) to get the time.
381 -
382 -
383 383  === 2.2.3 ThingsBoard Payload(Type~=3) ===
384 384  
385 385  
386 386  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
387 387  
388 -(% style="color:#4472c4" %)** {"IMEI": "866207058378443","Model": "DDS45-NB","distance": 502,"battery": 3.57,"signal": 23}**
377 +(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24}**
389 389  
390 -[[image:image-20230922094043-2.png||height="558" width="851"]]
391 391  
392 -
393 -=== ===
394 -
395 395  === 2.2.4 ThingSpeak Payload(Type~=1) ===
396 396  
397 397  
398 -This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~3 are:
383 +This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~4 are:
399 399  
400 -Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
385 +Temperature, Humidity, Battery & Signal. This payload type only valid for ThingsSpeak Platform
401 401  
402 402  As below:
403 403  
404 -(% style="color:#4472c4" %)**field1=Distance value&field2=Battery value&field3=Singal value**
389 +(% style="color:#4472c4" %)**field1=27.9&field2=49.9&field3=3.23&field4=28**
405 405  
406 -[[image:image-20230921104741-1.png||height="565" width="826"]]
407 407  
408 -
409 409  == 2.3  ​Uplink Payload ==
410 410  
411 411  
... ... @@ -414,28 +414,21 @@
414 414  )))
415 415  
416 416  (((
417 -Uplink payload includes in total 21 bytes.
400 +Uplink payload includes in total 8 bytes.
418 418  )))
419 419  
420 420  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
421 -|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)8|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 49px;" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 79px;" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)4
422 -|(% style="width:95px" %)Value|(% style="width:61px" %)f+IMEI|(% style="width:61px" %)Ver|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:61px" %)(((
423 -Singal
404 +|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1
405 +|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(((
406 +[[Distance>>||anchor="H2.3.2A0Distance"]]
407 +(unit: mm)
408 +)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|(((
409 +[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]]
410 +)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]]
424 424  
425 -Strength
426 -)))|(% style="width:49px" %)Mod|(% style="width:79px" %)[[Digital Interrupt >>||anchor="H2.3.2A0Interrupt"]]|(% style="width:61px" %)[[Distance>>||anchor="H2.3.3A0Distance"]](unit: mm)|(% style="width:61px" %)(((
427 -Timestamp
412 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230702135733.png?width=964&height=215&rev=1.1||alt="微信截图_20230702135733.png"]]
428 428  
429 -
430 -)))
431 431  
432 -If the cache upload mechanism is turned on, you will receive the payload shown in the figure below.
433 -
434 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:512px" %)
435 -|(% style="width:115px" %)**Frame header**|(% style="width:118px" %)**Frame data(1)**|(% style="width:116px" %)**Frame data(2)**|(% style="width:39px" %)**F…**|(% style="width:117px" %)**Frame data(X)**
436 -
437 -=== ===
438 -
439 439  === 2.3.1  Battery Info ===
440 440  
441 441  
... ... @@ -446,9 +446,29 @@
446 446  Ex2: 0x0B49 = 2889mV
447 447  
448 448  
449 -=== 2.3.2  Interrupt ===
425 +=== 2.3.2  Distance ===
450 450  
451 451  
428 +(((
429 +Get the distance. Flat object range 30mm - 4500mm.
430 +)))
431 +
432 +(((
433 +For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** **
434 +
435 +(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.**
436 +)))
437 +
438 +* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor.
439 +
440 +* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00.
441 +
442 +
443 +
444 +
445 +=== 2.3.3  Interrupt Pin ===
446 +
447 +
452 452  This data field shows if this packet is generated by interrupt or not.
453 453  
454 454  **Example:**
... ... @@ -458,24 +458,28 @@
458 458  0x01: Interrupt Uplink Packet.
459 459  
460 460  
461 -=== 2.3.3  Distance ===
457 +=== 2.3.4  DS18B20 Temperature sensor ===
462 462  
463 463  
464 -(((
465 -Get the distance. Flat object range 30mm - 4500mm.
466 -)))
460 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
467 467  
468 -(((
469 -For example, if the data you get from the register is **0x0B 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** **
462 +**Example**:
470 470  
471 -(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.**
472 -)))
464 +If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
473 473  
474 -* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor.
466 +If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
475 475  
476 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00.
477 477  
469 +=== 2.3.5  Sensor Flag ===
470 +
471 +
478 478  (((
473 +0x01: Detect Ultrasonic Sensor
474 +)))
475 +
476 +(((
477 +0x00: No Ultrasonic Sensor
478 +
479 479  
480 480  )))
481 481  
... ... @@ -494,7 +494,7 @@
494 494  == 2.5 Multi-Samplings and One uplink ==
495 495  
496 496  
497 -To save battery life, DDS45-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:
497 +To save battery life, DDS45-NB will sample temperature & humidity 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:
498 498  
499 499  * (% 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)
500 500  
... ... @@ -533,6 +533,9 @@
533 533  
534 534  * 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]].
535 535  
536 +
537 +
538 +
536 536  == 3.2 AT Commands Set ==
537 537  
538 538  
... ... @@ -630,7 +630,7 @@
630 630  
631 631  * Fix bugs.
632 632  
633 -Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/l0bszumyrmil3yv/AAAg8LYGeAgDsD_ycCnweD72a?dl=0]]**
636 +Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/nyzeu0lf0amcaek/AAC6UZrqyTcAyJgXOH7l9F9Ka?dl=0]]**
634 634  
635 635  Methods to Update Firmware:
636 636  
... ... @@ -638,6 +638,9 @@
638 638  
639 639  * Update through UART TTL interface : **[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**.
640 640  
644 +
645 +
646 +
641 641  = 6. FAQ =
642 642  
643 643  == 6.1 How can I access t BC660K-GL AT Commands? ==
... ... @@ -706,7 +706,7 @@
706 706  
707 707  (% style="color:#037691" %)**Package Includes**:
708 708  
709 -* DDS45-NB NB-IoT Distance Detection sensor x 1
715 +* DDS450-NB NB-IoT Distance Detection sensor x 1
710 710  
711 711  * External antenna x 1
712 712  
... ... @@ -720,6 +720,9 @@
720 720  
721 721  * Weight / pcs : 180g
722 722  
729 +
730 +
731 +
723 723  = 10. Support =
724 724  
725 725  
image-20230920172200-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -37.9 KB
Content
image-20230920173352-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -63.7 KB
Content
image-20230920175015-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -76.6 KB
Content
image-20230921104741-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -74.2 KB
Content
image-20230922093814-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -125.1 KB
Content
image-20230922094043-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -104.1 KB
Content
image-20231010090810-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -539.0 KB
Content