Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -558,76 +558,87 @@ 558 558 559 559 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 560 560 561 -=== Sensor related commands === 561 +=== 3.4.2 Sensor related commands === 562 562 563 +==== 3.4.2.1 Set Transmit Interval ==== 563 563 564 -==== Set Transmit Interval ==== 565 - 566 566 Set device uplink interval. 567 567 568 568 * AT Command: 569 569 570 -AT+TDC=N 569 +(% class="box infomessage" %) 570 +((( 571 +**AT+TDC=N ** 572 +))) 571 571 572 -Example: AT+TDC=30000. Means set interval to 30 seconds 574 +**Example: **AT+TDC=30000. Means set interval to 30 seconds 573 573 574 - 575 575 * Downlink Payload (prefix 0x01): 576 576 577 -0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc) 578 +(% class="box infomessage" %) 579 +((( 580 +**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 581 +))) 578 578 583 +==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 579 579 580 -==== Set Work Mode (AT+MOD) ==== 581 - 582 582 Set work mode. 583 583 584 584 * AT Command: 585 585 586 -AT+MOD=N 589 +(% class="box infomessage" %) 590 +((( 591 +**AT+MOD=N ** 592 +))) 587 587 588 -Example: AT+MOD=2. Set work mode to Double DI counting mode 594 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode 589 589 590 - 591 591 * Downlink Payload (prefix 0x0A): 592 592 593 -0x0A aa ~/~/ Same as AT+MOD=aa 598 +(% class="box infomessage" %) 599 +((( 600 +**0x0A aa ~/~/ Same as AT+MOD=aa** 601 +))) 594 594 603 +==== 3.4.2.3 Poll an uplink ==== 595 595 596 - 597 -==== Poll an uplink ==== 598 - 599 599 * AT Command: 600 600 601 601 There is no AT Command to poll uplink 602 602 603 - 604 604 * Downlink Payload (prefix 0x08): 605 605 606 -0x08 FF ~/~/ Poll an uplink, 611 +(% class="box infomessage" %) 612 +((( 613 +**0x08 FF ~/~/ Poll an uplink,** 614 +))) 607 607 608 -Example: 0x08FF, ask device to send an Uplink 616 +**Example**: 0x08FF, ask device to send an Uplink 609 609 618 +==== 3.4.2.4 Enable Trigger Mode ==== 610 610 611 - ====Enable====620 +Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 612 612 613 -Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]] 614 - 615 615 * AT Command: 616 616 617 -AT+ADDMOD6=1 or 0 624 +(% class="box infomessage" %) 625 +((( 626 +**AT+ADDMOD6=1 or 0** 627 +))) 618 618 619 619 1: Enable Trigger Mode 620 620 621 621 0: Disable Trigger Mode 622 622 623 - 624 624 * Downlink Payload (prefix 0x0A 06): 625 625 626 -0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa, 635 +(% class="box infomessage" %) 636 +((( 637 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 638 +))) 627 627 640 +==== 3.4.2.5 Poll trigger settings ==== 628 628 629 -==== Poll trigger settings ==== 630 - 631 631 Poll trigger settings, 632 632 633 633 * AT Command: ... ... @@ -634,186 +634,206 @@ 634 634 635 635 There is no AT Command for this feature. 636 636 637 - 638 638 * Downlink Payload (prefix 0x AB 06): 639 639 640 -0xAB 06 ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command 650 +(% class="box infomessage" %) 651 +((( 652 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 653 +))) 641 641 655 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 642 642 643 -==== Enable / Disable DI1/DI2/DI3 as trigger ==== 644 - 645 645 Enable Disable DI1/DI2/DI2 as trigger, 646 646 647 647 * AT Command: 648 648 649 -Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 661 +(% class="box infomessage" %) 662 +((( 663 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 664 +))) 650 650 651 -Example: 666 +**Example:** 652 652 653 653 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 654 654 655 - 656 - 657 657 * Downlink Payload (prefix 0xAA 02): 658 658 659 -0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb 672 +(% class="box infomessage" %) 673 +((( 674 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 675 +))) 660 660 677 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 661 661 662 - 663 -==== Trigger1 – Set DI1 or DI3 as trigger ==== 664 - 665 665 Set DI1 or DI3(for LT-33222-L) trigger. 666 666 667 667 * AT Command: 668 668 669 -AT+TRIG1=a,b 683 +(% class="box infomessage" %) 684 +((( 685 +**AT+TRIG1=a,b** 686 +))) 670 670 671 671 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 672 672 673 673 b : delay timing. 674 674 675 -Example: 692 +**Example:** 676 676 677 677 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 678 678 679 - 680 680 * Downlink Payload (prefix 0x09 01 ): 681 681 682 -0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 698 +(% class="box infomessage" %) 699 +((( 700 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 701 +))) 683 683 703 +==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 684 684 685 -==== Trigger2 – Set DI2 as trigger ==== 686 - 687 687 Set DI2 trigger. 688 688 689 689 * AT Command: 690 690 691 -AT+TRIG2=a,b 709 +(% class="box infomessage" %) 710 +((( 711 +**AT+TRIG2=a,b** 712 +))) 692 692 693 693 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 694 694 695 695 b : delay timing. 696 696 697 -Example: 718 +**Example:** 698 698 699 699 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 700 700 701 - 702 702 * Downlink Payload (prefix 0x09 02 ): 703 703 704 -0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 724 +(% class="box infomessage" %) 725 +((( 726 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 727 +))) 705 705 729 +==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 706 706 707 - ====Trigger–SetAC(current)astrigger====731 +Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 708 708 709 -Set current trigger , base on AC port. See [[trigger mode>>path:#MOD6]] 710 - 711 711 * AT Command: 712 712 713 -AT+ACLIM. See [[trigger mode>>path:#MOD6]] 735 +(% class="box infomessage" %) 736 +((( 737 +**AT+ACLIM. ** 738 +))) 714 714 715 - 716 716 * Downlink Payload (prefix 0xAA 01 ): 717 717 718 -0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>path:#MOD6]] 742 +(% class="box infomessage" %) 743 +((( 744 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 745 +))) 719 719 747 +==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 720 720 721 - ====Trigger–SetAV(voltage)astrigger====749 +Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 722 722 723 -Set current trigger , base on AV port. See [[trigger mode>>path:#MOD6]] 724 - 725 725 * AT Command: 726 726 727 -AT+AVLIM. See [[trigger mode>>path:#MOD6]] 753 +(% class="box infomessage" %) 754 +((( 755 +**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 756 +))) 728 728 729 - 730 730 * Downlink Payload (prefix 0xAA 00 ): 731 731 732 -0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>path:#MOD6]] 760 +(% class="box infomessage" %) 761 +((( 762 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ** 763 +))) 733 733 734 -==== Trigger – Set minimum interval ==== 765 +==== 3.4.2.11 Trigger – Set minimum interval ==== 735 735 736 736 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 737 737 738 738 * AT Command: 739 739 740 -AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger. 771 +(% class="box infomessage" %) 772 +((( 773 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 774 +))) 741 741 742 - 743 743 * Downlink Payload (prefix 0xAC ): 744 744 745 -0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 778 +(% class="box infomessage" %) 779 +((( 780 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 781 +))) 746 746 783 +==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 747 747 748 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 749 - 750 750 * AT Command: 751 751 752 752 There is no AT Command to control Digital Output 753 753 754 - 755 755 * Downlink Payload (prefix 0x02): 756 756 757 -0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output 791 +(% class="box infomessage" %) 792 +((( 793 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 794 +))) 758 758 796 +((( 759 759 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 798 +))) 760 760 800 +((( 761 761 01: Low, 00: High , 11: No action 802 +))) 762 762 763 -(% border="1" style="background-color:#f7faff" %) 764 -|Downlink Code|DO1|DO2|DO3 765 -|02 01 00 11|Low|High|No Action 766 -|02 00 11 01|High|No Action|Low 767 -|02 11 01 00|No Action|Low|High 804 +[[image:image-20220524092754-5.png]] 768 768 769 -Note: For LT-22222-L, there is no DO3, the last byte can use any value. 806 +((( 807 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 808 +))) 770 770 771 -Device will upload a packet if downlink code executes successfully. 810 +((( 811 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 812 +))) 772 772 773 773 815 +==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 774 774 775 - 776 - 777 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 778 - 779 779 * AT Command: 780 780 781 781 There is no AT Command to control Digital Output 782 782 783 - 784 784 * Downlink Payload (prefix 0xA9): 785 785 786 -0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control 823 +(% class="box infomessage" %) 824 +((( 825 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 826 +))) 787 787 788 788 This is to control the digital output time of DO pin. Include four bytes: 789 789 790 -**First Byte:** Type code (0xA9) 830 +(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) 791 791 792 -**Second Byte**: Inverter Mode 832 +(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode 793 793 794 794 01: DO pins will change back to original state after timeout. 795 795 796 796 00: DO pins will change to an inverter state after timeout 797 797 838 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 798 798 799 - **Third Byte**:Control Methodand Ports status:840 +[[image:image-20220524093238-6.png]] 800 800 801 -(% border="1" style="background-color:#f7faff" %) 802 -|Second Byte|Status 803 -|0x01|DO1 set to low 804 -|0x00|DO1 set to high 805 -|0x11|DO1 NO Action 842 +(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 806 806 807 - **Fourth Byte**:Control Methodand Ports status:844 +[[image:image-20220524093328-7.png]] 808 808 809 -(% border="1" style="background-color:#f7faff" %) 810 -|Second Byte|Status 811 -|0x01|DO2 set to low 812 -|0x00|DO2 set to high 813 -|0x11|DO2 NO Action 846 +(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 814 814 815 -**Fifth Byte**: Control Method and Ports status: 816 - 817 817 (% border="1" style="background-color:#f7faff" %) 818 818 |Second Byte|Status 819 819 |0x01|DO3 set to low ... ... @@ -820,7 +820,7 @@ 820 820 |0x00|DO3 set to high 821 821 |0x11|DO3 NO Action 822 822 823 -**Sixth and Seventh Byte**: 854 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 824 824 825 825 Latching time. Unit: ms 826 826
- image-20220524092754-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.8 KB - Content
- image-20220524093238-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220524093328-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.1 KB - Content