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" %) ... ... @@ -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? == 2064 +== 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.2069 +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.2075 +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.2082 +(% 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 - 2084 +[[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 - )))2091 +{{warning}} 2092 +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. 2093 +{{/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:2097 +(% 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.2103 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access. 2105 2105 2106 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) Parameters toFactoryDefault,KeysReserve2105 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved. 2107 2107 2108 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : 2107 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode. 2109 2109 2110 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) Setthe Adaptive Data RateOff2109 +(% 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)2111 +(% 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 **(%%) 2113 +(% 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 hz2115 +(% 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 1AF12117 +(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr) 2119 2119 2120 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU 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: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) 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+NWKSKEY=xxxx**: Get or set the Network Session Key (NwkSKey) 2122 + 2123 +(% 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) 2124 + 2125 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU. 2121 2121 ))) 2122 2122 2123 2123 2124 2124 ((( 2125 -As shown in belo w:2130 +(% 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. 2144 +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? == ... ... @@ -2154,7 +2154,6 @@ 2154 2154 * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory. 2155 2155 * After a restart, the status before the power failure will be read from flash. 2156 2156 2157 - 2158 2158 == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? == 2159 2159 2160 2160 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: ... ... @@ -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.2172 +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? ==2218 +== 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 =2241 += 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 2248 +* 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