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)
Details
- Page properties
-
- Content
-
... ... @@ -169,7 +169,7 @@ 169 169 |(% style="width:296px" %)DO2|(% style="width:334px" %)Digital Output 2 170 170 |(% style="width:296px" %)DO1|(% style="width:334px" %)Digital Output 1 171 171 172 -== 2.3 Powering the LT-22222-L == 172 +== 2.3 Powering the LT-22222-L == 173 173 174 174 The LT-22222-L I/O Controller can be powered by a 7–24V DC power source. Connect the power supply’s positive wire to the VIN and the negative wire to the GND screw terminals. The power indicator (PWR) LED will turn on when the device is properly powered. 175 175 ... ... @@ -256,12 +256,12 @@ 256 256 [[image:1653298044601-602.png||height="405" width="709"]] 257 257 258 258 259 -== 3.3 Work Modes and theirUplink Payload formats ==259 +== 3.3 Uplink Payload formats == 260 260 261 261 262 -The LT-22222-L has 5 **work modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.262 +The LT-22222-L has 5 working modes. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands. 263 263 264 -* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO 264 +* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2 x ACI + 2AVI + DI + DO + RO 265 265 266 266 * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO 267 267 ... ... @@ -275,8 +275,9 @@ 275 275 276 276 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 277 277 278 + 278 278 ((( 279 -The uplink payload is 11 bytes long. Uplink messages are sent over LoRaWAN FPort280 +The uplink payload is 11 bytes long. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" wfd-invisible="true" %) 280 280 281 281 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 282 282 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="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" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -288,13 +288,13 @@ 288 288 ACI1 Current 289 289 )))|((( 290 290 ACI2 Current 291 -)))| **DIDORO***|(((292 +)))|DIDORO*|((( 292 292 Reserve 293 293 )))|MOD 294 294 ))) 295 295 296 296 ((( 297 -(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, a nditssizeis1 bytelongas shown below.298 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination of RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 298 298 299 299 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 300 300 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -301,9 +301,9 @@ 301 301 |RO1|RO2|--DI3--|DI2|DI1|--DO3--|DO2|DO1 302 302 ))) 303 303 304 -* RO is for the relay. ROx=1: CLOSED, ROx=0 alwaysOPEN.305 -* DI is for digital input. DIx=1: HIGHorFLOATING, DIx=0:LOW.306 -* DO is for reverse digital output. DOx=1: LOW, DOx=0:HIGHorFLOATING.305 +* RO is for the relay. ROx=1: closed, ROx=0 always open. 306 +* DI is for digital input. DIx=1: high or floating, DIx=0: low. 307 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 307 307 308 308 (% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L** 309 309 ... ... @@ -341,7 +341,7 @@ 341 341 342 342 343 343 ((( 344 -**For LT-22222-L**: In this mode, **DI1 and DI2** are used as counting pins. 345 +**For LT-22222-L**: In this mode, the **DI1 and DI2** are used as counting pins. 345 345 ))) 346 346 347 347 ((( ... ... @@ -355,17 +355,17 @@ 355 355 ))) 356 356 357 357 ((( 358 -(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, a nditssizeis1 bytelongas shown below.359 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 359 359 360 360 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 361 361 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 362 362 |RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 363 363 364 -* RO is for the relay. ROx=1: CLOSED, ROx=0 alwaysOPEN.365 +* RO is for the relay. ROx=1: closed, ROx=0 always open. 365 365 ))) 366 366 367 367 * FIRST: Indicates that this is the first packet after joining the network. 368 -* DO is for reverse digital output. DOx=1: LOW, DOx=0:HIGHorFLOATING.369 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 369 369 370 370 ((( 371 371 (% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L** ... ... @@ -601,9 +601,9 @@ 601 601 602 602 **Example:** 603 603 604 -AT+AVLIM=3000,6000,0,2000 ( triggers an uplink if AVI1 voltageislower than 3Vor higher than 6V,orifAV2 voltage is higher than 2V)605 +AT+AVLIM=3000,6000,0,2000 (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink) 605 605 606 -AT+AVLIM=5000,0,0,0 ( triggers an uplink if AVI1 voltage lower than 5V.Use0 forparametersthatarenotinuse)607 +AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 607 607 608 608 609 609 (% style="color:#4f81bd" %)**Trigger based on current**: ... ... @@ -613,7 +613,7 @@ 613 613 614 614 **Example:** 615 615 616 -AT+ACLIM=10000,15000,0,0 ( triggers an uplink if ACI1 voltageislower than 10mA or higher than 15mA)617 +AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 617 617 618 618 619 619 (% style="color:#4f81bd" %)**Trigger based on DI status**: ... ... @@ -628,38 +628,39 @@ 628 628 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 629 629 630 630 631 -(% style="color:#037691" %)** LoRaWANDownlink CommandsforSettingtheTrigger Conditions:**632 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 632 632 633 633 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 634 634 635 635 Format: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4 636 636 637 - AA: TypeCode for this downlink Command:638 + AA: Code for this downlink Command: 638 638 639 - xx: **0**: Limit for AV1 and AV2;**1**: limit for AC1 and AC2;**2**:DI1andDI2 trigger enable/disable.640 + xx: 0: Limit for AV1 and AV2; 1: limit for AC1 and AC2 ; 2 DI1, DI2 trigger enable/disable 640 640 641 - yy1 yy1: AC1 or AV1 LOWlimit or DI1/DI2 trigger status.642 + yy1 yy1: AC1 or AV1 low limit or DI1/DI2 trigger status. 642 642 643 - yy2 yy2: AC1 or AV1 HIGHlimit.644 + yy2 yy2: AC1 or AV1 high limit. 644 644 645 - yy3 yy3: AC2 or AV2 LOWlimit.646 + yy3 yy3: AC2 or AV2 low limit. 646 646 647 - Yy4 yy4: AC2 or AV2 HIGHlimit.648 + Yy4 yy4: AC2 or AV2 high limit. 648 648 649 649 650 -**Example 651 +**Example1**: AA 00 13 88 00 00 00 00 00 00 651 651 652 -Same as AT+AVLIM=5000,0,0,0 ( triggers an uplink if AVI1 voltageislower than 5V.Use0s forparametersthatarenotinuse)653 +Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 653 653 654 654 655 -**Example 656 +**Example2**: AA 02 01 00 656 656 657 -Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 658 +Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 658 658 659 659 661 + 660 660 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 661 661 662 -MOD6 Payload: total of11 bytes664 +MOD6 Payload: total 11 bytes payload 663 663 664 664 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 665 665 |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:49px" %)**6**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1** ... ... @@ -673,10 +673,10 @@ 673 673 MOD(6) 674 674 ))) 675 675 676 -(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 678 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1byte as below 677 677 678 678 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 679 -|**bit 681 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 680 680 |((( 681 681 AV1_LOW 682 682 )))|((( ... ... @@ -695,17 +695,17 @@ 695 695 AC2_HIGH 696 696 ))) 697 697 698 -* Each bit shows if the corresponding trigger has been configured. 700 +* Each bits shows if the corresponding trigger has been configured. 699 699 700 700 **Example:** 701 701 702 -10100000: Means the system has configure to use the trigger: A V1_LOW and AV2_LOW704 +10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 703 703 704 704 705 -(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 707 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 706 706 707 707 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %) 708 -|**bit 710 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 709 709 |((( 710 710 AV1_LOW 711 711 )))|((( ... ... @@ -724,11 +724,11 @@ 724 724 AC2_HIGH 725 725 ))) 726 726 727 -* Each bit shows which status has been trigger edon this uplink.729 +* Each bits shows which status has been trigger on this uplink. 728 728 729 729 **Example:** 730 730 731 -10000000: Means this uplink is triggeredby AV1_LOW.That meansthevoltageistoo low.733 +10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 732 732 733 733 734 734 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below ... ... @@ -737,7 +737,7 @@ 737 737 |**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 738 738 |N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 739 739 740 -* Each bits shows which status has been trigger edon this uplink.742 +* Each bits shows which status has been trigger on this uplink. 741 741 742 742 **Example:** 743 743 ... ... @@ -764,11 +764,11 @@ 764 764 ))) 765 765 766 766 767 -== 3.4 Configure LT via AT Commands or Downlinks==769 +== 3.4 Configure LT via AT or Downlink == 768 768 769 769 770 770 ((( 771 -User can configure LT I/O Controller via AT Commands or LoRaWAN Downlinks .773 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 772 772 ))) 773 773 774 774 ((( ... ... @@ -794,37 +794,33 @@ 794 794 ==== 3.4.2.1 Set Transmit Interval ==== 795 795 796 796 797 -Set sthe uplink interval of thedevice.The default uplinktransmissionintervalis 10 minutes.799 +Set device uplink interval. 798 798 799 -* (% style="color:#037691" %)**AT command:**801 +* (% style="color:#037691" %)**AT Command:** 800 800 801 -(% style="color:blue" %)**AT+TDC=N** 803 +(% style="color:blue" %)**AT+TDC=N ** 802 802 803 -where N is the time in milliseconds. 804 804 805 -**Example: **AT+TDC=30000. Thiswillsetthe uplink interval to 30 seconds806 +**Example: **AT+TDC=30000. Means set interval to 30 seconds 806 806 807 807 808 -* (% style="color:#037691" %)**Downlink payload (prefix 0x01):**809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 809 809 810 810 (% style="color:blue" %)**0x01 aa bb cc **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)** 811 811 812 812 813 813 814 -==== 3.4.2.2 Set theWork Mode (AT+MOD) ====815 +==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 815 815 816 816 817 -Set sthework mode.818 +Set work mode. 818 818 819 -* (% style="color:#037691" %)**AT command:**(%%) (% style="color:blue" %)**AT+MOD=N **820 +* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+MOD=N ** 820 820 821 - WhereNis the work mode.822 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode 822 822 823 -* *Example**:AT+MOD=2.Thiswill set the workmode toDouble DI countingmode.824 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 824 824 825 - 826 -* (% style="color:#037691" %)**Downlink payload (prefix 0x0A):** 827 - 828 828 (% style="color:blue" %)**0x0A aa **(%%)** ** ~/~/ Same as AT+MOD=aa 829 829 830 830 ... ... @@ -832,12 +832,10 @@ 832 832 ==== 3.4.2.3 Poll an uplink ==== 833 833 834 834 835 - Asksthe devicetosendan uplink.833 +* (% style="color:#037691" %)**AT Command:**(%%) There is no AT Command to poll uplink 836 836 837 -* (% style="color:#037691" %)** AT command:**(%%) ThereisnoAT Commandtopoll uplink835 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):** 838 838 839 -* (% style="color:#037691" %)**Downlink payload (prefix 0x08):** 840 - 841 841 (% style="color:blue" %)**0x08 FF **(%%)** **~/~/ Poll an uplink 842 842 843 843 **Example**: 0x08FF, ask device to send an Uplink ... ... @@ -844,16 +844,16 @@ 844 844 845 845 846 846 847 -==== 3.4.2.4 Enable /DisableTrigger Mode ====843 +==== 3.4.2.4 Enable Trigger Mode ==== 848 848 849 849 850 - Enable ordisablethe trigger mode(seealso[[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]).846 +Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 851 851 852 852 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ADDMOD6=1 or 0** 853 853 854 -(% style="color:red" %)**1:** (%%)Enable the triggermode850 +(% style="color:red" %)**1:** (%%)Enable Trigger Mode 855 855 856 -(% style="color:red" %)**0: **(%%)Disable the triggermode852 +(% style="color:red" %)**0: **(%%)Disable Trigger Mode 857 857 858 858 859 859 * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** ... ... @@ -865,7 +865,7 @@ 865 865 ==== 3.4.2.5 Poll trigger settings ==== 866 866 867 867 868 -Poll sthe trigger settings864 +Poll trigger settings 869 869 870 870 * (% style="color:#037691" %)**AT Command:** 871 871 ... ... @@ -873,7 +873,7 @@ 873 873 874 874 * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):** 875 875 876 -(% style="color:blue" %)**0xAB 06 ** (%%) ~/~/ Poll t he trigger settings.Device will uplink trigger settings once receive this command872 +(% style="color:blue" %)**0xAB 06 ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 877 877 878 878 879 879 ... ... @@ -880,11 +880,11 @@ 880 880 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 881 881 882 882 883 -Enable orDisable DI1/DI2/DI2 as trigger,879 +Enable Disable DI1/DI2/DI2 as trigger, 884 884 885 885 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 886 886 887 -**Example:** AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 883 +**Example:** AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 888 888 889 889 890 890 * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):** ... ... @@ -916,15 +916,15 @@ 916 916 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 917 917 918 918 919 -Set sDI2 trigger.915 +Set DI2 trigger. 920 920 921 921 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b** 922 922 923 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge 919 +(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 924 924 925 925 (% style="color:red" %)**b :** (%%)delay timing. 926 926 927 -**Example:** AT+TRIG2=0,100 923 +**Example:** AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 928 928 929 929 930 930 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** ... ... @@ -962,7 +962,7 @@ 962 962 ==== 3.4.2.11 Trigger – Set minimum interval ==== 963 963 964 964 965 -Set sAV and AC trigger minimum interval.Devicewon't response to the second trigger within this set time after the first trigger.961 +Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger. 966 966 967 967 * (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+ATDC=5 ** ~/~/ (%%)Device won't response the second trigger within 5 minute after the first trigger. 968 968