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)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -111,23 +111,6 @@ 111 111 * Smart cities 112 112 * Smart factory 113 113 114 -== 1.5 Hardware Variants == 115 - 116 - 117 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 118 -|(% 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** 119 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)((( 120 -(% style="text-align:center" %) 121 -[[image:image-20230424115112-1.png||height="106" width="58"]] 122 -)))|(% style="width:334px" %)((( 123 -* 2 x Digital Input (Bi-direction) 124 -* 2 x Digital Output 125 -* 2 x Relay Output (5A@250VAC / 30VDC) 126 -* 2 x 0~~20mA Analog Input (res:0.01mA) 127 -* 2 x 0~~30V Analog Input (res:0.01v) 128 -* 1 x Counting Port 129 -))) 130 - 131 131 = 2. Assembling the device = 132 132 133 133 == 2.1 Connecting the antenna == ... ... @@ -318,8 +318,12 @@ 318 318 ((( 319 319 This is the default mode. 320 320 321 -The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)304 +The uplink payload is 11 bytes long. 322 322 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 + 323 323 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 324 324 |(% 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** 325 325 |Value|((( ... ... @@ -389,6 +389,10 @@ 389 389 ((( 390 390 The uplink payload is 11 bytes long. 391 391 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 + 392 392 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 393 393 |(% 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** 394 394 |Value|COUNT1|COUNT2 |DIDORO*|((( ... ... @@ -453,6 +453,9 @@ 453 453 454 454 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 455 455 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.** 456 456 457 457 **LT22222-L**: In this mode, the DI1 is used as a counting pin. 458 458 ... ... @@ -503,7 +503,11 @@ 503 503 504 504 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 505 505 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.** 506 506 504 + 507 507 ((( 508 508 **LT22222-L**: In this mode, the DI1 is used as a counting pin. 509 509 ))) ... ... @@ -568,7 +568,11 @@ 568 568 569 569 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 570 570 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.** 571 571 573 + 572 572 **LT22222-L**: In this mode, the DI1 is used as a counting pin. 573 573 574 574 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) ... ... @@ -1792,7 +1792,7 @@ 1792 1792 ))) 1793 1793 1794 1794 ((( 1795 -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. 1796 1796 1797 1797 * AT+<CMD>? : Help on <CMD> 1798 1798 * AT+<CMD> : Run <CMD> ... ... @@ -1851,28 +1851,28 @@ 1851 1851 1852 1852 1853 1853 ((( 1854 -(% 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:** 1855 1855 ))) 1856 1856 ))) 1857 1857 1858 1858 ((( 1859 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1861 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 1860 1860 ))) 1861 1861 1862 1862 ((( 1863 -(% 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**## 1864 1864 ))) 1865 1865 1866 1866 ((( 1867 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**## 1869 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**## 1868 1868 ))) 1869 1869 1870 1870 ((( 1871 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/ set to ABP mode**##1873 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**## 1872 1872 ))) 1873 1873 1874 1874 ((( 1875 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/ reset MCU**##1877 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**## 1876 1876 ))) 1877 1877 1878 1878 ... ... @@ -1895,20 +1895,20 @@ 1895 1895 1896 1896 1897 1897 ((( 1898 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password tohave AT access.1900 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter password to enable AT commands access 1899 1899 ))) 1900 1900 ))) 1901 1901 1902 1902 ((( 1903 -(% 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 1904 1904 ))) 1905 1905 1906 1906 ((( 1907 -(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter Password tohave AT access.1909 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter password to enable AT commands access 1908 1908 ))) 1909 1909 1910 1910 ((( 1911 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to work inCLASS C1913 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to CLASS C mode 1912 1912 ))) 1913 1913 1914 1914 ((( ... ... @@ -1928,19 +1928,19 @@ 1928 1928 ))) 1929 1929 1930 1930 ((( 1931 -(% 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 1932 1932 ))) 1933 1933 1934 1934 ((( 1935 -(% 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) 1936 1936 ))) 1937 1937 1938 1938 ((( 1939 -(% 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. 1940 1940 ))) 1941 1941 1942 1942 ((( 1943 -(% 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. 1944 1944 ))) 1945 1945 1946 1946 ((( ... ... @@ -1954,14 +1954,14 @@ 1954 1954 ))) 1955 1955 1956 1956 ((( 1957 -**~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.** 1958 1958 1959 -**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.** 1960 1960 1961 -**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? 1962 1962 dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1963 1963 1964 -**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.** 1965 1965 ))) 1966 1966 1967 1967 ((( ... ... @@ -1995,10 +1995,8 @@ 1995 1995 1996 1996 == 6.1 How to update the firmware? == 1997 1997 1998 -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: 1999 1999 2000 -Updating your LT-22222-L with the latest firmware version helps to: 2001 - 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]] 2019 2019 2020 -[[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.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: 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 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? == 2063 2063 ))) 2064 2064 2065 2065 ((( 2066 2066 ((( 2067 -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. 2068 2068 ))) 2069 2069 ))) 2070 2070 2071 2071 ((( 2072 2072 ((( 2073 - 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. 2074 2074 2075 2075 2076 2076 ))) ... ... @@ -2077,52 +2077,55 @@ 2077 2077 ))) 2078 2078 2079 2079 ((( 2080 -(% 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). 2081 2081 2082 - 2082 +[[image:lt-22222-l-abp.png||height="686" width="1000"]] 2083 2083 ))) 2084 2084 2085 2085 ((( 2086 -[[image:1653360231087-571.png||height="401" width="727"]] 2087 - 2088 2088 2089 2089 ))) 2090 2090 2091 - (((2092 - (%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.**2093 - )))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}} 2094 2094 2095 2095 2096 - 2097 2097 ((( 2098 -(% 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: 2099 2099 2100 2100 2101 2101 ))) 2102 2102 2103 2103 ((( 2104 -(% style="background-color:#dcdcdc" %)**123456** (%%) Password tohave AT access.2101 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access. 2105 2105 2106 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) Parameters toFactoryDefault,KeysReserve2103 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved. 2107 2107 2108 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : 2105 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode. 2109 2109 2110 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Setthe Adaptive Data RateOff2107 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR). 2111 2111 2112 -(% 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). 2113 2113 2114 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) 2111 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds. 2115 2115 2116 -(% 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. 2117 2117 2118 -(% 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) 2119 2119 2120 -(% 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. 2121 2121 ))) 2122 2122 2123 2123 2124 2124 ((( 2125 -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: 2126 2126 ))) 2127 2127 2128 2128 [[image:1653360498588-932.png||height="485" width="726"]] ... ... @@ -2136,7 +2136,7 @@ 2136 2136 == 6.5 Can I see the counting event in the serial output? == 2137 2137 2138 2138 ((( 2139 -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. 2140 2140 2141 2141 2142 2142 == 6.6 Can I use point-to-point communication with LT-22222-L? == ... ... @@ -2165,7 +2165,7 @@ 2165 2165 2166 2166 == 6.9 Can the LT-22222-L save the RO state? == 2167 2167 2168 -The firmware version must be at least1.6.0.2171 +To enable this feature, the firmware version must be 1.6.0 or higher. 2169 2169 2170 2170 2171 2171 == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? == ... ... @@ -2211,7 +2211,7 @@ 2211 2211 ))) 2212 2212 2213 2213 2214 -== 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? == 2215 2215 2216 2216 The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue. 2217 2217 Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]] ... ... @@ -2234,7 +2234,7 @@ 2234 2234 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2235 2235 2236 2236 2237 -= 9. Pack ing information =2240 += 9. Package information = 2238 2238 2239 2239 **Package includes**: 2240 2240 ... ... @@ -2241,7 +2241,7 @@ 2241 2241 * 1 x LT-22222-L I/O Controller 2242 2242 * 1 x LoRa antenna matched to the frequency of the LT-22222-L 2243 2243 * 1 x bracket for DIN rail mounting 2244 -* 1 x 3.5mm programming cable 2247 +* 1 x 3.5 mm programming cable 2245 2245 2246 2246 **Dimension and weight**: 2247 2247
- 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