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
-
... ... @@ -111,6 +111,7 @@ 111 111 * Smart cities 112 112 * Smart factory 113 113 114 + 114 114 = 2. Assembling the device = 115 115 116 116 == 2.1 Connecting the antenna == ... ... @@ -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 work ingmodes.1798 +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 yetjoined the network:**1857 +(% 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**##1862 +(% 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**##1866 +(% 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**##1870 +(% 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**##1874 +(% 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**##1878 +(% 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 toenable ATcommands access1901 +(% 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, Reservekeys1906 +(% 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 toenable ATcommands access1910 +(% 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 mode1914 +(% 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 Hz1934 +(% 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.4Hz (according to the result fromtheserver)1938 +(% 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 theserver.See below.1942 +(% 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 .TheDeviceAddresscan be found in theapplication on theLoRaWANNS.1946 +(% 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 theLoRaWANNetworkServer.**1960 +**~1. Make sure the device is set to ABP mode in the IoT Server.** 1960 1960 1961 -**2. Verifythat the LG01/02 gateway RX frequencymatchesthe AT+CHS settingexactly.**1962 +**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.** 1962 1962 1963 -**3. Make sure theSF/bandwidth settingsintheLG01/LG02 match the settings of AT+DR.Referto[[this link>>url:http://www.dragino.com/downloads/index.php?1964 +**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 command sAT+RX2FQ and AT+RX2DRenable downlinkfunctionality.To set the correct parameters,you can check the actual downlink parameters to be usedasshownbelow.Here,RX2FQ shouldbesetto868400000 and RX2DR should beset to5.**1967 +**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 ((( ... ... @@ -1997,8 +1997,10 @@ 1997 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:2001 +Dragino frequently releases firmware updates for the LT-22222-L. 2001 2001 2003 +Updating your LT-22222-L with the latest firmware version helps to: 2004 + 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 2023 +[[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 2047 +(% 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 ... ... @@ -2059,18 +2059,18 @@ 2059 2059 ((( 2060 2060 2061 2061 2062 -== 6.3 How to setup LT -22222-Lto work with a Single Channel Gateway, such as LG01/LG02? ==2065 +== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? == 2063 2063 ))) 2064 2064 2065 2065 ((( 2066 2066 ((( 2067 -In this case, you need to set the LT-222 22-L to work in ABP mode and transmit on only one frequency.2070 +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.2076 +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**(%%): andboxaccount and create an ABP device in the application. To do this,use the manual registration option as explained insection 3.2.2.2, //Adding a Device Manually//. Select//Activationby Personalization (ABP)// under Activation Mode. Enter theDevEUI exactly as shownontheregistrationinformation sticker,then generate the Device Address, ApplicationSessionKey (AppSKey),andNetworkSession Key (NwkSKey).2083 +(% 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"]]2085 + 2083 2083 ))) 2084 2084 2085 2085 ((( 2089 +[[image:1653360231087-571.png||height="401" width="727"]] 2090 + 2086 2086 2087 2087 ))) 2088 2088 2089 - {{warning}}2090 - Ensure that theDevice Address(DevAddr)andthe two keysmatchbetweentheLT-22222-L and TheThingsStack.Youcanmodify themeither in TheThingsStackoron theLT-22222-Lto make themalign. In TheThingsStack,youcan configurethe NwkSKeyand AppSKeyonthesettingspage, butnote that theDevice Addressis generated by TheThings Stack.2091 - {{/warning}}2094 +((( 2095 +(% 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.** 2096 +))) 2092 2092 2093 2093 2099 + 2094 2094 ((( 2095 -(% style="color:blue" %)**Step (% 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 ATcommandstoconfiguretheLT-22222-Ltooperateinsingle-frequencyandABP mode.The AT commandsare as follows:2101 +(% 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 toenable AT access.2107 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter Password to have AT access. 2102 2102 2103 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters tofactorydefault,keeping keysreserved.2109 +(% 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 .2111 +(% 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).2113 +(% 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 forthe915MHzband).2115 +(% 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 .2117 +(% 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 Hz.2119 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz 2114 2114 2115 -(% style="background-color:#dcdcdc" %)**AT+DADDR= xxxx**(%%) : SettheDevice Address(DevAddr)2121 +(% 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. 2123 +(% 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 followingfigure shows the screenshotof the command set above, issued using a serialtool:2128 +As shown in below: 2129 2129 ))) 2130 2130 2131 2131 [[image:1653360498588-932.png||height="485" width="726"]] ... ... @@ -2139,7 +2139,7 @@ 2139 2139 == 6.5 Can I see the counting event in the serial output? == 2140 2140 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.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. 2143 2143 2144 2144 2145 2145 == 6.6 Can I use point-to-point communication with LT-22222-L? == ... ... @@ -2157,7 +2157,6 @@ 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 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: ... ... @@ -2168,7 +2168,7 @@ 2168 2168 2169 2169 == 6.9 Can the LT-22222-L save the RO state? == 2170 2170 2171 -T o enable this feature,thefirmware version must be 1.6.0or higher.2170 +The firmware version must be at least 1.6.0. 2172 2172 2173 2173 2174 2174 == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == ... ... @@ -2214,7 +2214,7 @@ 2214 2214 ))) 2215 2215 2216 2216 2217 -== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receivedownlink? ==2216 +== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? == 2218 2218 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"]] ... ... @@ -2236,15 +2236,14 @@ 2236 2236 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2237 2237 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2238 2238 2238 += 9. Packing information = 2239 2239 2240 -= 9. Package information = 2241 - 2242 2242 **Package includes**: 2243 2243 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 2245 +* 1 x 3.5mm programming cable 2248 2248 2249 2249 **Dimension and weight**: 2250 2250 ... ... @@ -2253,7 +2253,6 @@ 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 2259 2259 * (((