Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -466,10 +466,96 @@ 466 466 467 467 (% style="color:#4472c4" %)**field1=27.9&field2=49.9&field3=3.23&field4=28** 468 468 469 +== 2.3 Uplink Payload == 469 469 470 -== 2.3 Test Uplink and Change Update Interval == 471 471 472 +((( 473 +DDS20-NB will uplink payload via LoRaWAN with below payload format: 474 +))) 472 472 476 +((( 477 +Uplink payload includes in total 8 bytes. 478 +))) 479 + 480 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 481 +|=(% 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 482 +|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|((( 483 +[[Distance>>||anchor="H2.3.2A0Distance"]] 484 +(unit: mm) 485 +)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|((( 486 +[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]] 487 +)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]] 488 + 489 +[[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"]] 490 + 491 + 492 +=== 2.3.1 Battery Info === 493 + 494 + 495 +Check the battery voltage for DDS20-NB. 496 + 497 +Ex1: 0x0B45 = 2885mV 498 + 499 +Ex2: 0x0B49 = 2889mV 500 + 501 + 502 +=== 2.3.2 Distance === 503 + 504 + 505 +((( 506 +Get the distance. Flat object range 20mm - 2000mm. 507 +))) 508 + 509 +((( 510 +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" %)** ** 511 + 512 +(% style="color:blue" %)**0605(H) = 1541 (D) = 1541 mm.** 513 +))) 514 + 515 +* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor. 516 + 517 +* If the sensor value lower than 0x0014 (20mm), the sensor value will be invalid. 518 + 519 +=== 2.3.3 Interrupt Pin === 520 + 521 + 522 +This data field shows if this packet is generated by interrupt or not. 523 + 524 +**Example:** 525 + 526 +0x00: Normal uplink packet. 527 + 528 +0x01: Interrupt Uplink Packet. 529 + 530 + 531 +=== 2.3.4 DS18B20 Temperature sensor === 532 + 533 + 534 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 535 + 536 +**Example**: 537 + 538 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 539 + 540 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 541 + 542 + 543 +=== 2.3.5 Sensor Flag === 544 + 545 + 546 +((( 547 +0x01: Detect Ultrasonic Sensor 548 +))) 549 + 550 +((( 551 +0x00: No Ultrasonic Sensor 552 + 553 + 554 +))) 555 + 556 +== 2.4 Test Uplink and Change Update Interval == 557 + 558 + 473 473 By default, Sensor will send uplinks (% style="color:blue" %)**every 2 hours**(%%) & AT+NOUD=8 474 474 475 475 User can use below commands to change the (% style="color:blue" %)**uplink interval**. ... ... @@ -479,7 +479,7 @@ 479 479 User can also push the button for more than 1 seconds to activate an uplink. 480 480 481 481 482 -== 2. 4Multi-Samplings and One uplink ==568 +== 2.5 Multi-Samplings and One uplink == 483 483 484 484 485 485 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: ... ... @@ -493,7 +493,7 @@ 493 493 [[image:1692424376354-959.png]] 494 494 495 495 496 -== 2. 5Trggier an uplink by external interrupt ==582 +== 2.6 Trggier an uplink by external interrupt == 497 497 498 498 499 499 DDS20-NB has an external trigger interrupt function. Users can use the PB15 pin to trigger the upload of data packets. ... ... @@ -636,9 +636,20 @@ 636 636 [[See BC660K-GL AT Command set>>url:https://www.dropbox.com/sh/5f6ssda5fum8rvs/AABT68l8ZzWOvZ5eg2qwOoFda?dl=0]] 637 637 638 638 639 -= 7. OrderInfo =725 += 7. Trouble Shooting = 640 640 727 +== 7.1 Why i always see 0x0000 or 0 for the distance value? == 641 641 729 + 730 +((( 731 +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. 732 + 733 +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. 734 +))) 735 + 736 += 8. Order Info = 737 + 738 + 642 642 Part Number: (% style="color:blue" %)**DDS20-NB-XX** 643 643 644 644 (% style="color:red" %)**XX**(%%): ... ... @@ -650,7 +650,7 @@ 650 650 (% 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 651 651 652 652 653 -= 8. Packing Info =750 += 9. Packing Info = 654 654 655 655 656 656 (% style="color:#037691" %)**Package Includes**: ... ... @@ -669,7 +669,7 @@ 669 669 670 670 * Weight / pcs : 180g 671 671 672 -= 9. Support =769 += 10. Support = 673 673 674 674 675 675 * 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.