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

From version 52.1
edited by Kilight Cao
on 2025/07/03 14:56
Change comment: Uploaded new attachment "1653358355238-883.png", version {1}
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,8 +504,6 @@
504 504  
505 505  
506 506  
507 -
508 -
509 509  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
510 510  
511 511  
... ... @@ -513,7 +513,7 @@
513 513  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
514 514  It starts counting again when it reaches the maximum value.**
515 515  
516 -**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.
517 517  
518 518  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
519 519  |(% 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**
... ... @@ -536,14 +536,12 @@
536 536  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating.
537 537  
538 538  (((
539 -(% 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.**
540 540  )))
541 541  
542 542  
543 543  
544 544  
545 -
546 -
547 547  (((
548 548  **To activate this mode, run the following AT commands:**
549 549  )))
... ... @@ -573,7 +573,7 @@
573 573  
574 574  
575 575  (((
576 -**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.
577 577  )))
578 578  
579 579  (((
... ... @@ -636,8 +636,6 @@
636 636  
637 637  
638 638  
639 -
640 -
641 641  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
642 642  
643 643  
... ... @@ -675,7 +675,7 @@
675 675  )))
676 676  
677 677  (((
678 -(% 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.**
679 679  )))
680 680  
681 681  (((
... ... @@ -698,8 +698,6 @@
698 698  
699 699  
700 700  
701 -
702 -
703 703  === 3.3.6 AT+ADDMOD~=6 (Trigger Mode, Optional) ===
704 704  
705 705  
... ... @@ -710,7 +710,7 @@
710 710  * **AT+MOD=1 ** **~-~->**  Sets the default working mode
711 711  * **AT+ADDMOD6=1**   **~-~->**  Enables trigger mode
712 712  
713 -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:
714 714  
715 715  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.
716 716  1. (((
... ... @@ -892,11 +892,11 @@
892 892  )))
893 893  
894 894  
895 -== 3.4 ​Configure LT-22222-LA via AT Commands or Downlinks ==
886 +== 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
896 896  
897 897  
898 898  (((
899 -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.
900 900  )))
901 901  
902 902  (((
... ... @@ -921,7 +921,7 @@
921 921  === 3.4.2 Sensor-related commands ===
922 922  
923 923  
924 -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.
925 925  
926 926  
927 927  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
... ... @@ -968,7 +968,7 @@
968 968  
969 969  See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30]]
970 970  
971 -[[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]]
972 972  )))
973 973  
974 974  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
... ... @@ -1032,7 +1032,7 @@
1032 1032  ==== 3.4.2.3 Request an uplink from the device ====
1033 1033  
1034 1034  
1035 -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.
1036 1036  
1037 1037  (% style="color:#037691" %)**AT command**
1038 1038  
... ... @@ -1573,7 +1573,7 @@
1573 1573  
1574 1574  (% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
1575 1575  
1576 -[[image:image-20221008095908-1.png]]
1567 +[[image:image-20221008095908-1.png||height="364" width="564"]]
1577 1577  
1578 1578  
1579 1579  (% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms
... ... @@ -2024,7 +2024,7 @@
2024 2024  
2025 2025  We use The Things Stack Sandbox in this example:
2026 2026  
2027 -* 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.
2028 2028  * Select **MQTT** under **Integrations** in the left menu.
2029 2029  * 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.
2030 2030  * 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.
... ... @@ -2145,7 +2145,7 @@
2145 2145  ==== 3.5.2.4 Viewing sensor data on a dashboard ====
2146 2146  
2147 2147  
2148 -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.
2149 2149  
2150 2150  [[image:lt-22222-l-dashboard.png]]
2151 2151  
... ... @@ -2164,17 +2164,18 @@
2164 2164  
2165 2165  
2166 2166  (((
2167 -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.
2168 2168  )))
2169 2169  
2170 2170  (((
2171 2171  (((
2172 -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.
2173 2173  
2174 -[[image:1653357170703-587.png]]
2165 +
2175 2175  )))
2176 2176  )))
2177 2177  
2169 +[[image:1653357170703-587.png]]
2178 2178  
2179 2179  (((
2180 2180  (((
... ... @@ -2206,11 +2206,11 @@
2206 2206  )))
2207 2207  
2208 2208  (((
2209 -**= DI1**+** / 1K.**
2201 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
2210 2210  )))
2211 2211  
2212 2212  (((
2213 -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.
2214 2214  )))
2215 2215  
2216 2216  (((
... ... @@ -2237,11 +2237,11 @@
2237 2237  )))
2238 2238  
2239 2239  (((
2240 -**= DI1+ / 1K.**
2232 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
2241 2241  )))
2242 2242  
2243 2243  (((
2244 -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.
2245 2245  )))
2246 2246  
2247 2247  (((
... ... @@ -2268,18 +2268,16 @@
2268 2268  )))
2269 2269  
2270 2270  (((
2271 - **= DI1+ / 51K.**
2263 + [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.**
2272 2272  )))
2273 2273  
2274 2274  (((
2275 -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.
2276 2276  )))
2277 2277  
2278 2278  
2279 2279  
2280 2280  
2281 -
2282 -
2283 2283  (% style="color:blue" %)**Example 4**(%%): Connecting to a Dry Contact sensor
2284 2284  
2285 2285  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.
... ... @@ -2290,9 +2290,9 @@
2290 2290  
2291 2291  (% style="color:blue" %)**Example 5**(%%): Connecting to an Open Collector
2292 2292  
2293 -
2294 2294  [[image:image-20240219115718-1.png]]
2295 2295  
2285 +
2296 2296  === 3.6.3 Digital Output Ports: DO1/DO2 ===
2297 2297  
2298 2298  
... ... @@ -2306,7 +2306,7 @@
2306 2306  === 3.6.4 Analog Input Interfaces ===
2307 2307  
2308 2308  
2309 -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:
2310 2310  
2311 2311  
2312 2312  (% style="color:blue" %)**AC2 = (IN2 voltage )/12**
... ... @@ -2330,16 +2330,16 @@
2330 2330  
2331 2331  [[image:1653357640609-758.png]]
2332 2332  
2333 -[[image:1653357648330-671.png]]
2323 +[[image:1653357648330-671.png||height="155" width="733"]]
2334 2334  
2335 2335  
2336 2336  Example: Connecting to a regulated power supply to measure voltage
2337 2337  
2338 -[[image:image-20230608101532-1.png]]
2328 +[[image:image-20230608101532-1.png||height="606" width="447"]]
2339 2339  
2340 -[[image:image-20230608101608-2.jpeg]]
2330 +[[image:image-20230608101608-2.jpeg||height="379" width="284"]]
2341 2341  
2342 -[[image:image-20230608101722-3.png]]
2332 +[[image:image-20230608101722-3.png||height="102" width="1139"]]
2343 2343  
2344 2344  
2345 2345  (% style="color:blue; font-weight:bold" %)**Specifications of the regulated power supply**(% style="color:blue" %)**:**
... ... @@ -2353,15 +2353,15 @@
2353 2353  
2354 2354  
2355 2355  (((
2356 -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:
2357 2357  
2358 -(% 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.
2359 2359  )))
2360 2360  
2361 2361  [[image:image-20220524100215-9.png]]
2362 2362  
2363 -[[image:image-20220524100215-10.png]]
2364 2364  
2354 +[[image:image-20220524100215-10.png||height="382" width="723"]]
2365 2365  
2366 2366  
2367 2367  == 3.7 LED Indicators ==
... ... @@ -2386,30 +2386,30 @@
2386 2386  )))
2387 2387  )))
2388 2388  |**RX**|RX blinks once when a packet is received.
2389 -|**DO1**|For LT-22222-LA: ON when DO1 is low, OFF when DO1 is high
2390 -|**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
2391 2391  |**DI1**|(((
2392 -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
2393 2393  )))
2394 2394  |**DI2**|(((
2395 -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
2396 2396  )))
2397 -|**RO1**|For LT-22222-LA: ON when RO1 is closed, OFF when RO1 is open
2398 -|**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
2399 2399  
2400 2400  = 4. Using AT Commands =
2401 2401  
2402 2402  
2403 -The LT-22222-LA supports programming using AT Commands.
2393 +The LT-22222-L supports programming using AT Commands.
2404 2404  
2405 2405  
2406 -== 4.1 Connecting the LT-22222-LA to a PC ==
2396 +== 4.1 Connecting the LT-22222-L to a PC ==
2407 2407  
2408 2408  
2409 2409  (((
2410 -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.
2411 2411  
2412 -(% title="Click and drag to resize" %)​​​
2402 +[[image:usb-ttl-audio-jack-connection.jpg]]
2413 2413  
2414 2414  
2415 2415  )))
... ... @@ -2418,6 +2418,7 @@
2418 2418  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:
2419 2419  )))
2420 2420  
2411 +[[image:1653358355238-883.png]]
2421 2421  
2422 2422  
2423 2423  (((
... ... @@ -2599,7 +2599,7 @@
2599 2599  )))
2600 2600  
2601 2601  (((
2602 -
2593 +[[image:1653359097980-169.png||height="188" width="729"]]
2603 2603  )))
2604 2604  
2605 2605  
... ... @@ -2651,6 +2651,7 @@
2651 2651  
2652 2652  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2653 2653  
2645 +[[image:usb-ttl-audio-jack-connection.jpg]]
2654 2654  
2655 2655  
2656 2656  
... ... @@ -2666,14 +2666,18 @@
2666 2666  
2667 2667  )))
2668 2668  
2661 + [[image:image-20220524103407-12.png]]
2669 2669  
2670 2670  
2664 +[[image:image-20220524103429-13.png]]
2671 2671  
2672 2672  
2667 +[[image:image-20220524104033-15.png]]
2673 2673  
2674 2674  
2675 2675  (% 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:
2676 2676  
2672 +[[image:1653360054704-518.png||height="186" width="745"]]
2677 2677  
2678 2678  
2679 2679  (((
... ... @@ -2713,7 +2713,7 @@
2713 2713  (((
2714 2714  (% 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).
2715 2715  
2716 -
2712 +[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2717 2717  )))
2718 2718  
2719 2719  (((
... ... @@ -2762,6 +2762,7 @@
2762 2762  (% 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:
2763 2763  )))
2764 2764  
2761 +[[image:1653360498588-932.png||height="485" width="726"]]
2765 2765  
2766 2766  
2767 2767  == 6.4 How to change the uplink interval? ==
... ... @@ -2800,6 +2800,7 @@
2800 2800  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:
2801 2801  
2802 2802  
2800 +[[image:image-20221006170630-1.png||height="610" width="945"]]
2803 2803  
2804 2804  
2805 2805  == 6.9 Can the LT-22222-L save the RO state? ==
1653358355238-883.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Kilight
Size
... ... @@ -1,1 +1,0 @@
1 -114.3 KB
Content