Last modified by Kilight Cao on 2025/07/03 15:34

From version 49.1
edited by Kilight Cao
on 2025/07/03 14:42
Change comment: Uploaded new attachment "image-20220524100215-10.png", version {1}
To version 50.1
edited by Kilight Cao
on 2025/07/03 14:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -46,6 +46,7 @@
46 46  )))
47 47  
48 48  
49 +[[image:lorawan-nw.jpg]]
49 49  
50 50  == 1.2 Specifications ==
51 51  
... ... @@ -57,7 +57,7 @@
57 57  ** 20dB Transmit: 34mA@12V
58 58  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
59 59  
60 -(% style="color:#037691" %)**Interface for Model: LT22222-L:**
61 +(% style="color:#037691" %)**Interface for Model: LT22222-LA:**
61 61  
62 62  * 2 x Digital dual direction Input (Detect High/Low signal, Max: 50V, or 220V with optional external resistor)
63 63  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
... ... @@ -111,11 +111,11 @@
111 111  == 1.5 Hardware Variants ==
112 112  
113 113  
114 -(% border="1" cellspacing="3" style="width:510px" %)
115 -|(% style="background-color:#4f81bd; color:white; width:94px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:244px" %)**Description**
116 -|(% style="width:94px" %)**LT-33222-L**|(% style="width:172px" %)(((
117 -
118 -)))|(% style="width:256px" %)(((
115 +(% border="1" cellspacing="3" style="width:531.222px" %)
116 +|(% style="background-color:#4f81bd; color:white; width:108px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:158px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:261px" %)**Description**
117 +|(% style="width:108px" %)**LT-22222-LA**|(% style="width:158px" %)(((
118 + [[image:lt33222-l.jpg]]
119 +)))|(% style="width:261px" %)(((
119 119  * 3 x Digital Input (Bi-direction)
120 120  * 3 x Digital Output
121 121  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -139,7 +139,7 @@
139 139  == 2.2 Terminals ==
140 140  
141 141  
142 -The  LT-22222-L has two screw terminal blocks. The upper screw terminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.
143 +The  LT-22222-LA has two screw terminal blocks. The upper screw terminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.
143 143  
144 144  **Upper screw terminal block (from left to right):**
145 145  
... ... @@ -167,40 +167,42 @@
167 167  |(% style="width:125px" %)DO2|(% style="width:128px" %)Digital Output 2
168 168  |(% style="width:125px" %)DO1|(% style="width:128px" %)Digital Output 1
169 169  
170 -== 2.3 Connecting LT-22222-L to a Power Source ==
171 +== 2.3 Connecting LT-22222-LA to a Power Source ==
171 171  
172 172  
173 173  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.
174 174  
175 175  {{warning}}
176 -**We recommend that you power on the LT-22222-L after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
177 +**We recommend that you power on the LT-22222-LA after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
177 177  {{/warning}}
178 178  
180 +[[image:1653297104069-180.png]]
179 179  
180 180  
181 181  
182 -= 3. Registering LT-22222-L with a LoRaWAN Network Server =
184 += 3. Registering LT-22222-LA with a LoRaWAN Network Server =
183 183  
184 184  
185 -The LT-22222-L supports both OTAA (Over-the-Air Activation) and ABP (Activation By Personalization) methods to activate with a LoRaWAN Network Server. However, OTAA is the most secure method for activating a device with a LoRaWAN Network Server. OTAA regenerates session keys upon initial registration and regenerates new session keys after any subsequent reboots. By default, the LT-22222-L is configured to operate in LoRaWAN Class C mode.
187 +The LT-22222-LA supports both OTAA (Over-the-Air Activation) and ABP (Activation By Personalization) methods to activate with a LoRaWAN Network Server. However, OTAA is the most secure method for activating a device with a LoRaWAN Network Server. OTAA regenerates session keys upon initial registration and regenerates new session keys after any subsequent reboots. By default, the LT-22222-LA is configured to operate in LoRaWAN Class C mode.
186 186  
187 187  
188 188  == 3.1 Prerequisites ==
189 189  
190 190  
191 -The LT-22222-L comes with device registration information such as DevEUI, AppEUI, and AppKey which allows you to register it with a LoRaWAN network. This registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
193 +The LT-22222-LA comes with device registration information such as DevEUI, AppEUI, and AppKey which allows you to register it with a LoRaWAN network. This registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
192 192  
193 193  {{info}}
194 194  If you are unable to set the provided root key and other identifiers in the network server, you must generate new keys and identifiers with the network server and configure the device with them using AT commands.
195 195  {{/info}}
196 196  
197 -The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
199 +The following subsections explain how to register the LT-22222-LA with different LoRaWAN network server providers.
198 198  
201 +[[image:image-20230425173427-2.png]]
199 199  
200 200  == 3.2 The Things Stack ==
201 201  
202 202  
203 -This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
206 +This section guides you through how to register your LT-22222-LA with The Things Stack Sandbox.
204 204  
205 205  {{info}}
206 206  The Things Stack Sandbox was formally called The Things Stack Community Edition.
... ... @@ -207,11 +207,10 @@
207 207  {{/info}}
208 208  
209 209  
210 -The network diagram below illustrates the connection between the LT-22222-L and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform.
213 +The network diagram below illustrates the connection between the LT-22222-LA and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform.
211 211  
215 +[[image:1751523649311-511.png||height="407" width="1378"]]
212 212  
213 -[[image:dragino-lorawan-nw-lt-22222-n.jpg||height="374" width="1400"]]
214 -
215 215  {{info}}
216 216   You can use a LoRaWAN gateway, such as the [[Dragino LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], to expand or create LoRaWAN coverage in your area.
217 217  {{/info}}
... ... @@ -239,25 +239,25 @@
239 239  *** **Profile (Region)**: Select the region that matches your device.
240 240  ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list.
241 241  
244 +[[image:lt-22222-l-dev-repo-reg-p1.png]]
242 242  
243 243  
244 -
245 245  * Register end device page continued...
246 246  ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message 'This end device can be registered on the network'.
247 247  ** In the **DevEUI** field, enter the **DevEUI**.
248 248  ** In the **AppKey** field, enter the **AppKey.**
249 -** In the **End device ID** field, enter a unique name for your LT-22222-L within this application.
251 +** In the **End device ID** field, enter a unique name for your LT-22222-LA within this application.
250 250  ** Under **After registration**, select the **View registered end device** option.
251 251  ** Click **Register end device** button.
252 252  
255 +[[image:lt-22222-l-dev-repo-reg-p2.png]]
253 253  
254 254  
255 -
256 256  * You will be navigated to the **Device overview** page.
257 257  
260 +[[image:lt-22222-device-overview.png]]
258 258  
259 259  
260 -
261 261  ==== 3.2.1.2 Adding device manually ====
262 262  
263 263  
... ... @@ -270,14 +270,14 @@
270 270  ** Select the option **Over the air activation (OTAA)** under the **Activation mode.**
271 271  ** Select **Class C (Continuous)** from the **Additional LoRaWAN class capabilities** dropdown list.
272 272  
275 +[[image:lt-22222-l-manually-p1.png]]
273 273  
274 274  
275 -
276 276  * Register end device page continued...
277 277  ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message '//**This end device can be registered on the network**//'
278 278  ** In the **DevEUI** field, enter the **DevEUI**.
279 279  ** In the **AppKey** field, enter the **AppKey**.
280 -** In the **End device ID** field, enter a unique name for your LT-22222-N within this application.
282 +** In the **End device ID** field, enter a unique name for your LT-22222-LA within this application.
281 281  ** Under **After registration**, select the **View registered end device** option.
282 282  ** Click the **Register end device** button.
283 283  
... ... @@ -286,25 +286,25 @@
286 286  
287 287  You will be navigated to the **Device overview** page.
288 288  
289 -
290 290  [[image:lt-22222-device-overview.png]]
291 291  
292 292  
294 +
293 293  === 3.2.2 Joining ===
294 294  
295 295  
296 -On the end device's page (in this case, lt-22222-l), click on **Live data** tab. The Live data panel for your device will display. Initially, it is blank.
298 +On the end device's page (in this case, lt-22222-la), click on **Live data** tab. The Live data panel for your device will display. Initially, it is blank.
297 297  
298 -Now power on your LT-22222-L. 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 network server. The **TX LED** will be on for **5 seconds** after joining the network. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server.
300 +Now power on your LT-22222-LA. The **TX LED** will **fast-blink 5 times** which means the LT-22222-LA will enter the **work mode** and start to **join** The Things Stack network server. The **TX LED** will be on for **5 seconds** after joining the network. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server.
299 299  
300 -
301 301  [[image:lt-22222-l-joining.png]]
302 302  
303 303  
305 +
304 304  === 3.2.3 Uplinks ===
305 305  
306 306  
307 -After successfully joining, the device will send its first **uplink data message** to The Things Stack application it belongs to (in this example, it is **dragino-docs**). When the LT-22222-L sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes.
309 +After successfully joining, the device will send its first **uplink data message** to The Things Stack application it belongs to (in this example, it is **dragino-docs**). When the LT-22222-LA sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes.
308 308  
309 309  Click on one of the **Forward uplink data messages **to see its payload content. The payload content is encapsulated within the **decode_payload {}** JSON object.
310 310  
... ... @@ -322,7 +322,6 @@
322 322  
323 323  We have written a payload formatter that resolves some decoding issues present in The Things Stack Device Repository payload formatter. You can add it under the **Custom JavaScript formatter**. It can be found [[here>>https://github.com/dragino/dragino-end-node-decoder/blob/main/LT22222-L/v1.6_decoder_ttn%20.txt]]:
324 324  
325 -(% class="wikigeneratedid" %)
326 326  [[image:lt-22222-l-js-custom-payload-formatter.png]]
327 327  
328 328  
... ... @@ -335,7 +335,7 @@
335 335  == 3.3 Working Modes and Uplink Payload formats ==
336 336  
337 337  
338 -The LT-22222-L has 5 **working modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.
339 +The LT-22222-LA has 5 **working modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.
339 339  
340 340  * (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO
341 341  
... ... @@ -388,7 +388,7 @@
388 388  * DI is for digital input. DIx=1: HIGH or FLOATING, DIx=0: LOW.
389 389  * DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING.
390 390  
391 -(% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L**
392 +(% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-LA**
392 392  
393 393  For example, if the payload is: [[image:image-20220523175847-2.png]]
394 394  
... ... @@ -407,13 +407,13 @@
407 407  
408 408  * [1] The RO1 relay channel is CLOSED, and the RO1 LED is ON.
409 409  * [0] The RO2 relay channel is OPEN, and the RO2 LED is OFF.
410 -* **[1] DI3 - not used for LT-22222-L.**
411 +* **[1] DI3 - not used for LT-22222-LA.**
411 411  * [0] DI2 channel input is LOW, and the DI2 LED is OFF.
412 412  * [1] DI1 channel input state:
413 413  ** DI1 is FLOATING when no sensor is connected between DI1+ and DI1-.
414 414  ** DI1 is HIGH when a sensor is connected between DI1- and DI1+ and the sensor is ACTIVE.
415 415  ** DI1 LED is ON in both cases.
416 -* **[0] DO3 - not used for LT-22222-L.**
417 +* **[0] DO3 - not used for LT-22222-LA.**
417 417  * [1] DO2 channel output is LOW, and the DO2 LED is ON.
418 418  * [0] DO1 channel output state:
419 419  ** DO1 is FLOATING when there is no load between DO1 and V+.
... ... @@ -429,7 +429,7 @@
429 429  
430 430  
431 431  (((
432 -**For LT-22222-L**: In this mode, **DI1 and DI2** are used as counting pins.
433 +**For LT-22222-LA**: In this mode, **DI1 and DI2** are used as counting pins.
433 433  )))
434 434  
435 435  (((
... ... @@ -460,7 +460,7 @@
460 460  * DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING.
461 461  
462 462  (((
463 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L**
464 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA**
464 464  
465 465  
466 466  )))
... ... @@ -485,7 +485,7 @@
485 485  )))
486 486  
487 487  (((
488 -**For LT22222-L:**
489 +**For LT22222-LA:**
489 489  
490 490  (% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (sets the DI1 port to trigger on a LOW level. The valid signal duration is 100ms) **
491 491  
... ... @@ -503,6 +503,7 @@
503 503  
504 504  
505 505  
507 +
506 506  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
507 507  
508 508  
... ... @@ -510,7 +510,7 @@
510 510  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
511 511  It starts counting again when it reaches the maximum value.**
512 512  
513 -**LT22222-L**: In this mode, the DI1 is used as a counting pin.
515 +**LT22222-LA**: In this mode, the DI1 is used as a counting pin.
514 514  
515 515  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
516 516  |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% 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**
... ... @@ -533,12 +533,13 @@
533 533  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
534 534  
535 535  (((
536 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
538 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA.**
537 537  )))
538 538  
539 539  
540 540  
541 541  
544 +
542 542  (((
543 543  **To activate this mode, run the following AT commands:**
544 544  )))
... ... @@ -568,7 +568,7 @@
568 568  
569 569  
570 570  (((
571 -**LT22222-L**: In this mode, the DI1 is used as a counting pin.
574 +**LT22222-LA**: In this mode, the DI1 is used as a counting pin.
572 572  )))
573 573  
574 574  (((
... ... @@ -631,6 +631,7 @@
631 631  
632 632  
633 633  
637 +
634 634  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
635 635  
636 636  
... ... @@ -668,7 +668,7 @@
668 668  )))
669 669  
670 670  (((
671 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
675 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA.**
672 672  )))
673 673  
674 674  (((
... ... @@ -691,6 +691,7 @@
691 691  
692 692  
693 693  
698 +
694 694  === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) ===
695 695  
696 696  
... ... @@ -701,7 +701,7 @@
701 701  * **AT+MOD=1 ** **~-~->**  Sets the default working mode
702 702  * **AT+ADDMOD6=1**   **~-~->**  Enables trigger mode
703 703  
704 -The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. It will send uplink packets in two cases:
709 +The LT-22222-LA will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. It will send uplink packets in two cases:
705 705  
706 706  1. Periodic uplink: Based on TDC time. The payload is the same as in normal mode (MOD=1 as set above). These are (% style="color:#4f81bd" %)**unconfirmed**(%%) uplinks.
707 707  1. (((
... ... @@ -883,11 +883,11 @@
883 883  )))
884 884  
885 885  
886 -== 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
891 +== 3.4 ​Configure LT-22222-LA via AT Commands or Downlinks ==
887 887  
888 888  
889 889  (((
890 -You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks.
895 +You can configure LT-22222-LA I/O Controller via AT Commands or LoRaWAN Downlinks.
891 891  )))
892 892  
893 893  (((
... ... @@ -912,7 +912,7 @@
912 912  === 3.4.2 Sensor-related commands ===
913 913  
914 914  
915 -These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
920 +These commands are specially designed for the LT-22222-LA. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
916 916  
917 917  
918 918  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
... ... @@ -959,7 +959,7 @@
959 959  
960 960  See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30]]
961 961  
962 -[[image:Screenshot 2024-11-23 at 18.27.11.png]]
967 +[[image:Screenshot%202024-11-23%20at%2018.27.11.png||alt="Screenshot 2024-11-23 at 18.27.11.png"]]
963 963  )))
964 964  
965 965  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
... ... @@ -1023,7 +1023,7 @@
1023 1023  ==== 3.4.2.3 Request an uplink from the device ====
1024 1024  
1025 1025  
1026 -Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
1031 +Requests an uplink from LT-22222-LA. The content of the uplink payload varies based on the device's current working mode.
1027 1027  
1028 1028  (% style="color:#037691" %)**AT command**
1029 1029  
... ... @@ -1564,7 +1564,7 @@
1564 1564  
1565 1565  (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
1566 1566  
1567 -[[image:image-20221008095908-1.png||height="364" width="564"]]
1572 +[[image:image-20221008095908-1.png]]
1568 1568  
1569 1569  
1570 1570  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms
... ... @@ -2015,7 +2015,7 @@
2015 2015  
2016 2016  We use The Things Stack Sandbox in this example:
2017 2017  
2018 -* In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added.
2023 +* In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-LA you added.
2019 2019  * Select **MQTT** under **Integrations** in the left menu.
2020 2020  * In the **Connection information **section, under **Connection credentials**, The Things Stack displays an auto-generated **username**. You can use it or provide a new one.
2021 2021  * Click the **Generate new API key** button to generate a password. You can view it by clicking on the **visibility toggle/eye** icon. The API key works as the password.
... ... @@ -2136,7 +2136,7 @@
2136 2136  ==== 3.5.2.4 Viewing sensor data on a dashboard ====
2137 2137  
2138 2138  
2139 -You can create a dashboard with ThingsEye to visualize the sensor data coming from the LT-22222-L. The following image shows a dashboard created for the LT-22222-L. See **Creating a dashboard** in ThingsEye documentation for more information.
2144 +You can create a dashboard with ThingsEye to visualize the sensor data coming from the LT-22222-LA. The following image shows a dashboard created for the LT-22222-LA. See **Creating a dashboard** in ThingsEye documentation for more information.
2140 2140  
2141 2141  [[image:lt-22222-l-dashboard.png]]
2142 2142  
... ... @@ -2155,18 +2155,17 @@
2155 2155  
2156 2156  
2157 2157  (((
2158 -The DI ports of the LT-22222-L can support **NPN**, **PNP**, or **dry contact** output sensors.
2163 +The DI ports of the LT-22222-LA can support **NPN**, **PNP**, or **dry contact** output sensors.
2159 2159  )))
2160 2160  
2161 2161  (((
2162 2162  (((
2163 -The part of the internal circuit of the LT-22222-L shown below includes the NEC2501 photocoupler. The active current from NEC2501 pin 1 to pin 2 is 1 mA, with a maximum allowable current of 50 mA. When active current flows from NEC2501 pin 1 to pin 2, the DI becomes active HIGH and the DI LED status changes.
2168 +The part of the internal circuit of the LT-22222-LA shown below includes the NEC2501 photocoupler. The active current from NEC2501 pin 1 to pin 2 is 1 mA, with a maximum allowable current of 50 mA. When active current flows from NEC2501 pin 1 to pin 2, the DI becomes active HIGH and the DI LED status changes.
2164 2164  
2165 -
2170 +[[image:1653357170703-587.png]]
2166 2166  )))
2167 2167  )))
2168 2168  
2169 -[[image:1653357170703-587.png]]
2170 2170  
2171 2171  (((
2172 2172  (((
... ... @@ -2198,11 +2198,11 @@
2198 2198  )))
2199 2199  
2200 2200  (((
2201 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
2205 +**= DI1**+** / 1K.**
2202 2202  )))
2203 2203  
2204 2204  (((
2205 -For example, if** DI1+ **= **12V**, the resulting current is [[image:1653968155772-850.png||height="23" width="19"]]= 12mA. Therefore, the LT-22222-L will be able to detect this active signal.
2209 +For example, if** DI1+ **= **12V**, the resulting current is = 12mA. Therefore, the LT-22222-L will be able to detect this active signal.
2206 2206  )))
2207 2207  
2208 2208  (((
... ... @@ -2229,11 +2229,11 @@
2229 2229  )))
2230 2230  
2231 2231  (((
2232 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
2236 +**= DI1+ / 1K.**
2233 2233  )))
2234 2234  
2235 2235  (((
2236 -If **DI1+ = 24V**, the resulting current[[image:1653968155772-850.png||height="23" width="19"]] is 24mA, Therefore, the LT-22222-L will detect this high-active signal.
2240 +If **DI1+ = 24V**, the resulting current is 24mA, Therefore, the LT-22222-L will detect this high-active signal.
2237 2237  )))
2238 2238  
2239 2239  (((
... ... @@ -2260,16 +2260,17 @@
2260 2260  )))
2261 2261  
2262 2262  (((
2263 - [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.**
2267 + **= DI1+ / 51K.**
2264 2264  )))
2265 2265  
2266 2266  (((
2267 -If the sensor output is 220V, then [[image:1653968155772-850.png||height="23" width="19"]](% wfd-invisible="true" id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K  = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal.
2271 +If the sensor output is 220V, then (% wfd-invisible="true" id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K  = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal.
2268 2268  )))
2269 2269  
2270 2270  
2271 2271  
2272 2272  
2277 +
2273 2273  (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor
2274 2274  
2275 2275  From the DI port circuit above, activating the photocoupler requires a voltage difference between the DI+ and DI- ports. However, the Dry Contact sensor is a passive component and cannot provide this voltage difference on its own.
... ... @@ -2280,9 +2280,9 @@
2280 2280  
2281 2281  (% style="color:blue" %)**Example 5**(%%): Connecting to an Open Collector
2282 2282  
2288 +
2283 2283  [[image:image-20240219115718-1.png]]
2284 2284  
2285 -
2286 2286  === 3.6.3 Digital Output Ports: DO1/DO2 ===
2287 2287  
2288 2288  
... ... @@ -2296,7 +2296,7 @@
2296 2296  === 3.6.4 Analog Input Interfaces ===
2297 2297  
2298 2298  
2299 -The analog input interface is shown below. The LT-22222-L will measure the IN2 voltage to calculate the current passing through the load. The formula is:
2304 +The analog input interface is shown below. The LT-22222-LA will measure the IN2 voltage to calculate the current passing through the load. The formula is:
2300 2300  
2301 2301  
2302 2302  (% style="color:blue" %)**AC2 = (IN2 voltage )/12**
... ... @@ -2320,16 +2320,16 @@
2320 2320  
2321 2321  [[image:1653357640609-758.png]]
2322 2322  
2323 -[[image:1653357648330-671.png||height="155" width="733"]]
2328 +[[image:1653357648330-671.png]]
2324 2324  
2325 2325  
2326 2326  Example: Connecting to a regulated power supply to measure voltage
2327 2327  
2328 -[[image:image-20230608101532-1.png||height="606" width="447"]]
2333 +[[image:image-20230608101532-1.png]]
2329 2329  
2330 -[[image:image-20230608101608-2.jpeg||height="379" width="284"]]
2335 +[[image:image-20230608101608-2.jpeg]]
2331 2331  
2332 -[[image:image-20230608101722-3.png||height="102" width="1139"]]
2337 +[[image:image-20230608101722-3.png]]
2333 2333  
2334 2334  
2335 2335  (% style="color:blue; font-weight:bold" %)**Specifications of the regulated power supply**(% style="color:blue" %)**:**
... ... @@ -2343,15 +2343,15 @@
2343 2343  
2344 2344  
2345 2345  (((
2346 -The LT-22222-L has two relay interfaces, RO1 and RO2, each using two pins of the screw terminal (ROx-1 and ROx-2 where x is the port number, 1 or 2). You can connect a device's power line in series with one of the relay interfaces (e.g., RO1-1 and RO1-2 screw terminals). See the example below:
2351 +The LT-22222-LA has two relay interfaces, RO1 and RO2, each using two pins of the screw terminal (ROx-1 and ROx-2 where x is the port number, 1 or 2). You can connect a device's power line in series with one of the relay interfaces (e.g., RO1-1 and RO1-2 screw terminals). See the example below:
2347 2347  
2348 -(% style="color:red" %)**Note:**(%%) The ROx pins will be in the Open (NO) state when the LT-22222-L is powered off.
2353 +(% style="color:red" %)**Note:**(%%) The ROx pins will be in the Open (NO) state when the LT-22222-LA is powered off.
2349 2349  )))
2350 2350  
2351 2351  [[image:image-20220524100215-9.png]]
2352 2352  
2358 +[[image:image-20220524100215-10.png]]
2353 2353  
2354 -[[image:image-20220524100215-10.png||height="382" width="723"]]
2355 2355  
2356 2356  
2357 2357  == 3.7 LED Indicators ==
... ... @@ -2376,30 +2376,30 @@
2376 2376  )))
2377 2377  )))
2378 2378  |**RX**|RX blinks once when a packet is received.
2379 -|**DO1**|For LT-22222-L: ON when DO1 is low, OFF when DO1 is high
2380 -|**DO2**|For LT-22222-L: ON when DO2 is low, OFF when DO2 is high
2384 +|**DO1**|For LT-22222-LA: ON when DO1 is low, OFF when DO1 is high
2385 +|**DO2**|For LT-22222-LA: ON when DO2 is low, OFF when DO2 is high
2381 2381  |**DI1**|(((
2382 -For LT-22222-L: ON when DI1 is high, OFF when DI1 is low
2387 +For LT-22222-LA: ON when DI1 is high, OFF when DI1 is low
2383 2383  )))
2384 2384  |**DI2**|(((
2385 -For LT-22222-L: ON when DI2 is high, OFF when DI2 is low
2390 +For LT-22222-LA: ON when DI2 is high, OFF when DI2 is low
2386 2386  )))
2387 -|**RO1**|For LT-22222-L: ON when RO1 is closed, OFF when RO1 is open
2388 -|**RO2**|For LT-22222-L: ON when RO2 is closed, OFF when RO2 is open
2392 +|**RO1**|For LT-22222-LA: ON when RO1 is closed, OFF when RO1 is open
2393 +|**RO2**|For LT-22222-LA: ON when RO2 is closed, OFF when RO2 is open
2389 2389  
2390 2390  = 4. Using AT Commands =
2391 2391  
2392 2392  
2393 -The LT-22222-L supports programming using AT Commands.
2398 +The LT-22222-LA supports programming using AT Commands.
2394 2394  
2395 2395  
2396 -== 4.1 Connecting the LT-22222-L to a PC ==
2401 +== 4.1 Connecting the LT-22222-LA to a PC ==
2397 2397  
2398 2398  
2399 2399  (((
2400 -You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below.
2405 +You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-LA to a PC, as shown below.
2401 2401  
2402 -[[image:usb-ttl-audio-jack-connection.jpg]]
2407 +(% title="Click and drag to resize" %)​​
2403 2403  
2404 2404  
2405 2405  )))
... ... @@ -2408,7 +2408,6 @@
2408 2408  On the PC, you need to set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-L. Access to AT commands is disabled by default, and a password (default: (% style="color:green" %)**123456**)(%%) must be entered to enable AT command access, as shown below:
2409 2409  )))
2410 2410  
2411 -[[image:1653358355238-883.png]]
2412 2412  
2413 2413  
2414 2414  (((
... ... @@ -2590,7 +2590,7 @@
2590 2590  )))
2591 2591  
2592 2592  (((
2593 -[[image:1653359097980-169.png||height="188" width="729"]]
2597 +
2594 2594  )))
2595 2595  
2596 2596  
... ... @@ -2642,7 +2642,6 @@
2642 2642  
2643 2643  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2644 2644  
2645 -[[image:usb-ttl-audio-jack-connection.jpg]]
2646 2646  
2647 2647  
2648 2648  
... ... @@ -2658,18 +2658,14 @@
2658 2658  
2659 2659  )))
2660 2660  
2661 - [[image:image-20220524103407-12.png]]
2662 2662  
2663 2663  
2664 -[[image:image-20220524103429-13.png]]
2665 2665  
2666 2666  
2667 -[[image:image-20220524104033-15.png]]
2668 2668  
2669 2669  
2670 2670  (% 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:
2671 2671  
2672 -[[image:1653360054704-518.png||height="186" width="745"]]
2673 2673  
2674 2674  
2675 2675  (((
... ... @@ -2709,7 +2709,7 @@
2709 2709  (((
2710 2710  (% 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).
2711 2711  
2712 -[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2711 +
2713 2713  )))
2714 2714  
2715 2715  (((
... ... @@ -2758,7 +2758,6 @@
2758 2758  (% 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:
2759 2759  )))
2760 2760  
2761 -[[image:1653360498588-932.png||height="485" width="726"]]
2762 2762  
2763 2763  
2764 2764  == 6.4 How to change the uplink interval? ==
... ... @@ -2797,7 +2797,6 @@
2797 2797  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:
2798 2798  
2799 2799  
2800 -[[image:image-20221006170630-1.png||height="610" width="945"]]
2801 2801  
2802 2802  
2803 2803  == 6.9 Can the LT-22222-L save the RO state? ==