Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,6 +19,8 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 22 + 23 + 22 22 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. 23 23 ))) 24 24 ... ... @@ -48,6 +48,7 @@ 48 48 49 49 ))) 50 50 53 + 51 51 == 1.2 Specifications == 52 52 53 53 ((( ... ... @@ -76,6 +76,8 @@ 76 76 ))) 77 77 78 78 ((( 82 + 83 + 79 79 **Interface for Model: LT22222-L:** 80 80 ))) 81 81 ... ... @@ -99,6 +99,8 @@ 99 99 ))) 100 100 101 101 ((( 107 + 108 + 102 102 **LoRa Spec:** 103 103 ))) 104 104 ... ... @@ -159,6 +159,8 @@ 159 159 * ((( 160 160 Packet engine up to 256 bytes with CRC. 161 161 169 + 170 + 162 162 163 163 ))) 164 164 ... ... @@ -172,6 +172,8 @@ 172 172 * Firmware upgradable via program port 173 173 * Counting 174 174 184 + 185 + 175 175 == 1.4 Applications == 176 176 177 177 * Smart Buildings & Home Automation ... ... @@ -181,6 +181,8 @@ 181 181 * Smart Cities 182 182 * Smart Factory 183 183 195 + 196 + 184 184 == 1.5 Hardware Variants == 185 185 186 186 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -194,6 +194,7 @@ 194 194 * 1 x Counting Port 195 195 ))) 196 196 210 + 197 197 = 2. Power ON Device = 198 198 199 199 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. ... ... @@ -216,8 +216,6 @@ 216 216 217 217 ((( 218 218 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 - 221 221 ))) 222 222 223 223 ... ... @@ -316,7 +316,6 @@ 316 316 * [1] RO1 relay channel is close and the RO1 LED is ON. 317 317 * [0] RO2 relay channel is open and RO2 LED is OFF; 318 318 319 - 320 320 **LT22222-L:** 321 321 322 322 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -370,12 +370,7 @@ 370 370 ((( 371 371 ((( 372 372 **AT+MOD=2** 373 -))) 374 -))) 375 375 376 -(% class="box infomessage" %) 377 -((( 378 -((( 379 379 **ATZ** 380 380 ))) 381 381 ))) ... ... @@ -394,40 +394,15 @@ 394 394 ((( 395 395 ((( 396 396 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 397 -))) 398 -))) 399 399 400 -(% class="box infomessage" %) 401 -((( 402 -((( 403 403 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 404 -))) 405 -))) 406 406 407 -(% class="box infomessage" %) 408 -((( 409 -((( 410 410 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 411 -))) 412 -))) 413 413 414 -(% class="box infomessage" %) 415 -((( 416 -((( 417 417 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 418 -))) 419 -))) 420 420 421 -(% class="box infomessage" %) 422 -((( 423 -((( 424 424 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 425 -))) 426 -))) 427 427 428 -(% class="box infomessage" %) 429 -((( 430 -((( 431 431 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 432 432 ))) 433 433 ))) ... ... @@ -462,12 +462,7 @@ 462 462 ((( 463 463 ((( 464 464 **AT+MOD=3** 465 -))) 466 -))) 467 467 468 -(% class="box infomessage" %) 469 -((( 470 -((( 471 471 **ATZ** 472 472 ))) 473 473 ))) ... ... @@ -474,11 +474,10 @@ 474 474 475 475 ((( 476 476 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 477 - 478 - 479 479 ))) 480 480 481 481 456 + 482 482 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 483 483 484 484 ... ... @@ -513,20 +513,13 @@ 513 513 ((( 514 514 ((( 515 515 **AT+MOD=4** 516 -))) 517 -))) 518 518 519 -(% class="box infomessage" %) 520 -((( 521 -((( 522 522 **ATZ** 523 523 ))) 524 524 ))) 525 525 526 -((( 527 - 528 -))) 529 529 497 + 530 530 ((( 531 531 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 532 532 ))) ... ... @@ -540,33 +540,17 @@ 540 540 (% class="box infomessage" %) 541 541 ((( 542 542 ((( 543 -**AT+SETCNT=3,60 (set AVI Count to 60)** 544 -))) 545 -))) 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 546 546 547 -(% class="box infomessage" %) 548 -((( 549 -((( 550 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 551 -))) 552 -))) 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 553 553 554 -(% class="box infomessage" %) 555 -((( 556 -((( 557 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 558 -))) 559 -))) 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 560 560 561 -(% class="box infomessage" %) 562 -((( 563 -((( 564 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 565 565 ))) 566 566 ))) 567 567 568 568 569 - 570 570 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 571 571 572 572 ... ... @@ -600,12 +600,7 @@ 600 600 ((( 601 601 ((( 602 602 **AT+MOD=5** 603 -))) 604 -))) 605 605 606 -(% class="box infomessage" %) 607 -((( 608 -((( 609 609 **ATZ** 610 610 ))) 611 611 ))) ... ... @@ -631,9 +631,8 @@ 631 631 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 632 632 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.** 633 633 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 634 634 635 -**AT Command to set Trigger Condition**: 636 - 637 637 (% style="color:#4f81bd" %)**Trigger base on voltage**: 638 638 639 639 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -668,7 +668,7 @@ 668 668 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 669 669 670 670 671 -**Downlink Command to set Trigger Condition:** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 672 672 673 673 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 674 674 ... ... @@ -711,7 +711,6 @@ 711 711 712 712 * Each bits shows if the corresponding trigger has been configured. 713 713 714 - 715 715 **Example:** 716 716 717 717 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -723,7 +723,6 @@ 723 723 724 724 * Each bits shows which status has been trigger on this uplink. 725 725 726 - 727 727 **Example:** 728 728 729 729 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -735,7 +735,6 @@ 735 735 736 736 * Each bits shows which status has been trigger on this uplink. 737 737 738 - 739 739 **Example:** 740 740 741 741 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -764,7 +764,6 @@ 764 764 ))) 765 765 766 766 767 - 768 768 == 3.4 Configure LT via AT or Downlink == 769 769 770 770 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -778,6 +778,7 @@ 778 778 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 779 779 780 780 723 + 781 781 === 3.4.1 Common Commands === 782 782 783 783 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]] ... ... @@ -790,7 +790,7 @@ 790 790 791 791 Set device uplink interval. 792 792 793 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 794 794 795 795 (% class="box infomessage" %) 796 796 ((( ... ... @@ -800,7 +800,7 @@ 800 800 **Example: **AT+TDC=30000. Means set interval to 30 seconds 801 801 802 802 803 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 804 804 805 805 (% class="box infomessage" %) 806 806 ((( ... ... @@ -813,7 +813,7 @@ 813 813 814 814 Set work mode. 815 815 816 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 817 817 818 818 (% class="box infomessage" %) 819 819 ((( ... ... @@ -823,7 +823,7 @@ 823 823 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 824 824 825 825 826 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 827 827 828 828 (% class="box infomessage" %) 829 829 ((( ... ... @@ -834,12 +834,12 @@ 834 834 835 835 ==== 3.4.2.3 Poll an uplink ==== 836 836 837 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 838 838 839 839 There is no AT Command to poll uplink 840 840 841 841 842 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 843 843 844 844 (% class="box infomessage" %) 845 845 ((( ... ... @@ -854,7 +854,7 @@ 854 854 855 855 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 856 856 857 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 858 858 859 859 (% class="box infomessage" %) 860 860 ((( ... ... @@ -866,7 +866,7 @@ 866 866 0: Disable Trigger Mode 867 867 868 868 869 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 870 870 871 871 (% class="box infomessage" %) 872 872 ((( ... ... @@ -879,12 +879,12 @@ 879 879 880 880 Poll trigger settings, 881 881 882 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 883 883 884 884 There is no AT Command for this feature. 885 885 886 886 887 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 888 888 889 889 (% class="box infomessage" %) 890 890 ((( ... ... @@ -897,7 +897,7 @@ 897 897 898 898 Enable Disable DI1/DI2/DI2 as trigger, 899 899 900 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 901 901 902 902 (% class="box infomessage" %) 903 903 ((( ... ... @@ -909,7 +909,7 @@ 909 909 910 910 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 911 911 912 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 913 913 914 914 (% class="box infomessage" %) 915 915 ((( ... ... @@ -922,7 +922,7 @@ 922 922 923 923 Set DI1 or DI3(for LT-33222-L) trigger. 924 924 925 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 926 926 927 927 (% class="box infomessage" %) 928 928 ((( ... ... @@ -939,7 +939,7 @@ 939 939 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 940 940 941 941 942 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 943 943 944 944 (% class="box infomessage" %) 945 945 ((( ... ... @@ -952,7 +952,7 @@ 952 952 953 953 Set DI2 trigger. 954 954 955 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 956 956 957 957 (% class="box infomessage" %) 958 958 ((( ... ... @@ -969,7 +969,7 @@ 969 969 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 970 970 971 971 972 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 973 973 974 974 (% class="box infomessage" %) 975 975 ((( ... ... @@ -982,7 +982,7 @@ 982 982 983 983 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 984 984 985 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 986 986 987 987 (% class="box infomessage" %) 988 988 ((( ... ... @@ -990,7 +990,7 @@ 990 990 ))) 991 991 992 992 993 -* Downlink Payload (prefix 0xAA 01 ): 936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 994 994 995 995 (% class="box infomessage" %) 996 996 ((( ... ... @@ -1003,7 +1003,7 @@ 1003 1003 1004 1004 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1005 1005 1006 -* AT Command: 949 +* (% style="color:#037691" %)AT Command: 1007 1007 1008 1008 (% class="box infomessage" %) 1009 1009 ((( ... ... @@ -1011,7 +1011,7 @@ 1011 1011 ))) 1012 1012 1013 1013 1014 -* Downlink Payload (prefix 0xAA 00 ): 957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 1015 1015 1016 1016 (% class="box infomessage" %) 1017 1017 ((( ... ... @@ -1024,7 +1024,7 @@ 1024 1024 1025 1025 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1026 1026 1027 -* AT Command: 970 +* (% style="color:#037691" %)AT Command: 1028 1028 1029 1029 (% class="box infomessage" %) 1030 1030 ((( ... ... @@ -1032,7 +1032,7 @@ 1032 1032 ))) 1033 1033 1034 1034 1035 -* Downlink Payload (prefix 0xAC ): 978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 1036 1036 1037 1037 (% class="box infomessage" %) 1038 1038 ((( ... ... @@ -1043,12 +1043,12 @@ 1043 1043 1044 1044 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1045 1045 1046 -* AT Command: 989 +* (% style="color:#037691" %)AT Command: 1047 1047 1048 1048 There is no AT Command to control Digital Output 1049 1049 1050 1050 1051 -* Downlink Payload (prefix 0x02): 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 1052 1052 1053 1053 (% class="box infomessage" %) 1054 1054 ((( ... ... @@ -1077,12 +1077,12 @@ 1077 1077 1078 1078 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1079 1079 1080 -* AT Command: 1023 +* (% style="color:#037691" %)AT Command: 1081 1081 1082 1082 There is no AT Command to control Digital Output 1083 1083 1084 1084 1085 -* Downlink Payload (prefix 0xA9): 1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 1086 1086 1087 1087 (% class="box infomessage" %) 1088 1088 ((( ... ... @@ -1146,12 +1146,12 @@ 1146 1146 1147 1147 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1148 1148 1149 -* AT Command: 1092 +* (% style="color:#037691" %)AT Command: 1150 1150 1151 1151 There is no AT Command to control Relay Output 1152 1152 1153 1153 1154 -* Downlink Payload (prefix 0x03): 1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1155 1155 1156 1156 (% class="box infomessage" %) 1157 1157 ((( ... ... @@ -1176,12 +1176,12 @@ 1176 1176 1177 1177 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1178 1178 1179 -* AT Command: 1122 +* (% style="color:#037691" %)AT Command: 1180 1180 1181 1181 There is no AT Command to control Relay Output 1182 1182 1183 1183 1184 -* Downlink Payload (prefix 0x05): 1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05): 1185 1185 1186 1186 (% class="box infomessage" %) 1187 1187 ((( ... ... @@ -1233,7 +1233,7 @@ 1233 1233 1234 1234 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1235 1235 1236 -* AT Command: 1179 +* (% style="color:#037691" %)AT Command: 1237 1237 1238 1238 (% class="box infomessage" %) 1239 1239 ((( ... ... @@ -1241,7 +1241,7 @@ 1241 1241 ))) 1242 1242 1243 1243 1244 -* Downlink Payload (prefix 0xA5): 1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5): 1245 1245 1246 1246 (% class="box infomessage" %) 1247 1247 ((( ... ... @@ -1252,7 +1252,7 @@ 1252 1252 1253 1253 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1254 1254 1255 -* AT Command: 1198 +* (% style="color:#037691" %)AT Command: 1256 1256 1257 1257 (% class="box infomessage" %) 1258 1258 ((( ... ... @@ -1268,7 +1268,7 @@ 1268 1268 Bb cc dd ee: number to be set 1269 1269 1270 1270 1271 -* Downlink Payload (prefix 0xA8): 1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8): 1272 1272 1273 1273 (% class="box infomessage" %) 1274 1274 ((( ... ... @@ -1281,7 +1281,7 @@ 1281 1281 1282 1282 Clear counting for counting mode 1283 1283 1284 -* AT Command: 1227 +* (% style="color:#037691" %)AT Command: 1285 1285 1286 1286 (% class="box infomessage" %) 1287 1287 ((( ... ... @@ -1288,7 +1288,7 @@ 1288 1288 **AT+CLRCOUNT ~/~/ clear all counting** 1289 1289 ))) 1290 1290 1291 -* Downlink Payload (prefix 0xA6): 1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6): 1292 1292 1293 1293 (% class="box infomessage" %) 1294 1294 ((( ... ... @@ -1299,20 +1299,15 @@ 1299 1299 1300 1300 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1301 1301 1302 -* AT Command: 1245 +* (% style="color:#037691" %)**AT Command:** 1303 1303 1304 -(% class="box infomessage" %) 1305 -((( 1306 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1307 -))) 1247 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1308 1308 1309 -* Downlink Payload (prefix 0xA7): 1310 1310 1311 -(% class="box infomessage" %) 1312 -((( 1313 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1314 -))) 1250 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1315 1315 1252 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1253 + 1316 1316 ((( 1317 1317 range: aa bb cc:0 to 16777215, (unit:second) 1318 1318 ... ... @@ -2009,8 +2009,16 @@ 2009 2009 ))) 2010 2010 2011 2011 ((( 2012 - 1950 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2013 2013 1952 +If the device is not shut down, but directly powered off. 1953 + 1954 +It will default that this is a power-off state. 1955 + 1956 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1957 + 1958 +After restart, the status before power failure will be read from flash. 1959 + 2014 2014 = 6. Trouble Shooting = 2015 2015 ))) 2016 2016