Changes for page DS20L -- LoRaWAN Smart Distance Detector User Manual 01
Last modified by Mengting Qiu on 2023/12/14 11:15
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -423,19 +423,19 @@ 423 423 == 2.6 Datalog Feature == 424 424 425 425 426 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S W3L-LB will store the reading for future retrieving purposes.426 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, DDS75-LB will store the reading for future retrieving purposes. 427 427 428 428 429 429 === 2.6.1 Ways to get datalog via LoRaWAN === 430 430 431 431 432 -Set PNACKMD=1, S W3L-LB will wait for ACK for every uplink, when there is no LoRaWAN network,SW3L-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.432 +Set PNACKMD=1, DDS75-LB will wait for ACK for every uplink, when there is no LoRaWAN network,DDS75-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 433 433 434 434 * ((( 435 -a) S W3L-LB will do an ACK check for data records sending to make sure every data arrive server.435 +a) DDS75-LB will do an ACK check for data records sending to make sure every data arrive server. 436 436 ))) 437 437 * ((( 438 -b) S W3L-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but SW3L-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if SW3L-LB gets a ACK, SW3L-LB will consider there is a network connection and resend all NONE-ACK messages.438 +b) DDS75-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but DDS75-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if DDS75-LB gets a ACK, DDS75-LB will consider there is a network connection and resend all NONE-ACK messages. 439 439 ))) 440 440 441 441 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) ... ... @@ -446,7 +446,7 @@ 446 446 === 2.6.2 Unix TimeStamp === 447 447 448 448 449 -S W3L-LB uses Unix TimeStamp format based on449 +DDS75-LB uses Unix TimeStamp format based on 450 450 451 451 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523001219-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 452 452 ... ... @@ -465,7 +465,7 @@ 465 465 466 466 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 467 467 468 -Once S W3L-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SW3L-LB. If SW3L-LB fails to get the time from the server, SW3L-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).468 +Once DDS75-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to SW3L-LB. If DDS75-LB fails to get the time from the server, DDS75-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 469 469 470 470 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 471 471 ... ... @@ -493,7 +493,7 @@ 493 493 ))) 494 494 495 495 ((( 496 -Uplink Internal =5s,means S W3L-LB will send one packet every 5s. range 5~~255s.496 +Uplink Internal =5s,means DDS75-LB will send one packet every 5s. range 5~~255s. 497 497 ))) 498 498 499 499 ... ... @@ -500,7 +500,7 @@ 500 500 == 2.7 Frequency Plans == 501 501 502 502 503 -The S W3L-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.503 +The DDS75-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 504 504 505 505 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 506 506 ... ... @@ -510,7 +510,7 @@ 510 510 == 3.1 Configure Methods == 511 511 512 512 513 -S W3L-LB supports below configure method:513 +DDS75-LB supports below configure method: 514 514 515 515 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 516 516 ... ... @@ -532,10 +532,10 @@ 532 532 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 533 533 534 534 535 -== 3.3 Commands special design for S W3L-LB ==535 +== 3.3 Commands special design for DDS75-LB == 536 536 537 537 538 -These commands only valid for S W3L-LB, as below:538 +These commands only valid for DDS75-LB, as below: 539 539 540 540 541 541 === 3.3.1 Set Transmit Interval Time === ... ... @@ -580,166 +580,10 @@ 580 580 Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 581 581 ))) 582 582 583 -=== 3.3.2 Quit AT Command === 584 584 584 +=== 3.3.2 Set Interrupt Mode === 585 585 586 -Feature: Quit AT Command mode, so user needs to input the password again before using AT Commands. 587 587 588 -(% style="color:blue" %)**AT Command: AT+DISAT** 589 - 590 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:452px" %) 591 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 198px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 99px;background-color:#D9E2F3;color:#0070C0" %)**Response** 592 -|(% style="width:155px" %)AT+DISAT|(% style="width:198px" %)Quit AT Commands mode|(% style="width:96px" %)OK 593 - 594 -(% style="color:blue" %)**Downlink Command:** 595 - 596 -No downlink command for this feature. 597 - 598 - 599 -=== 3.3.3 Get Device Status === 600 - 601 - 602 -Send a LoRaWAN downlink to ask device send Alarm settings. 603 - 604 -(% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 605 - 606 -Sensor will upload Device Status via FPORT=5. See payload section for detail. 607 - 608 - 609 -=== 3.3.4 Alarm for continuously water flow === 610 - 611 - 612 -((( 613 -This feature is to monitor and send Alarm for continuously water flow. 614 -))) 615 - 616 -((( 617 -Example case is for Toilet water monitoring, if some one push toilet button, the toilet will have water flow. If the toilet button has broken and can't returned to original state, the water flow will keep for hours or days which cause huge waste for water. 618 -))) 619 - 620 -((( 621 -To monitor this faulty and send alarm, there are two settings: 622 -))) 623 - 624 -* ((( 625 -(% style="color:#4f81bd" %)**Stop Duration: Unit: Second** 626 -))) 627 - 628 -((( 629 -Default: 15s, If SW3L-LB didn't see any water flow in 15s, SW3L-LB will consider stop of water flow event. 630 -))) 631 - 632 -* ((( 633 -(% style="color:#4f81bd" %)**Alarm Timer: Units: Minute; Default 0 minutes (means Alarm disable)** 634 -))) 635 - 636 -((( 637 -**Example:** 3 minutes, if SW3L-LB detect a start of water flow event and didn't detect a stop event within Alarm timer, SW3L-LB will send an Alarm to indicate a water flow abnormal alarm. 638 -))) 639 - 640 -((( 641 -So for example, If we set stop duration=15s and Alarm Timer=3minutes. If the toilet water flow continuously for more than 3 minutes, Sensor will send an alarm (in Confirmed MODE) to platform. 642 -))) 643 - 644 -((( 645 -(% style="color:red" %)**Note:** **After this alarm is send, sensor will consider a stop of water flow and count for another new event. So if water flow waste last for 1 hour, Sensor will keep sending alarm every 3 minutes.** 646 -))) 647 - 648 -((( 649 -(% style="color:#4f81bd" %)**AT Command**(%%) to configure: 650 -))) 651 - 652 -* ((( 653 -AT+PTRIG=15,3 ~-~-> Set Stop duration: 15s, Alarm Timer: 3 minutes. 654 -))) 655 - 656 -* ((( 657 -AT+ PTRIG=15,0 ~-~-> Default Value, disable water waste Alarm. 658 -))) 659 - 660 -((( 661 -(% style="color:#4f81bd" %)**Downlink Command**(%%) to configure: 662 -))) 663 - 664 -((( 665 -Command: **0xAA aa bb cc** 666 -))) 667 - 668 -((( 669 -AA: Command Type Code 670 -))) 671 - 672 -((( 673 -aa: Stop duration 674 -))) 675 - 676 -((( 677 -bb cc: Alarm Timer 678 -))) 679 - 680 -((( 681 -If user send 0xAA 0F 00 03: equal to AT+PTRIG=15,3 682 -))) 683 - 684 - 685 -=== 3.3.5 Clear Flash Record === 686 - 687 - 688 -Feature: Clear flash storage for data log feature. 689 - 690 -(% style="color:blue" %)**AT Command: AT+CLRDTA** 691 - 692 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 693 -|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 169px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 174px;background-color:#D9E2F3;color:#0070C0" %)**Response** 694 -|(% style="width:157px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|Clear all stored sensor data… OK 695 - 696 -((( 697 -(% style="color:blue" %)**Downlink Command:** 698 -))) 699 - 700 -((( 701 -* **Example**: 0xA301 ~/~/ Same as AT+CLRDTA 702 -))) 703 - 704 - 705 - 706 -=== 3.3.6 Set the calculate flag === 707 - 708 - 709 -Feature: Set the calculate flag 710 - 711 -(% style="color:blue" %)**AT Command: AT+CALCFLAG** 712 - 713 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:461px" %) 714 -|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 110px;background-color:#D9E2F3;color:#0070C0" %)**Response** 715 -|(% style="width:158px" %)AT+CALCFLAG =1|(% style="width:192px" %)Set the calculate flag to 1.|(% style="width:109px" %)OK 716 -|(% style="width:158px" %)AT+CALCFLAG =2|(% style="width:192px" %)Set the calculate flag to 2.|(% style="width:109px" %)OK 717 - 718 -(% style="color:blue" %)**Downlink Command:** 719 - 720 -* **Example**: 0XA501 ~/~/ Same as AT+CALCFLAG =1 721 - 722 -=== 3.3.7 Set count number === 723 - 724 - 725 -Feature: Manually set the count number 726 - 727 -(% style="color:blue" %)**AT Command: AT+SETCNT** 728 - 729 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479px" %) 730 -|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 223px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 96px;background-color:#D9E2F3;color:#0070C0" %)**Response** 731 -|(% style="width:160px" %)AT+ SETCNT =0|(% style="width:221px" %)Set the count number to 0.|(% style="width:95px" %)OK 732 -|(% style="width:160px" %)AT+ SETCNT =100|(% style="width:221px" %)Set the count number to 100.|(% style="width:95px" %)OK 733 - 734 -(% style="color:blue" %)**Downlink Command:** 735 - 736 -* **Example**: 0xA6000001 ~/~/ Same as AT+ SETCNT =1 737 - 738 -* **Example**: 0xA6000064 ~/~/ Same as AT+ SETCNT =100 739 - 740 -=== 3.3.8 Set Interrupt Mode === 741 - 742 - 743 743 Feature, Set Interrupt mode for PA8 of pin. 744 744 745 745 When AT+INTMOD=0 is set, PA8 is used as a digital input port. ... ... @@ -771,29 +771,11 @@ 771 771 772 772 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 773 773 774 -=== 3.3.9 Set work mode === 775 775 776 - 777 -Feature: Manually set the work mode 778 - 779 - 780 -(% style="color:blue" %)**AT Command: AT+MOD** 781 - 782 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:463px" %) 783 -|=(% style="width: 162px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 193px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 108px;background-color:#D9E2F3;color:#0070C0" %)**Response** 784 -|(% style="width:162px" %)AT+MOD=0|(% style="width:191px" %)Set the work mode to 0.|(% style="width:106px" %)OK 785 -|(% style="width:162px" %)AT+MOD=1|(% style="width:191px" %)Set the work mode to 1|(% style="width:106px" %)OK 786 - 787 -(% style="color:blue" %)**Downlink Command:** 788 - 789 -* **Example: **0x0A00 ~/~/ Same as AT+MOD=0 790 - 791 -* **Example:** 0x0A01 ~/~/ Same as AT+MOD=1 792 - 793 793 = 4. Battery & Power Consumption = 794 794 795 795 796 -S W3L-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.622 +DDS75-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 797 797 798 798 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 799 799 ... ... @@ -802,7 +802,7 @@ 802 802 803 803 804 804 (% class="wikigeneratedid" %) 805 -User can change firmware S W3L-LB to:631 +User can change firmware DDS75-LB to: 806 806 807 807 * Change Frequency band/ region. 808 808