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

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

Summary

Details

Page properties
Content
... ... @@ -46,7 +46,6 @@
46 46  )))
47 47  
48 48  
49 -[[image:lorawan-nw.jpg]]
50 50  
51 51  == 1.2 Specifications ==
52 52  
... ... @@ -58,7 +58,7 @@
58 58  ** 20dB Transmit: 34mA@12V
59 59  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
60 60  
61 -(% style="color:#037691" %)**Interface for Model: LT22222-LA:**
60 +(% style="color:#037691" %)**Interface for Model: LT22222-L:**
62 62  
63 63  * 2 x Digital dual direction Input (Detect High/Low signal, Max: 50V, or 220V with optional external resistor)
64 64  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
... ... @@ -112,11 +112,11 @@
112 112  == 1.5 Hardware Variants ==
113 113  
114 114  
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" %)(((
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" %)(((
120 120  * 3 x Digital Input (Bi-direction)
121 121  * 3 x Digital Output
122 122  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -140,7 +140,7 @@
140 140  == 2.2 Terminals ==
141 141  
142 142  
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.
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.
144 144  
145 145  **Upper screw terminal block (from left to right):**
146 146  
... ... @@ -168,42 +168,40 @@
168 168  |(% style="width:125px" %)DO2|(% style="width:128px" %)Digital Output 2
169 169  |(% style="width:125px" %)DO1|(% style="width:128px" %)Digital Output 1
170 170  
171 -== 2.3 Connecting LT-22222-LA to a Power Source ==
170 +== 2.3 Connecting LT-22222-L to a Power Source ==
172 172  
173 173  
174 174  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.
175 175  
176 176  {{warning}}
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.**
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.**
178 178  {{/warning}}
179 179  
180 -[[image:1653297104069-180.png]]
181 181  
182 182  
183 183  
184 -= 3. Registering LT-22222-LA with a LoRaWAN Network Server =
182 += 3. Registering LT-22222-L with a LoRaWAN Network Server =
185 185  
186 186  
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.
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.
188 188  
189 189  
190 190  == 3.1 Prerequisites ==
191 191  
192 192  
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.
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.
194 194  
195 195  {{info}}
196 196  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.
197 197  {{/info}}
198 198  
199 -The following subsections explain how to register the LT-22222-LA with different LoRaWAN network server providers.
197 +The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
200 200  
201 -[[image:image-20230425173427-2.png]]
202 202  
203 203  == 3.2 The Things Stack ==
204 204  
205 205  
206 -This section guides you through how to register your LT-22222-LA with The Things Stack Sandbox.
203 +This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
207 207  
208 208  {{info}}
209 209  The Things Stack Sandbox was formally called The Things Stack Community Edition.
... ... @@ -210,10 +210,11 @@
210 210  {{/info}}
211 211  
212 212  
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.
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.
214 214  
215 -[[image:1751523649311-511.png||height="407" width="1378"]]
216 216  
213 +[[image:dragino-lorawan-nw-lt-22222-n.jpg||height="374" width="1400"]]
214 +
217 217  {{info}}
218 218   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.
219 219  {{/info}}
... ... @@ -241,25 +241,25 @@
241 241  *** **Profile (Region)**: Select the region that matches your device.
242 242  ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list.
243 243  
244 -[[image:lt-22222-l-dev-repo-reg-p1.png]]
245 245  
246 246  
244 +
247 247  * Register end device page continued...
248 248  ** 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'.
249 249  ** In the **DevEUI** field, enter the **DevEUI**.
250 250  ** In the **AppKey** field, enter the **AppKey.**
251 -** In the **End device ID** field, enter a unique name for your LT-22222-LA within this application.
249 +** In the **End device ID** field, enter a unique name for your LT-22222-L within this application.
252 252  ** Under **After registration**, select the **View registered end device** option.
253 253  ** Click **Register end device** button.
254 254  
255 -[[image:lt-22222-l-dev-repo-reg-p2.png]]
256 256  
257 257  
255 +
258 258  * You will be navigated to the **Device overview** page.
259 259  
260 -[[image:lt-22222-device-overview.png]]
261 261  
262 262  
260 +
263 263  ==== 3.2.1.2 Adding device manually ====
264 264  
265 265  
... ... @@ -272,14 +272,14 @@
272 272  ** Select the option **Over the air activation (OTAA)** under the **Activation mode.**
273 273  ** Select **Class C (Continuous)** from the **Additional LoRaWAN class capabilities** dropdown list.
274 274  
275 -[[image:lt-22222-l-manually-p1.png]]
276 276  
277 277  
275 +
278 278  * Register end device page continued...
279 279  ** 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**//'
280 280  ** In the **DevEUI** field, enter the **DevEUI**.
281 281  ** In the **AppKey** field, enter the **AppKey**.
282 -** In the **End device ID** field, enter a unique name for your LT-22222-LA within this application.
280 +** In the **End device ID** field, enter a unique name for your LT-22222-N within this application.
283 283  ** Under **After registration**, select the **View registered end device** option.
284 284  ** Click the **Register end device** button.
285 285  
... ... @@ -288,25 +288,25 @@
288 288  
289 289  You will be navigated to the **Device overview** page.
290 290  
289 +
291 291  [[image:lt-22222-device-overview.png]]
292 292  
293 293  
294 -
295 295  === 3.2.2 Joining ===
296 296  
297 297  
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.
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.
299 299  
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.
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.
301 301  
300 +
302 302  [[image:lt-22222-l-joining.png]]
303 303  
304 304  
305 -
306 306  === 3.2.3 Uplinks ===
307 307  
308 308  
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.
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.
310 310  
311 311  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.
312 312  
... ... @@ -324,6 +324,7 @@
324 324  
325 325  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]]:
326 326  
325 +(% class="wikigeneratedid" %)
327 327  [[image:lt-22222-l-js-custom-payload-formatter.png]]
328 328  
329 329  
... ... @@ -336,7 +336,7 @@
336 336  == 3.3 Working Modes and Uplink Payload formats ==
337 337  
338 338  
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.
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.
340 340  
341 341  * (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO
342 342  
... ... @@ -389,7 +389,7 @@
389 389  * DI is for digital input. DIx=1: HIGH or FLOATING, DIx=0: LOW.
390 390  * DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING.
391 391  
392 -(% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-LA**
391 +(% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L**
393 393  
394 394  For example, if the payload is: [[image:image-20220523175847-2.png]]
395 395  
... ... @@ -408,13 +408,13 @@
408 408  
409 409  * [1] The RO1 relay channel is CLOSED, and the RO1 LED is ON.
410 410  * [0] The RO2 relay channel is OPEN, and the RO2 LED is OFF.
411 -* **[1] DI3 - not used for LT-22222-LA.**
410 +* **[1] DI3 - not used for LT-22222-L.**
412 412  * [0] DI2 channel input is LOW, and the DI2 LED is OFF.
413 413  * [1] DI1 channel input state:
414 414  ** DI1 is FLOATING when no sensor is connected between DI1+ and DI1-.
415 415  ** DI1 is HIGH when a sensor is connected between DI1- and DI1+ and the sensor is ACTIVE.
416 416  ** DI1 LED is ON in both cases.
417 -* **[0] DO3 - not used for LT-22222-LA.**
416 +* **[0] DO3 - not used for LT-22222-L.**
418 418  * [1] DO2 channel output is LOW, and the DO2 LED is ON.
419 419  * [0] DO1 channel output state:
420 420  ** DO1 is FLOATING when there is no load between DO1 and V+.
... ... @@ -430,7 +430,7 @@
430 430  
431 431  
432 432  (((
433 -**For LT-22222-LA**: In this mode, **DI1 and DI2** are used as counting pins.
432 +**For LT-22222-L**: In this mode, **DI1 and DI2** are used as counting pins.
434 434  )))
435 435  
436 436  (((
... ... @@ -461,7 +461,7 @@
461 461  * DO is for reverse digital output. DOx=1: LOW, DOx=0: HIGH or FLOATING.
462 462  
463 463  (((
464 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA**
463 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L**
465 465  
466 466  
467 467  )))
... ... @@ -486,7 +486,7 @@
486 486  )))
487 487  
488 488  (((
489 -**For LT22222-LA:**
488 +**For LT22222-L:**
490 490  
491 491  (% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (sets the DI1 port to trigger on a LOW level. The valid signal duration is 100ms) **
492 492  
... ... @@ -504,7 +504,6 @@
504 504  
505 505  
506 506  
507 -
508 508  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
509 509  
510 510  
... ... @@ -512,7 +512,7 @@
512 512  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
513 513  It starts counting again when it reaches the maximum value.**
514 514  
515 -**LT22222-LA**: In this mode, the DI1 is used as a counting pin.
513 +**LT22222-L**: In this mode, the DI1 is used as a counting pin.
516 516  
517 517  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
518 518  |(% 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**
... ... @@ -535,13 +535,12 @@
535 535  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
536 536  
537 537  (((
538 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA.**
536 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
539 539  )))
540 540  
541 541  
542 542  
543 543  
544 -
545 545  (((
546 546  **To activate this mode, run the following AT commands:**
547 547  )))
... ... @@ -571,7 +571,7 @@
571 571  
572 572  
573 573  (((
574 -**LT22222-LA**: In this mode, the DI1 is used as a counting pin.
571 +**LT22222-L**: In this mode, the DI1 is used as a counting pin.
575 575  )))
576 576  
577 577  (((
... ... @@ -634,7 +634,6 @@
634 634  
635 635  
636 636  
637 -
638 638  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
639 639  
640 640  
... ... @@ -672,7 +672,7 @@
672 672  )))
673 673  
674 674  (((
675 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-LA.**
671 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
676 676  )))
677 677  
678 678  (((
... ... @@ -695,7 +695,6 @@
695 695  
696 696  
697 697  
698 -
699 699  === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) ===
700 700  
701 701  
... ... @@ -706,7 +706,7 @@
706 706  * **AT+MOD=1 ** **~-~->**  Sets the default working mode
707 707  * **AT+ADDMOD6=1**   **~-~->**  Enables trigger mode
708 708  
709 -The LT-22222-LA will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. It will send uplink packets in two cases:
704 +The LT-22222-L will continuously monitor AV1, AV2, AC1, and AC2 every 5 seconds. It will send uplink packets in two cases:
710 710  
711 711  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.
712 712  1. (((
... ... @@ -888,11 +888,11 @@
888 888  )))
889 889  
890 890  
891 -== 3.4 ​Configure LT-22222-LA via AT Commands or Downlinks ==
886 +== 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
892 892  
893 893  
894 894  (((
895 -You can configure LT-22222-LA I/O Controller via AT Commands or LoRaWAN Downlinks.
890 +You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks.
896 896  )))
897 897  
898 898  (((
... ... @@ -917,7 +917,7 @@
917 917  === 3.4.2 Sensor-related commands ===
918 918  
919 919  
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.
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.
921 921  
922 922  
923 923  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
... ... @@ -964,7 +964,7 @@
964 964  
965 965  See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30]]
966 966  
967 -[[image:Screenshot%202024-11-23%20at%2018.27.11.png||alt="Screenshot 2024-11-23 at 18.27.11.png"]]
962 +[[image:Screenshot 2024-11-23 at 18.27.11.png]]
968 968  )))
969 969  
970 970  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
... ... @@ -1028,7 +1028,7 @@
1028 1028  ==== 3.4.2.3 Request an uplink from the device ====
1029 1029  
1030 1030  
1031 -Requests an uplink from LT-22222-LA. The content of the uplink payload varies based on the device's current working mode.
1026 +Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
1032 1032  
1033 1033  (% style="color:#037691" %)**AT command**
1034 1034  
... ... @@ -1569,7 +1569,7 @@
1569 1569  
1570 1570  (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
1571 1571  
1572 -[[image:image-20221008095908-1.png]]
1567 +[[image:image-20221008095908-1.png||height="364" width="564"]]
1573 1573  
1574 1574  
1575 1575  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms
... ... @@ -2020,7 +2020,7 @@
2020 2020  
2021 2021  We use The Things Stack Sandbox in this example:
2022 2022  
2023 -* In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-LA you added.
2018 +* In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added.
2024 2024  * Select **MQTT** under **Integrations** in the left menu.
2025 2025  * 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.
2026 2026  * 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.
... ... @@ -2141,7 +2141,7 @@
2141 2141  ==== 3.5.2.4 Viewing sensor data on a dashboard ====
2142 2142  
2143 2143  
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.
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.
2145 2145  
2146 2146  [[image:lt-22222-l-dashboard.png]]
2147 2147  
... ... @@ -2160,17 +2160,18 @@
2160 2160  
2161 2161  
2162 2162  (((
2163 -The DI ports of the LT-22222-LA can support **NPN**, **PNP**, or **dry contact** output sensors.
2158 +The DI ports of the LT-22222-L can support **NPN**, **PNP**, or **dry contact** output sensors.
2164 2164  )))
2165 2165  
2166 2166  (((
2167 2167  (((
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.
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.
2169 2169  
2170 -[[image:1653357170703-587.png]]
2165 +
2171 2171  )))
2172 2172  )))
2173 2173  
2169 +[[image:1653357170703-587.png]]
2174 2174  
2175 2175  (((
2176 2176  (((
... ... @@ -2202,11 +2202,11 @@
2202 2202  )))
2203 2203  
2204 2204  (((
2205 -**= DI1**+** / 1K.**
2201 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
2206 2206  )))
2207 2207  
2208 2208  (((
2209 -For example, if** DI1+ **= **12V**, the resulting current is = 12mA. Therefore, the LT-22222-L will be able to detect this active signal.
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.
2210 2210  )))
2211 2211  
2212 2212  (((
... ... @@ -2233,11 +2233,11 @@
2233 2233  )))
2234 2234  
2235 2235  (((
2236 -**= DI1+ / 1K.**
2232 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
2237 2237  )))
2238 2238  
2239 2239  (((
2240 -If **DI1+ = 24V**, the resulting current is 24mA, Therefore, the LT-22222-L will detect this high-active signal.
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.
2241 2241  )))
2242 2242  
2243 2243  (((
... ... @@ -2264,17 +2264,16 @@
2264 2264  )))
2265 2265  
2266 2266  (((
2267 - **= DI1+ / 51K.**
2263 + [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.**
2268 2268  )))
2269 2269  
2270 2270  (((
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.
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.
2272 2272  )))
2273 2273  
2274 2274  
2275 2275  
2276 2276  
2277 -
2278 2278  (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor
2279 2279  
2280 2280  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.
... ... @@ -2285,9 +2285,9 @@
2285 2285  
2286 2286  (% style="color:blue" %)**Example 5**(%%): Connecting to an Open Collector
2287 2287  
2288 -
2289 2289  [[image:image-20240219115718-1.png]]
2290 2290  
2285 +
2291 2291  === 3.6.3 Digital Output Ports: DO1/DO2 ===
2292 2292  
2293 2293  
... ... @@ -2301,7 +2301,7 @@
2301 2301  === 3.6.4 Analog Input Interfaces ===
2302 2302  
2303 2303  
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:
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:
2305 2305  
2306 2306  
2307 2307  (% style="color:blue" %)**AC2 = (IN2 voltage )/12**
... ... @@ -2325,16 +2325,16 @@
2325 2325  
2326 2326  [[image:1653357640609-758.png]]
2327 2327  
2328 -[[image:1653357648330-671.png]]
2323 +[[image:1653357648330-671.png||height="155" width="733"]]
2329 2329  
2330 2330  
2331 2331  Example: Connecting to a regulated power supply to measure voltage
2332 2332  
2333 -[[image:image-20230608101532-1.png]]
2328 +[[image:image-20230608101532-1.png||height="606" width="447"]]
2334 2334  
2335 -[[image:image-20230608101608-2.jpeg]]
2330 +[[image:image-20230608101608-2.jpeg||height="379" width="284"]]
2336 2336  
2337 -[[image:image-20230608101722-3.png]]
2332 +[[image:image-20230608101722-3.png||height="102" width="1139"]]
2338 2338  
2339 2339  
2340 2340  (% style="color:blue; font-weight:bold" %)**Specifications of the regulated power supply**(% style="color:blue" %)**:**
... ... @@ -2348,15 +2348,15 @@
2348 2348  
2349 2349  
2350 2350  (((
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:
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:
2352 2352  
2353 -(% style="color:red" %)**Note:**(%%) The ROx pins will be in the Open (NO) state when the LT-22222-LA is powered off.
2348 +(% style="color:red" %)**Note:**(%%) The ROx pins will be in the Open (NO) state when the LT-22222-L is powered off.
2354 2354  )))
2355 2355  
2356 2356  [[image:image-20220524100215-9.png]]
2357 2357  
2358 -[[image:image-20220524100215-10.png]]
2359 2359  
2354 +[[image:image-20220524100215-10.png||height="382" width="723"]]
2360 2360  
2361 2361  
2362 2362  == 3.7 LED Indicators ==
... ... @@ -2381,30 +2381,30 @@
2381 2381  )))
2382 2382  )))
2383 2383  |**RX**|RX blinks once when a packet is received.
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
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
2386 2386  |**DI1**|(((
2387 -For LT-22222-LA: ON when DI1 is high, OFF when DI1 is low
2382 +For LT-22222-L: ON when DI1 is high, OFF when DI1 is low
2388 2388  )))
2389 2389  |**DI2**|(((
2390 -For LT-22222-LA: ON when DI2 is high, OFF when DI2 is low
2385 +For LT-22222-L: ON when DI2 is high, OFF when DI2 is low
2391 2391  )))
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
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
2394 2394  
2395 2395  = 4. Using AT Commands =
2396 2396  
2397 2397  
2398 -The LT-22222-LA supports programming using AT Commands.
2393 +The LT-22222-L supports programming using AT Commands.
2399 2399  
2400 2400  
2401 -== 4.1 Connecting the LT-22222-LA to a PC ==
2396 +== 4.1 Connecting the LT-22222-L to a PC ==
2402 2402  
2403 2403  
2404 2404  (((
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.
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.
2406 2406  
2407 -(% title="Click and drag to resize" %)​​
2402 +[[image:usb-ttl-audio-jack-connection.jpg]]
2408 2408  
2409 2409  
2410 2410  )))
... ... @@ -2413,6 +2413,7 @@
2413 2413  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:
2414 2414  )))
2415 2415  
2411 +[[image:1653358355238-883.png]]
2416 2416  
2417 2417  
2418 2418  (((
... ... @@ -2594,7 +2594,7 @@
2594 2594  )))
2595 2595  
2596 2596  (((
2597 -
2593 +[[image:1653359097980-169.png||height="188" width="729"]]
2598 2598  )))
2599 2599  
2600 2600  
... ... @@ -2646,6 +2646,7 @@
2646 2646  
2647 2647  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2648 2648  
2645 +[[image:usb-ttl-audio-jack-connection.jpg]]
2649 2649  
2650 2650  
2651 2651  
... ... @@ -2661,14 +2661,18 @@
2661 2661  
2662 2662  )))
2663 2663  
2661 + [[image:image-20220524103407-12.png]]
2664 2664  
2665 2665  
2664 +[[image:image-20220524103429-13.png]]
2666 2666  
2667 2667  
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"]]
2672 2672  
2673 2673  
2674 2674  (((
... ... @@ -2708,7 +2708,7 @@
2708 2708  (((
2709 2709  (% 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).
2710 2710  
2711 -
2712 +[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2712 2712  )))
2713 2713  
2714 2714  (((
... ... @@ -2757,6 +2757,7 @@
2757 2757  (% 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:
2758 2758  )))
2759 2759  
2761 +[[image:1653360498588-932.png||height="485" width="726"]]
2760 2760  
2761 2761  
2762 2762  == 6.4 How to change the uplink interval? ==
... ... @@ -2795,6 +2795,7 @@
2795 2795  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:
2796 2796  
2797 2797  
2800 +[[image:image-20221006170630-1.png||height="610" width="945"]]
2798 2798  
2799 2799  
2800 2800  == 6.9 Can the LT-22222-L save the RO state? ==