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

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LT-22222-L -- LoRa I/O Controller User Manual
1 +LT-22222-L -- LoRa IO Controller User Manual
Content
... ... @@ -40,9 +40,7 @@
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 -{{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}}
43 +> You can use a LoRaWAN gateway, such as the Dragino LG308, to expand or create LoRaWAN coverage in your area.
46 46  )))
47 47  
48 48  (((
... ... @@ -58,13 +58,13 @@
58 58  * STM32L072xxxx MCU
59 59  * SX1276/78 Wireless Chip 
60 60  * Power Consumption:
61 -** Idle: 4mA@12V
59 +** Idle: 4mA@12v
62 62  ** 20dB Transmit: 34mA@12V
63 63  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
64 64  
65 65  (% style="color:#037691" %)**Interface for Model: LT22222-L:**
66 66  
67 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50V, or 220V with optional external resistor)
65 +* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
68 68  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
69 69  * 2 x Relay Output (5A@250VAC / 30VDC)
70 70  * 2 x 0~~20mA Analog Input (res:0.01mA)
... ... @@ -74,8 +74,8 @@
74 74  (% style="color:#037691" %)**LoRa Spec:**
75 75  
76 76  * Frequency Range:
77 -** Band 1 (HF): 862 ~~ 1020 MHz
78 -** Band 2 (LF): 410 ~~ 528 MHz
75 +** Band 1 (HF): 862 ~~ 1020 Mhz
76 +** Band 2 (LF): 410 ~~ 528 Mhz
79 79  * 168 dB maximum link budget.
80 80  * +20 dBm - 100 mW constant RF output vs.
81 81  * +14 dBm high-efficiency PA.
... ... @@ -94,7 +94,7 @@
94 94  
95 95  == 1.3 Features ==
96 96  
97 -* LoRaWAN Class A & Class C modes
95 +* LoRaWAN Class A & Class C protocol
98 98  * Optional Customized LoRa Protocol
99 99  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
100 100  * AT Commands to change parameters
... ... @@ -104,23 +104,34 @@
104 104  
105 105  == 1.4 Applications ==
106 106  
107 -* Smart buildings & home automation
108 -* Logistics and supply chain management
109 -* Smart metering
110 -* Smart agriculture
111 -* Smart cities
112 -* Smart factory
105 +* Smart Buildings & Home Automation
106 +* Logistics and Supply Chain Management
107 +* Smart Metering
108 +* Smart Agriculture
109 +* Smart Cities
110 +* Smart Factory
113 113  
114 -= 2Assembling the device =
112 +== 1.5 Hardware Variants ==
115 115  
116 -== 2.1 Connecting the antenna ==
117 117  
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.
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 +)))
119 119  
120 -{{warning}}
121 -Warning! Do not power on the device without connecting the antenna.
122 -{{/warning}}
129 += 2. Assembling =
123 123  
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 +
124 124  == 2.2 Terminals ==
125 125  
126 126  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.
... ... @@ -155,6 +155,8 @@
155 155  
156 156  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.
157 157  
167 +Powering on the device
168 +
158 158  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.
159 159  
160 160  {{warning}}
... ... @@ -277,7 +277,7 @@
277 277  [[image:lt-22222-ul-payload-fmt.png||height="686" width="1000"]]
278 278  
279 279  
280 -== 3.3 Work Modes and Uplink Payload formats ==
291 +== 3.3 Work Modes and their Uplink Payload formats ==
281 281  
282 282  
283 283  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.
... ... @@ -301,12 +301,8 @@
301 301  (((
302 302  This is the default mode.
303 303  
304 -The uplink payload is 11 bytes long.
315 +The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)
305 305  
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 -
310 310  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
311 311  |(% 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**
312 312  |Value|(((
... ... @@ -376,10 +376,6 @@
376 376  (((
377 377  The uplink payload is 11 bytes long.
378 378  
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 -
383 383  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
384 384  |(% 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**
385 385  |Value|COUNT1|COUNT2 |DIDORO*|(((
... ... @@ -444,9 +444,6 @@
444 444  
445 445  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
446 446  
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,11 +497,7 @@
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.**
503 503  
504 -
505 505  (((
506 506  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
507 507  )))
... ... @@ -566,11 +566,7 @@
566 566  
567 567  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
568 568  
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.**
572 572  
573 -
574 574  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
575 575  
576 576  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -843,10 +843,10 @@
843 843  (% style="color:#037691" %)**AT command**
844 844  
845 845  (% style="width:500px" %)
846 -|**Command**|AT+TDC<time>
847 -|**Response**|
848 -|**Parameters**|<time> uplink interval is in milliseconds
849 -|**Example**|(((
838 +|Command|AT+TDC<time>
839 +|Response|
840 +|Parameters|<time> uplink interval is in milliseconds
841 +|Example|(((
850 850  AT+TDC=30000
851 851  
852 852  Sets the uplink interval to 30,000 milliseconds (30 seconds)
... ... @@ -855,22 +855,20 @@
855 855  (% style="color:#037691" %)**Downlink payload**
856 856  
857 857  (% style="width:500px" %)
858 -|**Payload**|(((
850 +|Payload|(((
859 859  <prefix><time>
860 860  )))
861 -|**Parameters**|(((
853 +|Parameters|(((
862 862  <prefix> 0x01
863 863  
864 864  <time> uplink interval is in milliseconds, represented by 3  bytes in hexadecimal.
865 865  )))
866 -|**Example**|(((
858 +|Example|(((
867 867  01 **00 75 30**
868 868  
869 869  Sets the uplink interval to 30,000 milliseconds (30 seconds)
870 870  
871 -Conversion: 30000 (dec) = 00 75 30 (hex)
872 -
873 -See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30000]]
863 +Note: 00 75 30 (hex) = 30000 (dec)
874 874  )))
875 875  
876 876  ==== 3.4.2.2 Set the Work Mode (AT+MOD) ====
... ... @@ -1737,11 +1737,10 @@
1737 1737  
1738 1738  == 3.7 LEDs Indicators ==
1739 1739  
1740 -The table below lists the behavior of LED indicators for each port function.
1741 1741  
1742 1742  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1743 1743  |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature**
1744 -|**PWR**|Always on when there is power
1733 +|**PWR**|Always on if there is power
1745 1745  |**TX**|(((
1746 1746  (((
1747 1747  Device boot: TX blinks 5 times.
... ... @@ -1748,7 +1748,7 @@
1748 1748  )))
1749 1749  
1750 1750  (((
1751 -Successful network join: TX remains ON for 5 seconds.
1740 +Successful join network: TX ON for 5 seconds.
1752 1752  )))
1753 1753  
1754 1754  (((
... ... @@ -1755,7 +1755,7 @@
1755 1755  Transmit a LoRa packet: TX blinks once
1756 1756  )))
1757 1757  )))
1758 -|**RX**|RX blinks once when a packet is received.
1747 +|**RX**|RX blinks once when receiving a packet.
1759 1759  |**DO1**|For LT-22222-L: ON when DO1 is low, OFF when DO1 is high
1760 1760  |**DO2**|For LT-22222-L: ON when DO2 is low, OFF when DO2 is high
1761 1761  |**DI1**|(((
... ... @@ -1794,7 +1794,7 @@
1794 1794  )))
1795 1795  
1796 1796  (((
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.
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.
1798 1798  
1799 1799  * AT+<CMD>? : Help on <CMD>
1800 1800  * AT+<CMD> : Run <CMD>
... ... @@ -1853,28 +1853,28 @@
1853 1853  
1854 1854  
1855 1855  (((
1856 -(% style="color:blue" %)**If the device has not yet joined the network:**
1845 +(% style="color:blue" %)**If the device has not joined the network yet:**
1857 1857  )))
1858 1858  )))
1859 1859  
1860 1860  (((
1861 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1850 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1862 1862  )))
1863 1863  
1864 1864  (((
1865 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/Reset parameters to factory default, Reserve keys**##
1854 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1866 1866  )))
1867 1867  
1868 1868  (((
1869 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1858 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1870 1870  )))
1871 1871  
1872 1872  (((
1873 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**##
1862 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1874 1874  )))
1875 1875  
1876 1876  (((
1877 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**##
1866 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1878 1878  )))
1879 1879  
1880 1880  
... ... @@ -1897,20 +1897,20 @@
1897 1897  
1898 1898  
1899 1899  (((
1900 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter password to enable AT commands access
1889 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1901 1901  )))
1902 1902  )))
1903 1903  
1904 1904  (((
1905 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset parameters to Factory Default, Reserve keys
1894 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1906 1906  )))
1907 1907  
1908 1908  (((
1909 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter password to enable AT commands access
1898 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1910 1910  )))
1911 1911  
1912 1912  (((
1913 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to CLASS C mode
1902 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1914 1914  )))
1915 1915  
1916 1916  (((
... ... @@ -1930,19 +1930,19 @@
1930 1930  )))
1931 1931  
1932 1932  (((
1933 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4 MHz
1922 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1934 1934  )))
1935 1935  
1936 1936  (((
1937 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server)
1926 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1938 1938  )))
1939 1939  
1940 1940  (((
1941 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below.
1930 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1942 1942  )))
1943 1943  
1944 1944  (((
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.
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.
1946 1946  )))
1947 1947  
1948 1948  (((
... ... @@ -1956,14 +1956,14 @@
1956 1956  )))
1957 1957  
1958 1958  (((
1959 -**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.**
1948 +**~1. Make sure the device is set to ABP mode in the IoT Server.**
1960 1960  
1961 -**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.**
1950 +**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
1962 1962  
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?
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?
1964 1964  dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1965 1965  
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.**
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.**
1967 1967  )))
1968 1968  
1969 1969  (((
... ... @@ -1987,18 +1987,20 @@
1987 1987  
1988 1988  == 5.1 Counting how many objects pass through the flow Line ==
1989 1989  
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]]?
1991 1991  
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]]?
1992 1992  
1982 +
1993 1993  = 6. FAQ =
1994 1994  
1995 1995  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
1996 1996  
1997 -
1998 1998  == 6.1 How to update the firmware? ==
1999 1999  
2000 -Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
1989 +Dragino frequently releases firmware updates for the LT-22222-L.
2001 2001  
1991 +Updating your LT-22222-L with the latest firmware version helps to:
1992 +
2002 2002  * Support new features
2003 2003  * Fix bugs
2004 2004  * Change LoRaWAN frequency bands
... ... @@ -2016,8 +2016,8 @@
2016 2016  
2017 2017  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2018 2018  
2019 -[[image:usb-ttl-programming.png]]
2020 2020  
2011 +[[image:1653359603330-121.png]]
2021 2021  
2022 2022  
2023 2023  Start the STM32 Flash Loader and choose the correct COM port to update.
... ... @@ -2041,7 +2041,7 @@
2041 2041  [[image:image-20220524104033-15.png]]
2042 2042  
2043 2043  
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:
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:
2045 2045  
2046 2046  [[image:1653360054704-518.png||height="186" width="745"]]
2047 2047  
... ... @@ -2049,6 +2049,8 @@
2049 2049  (((
2050 2050  (((
2051 2051  == 6.2 How to change the LoRaWAN frequency band/region? ==
2043 +
2044 +
2052 2052  )))
2053 2053  )))
2054 2054  
... ... @@ -2059,18 +2059,20 @@
2059 2059  (((
2060 2060  
2061 2061  
2062 -== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2055 +== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2056 +
2057 +
2063 2063  )))
2064 2064  
2065 2065  (((
2066 2066  (((
2067 -In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency.
2062 +In this case, you need to set the LT-33222-L to work in ABP mode and transmit on only one frequency.
2068 2068  )))
2069 2069  )))
2070 2070  
2071 2071  (((
2072 2072  (((
2073 -We assume you have an LG01/LG02 working on the frequency 868400000. Below are the steps.
2068 +Assume you have an LG02 working on the frequency 868400000. Below are the steps.
2074 2074  
2075 2075  
2076 2076  )))
... ... @@ -2077,55 +2077,52 @@
2077 2077  )))
2078 2078  
2079 2079  (((
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).
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.
2081 2081  
2082 -[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2077 +
2083 2083  )))
2084 2084  
2085 2085  (((
2081 +[[image:1653360231087-571.png||height="401" width="727"]]
2082 +
2086 2086  
2087 2087  )))
2088 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}}
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 +)))
2092 2092  
2093 2093  
2091 +
2094 2094  (((
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:
2093 +(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2096 2096  
2097 2097  
2098 2098  )))
2099 2099  
2100 2100  (((
2101 -(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access.
2099 +(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2102 2102  
2103 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved.
2101 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2104 2104  
2105 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode.
2103 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2106 2106  
2107 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR).
2105 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2108 2108  
2109 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Use AT+DR=3 for the 915 MHz band).
2107 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2110 2110  
2111 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds.
2109 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2112 2112  
2113 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4 MHz.
2111 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2114 2114  
2115 -(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr)
2113 +(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2116 2116  
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.
2115 +(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
2124 2124  )))
2125 2125  
2126 2126  
2127 2127  (((
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:
2120 +As shown in below:
2129 2129  )))
2130 2130  
2131 2131  [[image:1653360498588-932.png||height="485" width="726"]]
... ... @@ -2133,33 +2133,35 @@
2133 2133  
2134 2134  == 6.4 How to change the uplink interval? ==
2135 2135  
2128 +
2136 2136  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/]]
2137 2137  
2138 2138  
2139 2139  == 6.5 Can I see the counting event in the serial output? ==
2140 2140  
2134 +
2141 2141  (((
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.
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.
2143 2143  
2144 2144  
2145 2145  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2146 2146  
2147 -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 2148  
2149 -
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]].
2150 2150  )))
2151 2151  
2152 2152  (((
2153 2153  == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2154 2154  
2148 +
2155 2155  * If the device is not properly shut down and is directly powered off.
2156 2156  * It will default to a power-off state.
2157 2157  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2158 2158  * After a restart, the status before the power failure will be read from flash.
2159 2159  
2160 -
2161 2161  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2162 2162  
2156 +
2163 2163  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:
2164 2164  
2165 2165  
... ... @@ -2168,24 +2168,24 @@
2168 2168  
2169 2169  == 6.9 Can the LT-22222-L save the RO state? ==
2170 2170  
2171 -To enable this feature, the firmware version must be 1.6.0 or higher.
2172 2172  
2166 +The firmware version must be at least 1.6.0.
2173 2173  
2168 +
2174 2174  == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2175 2175  
2171 +
2176 2176  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2177 2177  
2178 2178  
2179 2179  = 7. Troubleshooting =
2180 -
2181 -This section provides some known troubleshooting tips.
2182 -
2183 -
2184 2184  )))
2185 2185  
2186 2186  (((
2187 2187  (((
2188 2188  == 7.1 Downlink isn't working. How can I solve this? ==
2181 +
2182 +
2189 2189  )))
2190 2190  )))
2191 2191  
... ... @@ -2197,6 +2197,8 @@
2197 2197  
2198 2198  
2199 2199  == 7.2 Having trouble uploading an image? ==
2194 +
2195 +
2200 2200  )))
2201 2201  
2202 2202  (((
... ... @@ -2207,6 +2207,8 @@
2207 2207  
2208 2208  
2209 2209  == 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2206 +
2207 +
2210 2210  )))
2211 2211  
2212 2212  (((
... ... @@ -2214,8 +2214,9 @@
2214 2214  )))
2215 2215  
2216 2216  
2217 -== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2215 +== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? ==
2218 2218  
2217 +
2219 2219  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2220 2220  Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2221 2221  
... ... @@ -2222,6 +2222,7 @@
2222 2222  
2223 2223  = 8. Ordering information =
2224 2224  
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 =
2239 2239  
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.5 mm programming cable
2247 +* 1 x 3.5mm 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 -
2257 2257  = 10. Support =
2258 2258  
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,6 +2267,7 @@
2267 2267  
2268 2268  = 11. Reference​​​​​ =
2269 2269  
2270 +
2270 2270  * 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]]
2271 2271  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2272 2272  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
lt-22222-l-abp.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -321.4 KB
Content
usb-ttl-programming.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -462.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0