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,7 +111,6 @@ 111 111 * Smart cities 112 112 * Smart factory 113 113 114 - 115 115 = 2. Assembling the device = 116 116 117 117 == 2.1 Connecting the antenna == ... ... @@ -1795,7 +1795,7 @@ 1795 1795 ))) 1796 1796 1797 1797 ((( 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. 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. 1799 1799 1800 1800 * AT+<CMD>? : Help on <CMD> 1801 1801 * AT+<CMD> : Run <CMD> ... ... @@ -1854,28 +1854,28 @@ 1854 1854 1855 1855 1856 1856 ((( 1857 -(% 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:** 1858 1858 ))) 1859 1859 ))) 1860 1860 1861 1861 ((( 1862 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1861 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 1863 1863 ))) 1864 1864 1865 1865 ((( 1866 -(% 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**## 1867 1867 ))) 1868 1868 1869 1869 ((( 1870 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1869 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 1871 1871 ))) 1872 1872 1873 1873 ((( 1874 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/ set to ABP mode**##1873 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**## 1875 1875 ))) 1876 1876 1877 1877 ((( 1878 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/ reset MCU**##1877 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**## 1879 1879 ))) 1880 1880 1881 1881 ... ... @@ -1898,20 +1898,20 @@ 1898 1898 1899 1899 1900 1900 ((( 1901 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password tohave AT access.1900 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter password to enable AT commands access 1902 1902 ))) 1903 1903 ))) 1904 1904 1905 1905 ((( 1906 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset Parameters to Factory Default,KeysReserve1905 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset parameters to Factory Default, Reserve keys 1907 1907 ))) 1908 1908 1909 1909 ((( 1910 -(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter Password tohave AT access.1909 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter password to enable AT commands access 1911 1911 ))) 1912 1912 1913 1913 ((( 1914 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to work inCLASS C1913 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to CLASS C mode 1915 1915 ))) 1916 1916 1917 1917 ((( ... ... @@ -1931,19 +1931,19 @@ 1931 1931 ))) 1932 1932 1933 1933 ((( 1934 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4M hz1933 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4 MHz 1935 1935 ))) 1936 1936 1937 1937 ((( 1938 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2 Frequency 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) 1939 1939 ))) 1940 1940 1941 1941 ((( 1942 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below1941 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below. 1943 1943 ))) 1944 1944 1945 1945 ((( 1946 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address to2601 1AF1, thisIDcan be found in theLoRaServerportal.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. 1947 1947 ))) 1948 1948 1949 1949 ((( ... ... @@ -1957,14 +1957,14 @@ 1957 1957 ))) 1958 1958 1959 1959 ((( 1960 -**~1. Makesure the device is set to ABP mode in theIoTServer.**1959 +**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.** 1961 1961 1962 -**2. Makesurethe LG01/02 gateway RX frequencyis exactlythesame asAT+CHS setting.**1961 +**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.** 1963 1963 1964 -**3. Make sure SF 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? 1965 1965 dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1966 1966 1967 -**4. The command AT+RX2FQ and AT+RX2DR is toletdownlinkwork.to set the correct parameters, usercan check the actuallydownlink parameters to be used.As below.Which shows the RX2FQ shoulduse 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.** 1968 1968 ))) 1969 1969 1970 1970 ((( ... ... @@ -1998,10 +1998,8 @@ 1998 1998 1999 1999 == 6.1 How to update the firmware? == 2000 2000 2001 -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: 2002 2002 2003 -Updating your LT-22222-L with the latest firmware version helps to: 2004 - 2005 2005 * Support new features 2006 2006 * Fix bugs 2007 2007 * Change LoRaWAN frequency bands ... ... @@ -2019,8 +2019,8 @@ 2019 2019 2020 2020 Below is the hardware setup for uploading a firmware image to the LT-22222-L: 2021 2021 2019 +[[image:usb-ttl-programming.png]] 2022 2022 2023 -[[image:1653359603330-121.png]] 2024 2024 2025 2025 2026 2026 Start the STM32 Flash Loader and choose the correct COM port to update. ... ... @@ -2044,7 +2044,7 @@ 2044 2044 [[image:image-20220524104033-15.png]] 2045 2045 2046 2046 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: 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: 2048 2048 2049 2049 [[image:1653360054704-518.png||height="186" width="745"]] 2050 2050 ... ... @@ -2062,18 +2062,18 @@ 2062 2062 ((( 2063 2063 2064 2064 2065 -== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? == 2062 +== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? == 2066 2066 ))) 2067 2067 2068 2068 ((( 2069 2069 ((( 2070 -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. 2071 2071 ))) 2072 2072 ))) 2073 2073 2074 2074 ((( 2075 2075 ((( 2076 - 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. 2077 2077 2078 2078 2079 2079 ))) ... ... @@ -2080,52 +2080,55 @@ 2080 2080 ))) 2081 2081 2082 2082 ((( 2083 -(% style="color:#0000ff" %)**Step 1**(%%): ANDBOX,create an ABP device in the application, andinput theNetworkSession key(NwkSKey), Appsessionkey (AppSKey)ofthedevice.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). 2084 2084 2085 - 2082 +[[image:lt-22222-l-abp.png||height="686" width="1000"]] 2086 2086 ))) 2087 2087 2088 2088 ((( 2089 -[[image:1653360231087-571.png||height="401" width="727"]] 2090 - 2091 2091 2092 2092 ))) 2093 2093 2094 - (((2095 - (%style="color:red"%)**Note:userjustneed tomakeureabove threekeysmatch,Usercanchange either in TTNorDeviceto make thenmatch. In TTN,NETSKEY andAPPSKEYcanbeconfiguredbyuserin setting page, but Device Addr is generated by TTN.**2096 - )))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}} 2097 2097 2098 2098 2099 - 2100 2100 ((( 2101 -(% style="color:blue" %)**Step2**(%%)**: **Run AT Command tomake LTworkinSingle&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: 2102 2102 2103 2103 2104 2104 ))) 2105 2105 2106 2106 ((( 2107 -(% style="background-color:#dcdcdc" %)**123456** (%%) Password tohave AT access.2101 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access. 2108 2108 2109 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) Parameters toFactoryDefault,KeysReserve2103 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved. 2110 2110 2111 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : 2105 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode. 2112 2112 2113 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Setthe Adaptive Data RateOff2107 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR). 2114 2114 2115 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) SetAT+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). 2116 2116 2117 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) 2111 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds. 2118 2118 2119 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4M hz2113 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4 MHz. 2120 2120 2121 -(% style="background-color:#dcdcdc" %)**AT+DADDR= 26 01 1A F1**(%%)to 26 01 1AF12115 +(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr) 2122 2122 2123 -(% 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. 2124 2124 ))) 2125 2125 2126 2126 2127 2127 ((( 2128 -As shown in belo w: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: 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,6 +2157,7 @@ 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 + 2160 2160 == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? == 2161 2161 2162 2162 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: ... ... @@ -2167,7 +2167,7 @@ 2167 2167 2168 2168 == 6.9 Can the LT-22222-L save the RO state? == 2169 2169 2170 -The firmware version must be at least1.6.0.2171 +To enable this feature, the firmware version must be 1.6.0 or higher. 2171 2171 2172 2172 2173 2173 == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == ... ... @@ -2213,7 +2213,7 @@ 2213 2213 ))) 2214 2214 2215 2215 2216 -== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receiveDownlink? ==2217 +== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? == 2217 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"]] ... ... @@ -2235,14 +2235,15 @@ 2235 2235 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2236 2236 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2237 2237 2238 -= 9. Packing information = 2239 2239 2240 += 9. Package information = 2241 + 2240 2240 **Package includes**: 2241 2241 2242 2242 * 1 x LT-22222-L I/O Controller 2243 2243 * 1 x LoRa antenna matched to the frequency of the LT-22222-L 2244 2244 * 1 x bracket for DIN rail mounting 2245 -* 1 x 3.5mm programming cable 2247 +* 1 x 3.5 mm programming cable 2246 2246 2247 2247 **Dimension and weight**: 2248 2248 ... ... @@ -2251,6 +2251,7 @@ 2251 2251 * Package Size / pcs : 14.5 x 8 x 5 cm 2252 2252 * Weight / pcs : 170 g 2253 2253 2256 + 2254 2254 = 10. Support = 2255 2255 2256 2256 * (((