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 ))) ... ... @@ -516,8 +516,6 @@ 516 516 ))) 517 517 518 518 ((( 519 - 520 - 521 521 **To use this mode, please run:** 522 522 ))) 523 523 ... ... @@ -544,8 +544,6 @@ 544 544 ))) 545 545 546 546 ((( 547 - 548 - 549 549 **Plus below command for AVI1 Counting:** 550 550 ))) 551 551 ... ... @@ -581,14 +581,11 @@ 581 581 582 582 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 583 583 584 - 585 585 **LT22222-L**: This mode the DI1 is used as a counting pin. 586 586 587 587 [[image:image-20220523182334-9.png]] 588 588 589 589 ((( 590 - 591 - 592 592 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 593 593 ))) 594 594 ... ... @@ -603,8 +603,6 @@ 603 603 ))) 604 604 605 605 ((( 606 - 607 - 608 608 **To use this mode, please run:** 609 609 ))) 610 610 ... ... @@ -624,6 +624,8 @@ 624 624 625 625 ((( 626 626 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 627 627 ))) 628 628 629 629 ... ... @@ -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: ... ... @@ -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 :**643 +**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 ... ... @@ -697,18 +697,14 @@ 697 697 698 698 Yy4 yy4: AC2 or AV2 high limit. 699 699 700 - 701 701 **Example1**: AA 00 13 88 00 00 00 00 00 00 702 702 703 703 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 704 704 705 - 706 706 **Example2**: AA 02 01 00 707 707 708 708 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 709 709 710 - 711 - 712 712 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 713 713 714 714 MOD6 Payload : total 11 bytes payload ... ... @@ -715,7 +715,6 @@ 715 715 716 716 [[image:image-20220524085923-1.png]] 717 717 718 - 719 719 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 720 720 721 721 [[image:image-20220524090106-2.png]] ... ... @@ -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 729 + 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 ... ... @@ -805,7 +805,6 @@ 805 805 806 806 **Example: **AT+TDC=30000. Means set interval to 30 seconds 807 807 808 - 809 809 * Downlink Payload (prefix 0x01): 810 810 811 811 (% class="box infomessage" %) ... ... @@ -828,7 +828,6 @@ 828 828 829 829 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 830 830 831 - 832 832 * Downlink Payload (prefix 0x0A): 833 833 834 834 (% class="box infomessage" %) ... ... @@ -844,7 +844,6 @@ 844 844 845 845 There is no AT Command to poll uplink 846 846 847 - 848 848 * Downlink Payload (prefix 0x08): 849 849 850 850 (% class="box infomessage" %) ... ... @@ -871,7 +871,6 @@ 871 871 872 872 0: Disable Trigger Mode 873 873 874 - 875 875 * Downlink Payload (prefix 0x0A 06): 876 876 877 877 (% class="box infomessage" %) ... ... @@ -889,7 +889,6 @@ 889 889 890 890 There is no AT Command for this feature. 891 891 892 - 893 893 * Downlink Payload (prefix 0x AB 06): 894 894 895 895 (% class="box infomessage" %) ... ... @@ -910,7 +910,6 @@ 910 910 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 911 911 ))) 912 912 913 - 914 914 **Example:** 915 915 916 916 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -939,12 +939,10 @@ 939 939 940 940 b : delay timing. 941 941 942 - 943 943 **Example:** 944 944 945 945 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 946 946 947 - 948 948 * Downlink Payload (prefix 0x09 01 ): 949 949 950 950 (% class="box infomessage" %) ... ... @@ -969,12 +969,10 @@ 969 969 970 970 b : delay timing. 971 971 972 - 973 973 **Example:** 974 974 975 975 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 976 976 977 - 978 978 * Downlink Payload (prefix 0x09 02 ): 979 979 980 980 (% class="box infomessage" %) ... ... @@ -995,7 +995,6 @@ 995 995 **AT+ACLIM. ** 996 996 ))) 997 997 998 - 999 999 * Downlink Payload (prefix 0xAA 01 ): 1000 1000 1001 1001 (% class="box infomessage" %) ... ... @@ -1016,7 +1016,6 @@ 1016 1016 **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1017 1017 ))) 1018 1018 1019 - 1020 1020 * Downlink Payload (prefix 0xAA 00 ): 1021 1021 1022 1022 (% class="box infomessage" %) ... ... @@ -1037,7 +1037,6 @@ 1037 1037 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1038 1038 ))) 1039 1039 1040 - 1041 1041 * Downlink Payload (prefix 0xAC ): 1042 1042 1043 1043 (% class="box infomessage" %) ... ... @@ -1053,7 +1053,6 @@ 1053 1053 1054 1054 There is no AT Command to control Digital Output 1055 1055 1056 - 1057 1057 * Downlink Payload (prefix 0x02): 1058 1058 1059 1059 (% class="box infomessage" %) ... ... @@ -1087,7 +1087,6 @@ 1087 1087 1088 1088 There is no AT Command to control Digital Output 1089 1089 1090 - 1091 1091 * Downlink Payload (prefix 0xA9): 1092 1092 1093 1093 (% class="box infomessage" %) ... ... @@ -1107,22 +1107,18 @@ 1107 1107 1108 1108 00: DO pins will change to an inverter state after timeout 1109 1109 1110 - 1111 1111 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1112 1112 1113 1113 [[image:image-20220524093238-6.png]] 1114 1114 1115 - 1116 1116 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1117 1117 1118 1118 [[image:image-20220524093328-7.png]] 1119 1119 1120 - 1121 1121 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1122 1122 1123 1123 [[image:image-20220524093351-8.png]] 1124 1124 1125 - 1126 1126 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1127 1127 1128 1128 Latching time. Unit: ms ... ... @@ -1129,7 +1129,6 @@ 1129 1129 1130 1130 Device will upload a packet if downlink code executes successfully. 1131 1131 1132 - 1133 1133 **Example payload:** 1134 1134 1135 1135 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1150,13 +1150,12 @@ 1150 1150 1151 1151 1152 1152 1153 -=== =3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1154 1154 1155 1155 * AT Command: 1156 1156 1157 1157 There is no AT Command to control Relay Output 1158 1158 1159 - 1160 1160 * Downlink Payload (prefix 0x03): 1161 1161 1162 1162 (% class="box infomessage" %) ... ... @@ -1186,7 +1186,6 @@ 1186 1186 1187 1187 There is no AT Command to control Relay Output 1188 1188 1189 - 1190 1190 * Downlink Payload (prefix 0x05): 1191 1191 1192 1192 (% class="box infomessage" %) ... ... @@ -1204,17 +1204,14 @@ 1204 1204 1205 1205 00: Relays will change to an inverter state after timeout 1206 1206 1207 - 1208 1208 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1209 1209 1210 1210 [[image:image-20220524093831-10.png]] 1211 1211 1212 - 1213 1213 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1214 1214 1215 1215 Device will upload a packet if downlink code executes successfully. 1216 1216 1217 - 1218 1218 **Example payload:** 1219 1219 1220 1220 **~1. 05 01 11 07 D0** ... ... @@ -1246,7 +1246,6 @@ 1246 1246 **AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1247 1247 ))) 1248 1248 1249 - 1250 1250 * Downlink Payload (prefix 0xA5): 1251 1251 1252 1252 (% class="box infomessage" %) ... ... @@ -1273,7 +1273,6 @@ 1273 1273 1274 1274 Bb cc dd ee: number to be set 1275 1275 1276 - 1277 1277 * Downlink Payload (prefix 0xA8): 1278 1278 1279 1279 (% class="box infomessage" %) ... ... @@ -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? ==1946 + 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