Changes for page wiki_test

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

From version 99.1
edited by Mengting Qiu
on 2023/09/22 09:41
Change comment: There is no comment for this version
To version 86.6
edited by Xiaoling
on 2023/09/12 10:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ting
1 +XWiki.Xiaoling
Content
... ... @@ -148,6 +148,7 @@
148 148  * Sewer
149 149  * Bottom water level monitoring
150 150  
151 +
151 151  == 1.7 Sleep mode and working mode ==
152 152  
153 153  
... ... @@ -178,7 +178,7 @@
178 178  == 1.9 BLE connection ==
179 179  
180 180  
181 -DDS45-NB support BLE remote configure and firmware update.
182 +DDS20-NB support BLE remote configure and firmware update.
182 182  
183 183  
184 184  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:
... ... @@ -249,7 +249,7 @@
249 249  There are two version: (% style="color:blue" %)**-GE**(%%) and (% style="color:blue" %)**-1D**(%%) version of DDS45-NB.
250 250  
251 251  
252 -(% 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 DDS45-NB send data to IoT server.
253 +(% 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 DDS20-NB send data to IoT server.
253 253  
254 254  * 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]].
255 255  
... ... @@ -279,13 +279,13 @@
279 279  [[image:image-20230819113244-11.png||height="141" width="367"]]
280 280  )))|(% style="width:170px" %)
281 281  
282 -(% 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 DDS45-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]].
283 +(% 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 DDS20-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]].
283 283  
284 284  
285 285  == 2.2 ​Payload Types ==
286 286  
287 287  
288 -To meet different server requirement, DDS45-NB supports different payload type.
289 +To meet different server requirement, DDS20-NB supports different payload type.
289 289  
290 290  **Includes:**
291 291  
... ... @@ -311,17 +311,14 @@
311 311  
312 312  This is the General Json Format. As below:
313 313  
314 -(% 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":DDS20-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}}**
315 315  
316 316  
317 -[[image:image-20230920175015-3.png||height="613" width="890"]]
318 -
319 -
320 320  (% style="color:red" %)**Notice, from above payload:**
321 321  
322 -* Distance , Battery & Signal are the value at uplink time.
320 +* Temperature , Humidity , Battery & Signal are the value at uplink time.
323 323  
324 -* 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.
325 325  
326 326  === 2.2.2 HEX format Payload(Type~=0) ===
327 327  
... ... @@ -328,28 +328,23 @@
328 328  
329 329  This is the HEX Format. As below:
330 330  
331 -(% style="color:#4472c4" %)**f8662070583784430b640dda15010003a4650abc400000650ab8180000650ab4940000650ab10f0000650aad8b0000650aaa070000650aa6840000650aa3000000650a9308**
329 +(% style="color:#4472c4" %)**f86620705346276200640cba16010000000011011801e864d49c2d011a01e364d49925011901eb64d49871011901e564d497bd011a01e664d49709011901e964d49655011a01e864d495a1011a01e864d494ed011801e864d49439**
332 332  
333 -[[image:image-20230920172200-1.png||height="191" width="1047"]]
331 +[[image:1692424009971-458.png]]
334 334  
335 335  
336 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data.
337 -
338 -[[image:image-20230920173352-2.png||height="636" width="919"]]
339 -
340 -
341 341  (% style="color:blue" %)**Version:**
342 342  
343 343  These bytes include the hardware and software version.
344 344  
345 -(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x0b for DDS45-NB
338 +(% style="color:#037691" %)**Higher byte:**(%%) Specify Sensor Model: 0x00 for DDS20-NB
346 346  
347 -(% 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
348 348  
349 349  
350 350  (% style="color:blue" %)**BAT (Battery Info):**
351 351  
352 -Ex1: 0x0dda = 3546mV
345 +Ex1: 0x0CBA = 3258mV
353 353  
354 354  
355 355  (% style="color:blue" %)**Signal Strength:**
... ... @@ -356,7 +356,7 @@
356 356  
357 357  NB-IoT Network signal Strength.
358 358  
359 -**Ex1: 0x15 = 21**
352 +**Ex1: 0x16 = 22**
360 360  
361 361  **0**  -113dBm or less
362 362  
... ... @@ -369,78 +369,60 @@
369 369  **99**    Not known or not detectable
370 370  
371 371  
372 -(% style="color:blue" %)**Distance:  **
365 +(% style="color:blue" %)**TimeStamp  **
373 373  
374 -Ex1: 0x03a4 = 932 mm
367 +Unit TimeStamp Example: 64d49439(H) = 1691653177(D)
375 375  
369 +Put the decimal value into this link(https:~/~/www.epochconverter.com/) to get the time.
376 376  
377 -(% style="color:blue" %)**Timestamp:   **
378 378  
379 -Unit Timestamp Example: 650abc40(H) = 1695202368(D)
380 -
381 -Put the decimal value into this link([[https:~~/~~/www.epochconverter.com)>>https://www.epochconverter.com]]) to get the time.
382 -
383 -
384 384  === 2.2.3 ThingsBoard Payload(Type~=3) ===
385 385  
386 386  
387 387  Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard.
388 388  
389 -(% 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}**
390 390  
391 -[[image:image-20230922094043-2.png||height="558" width="851"]]
392 392  
393 -
394 -=== ===
395 -
396 396  === 2.2.4 ThingSpeak Payload(Type~=1) ===
397 397  
398 398  
399 -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:
400 400  
401 -Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform
385 +Temperature, Humidity, Battery & Signal. This payload type only valid for ThingsSpeak Platform
402 402  
403 403  As below:
404 404  
405 -(% 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**
406 406  
407 -[[image:image-20230921104741-1.png||height="565" width="826"]]
408 408  
409 -
410 410  == 2.3  ​Uplink Payload ==
411 411  
412 412  
413 413  (((
414 -DDS45-NB will uplink payload via LoRaWAN with below payload format: 
396 +DDS20-NB will uplink payload via LoRaWAN with below payload format: 
415 415  )))
416 416  
417 417  (((
418 -Uplink payload includes in total 21 bytes.
400 +Uplink payload includes in total 8 bytes.
419 419  )))
420 420  
421 421  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %)
422 -|=(% 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
423 -|(% style="width:95px" %)Value|(% style="width:61px" %)f+IMEI|(% style="width:61px" %)Ver|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:61px" %)(((
424 -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"]]
425 425  
426 -Strength
427 -)))|(% 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" %)(((
428 -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"]]
429 429  
430 -
431 -)))
432 432  
433 -If the cache upload mechanism is turned on, you will receive the payload shown in the figure below.
434 -
435 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:512px" %)
436 -|(% 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)**
437 -
438 -=== ===
439 -
440 440  === 2.3.1  Battery Info ===
441 441  
442 442  
443 -Check the battery voltage for DDS45-NB.
418 +Check the battery voltage for DDS20-NB.
444 444  
445 445  Ex1: 0x0B45 = 2885mV
446 446  
... ... @@ -447,9 +447,26 @@
447 447  Ex2: 0x0B49 = 2889mV
448 448  
449 449  
450 -=== 2.3.2  Interrupt ===
425 +=== 2.3.2  Distance ===
451 451  
452 452  
428 +(((
429 +Get the distance. Flat object range 20mm - 2000mm.
430 +)))
431 +
432 +(((
433 +For example, if the data you get from the register is **0x06 0x05**, the distance between the sensor and the measured object is(% style="color:#4472c4" %)** **
434 +
435 +(% style="color:blue" %)**0605(H) = 1541 (D) = 1541 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 0x0014 (20mm), the sensor value will be invalid.
441 +
442 +=== 2.3.3  Interrupt Pin ===
443 +
444 +
453 453  This data field shows if this packet is generated by interrupt or not.
454 454  
455 455  **Example:**
... ... @@ -459,24 +459,28 @@
459 459  0x01: Interrupt Uplink Packet.
460 460  
461 461  
462 -=== 2.3.3  Distance ===
454 +=== 2.3.4  DS18B20 Temperature sensor ===
463 463  
464 464  
465 -(((
466 -Get the distance. Flat object range 30mm - 4500mm.
467 -)))
457 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature.
468 468  
469 -(((
470 -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" %)** **
459 +**Example**:
471 471  
472 -(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.**
473 -)))
461 +If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
474 474  
475 -* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor.
463 +If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
476 476  
477 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00.
478 478  
466 +=== 2.3.5  Sensor Flag ===
467 +
468 +
479 479  (((
470 +0x01: Detect Ultrasonic Sensor
471 +)))
472 +
473 +(((
474 +0x00: No Ultrasonic Sensor
475 +
480 480  
481 481  )))
482 482  
... ... @@ -495,7 +495,7 @@
495 495  == 2.5 Multi-Samplings and One uplink ==
496 496  
497 497  
498 -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:
494 +To save battery life, DDS20-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:
499 499  
500 500  * (% 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)
501 501  
... ... @@ -509,7 +509,7 @@
509 509  == 2.6 Trggier an uplink by external interrupt ==
510 510  
511 511  
512 -DDS45-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
508 +DDS20-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets.
513 513  
514 514  (% style="color:blue" %)**AT command:**
515 515  
... ... @@ -523,12 +523,12 @@
523 523  
524 524  * (% style="color:#037691" %)**AT+INTMOD=3  **(%%) ~/~/ Trigger by rising edge
525 525  
526 -= 3. Configure DDS45-NB =
522 += 3. Configure DDS20-NB =
527 527  
528 528  == 3.1 Configure Methods ==
529 529  
530 530  
531 -DDS45-NB supports below configure method:
527 +DDS20-NB supports below configure method:
532 532  
533 533  * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]].
534 534  
... ... @@ -617,7 +617,7 @@
617 617  = 4. Battery & Power Consumption =
618 618  
619 619  
620 -DDS45-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
616 +DDS20-NB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
621 621  
622 622  [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
623 623  
... ... @@ -631,7 +631,7 @@
631 631  
632 632  * Fix bugs.
633 633  
634 -Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/l0bszumyrmil3yv/AAAg8LYGeAgDsD_ycCnweD72a?dl=0]]**
630 +Firmware and changelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/nyzeu0lf0amcaek/AAC6UZrqyTcAyJgXOH7l9F9Ka?dl=0]]**
635 635  
636 636  Methods to Update Firmware:
637 637  
... ... @@ -649,49 +649,23 @@
649 649  [[See BC660K-GL AT Command set>>url:https://www.dropbox.com/sh/5f6ssda5fum8rvs/AABT68l8ZzWOvZ5eg2qwOoFda?dl=0]]
650 650  
651 651  
652 -== 6.2 Can I use DDS45-NB in condensation environment? ==
648 += 7.  Trouble Shooting =
653 653  
650 +== 7.1  Why i always see 0x0000 or 0 for the distance value? ==
654 654  
655 -DDS45-NB is not suitable to be used in condensation environment. Condensation on the DDS45-NB probe will affect the reading and always got 0.
656 656  
653 +(((
654 +DDS20-NB has a strict [[**installation requirement**>>||anchor="H1.5A0InstallDDS20-NB"]]. Please make sure the installation method exactly follows up with the installation requirement. Otherwise, the reading might be always 0x00.
657 657  
658 -= 7. Trouble Shooting =
656 +If you have followed the instruction requirement exactly but still see the 0x00 reading issue, please. please double-check the decoder, you can check the raw payload to verify.
659 659  
660 -== 7.1 Why does the sensor reading show 0 or "No sensor" ==
658 +
659 +)))
661 661  
662 -
663 -~1. The measurement object is very close to the sensor, but in the blind spot of the sensor.
664 -
665 -2. Sensor wiring is disconnected
666 -
667 -3. Not using the correct decoder
668 -
669 -
670 -== 7.2 Abnormal readings The gap between multiple readings is too large or the gap between the readings and the actual value is too large ==
671 -
672 -
673 -1) Please check if there is something on the probe affecting its measurement (condensed water, volatile oil, etc.)
674 -
675 -2) Does it change with temperature, temperature will affect its measurement
676 -
677 -3) If abnormal data occurs, you can turn on DEBUG mode, Please use downlink or AT COMMAN to enter DEBUG mode.
678 -
679 -downlink command: (% style="color:blue" %)**F1 01**(%%), AT command: (% style="color:blue" %)**AT+DDEBUG=1**
680 -
681 -4) After entering the debug mode, it will send 20 pieces of data at a time, and you can send its uplink to us for analysis
682 -
683 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDDS75%20-%20LoRaWAN%20Distance%20Detection%20Sensor%20User%20Manual/WebHome/image-20230113135125-2.png?width=1057&height=136&rev=1.1||alt="image-20230113135125-2.png"]]
684 -
685 -
686 -Its original payload will be longer than other data. Even though it is being parsed, it can be seen that it is abnormal data.
687 -
688 -Please send the data to us for check.
689 -
690 -
691 691  = 8. Order Info =
692 692  
693 693  
694 -Part Number: (% style="color:blue" %)**DDS45-NB-XX**
664 +Part Number: (% style="color:blue" %)**DDS20-NB-XX**
695 695  
696 696  (% style="color:red" %)**XX**(%%):
697 697  
... ... @@ -707,7 +707,7 @@
707 707  
708 708  (% style="color:#037691" %)**Package Includes**:
709 709  
710 -* DDS45-NB NB-IoT Distance Detection sensor x 1
680 +* DDS20-NB NB-IoT Ultrasonic liquid level sensor x 1
711 711  
712 712  * External antenna x 1
713 713  
image-20230920172200-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -37.9 KB
Content
image-20230920173352-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -63.7 KB
Content
image-20230920175015-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -76.6 KB
Content
image-20230921104741-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -74.2 KB
Content
image-20230922093814-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -125.1 KB
Content
image-20230922094043-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.ting
Size
... ... @@ -1,1 +1,0 @@
1 -104.1 KB
Content