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, 22 added, 0 removed)
- 1653356737703-362.png
- 1653356838789-523.png
- 1653356991268-289.png
- 1653357170703-587.png
- 1653357531600-905.png
- 1653357592296-182.png
- image-20220524092754-5.png
- image-20220524093238-6.png
- image-20220524093328-7.png
- image-20220524093351-8.png
- image-20220524093724-9.png
- image-20220524093831-10.png
- image-20220524094641-11.png
- image-20220524094641-12.png
- image-20220524094909-1.png
- image-20220524094909-2.png
- image-20220524094909-3.png
- image-20220524094909-4.png
- image-20220524094909-5.png
- image-20220524095400-6.png
- image-20220524095438-7.png
- image-20220524095628-8.png
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,339 +634,337 @@ 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 Methodand Ports status:848 +[[image:image-20220524093351-8.png]] 816 816 817 -(% border="1" style="background-color:#f7faff" %) 818 -|Second Byte|Status 819 -|0x01|DO3 set to low 820 -|0x00|DO3 set to high 821 -|0x11|DO3 NO Action 850 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 822 822 823 -**Sixth and Seventh Byte**: 824 - 825 825 Latching time. Unit: ms 826 826 827 827 Device will upload a packet if downlink code executes successfully. 828 828 856 +**Example payload:** 829 829 858 +**~1. A9 01 01 01 01 07 D0** 830 830 831 -Example payload: 832 - 833 -1. A9 01 01 01 01 07 D0 834 - 835 835 DO1 pin & DO2 pin & DO3 pin will be set to Low, last 2 seconds, then change back to original state. 836 836 862 +**2. A9 01 00 01 11 07 D0** 837 837 838 -1. A9 01 00 01 11 07 D0 839 - 840 840 DO1 pin set high, DO2 pin set low, DO3 pin no action, last 2 seconds, then change back to original state. 841 841 866 +**3. A9 00 00 00 00 07 D0** 842 842 843 -1. A9 00 00 00 00 07 D0 844 - 845 845 DO1 pin & DO2 pin & DO3 pin will be set to high, last 2 seconds, then both change to low. 846 846 870 +**4. A9 00 11 01 00 07 D0** 847 847 848 -1. A9 00 11 01 00 07 D0 849 - 850 850 DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low 851 851 852 852 875 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 853 853 854 - 855 -==== Relay ~-~- Control Relay Output RO1/RO2 ==== 856 - 857 857 * AT Command: 858 858 859 859 There is no AT Command to control Relay Output 860 860 861 - 862 862 * Downlink Payload (prefix 0x03): 863 863 864 -0x03 aa bb ~/~/ Set RO1/RO2 output 883 +(% class="box infomessage" %) 884 +((( 885 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 886 +))) 865 865 888 +((( 866 866 If payload = 0x030100, it means set RO1 to close and RO2 to open. 890 +))) 867 867 892 +((( 868 868 01: Close , 00: Open , 11: No action 894 +))) 869 869 870 -(% border="1" style="background-color:#f7faff" %) 871 -|Downlink Code|RO1|RO2 872 -|03 00 11|Open|No Action 873 -|03 01 11|Close|No Action 874 -|03 11 00|No Action|Open 875 -|03 11 01|No Action|Close 876 -|03 00 00|Open|Open 877 -|03 01 01|Close|Close 878 -|03 01 00|Close|Open 879 -|03 00 01|Open|Close 896 +((( 897 +[[image:image-20220524093724-9.png]] 898 +))) 880 880 881 881 Device will upload a packet if downlink code executes successfully. 882 882 883 883 884 -==== Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 903 +==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 885 885 886 886 * AT Command: 887 887 888 888 There is no AT Command to control Relay Output 889 889 890 - 891 891 * Downlink Payload (prefix 0x05): 892 892 893 -0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control: 911 +(% class="box infomessage" %) 912 +((( 913 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 914 +))) 894 894 895 895 This is to control the relay output time of relay. Include four bytes: 896 896 897 -**First Byte:** Type code (0x05) 918 +(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) 898 898 899 -**Second Byte(aa)**: Inverter Mode 920 +(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode 900 900 901 901 01: Relays will change back to original state after timeout. 902 902 903 903 00: Relays will change to an inverter state after timeout 904 904 926 +(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 905 905 906 - **Third Byte(bb)**:Control Methodand Ports status:928 +[[image:image-20220524093831-10.png]] 907 907 908 -(% border="1" style="background-color:#f7faff" %) 909 -|Value|Status 910 -|0x11|RO1 and RO2 to NO 911 -|0x10|RO2 to NO, RO1 to NC 912 -|0x01|RO2 to NC, RO1 to NO 913 -|0x00|RO1 and RO2 to NC. 914 -|0x20|RO1 No Action, RO2 to NC 915 -|0x21|RO1 No Action, RO2 to NO 916 -|0x02|RO1 to NC, RO2 No Action 917 -|0x12|RO1 to NO, RO2 No Action 930 +(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 918 918 919 -**Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms 920 - 921 921 Device will upload a packet if downlink code executes successfully. 922 922 923 - 924 - 925 925 **Example payload:** 926 926 927 -1. 05 01 11 07 D0 936 +**~1. 05 01 11 07 D0** 928 928 929 929 Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state. 930 930 940 +**2. 05 01 10 07 D0** 931 931 932 -1. 05 01 10 07 D0 933 - 934 934 Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state. 935 935 944 +**3. 05 00 01 07 D0** 936 936 937 -1. 05 00 01 07 D0 938 - 939 939 Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC. 940 940 948 +**4. 05 00 00 07 D0** 941 941 942 -1. 05 00 00 07 D0 943 - 944 944 Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 945 945 946 946 953 +==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 947 947 955 +When voltage exceed the threshold, count. Feature see [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]] 948 948 949 - 950 - 951 -==== Counting ~-~- Voltage threshold counting ==== 952 - 953 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:#MOD4]] 954 - 955 955 * AT Command: 956 956 957 -AT+VOLMAX ~/~/ See [[MOD4>>path:#MOD4]] 959 +(% class="box infomessage" %) 960 +((( 961 +**AT+VOLMAX ~/~/ See [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]** 962 +))) 958 958 959 - 960 960 * Downlink Payload (prefix 0xA5): 961 961 962 -0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc 966 +(% class="box infomessage" %) 967 +((( 968 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 969 +))) 963 963 971 +==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 964 964 965 -==== Counting ~-~- Pre-configure the Count Number ==== 966 - 967 967 * AT Command: 968 968 969 -AT+SETCNT=aa,(bb cc dd ee) 975 +(% class="box infomessage" %) 976 +((( 977 +**AT+SETCNT=aa,(bb cc dd ee) ** 978 +))) 970 970 971 971 aa: 1: Set count1, 972 972 ... ... @@ -976,115 +976,112 @@ 976 976 977 977 Bb cc dd ee: number to be set 978 978 979 - 980 980 * Downlink Payload (prefix 0xA8): 981 981 982 -0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 990 +(% class="box infomessage" %) 991 +((( 992 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 993 +))) 983 983 995 +==== 3.4.2.18 Counting ~-~- Clear Counting ==== 984 984 985 - 986 - 987 - 988 -==== Counting ~-~- Clear Counting ==== 989 - 990 990 Clear counting for counting mode 991 991 992 992 * AT Command: 993 993 994 -AT+CLRCOUNT ~/~/ clear all counting 1001 +(% class="box infomessage" %) 1002 +((( 1003 +**AT+CLRCOUNT ~/~/ clear all counting** 1004 +))) 995 995 996 - 997 997 * Downlink Payload (prefix 0xA6): 998 998 999 -0x A6 01 ~/~/ clear all counting, 1008 +(% class="box infomessage" %) 1009 +((( 1010 +**0x A6 01 ~/~/ clear all counting,** 1011 +))) 1000 1000 1013 +==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1001 1001 1002 - 1003 - 1004 -==== Counting ~-~- Change counting mode save time ==== 1005 - 1006 1006 * AT Command: 1007 1007 1008 -AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1017 +(% class="box infomessage" %) 1018 +((( 1019 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1020 +))) 1009 1009 1010 - 1011 1011 * Downlink Payload (prefix 0xA7): 1012 1012 1013 -0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc, 1024 +(% class="box infomessage" %) 1025 +((( 1026 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1027 +))) 1014 1014 1015 1015 range: aa bb cc:0 to 16777215, (unit:second) 1016 1016 1031 +== 3.5 Integrate with Mydevice == 1017 1017 1018 - 1019 - 1020 -1. 1021 -11. Integrate with Mydevice 1022 - 1023 1023 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: 1024 1024 1035 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1025 1025 1026 -Step 1:Besure thatyour deviceisprogrammed andproperly connectedto the networkatthistime.1037 +**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1027 1027 1028 - Step 2: To configurethe Applicationto forward data to Mydevices you will need to add integration. To add theMydevices integration,perform the following steps:1039 +[[image:1653356737703-362.png||height="232" width="732"]] 1029 1029 1041 +[[image:image-20220524094641-11.png||height="390" width="723"]] 1030 1030 1031 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]] 1032 1032 1044 +[[image:image-20220524094641-12.png||height="402" width="718"]] 1033 1033 1034 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]1046 +**Step **3: Create an account or log in Mydevices. 1035 1035 1048 +**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1036 1036 1037 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]] 1038 - 1039 - 1040 - 1041 -Step 3: Create an account or log in Mydevices. 1042 - 1043 -Step 4: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI. 1044 - 1045 1045 Search under The things network 1046 1046 1047 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]1052 +[[image:1653356838789-523.png||height="337" width="740"]] 1048 1048 1049 - 1050 1050 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1051 1051 1052 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]] 1053 1053 1057 +[[image:image-20220524094909-1.png||height="335" width="729"]] 1054 1054 1055 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]1059 +[[image:image-20220524094909-2.png||height="337" width="729"]] 1056 1056 1061 +[[image:image-20220524094909-3.png||height="338" width="727"]] 1057 1057 1058 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]1063 +[[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1059 1059 1065 +[[image:image-20220524094909-5.png||height="341" width="734"]] 1060 1060 1061 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]] 1062 1062 1063 1063 1064 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 1065 1065 1066 1066 1067 -1. 1068 -11. Interface Detail 1069 -111. Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) 1071 +== 3.6 Interface Detail == 1070 1070 1073 +=== 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === 1074 + 1071 1071 Support NPN Type sensor 1072 1072 1073 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]1077 +[[image:1653356991268-289.png]] 1074 1074 1079 +=== 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1075 1075 1076 - 1077 -1. 1078 -11. 1079 -111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1080 - 1081 +((( 1081 1081 The DI port of LT-22222-L can support NPN or PNP output sensor. 1083 +))) 1082 1082 1085 +((( 1083 1083 Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high 1087 +))) 1084 1084 1085 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]1089 +[[image:1653357170703-587.png]] 1086 1086 1091 +((( 1087 1087 When use need to connect a device to the DI port, both DI1+ and DI1- must be connected. 1093 +))) 1088 1088 1089 1089 1090 1090 **Example1**: Connect to a Low active sensor. ... ... @@ -1094,11 +1094,11 @@ 1094 1094 * Connect sensor’s output to DI1- 1095 1095 * Connect sensor’s VCC to DI1+. 1096 1096 1097 -So when sensor active, the current between NEC2501 pin1 and pin2 is :1103 +So when sensor active, the current between NEC2501 pin1 and pin2 is: 1098 1098 1099 - //IF// [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]= DI1+ / 1K.1105 + //IF// = DI1+ / 1K. 1100 1100 1101 -If DI1+ = 12v, the //IF// [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]= 12mA , So the LT-22222-L will be able to detect this active signal.1107 +If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1102 1102 1103 1103 1104 1104 **Example2**: Connect to a High active sensor. ... ... @@ -1110,12 +1110,12 @@ 1110 1110 1111 1111 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1112 1112 1113 - //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]] = DI1+ / 1K.1119 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.** 1114 1114 1115 -If DI1+ = 24v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]1121 +If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal. 1116 1116 1117 1117 1118 -**Example3**: Connect to a 220v high active sensor. 公司测试一下1124 +**Example3**: Connect to a 220v high active sensor. 1119 1119 1120 1120 Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1121 1121 ... ... @@ -1124,24 +1124,21 @@ 1124 1124 1125 1125 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1126 1126 1127 - //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]1133 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.** 1128 1128 1129 -If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.1135 +If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %) [[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1130 1130 1137 +=== 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1131 1131 1132 -1. 1133 -11. 1134 -111. Digital Output Port: DO1/DO2 /DO3 1135 - 1136 1136 NPN output: GND or Float. Max voltage can apply to output pin is 36v. 1137 1137 1138 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]1141 +[[image:1653357531600-905.png]] 1139 1139 1140 1140 1141 1141 1142 1142 1143 1143 1. 1144 -11. 1147 +11. 1145 1145 111. Analog Input Interface 1146 1146 1147 1147 The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is: ... ... @@ -1174,7 +1174,7 @@ 1174 1174 1175 1175 1176 1176 1. 1177 -11. 1180 +11. 1178 1178 111. Relay Output 1179 1179 1180 1180 The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below: ... ... @@ -1334,7 +1334,7 @@ 1334 1334 1335 1335 1336 1336 1337 -1. 1340 +1. 1338 1338 11. Common AT Command Sequence 1339 1339 111. Multi-channel ABP mode (Use with SX1301/LG308) 1340 1340 ... ... @@ -1357,8 +1357,8 @@ 1357 1357 1358 1358 ATZ 1359 1359 1360 -1. 1361 -11. 1363 +1. 1364 +11. 1362 1362 111. Single-channel ABP mode (Use with LG01/LG02) 1363 1363 1364 1364 123456 Enter Password to have AT access. ... ... @@ -1398,7 +1398,7 @@ 1398 1398 1399 1399 1400 1400 1. 1401 -11. 1404 +11. 1402 1402 111. Change to Class A 1403 1403 1404 1404 If sensor JOINED ... ... @@ -1413,7 +1413,7 @@ 1413 1413 1414 1414 1. FAQ 1415 1415 1416 -1. 1419 +1. 1417 1417 11. How to upgrade the image? 1418 1418 1419 1419 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1472,7 +1472,7 @@ 1472 1472 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1473 1473 1474 1474 1475 -1. 1478 +1. 1476 1476 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1477 1477 1478 1478 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1531,7 +1531,7 @@ 1531 1531 [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1532 1532 1533 1533 1534 -1. 1537 +1. 1535 1535 11. Have trouble to upload image. 1536 1536 1537 1537 See this link for trouble shooting: ... ... @@ -1539,7 +1539,7 @@ 1539 1539 [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]] 1540 1540 1541 1541 1542 -1. 1545 +1. 1543 1543 11. Why I can’t join TTN in US915 /AU915 bands? 1544 1544 1545 1545 It might be about the channels mapping. Please see this link for detail:
- 1653356737703-362.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.1 KB - Content
- 1653356838789-523.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.7 KB - Content
- 1653356991268-289.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.9 KB - Content
- 1653357170703-587.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.0 KB - Content
- 1653357531600-905.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +25.4 KB - Content
- 1653357592296-182.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.2 KB - Content
- 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
- image-20220524093351-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.2 KB - Content
- image-20220524093724-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.3 KB - Content
- image-20220524093831-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.2 KB - Content
- image-20220524094641-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +136.2 KB - Content
- image-20220524094641-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +69.1 KB - Content
- image-20220524094909-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +297.8 KB - Content
- image-20220524094909-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +325.2 KB - Content
- image-20220524094909-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +330.9 KB - Content
- image-20220524094909-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +329.2 KB - Content
- image-20220524094909-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +212.8 KB - Content
- image-20220524095400-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +172 bytes - Content
- image-20220524095438-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +158 bytes - Content
- image-20220524095628-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +264 bytes - Content