<
From version < 186.1 >
edited by Dilisi S
on 2024/11/11 02:43
To version < 193.1 >
edited by Dilisi S
on 2024/11/14 05:28
>
Change comment: Nov 13 edits part 2

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LT-22222-L -- LoRa IO Controller User Manual
1 +LT-22222-L -- LoRa I/O Controller User Manual
Content
... ... @@ -40,7 +40,9 @@
40 40  * If there is no public LoRaWAN coverage in your area, you can set up a LoRaWAN gateway, or multiple gateways, and connect them to a LoRaWAN network server to create adequate coverage. Then, register the LT-22222-L I/O controller with this network.
41 41  * Setup your own private LoRaWAN network.
42 42  
43 -> You can use a LoRaWAN gateway, such as the Dragino LG308, to expand or create LoRaWAN coverage in your area.
43 +{{info}}
44 + You can use a LoRaWAN gateway, such as the [[Dragino LG308>>https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], to expand or create LoRaWAN coverage in your area.
45 +{{/info}}
44 44  )))
45 45  
46 46  (((
... ... @@ -56,13 +56,13 @@
56 56  * STM32L072xxxx MCU
57 57  * SX1276/78 Wireless Chip 
58 58  * Power Consumption:
59 -** Idle: 4mA@12v
61 +** Idle: 4mA@12V
60 60  ** 20dB Transmit: 34mA@12V
61 61  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
62 62  
63 63  (% style="color:#037691" %)**Interface for Model: LT22222-L:**
64 64  
65 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
67 +* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50V, or 220V with optional external resistor)
66 66  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
67 67  * 2 x Relay Output (5A@250VAC / 30VDC)
68 68  * 2 x 0~~20mA Analog Input (res:0.01mA)
... ... @@ -72,8 +72,8 @@
72 72  (% style="color:#037691" %)**LoRa Spec:**
73 73  
74 74  * Frequency Range:
75 -** Band 1 (HF): 862 ~~ 1020 Mhz
76 -** Band 2 (LF): 410 ~~ 528 Mhz
77 +** Band 1 (HF): 862 ~~ 1020 MHz
78 +** Band 2 (LF): 410 ~~ 528 MHz
77 77  * 168 dB maximum link budget.
78 78  * +20 dBm - 100 mW constant RF output vs.
79 79  * +14 dBm high-efficiency PA.
... ... @@ -92,7 +92,7 @@
92 92  
93 93  == 1.3 Features ==
94 94  
95 -* LoRaWAN Class A & Class C protocol
97 +* LoRaWAN Class A & Class C modes
96 96  * Optional Customized LoRa Protocol
97 97  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
98 98  * AT Commands to change parameters
... ... @@ -102,34 +102,23 @@
102 102  
103 103  == 1.4 Applications ==
104 104  
105 -* Smart Buildings & Home Automation
106 -* Logistics and Supply Chain Management
107 -* Smart Metering
108 -* Smart Agriculture
109 -* Smart Cities
110 -* Smart Factory
107 +* Smart buildings & home automation
108 +* Logistics and supply chain management
109 +* Smart metering
110 +* Smart agriculture
111 +* Smart cities
112 +* Smart factory
111 111  
112 -== 1.5 Hardware Variants ==
114 += 2Assembling the device =
113 113  
116 +== 2.1 Connecting the antenna ==
114 114  
115 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
116 -|(% style="background-color:#4f81bd; color:white; width:103px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Description**
117 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
118 -(% style="text-align:center" %)
119 -[[image:image-20230424115112-1.png||height="106" width="58"]]
120 -)))|(% style="width:334px" %)(((
121 -* 2 x Digital Input (Bi-direction)
122 -* 2 x Digital Output
123 -* 2 x Relay Output (5A@250VAC / 30VDC)
124 -* 2 x 0~~20mA Analog Input (res:0.01mA)
125 -* 2 x 0~~30V Analog Input (res:0.01v)
126 -* 1 x Counting Port
127 -)))
118 +Connect the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise.
128 128  
129 -= 2. Assembling =
120 +{{warning}}
121 +Warning! Do not power on the device without connecting the antenna.
122 +{{/warning}}
130 130  
131 -Attach the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise.
132 -
133 133  == 2.2 Terminals ==
134 134  
135 135  The  LT-22222-L has two screw terminal blocks. The upper screw treminal block has 6 terminals and the lower screw terminal block has 10 terminals.
... ... @@ -164,8 +164,6 @@
164 164  
165 165  The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect your 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.
166 166  
167 -Powering on the device
168 -
169 169  Once powered, the **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** The Things Stack. The **TX LED** will be on for **5 seconds** after joining the network. When there is a **downlink** message from the server, the **RX LED** will be on for **1 second**. When the device is sending an uplink message to the server, the **TX LED** will be on for **1 second**. See also LED status.
170 170  
171 171  {{warning}}
... ... @@ -288,7 +288,7 @@
288 288  [[image:lt-22222-ul-payload-fmt.png||height="686" width="1000"]]
289 289  
290 290  
291 -== 3.3 Work Modes and their Uplink Payload formats ==
280 +== 3.3 Work Modes and Uplink Payload formats ==
292 292  
293 293  
294 294  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 work mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.
... ... @@ -312,8 +312,12 @@
312 312  (((
313 313  This is the default mode.
314 314  
315 -The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)
304 +The uplink payload is 11 bytes long.
316 316  
306 +(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
307 +The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
308 +It starts counting again when it reaches the maximum value.**(% style="display:none" wfd-invisible="true" %)
309 +
317 317  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
318 318  |(% 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**
319 319  |Value|(((
... ... @@ -383,6 +383,10 @@
383 383  (((
384 384  The uplink payload is 11 bytes long.
385 385  
379 +(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
380 +The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
381 +It starts counting again when it reaches the maximum value.**
382 +
386 386  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
387 387  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**
388 388  |Value|COUNT1|COUNT2 |DIDORO*|(((
... ... @@ -447,6 +447,9 @@
447 447  
448 448  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
449 449  
447 +(% style="color:red" %)**Note: The maximum count depends on the bytes it is.
448 +The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
449 +It starts counting again when it reaches the maximum value.**
450 450  
451 451  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
452 452  
... ... @@ -497,7 +497,11 @@
497 497  
498 498  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
499 499  
500 +(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
501 +The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
502 +It starts counting again when it reaches the maximum value.**
500 500  
504 +
501 501  (((
502 502  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
503 503  )))
... ... @@ -562,7 +562,11 @@
562 562  
563 563  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
564 564  
569 +(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
570 +The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
571 +It starts counting again when it reaches the maximum value.**
565 565  
573 +
566 566  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
567 567  
568 568  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -835,10 +835,10 @@
835 835  (% style="color:#037691" %)**AT command**
836 836  
837 837  (% style="width:500px" %)
838 -|Command|AT+TDC<time>
839 -|Response|
840 -|Parameters|<time> uplink interval is in milliseconds
841 -|Example|(((
846 +|**Command**|AT+TDC<time>
847 +|**Response**|
848 +|**Parameters**|<time> uplink interval is in milliseconds
849 +|**Example**|(((
842 842  AT+TDC=30000
843 843  
844 844  Sets the uplink interval to 30,000 milliseconds (30 seconds)
... ... @@ -847,20 +847,22 @@
847 847  (% style="color:#037691" %)**Downlink payload**
848 848  
849 849  (% style="width:500px" %)
850 -|Payload|(((
858 +|**Payload**|(((
851 851  <prefix><time>
852 852  )))
853 -|Parameters|(((
861 +|**Parameters**|(((
854 854  <prefix> 0x01
855 855  
856 856  <time> uplink interval is in milliseconds, represented by 3  bytes in hexadecimal.
857 857  )))
858 -|Example|(((
866 +|**Example**|(((
859 859  01 **00 75 30**
860 860  
861 861  Sets the uplink interval to 30,000 milliseconds (30 seconds)
862 862  
863 -Note: 00 75 30 (hex) = 30000 (dec)
871 +Conversion: 30000 (dec) = 00 75 30 (hex)
872 +
873 +See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30000]]
864 864  )))
865 865  
866 866  ==== 3.4.2.2 Set the Work Mode (AT+MOD) ====
... ... @@ -1727,10 +1727,11 @@
1727 1727  
1728 1728  == 3.7 LEDs Indicators ==
1729 1729  
1740 +The table below lists the behavior of LED indicators for each port function.
1730 1730  
1731 1731  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1732 1732  |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature**
1733 -|**PWR**|Always on if there is power
1744 +|**PWR**|Always on when there is power
1734 1734  |**TX**|(((
1735 1735  (((
1736 1736  Device boot: TX blinks 5 times.
... ... @@ -1737,7 +1737,7 @@
1737 1737  )))
1738 1738  
1739 1739  (((
1740 -Successful join network: TX ON for 5 seconds.
1751 +Successful network join: TX remains ON for 5 seconds.
1741 1741  )))
1742 1742  
1743 1743  (((
... ... @@ -1744,7 +1744,7 @@
1744 1744  Transmit a LoRa packet: TX blinks once
1745 1745  )))
1746 1746  )))
1747 -|**RX**|RX blinks once when receiving a packet.
1758 +|**RX**|RX blinks once when a packet is received.
1748 1748  |**DO1**|For LT-22222-L: ON when DO1 is low, OFF when DO1 is high
1749 1749  |**DO2**|For LT-22222-L: ON when DO2 is low, OFF when DO2 is high
1750 1750  |**DI1**|(((
... ... @@ -1783,7 +1783,7 @@
1783 1783  )))
1784 1784  
1785 1785  (((
1786 -The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between work modes.
1797 +The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between working modes.
1787 1787  
1788 1788  * AT+<CMD>? : Help on <CMD>
1789 1789  * AT+<CMD> : Run <CMD>
... ... @@ -1842,28 +1842,28 @@
1842 1842  
1843 1843  
1844 1844  (((
1845 -(% style="color:blue" %)**If the device has not joined the network yet:**
1856 +(% style="color:blue" %)**If the device has not yet joined the network:**
1846 1846  )))
1847 1847  )))
1848 1848  
1849 1849  (((
1850 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1861 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1851 1851  )))
1852 1852  
1853 1853  (((
1854 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1865 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/Reset parameters to factory default, Reserve keys**##
1855 1855  )))
1856 1856  
1857 1857  (((
1858 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1869 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1859 1859  )))
1860 1860  
1861 1861  (((
1862 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1873 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**##
1863 1863  )))
1864 1864  
1865 1865  (((
1866 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1877 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**##
1867 1867  )))
1868 1868  
1869 1869  
... ... @@ -1886,20 +1886,20 @@
1886 1886  
1887 1887  
1888 1888  (((
1889 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1900 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter password to enable AT commands access
1890 1890  )))
1891 1891  )))
1892 1892  
1893 1893  (((
1894 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1905 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset parameters to Factory Default, Reserve keys
1895 1895  )))
1896 1896  
1897 1897  (((
1898 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1909 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter password to enable AT commands access
1899 1899  )))
1900 1900  
1901 1901  (((
1902 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1913 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to CLASS C mode
1903 1903  )))
1904 1904  
1905 1905  (((
... ... @@ -1919,19 +1919,19 @@
1919 1919  )))
1920 1920  
1921 1921  (((
1922 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1933 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4 MHz
1923 1923  )))
1924 1924  
1925 1925  (((
1926 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1937 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server)
1927 1927  )))
1928 1928  
1929 1929  (((
1930 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1941 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below.
1931 1931  )))
1932 1932  
1933 1933  (((
1934 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1945 +(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address. The Device Address can be found in the application on the LoRaWAN NS.
1935 1935  )))
1936 1936  
1937 1937  (((
... ... @@ -1945,14 +1945,14 @@
1945 1945  )))
1946 1946  
1947 1947  (((
1948 -**~1. Make sure the device is set to ABP mode in the IoT Server.**
1959 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.**
1949 1949  
1950 -**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
1961 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.**
1951 1951  
1952 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?
1963 +**3. Make sure the SF/bandwidth settings in the LG01/LG02 match the settings of AT+DR. Refer to [[this link>>url:http://www.dragino.com/downloads/index.php?
1953 1953  dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1954 1954  
1955 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.**
1966 +**4. The commands AT+RX2FQ and AT+RX2DR enable downlink functionality. To set the correct parameters, you can check the actual downlink parameters to be used as shown below. Here, RX2FQ should be set to 868400000 and RX2DR should be set to 5.**
1956 1956  )))
1957 1957  
1958 1958  (((
... ... @@ -1976,20 +1976,18 @@
1976 1976  
1977 1977  == 5.1 Counting how many objects pass through the flow Line ==
1978 1978  
1990 +See [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
1979 1979  
1980 -Reference Link: [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
1981 1981  
1982 -
1983 1983  = 6. FAQ =
1984 1984  
1985 1985  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
1986 1986  
1997 +
1987 1987  == 6.1 How to update the firmware? ==
1988 1988  
1989 -Dragino frequently releases firmware updates for the LT-22222-L.
2000 +Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
1990 1990  
1991 -Updating your LT-22222-L with the latest firmware version helps to:
1992 -
1993 1993  * Support new features
1994 1994  * Fix bugs
1995 1995  * Change LoRaWAN frequency bands
... ... @@ -2007,8 +2007,8 @@
2007 2007  
2008 2008  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2009 2009  
2019 +[[image:usb-ttl-programming.png]]
2010 2010  
2011 -[[image:1653359603330-121.png]]
2012 2012  
2013 2013  
2014 2014  Start the STM32 Flash Loader and choose the correct COM port to update.
... ... @@ -2032,7 +2032,7 @@
2032 2032  [[image:image-20220524104033-15.png]]
2033 2033  
2034 2034  
2035 -(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5mm cable. The pin mapping is as follows:
2044 +(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5 mm cable. The pin mapping is as follows:
2036 2036  
2037 2037  [[image:1653360054704-518.png||height="186" width="745"]]
2038 2038  
... ... @@ -2040,8 +2040,6 @@
2040 2040  (((
2041 2041  (((
2042 2042  == 6.2 How to change the LoRaWAN frequency band/region? ==
2043 -
2044 -
2045 2045  )))
2046 2046  )))
2047 2047  
... ... @@ -2052,20 +2052,18 @@
2052 2052  (((
2053 2053  
2054 2054  
2055 -== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2056 -
2057 -
2062 +== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2058 2058  )))
2059 2059  
2060 2060  (((
2061 2061  (((
2062 -In this case, you need to set the LT-33222-L to work in ABP mode and transmit on only one frequency.
2067 +In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency.
2063 2063  )))
2064 2064  )))
2065 2065  
2066 2066  (((
2067 2067  (((
2068 -Assume you have an LG02 working on the frequency 868400000. Below are the steps.
2073 +We assume you have an LG01/LG02 working on the frequency 868400000. Below are the steps.
2069 2069  
2070 2070  
2071 2071  )))
... ... @@ -2072,52 +2072,55 @@
2072 2072  )))
2073 2073  
2074 2074  (((
2075 -(% style="color:#0000ff" %)**Step 1**(%%):  Log in to The Things Stack SANDBOX, create an ABP device in the application, and input the Network Session key (NwkSKey), App session key (AppSKey) of the device.
2080 +(% style="color:#0000ff" %)**Step 1**(%%): Log in to The Things Stack Sandbox account and create an ABP device in the application. To do this, use the manual registration option as explained in section 3.2.2.2, //Adding a Device Manually//. Select //Activation by Personalization (ABP)// under Activation Mode. Enter the DevEUI exactly as shown on the registration information sticker, then generate the Device Address, Application Session Key (AppSKey), and Network Session Key (NwkSKey).
2076 2076  
2077 -
2082 +[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2078 2078  )))
2079 2079  
2080 2080  (((
2081 -[[image:1653360231087-571.png||height="401" width="727"]]
2082 -
2083 2083  
2084 2084  )))
2085 2085  
2086 -(((
2087 -(% style="color:red" %)**Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
2088 -)))
2089 +{{warning}}
2090 +Ensure that the Device Address (DevAddr) and the two keys match between the LT-22222-L and The Things Stack. You can modify them either in The Things Stack or on the LT-22222-L to make them align. In The Things Stack, you can configure the NwkSKey and AppSKey on the settings page, but note that the Device Address is generated by The Things Stack.
2091 +{{/warning}}
2089 2089  
2090 2090  
2091 -
2092 2092  (((
2093 -(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2095 +(% style="color:blue" %)**Step 2**(%%)**:  **(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)Run AT commands to configure the LT-22222-L to operate in single-frequency and ABP mode. The AT commands are as follows:
2094 2094  
2095 2095  
2096 2096  )))
2097 2097  
2098 2098  (((
2099 -(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2101 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access.
2100 2100  
2101 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2103 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved.
2102 2102  
2103 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2105 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode.
2104 2104  
2105 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2107 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR).
2106 2106  
2107 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2109 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Use AT+DR=3 for the 915 MHz band).
2108 2108  
2109 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2111 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds.
2110 2110  
2111 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2113 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4 MHz.
2112 2112  
2113 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2115 +(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr)
2114 2114  
2115 -(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
2117 +(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:700; text-decoration:none; white-space:pre-wrap" %)**AT+APPKEY=xxxx**(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %): Get or set the Application Key (AppKey)
2118 +
2119 +(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)**AT+NWKSKEY=xxxx**: Get or set the Network Session Key (NwkSKey)
2120 +
2121 +(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)**AT+APPSKEY=xxxx**: Get or set the Application Session Key (AppSKey)
2122 +
2123 +(% style="background-color:#dcdcdc" %)**ATZ**        (%%) : Reset MCU.
2116 2116  )))
2117 2117  
2118 2118  
2119 2119  (((
2120 -As shown in below:
2128 +(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)The following figure shows the screenshot of the command set above, issued using a serial tool:
2121 2121  )))
2122 2122  
2123 2123  [[image:1653360498588-932.png||height="485" width="726"]]
... ... @@ -2125,35 +2125,33 @@
2125 2125  
2126 2126  == 6.4 How to change the uplink interval? ==
2127 2127  
2128 -
2129 2129  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]]
2130 2130  
2131 2131  
2132 2132  == 6.5 Can I see the counting event in the serial output? ==
2133 2133  
2134 -
2135 2135  (((
2136 -You can run the AT command AT+DEBUG to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2142 +You can run the AT command **AT+DEBUG** to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2137 2137  
2138 2138  
2139 2139  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2140 2140  
2141 -
2142 2142  Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>https://wiki.dragino.com/xwiki/bin/view/Main/%20Point%20to%20Point%20Communication%20of%20LT-22222-L/]] page. The firmware that supports point-to-point communication can be found [[here>>https://github.com/dragino/LT-22222-L/releases]].
2148 +
2149 +
2143 2143  )))
2144 2144  
2145 2145  (((
2146 2146  == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2147 2147  
2148 -
2149 2149  * If the device is not properly shut down and is directly powered off.
2150 2150  * It will default to a power-off state.
2151 2151  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2152 2152  * After a restart, the status before the power failure will be read from flash.
2153 2153  
2160 +
2154 2154  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2155 2155  
2156 -
2157 2157  The LT-22222-L's built-in relay is Normally Open (NO). You can use an external relay to achieve a Normally Closed (NC) configuration. The circuit diagram is shown below:
2158 2158  
2159 2159  
... ... @@ -2162,24 +2162,24 @@
2162 2162  
2163 2163  == 6.9 Can the LT-22222-L save the RO state? ==
2164 2164  
2171 +To enable this feature, the firmware version must be 1.6.0 or higher.
2165 2165  
2166 -The firmware version must be at least 1.6.0.
2167 2167  
2168 -
2169 2169  == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2170 2170  
2171 -
2172 2172  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2173 2173  
2174 2174  
2175 2175  = 7. Troubleshooting =
2180 +
2181 +This section provides some known troubleshooting tips.
2182 +
2183 +
2176 2176  )))
2177 2177  
2178 2178  (((
2179 2179  (((
2180 2180  == 7.1 Downlink isn't working. How can I solve this? ==
2181 -
2182 -
2183 2183  )))
2184 2184  )))
2185 2185  
... ... @@ -2191,8 +2191,6 @@
2191 2191  
2192 2192  
2193 2193  == 7.2 Having trouble uploading an image? ==
2194 -
2195 -
2196 2196  )))
2197 2197  
2198 2198  (((
... ... @@ -2203,8 +2203,6 @@
2203 2203  
2204 2204  
2205 2205  == 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2206 -
2207 -
2208 2208  )))
2209 2209  
2210 2210  (((
... ... @@ -2212,9 +2212,8 @@
2212 2212  )))
2213 2213  
2214 2214  
2215 -== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? ==
2217 +== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2216 2216  
2217 -
2218 2218  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2219 2219  Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2220 2220  
... ... @@ -2221,7 +2221,6 @@
2221 2221  
2222 2222  = 8. Ordering information =
2223 2223  
2224 -
2225 2225  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2226 2226  
2227 2227  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2236,8 +2236,8 @@
2236 2236  * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865
2237 2237  * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779
2238 2238  
2239 -= 9. Packing information =
2240 2240  
2240 += 9. Package information =
2241 2241  
2242 2242  **Package includes**:
2243 2243  
... ... @@ -2244,7 +2244,7 @@
2244 2244  * 1 x LT-22222-L I/O Controller
2245 2245  * 1 x LoRa antenna matched to the frequency of the LT-22222-L
2246 2246  * 1 x bracket for DIN rail mounting
2247 -* 1 x 3.5mm programming cable
2247 +* 1 x 3.5 mm programming cable
2248 2248  
2249 2249  **Dimension and weight**:
2250 2250  
... ... @@ -2253,9 +2253,9 @@
2253 2253  * Package Size / pcs : 14.5 x 8 x 5 cm
2254 2254  * Weight / pcs : 170 g
2255 2255  
2256 +
2256 2256  = 10. Support =
2257 2257  
2258 -
2259 2259  * (((
2260 2260  Support is available Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different time zones, we cannot offer live support. However, your questions will be answered as soon as possible within the aforementioned schedule.
2261 2261  )))
... ... @@ -2267,7 +2267,6 @@
2267 2267  
2268 2268  = 11. Reference​​​​​ =
2269 2269  
2270 -
2271 2271  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2272 2272  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2273 2273  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
lt-22222-l-abp.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +321.4 KB
Content
usb-ttl-programming.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +462.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0