Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,8 +19,6 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 22 - 23 - 24 24 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 25 25 ))) 26 26 ... ... @@ -50,7 +50,6 @@ 50 50 51 51 ))) 52 52 53 - 54 54 == 1.2 Specifications == 55 55 56 56 ((( ... ... @@ -79,8 +79,6 @@ 79 79 ))) 80 80 81 81 ((( 82 - 83 - 84 84 **Interface for Model: LT22222-L:** 85 85 ))) 86 86 ... ... @@ -104,8 +104,6 @@ 104 104 ))) 105 105 106 106 ((( 107 - 108 - 109 109 **LoRa Spec:** 110 110 ))) 111 111 ... ... @@ -166,8 +166,6 @@ 166 166 * ((( 167 167 Packet engine up to 256 bytes with CRC. 168 168 169 - 170 - 171 171 172 172 ))) 173 173 ... ... @@ -181,9 +181,6 @@ 181 181 * Firmware upgradable via program port 182 182 * Counting 183 183 184 - 185 - 186 - 187 187 == 1.4 Applications == 188 188 189 189 * Smart Buildings & Home Automation ... ... @@ -193,9 +193,6 @@ 193 193 * Smart Cities 194 194 * Smart Factory 195 195 196 - 197 - 198 - 199 199 == 1.5 Hardware Variants == 200 200 201 201 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -209,8 +209,6 @@ 209 209 * 1 x Counting Port 210 210 ))) 211 211 212 - 213 - 214 214 = 2. Power ON Device = 215 215 216 216 The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller. ... ... @@ -233,9 +233,12 @@ 233 233 234 234 ((( 235 235 In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices. 219 + 220 + 236 236 ))) 237 237 238 238 224 + 239 239 == 3.2 Example to join LoRaWAN network == 240 240 241 241 ((( ... ... @@ -244,13 +244,12 @@ 244 244 245 245 [[image:image-20220523172350-1.png||height="266" width="864"]] 246 246 247 - 248 248 ((( 249 249 The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN: 250 250 ))) 251 251 252 252 ((( 253 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 254 254 ))) 255 255 256 256 ((( ... ... @@ -259,7 +259,6 @@ 259 259 260 260 [[image:1653297924498-393.png]] 261 261 262 - 263 263 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 264 264 265 265 Add APP EUI in the application. ... ... @@ -273,7 +273,7 @@ 273 273 274 274 275 275 ((( 276 - (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.260 +**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel. 277 277 ))) 278 278 279 279 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -291,9 +291,6 @@ 291 291 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 292 292 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 293 293 294 - 295 - 296 - 297 297 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 298 298 299 299 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -301,8 +301,6 @@ 301 301 [[image:image-20220523174024-3.png]] 302 302 303 303 ((( 304 - 305 - 306 306 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 307 307 ))) 308 308 ... ... @@ -316,7 +316,6 @@ 316 316 317 317 For example if payload is: [[image:image-20220523175847-2.png]] 318 318 319 - 320 320 **The value for the interface is: ** 321 321 322 322 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -349,7 +349,6 @@ 349 349 350 350 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 351 351 352 - 353 353 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 354 354 355 355 ((( ... ... @@ -358,7 +358,6 @@ 358 358 359 359 [[image:image-20220523180452-3.png]] 360 360 361 - 362 362 ((( 363 363 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 364 364 ))) ... ... @@ -374,8 +374,6 @@ 374 374 ))) 375 375 376 376 ((( 377 - 378 - 379 379 **To use counting mode, please run:** 380 380 ))) 381 381 ... ... @@ -394,8 +394,6 @@ 394 394 ))) 395 395 396 396 ((( 397 - 398 - 399 399 (% style="color:#4f81bd" %)**AT Commands for counting:** 400 400 ))) 401 401 ... ... @@ -487,6 +487,8 @@ 487 487 488 488 ((( 489 489 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 490 490 ))) 491 491 492 492 ... ... @@ -493,7 +493,6 @@ 493 493 494 494 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 495 495 496 - 497 497 **LT22222-L**: This mode the DI1 is used as a counting pin. 498 498 499 499 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. ... ... @@ -500,7 +500,6 @@ 500 500 501 501 [[image:image-20220523181903-8.png]] 502 502 503 - 504 504 ((( 505 505 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 506 506 ))) ... ... @@ -630,7 +630,6 @@ 630 630 631 631 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 632 632 633 - 634 634 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 635 635 636 636 For example, if user has configured below commands: ... ... @@ -638,11 +638,13 @@ 638 638 * **AT+MOD=1 ** **~-~->** The normal working mode 639 639 * **AT+ADDMOD6=1** **~-~->** Enable trigger 640 640 612 + 641 641 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 642 642 643 643 1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 644 644 1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.** 645 645 618 + 646 646 **AT Command to set Trigger Condition**: 647 647 648 648 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -656,7 +656,6 @@ 656 656 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 657 657 658 658 659 - 660 660 (% style="color:#4f81bd" %)**Trigger base on current**: 661 661 662 662 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -666,7 +666,6 @@ 666 666 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 667 667 668 668 669 - 670 670 (% style="color:#4f81bd" %)**Trigger base on DI status**: 671 671 672 672 DI status trigger Flag. ... ... @@ -673,13 +673,12 @@ 673 673 674 674 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 675 675 676 - 677 677 **Example:** 678 678 679 679 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 680 680 681 681 682 -**Downlink Command to set Trigger Condition :**652 +**Downlink Command to set Trigger Condition** 683 683 684 684 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 685 685 ... ... @@ -708,7 +708,6 @@ 708 708 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 709 709 710 710 711 - 712 712 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 713 713 714 714 MOD6 Payload : total 11 bytes payload ... ... @@ -722,6 +722,7 @@ 722 722 723 723 * Each bits shows if the corresponding trigger has been configured. 724 724 694 + 725 725 **Example:** 726 726 727 727 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -733,6 +733,7 @@ 733 733 734 734 * Each bits shows which status has been trigger on this uplink. 735 735 706 + 736 736 **Example:** 737 737 738 738 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -744,6 +744,7 @@ 744 744 745 745 * Each bits shows which status has been trigger on this uplink. 746 746 718 + 747 747 **Example:** 748 748 749 749 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -764,8 +764,6 @@ 764 764 === 3.3.7 Payload Decoder === 765 765 766 766 ((( 767 - 768 - 769 769 **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]] 770 770 771 771 ... ... @@ -772,6 +772,7 @@ 772 772 ))) 773 773 774 774 745 + 775 775 == 3.4 Configure LT via AT or Downlink == 776 776 777 777 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -784,6 +784,8 @@ 784 784 785 785 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 786 786 758 + 759 + 787 787 === 3.4.1 Common Commands === 788 788 789 789 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] ... ... @@ -2015,16 +2015,8 @@ 2015 2015 ))) 2016 2016 2017 2017 ((( 2018 - ==5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==1991 + 2019 2019 2020 -If the device is not shut down, but directly powered off. 2021 - 2022 -It will default that this is a power-off state. 2023 - 2024 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 2025 - 2026 -After restart, the status before power failure will be read from flash. 2027 - 2028 2028 = 6. Trouble Shooting = 2029 2029 ))) 2030 2030