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 ((( ... ... @@ -162,6 +162,10 @@ 162 162 ))) 163 163 * ((( 164 164 Packet engine up to 256 bytes with CRC. 168 + 169 + 170 + 171 + 165 165 ))) 166 166 167 167 == 1.3 Features == ... ... @@ -174,6 +174,8 @@ 174 174 * Firmware upgradable via program port 175 175 * Counting 176 176 184 + 185 + 177 177 == 1.4 Applications == 178 178 179 179 * Smart Buildings & Home Automation ... ... @@ -183,6 +183,8 @@ 183 183 * Smart Cities 184 184 * Smart Factory 185 185 195 + 196 + 186 186 == 1.5 Hardware Variants == 187 187 188 188 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -196,6 +196,7 @@ 196 196 * 1 x Counting Port 197 197 ))) 198 198 210 + 199 199 = 2. Power ON Device = 200 200 201 201 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. ... ... @@ -277,6 +277,7 @@ 277 277 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 278 278 279 279 292 + 280 280 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 281 281 282 282 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -315,8 +315,6 @@ 315 315 * [1] RO1 relay channel is close and the RO1 LED is ON. 316 316 * [0] RO2 relay channel is open and RO2 LED is OFF; 317 317 318 - 319 - 320 320 **LT22222-L:** 321 321 322 322 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -333,6 +333,7 @@ 333 333 ** DO1 LED is off in both case 334 334 335 335 347 + 336 336 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 337 337 338 338 ... ... @@ -369,12 +369,7 @@ 369 369 ((( 370 370 ((( 371 371 **AT+MOD=2** 372 -))) 373 -))) 374 374 375 -(% class="box infomessage" %) 376 -((( 377 -((( 378 378 **ATZ** 379 379 ))) 380 380 ))) ... ... @@ -393,40 +393,15 @@ 393 393 ((( 394 394 ((( 395 395 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 396 -))) 397 -))) 398 398 399 -(% class="box infomessage" %) 400 -((( 401 -((( 402 402 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 403 -))) 404 -))) 405 405 406 -(% class="box infomessage" %) 407 -((( 408 -((( 409 409 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 410 -))) 411 -))) 412 412 413 -(% class="box infomessage" %) 414 -((( 415 -((( 416 416 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 417 -))) 418 -))) 419 419 420 -(% class="box infomessage" %) 421 -((( 422 -((( 423 423 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 424 -))) 425 -))) 426 426 427 -(% class="box infomessage" %) 428 -((( 429 -((( 430 430 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 431 431 ))) 432 432 ))) ... ... @@ -461,12 +461,7 @@ 461 461 ((( 462 462 ((( 463 463 **AT+MOD=3** 464 -))) 465 -))) 466 466 467 -(% class="box infomessage" %) 468 -((( 469 -((( 470 470 **ATZ** 471 471 ))) 472 472 ))) ... ... @@ -511,20 +511,13 @@ 511 511 ((( 512 512 ((( 513 513 **AT+MOD=4** 514 -))) 515 -))) 516 516 517 -(% class="box infomessage" %) 518 -((( 519 -((( 520 520 **ATZ** 521 521 ))) 522 522 ))) 523 523 524 -((( 525 - 526 -))) 527 527 497 + 528 528 ((( 529 529 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 530 530 ))) ... ... @@ -538,33 +538,17 @@ 538 538 (% class="box infomessage" %) 539 539 ((( 540 540 ((( 541 -**AT+SETCNT=3,60 (set AVI Count to 60)** 542 -))) 543 -))) 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 544 544 545 -(% class="box infomessage" %) 546 -((( 547 -((( 548 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 549 -))) 550 -))) 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 551 551 552 -(% class="box infomessage" %) 553 -((( 554 -((( 555 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 556 -))) 557 -))) 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 558 558 559 -(% class="box infomessage" %) 560 -((( 561 -((( 562 -**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)** 563 563 ))) 564 564 ))) 565 565 566 566 567 - 568 568 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 569 569 570 570 ... ... @@ -598,12 +598,7 @@ 598 598 ((( 599 599 ((( 600 600 **AT+MOD=5** 601 -))) 602 -))) 603 603 604 -(% class="box infomessage" %) 605 -((( 606 -((( 607 607 **ATZ** 608 608 ))) 609 609 ))) ... ... @@ -629,7 +629,7 @@ 629 629 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 630 630 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.** 631 631 632 -**AT Command to set Trigger Condition**: 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 633 633 634 634 (% style="color:#4f81bd" %)**Trigger base on voltage**: 635 635 ... ... @@ -665,7 +665,7 @@ 665 665 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 666 666 667 667 668 -**Downlink Command to set Trigger Condition:** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 669 669 670 670 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 671 671 ... ... @@ -770,6 +770,8 @@ 770 770 771 771 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 772 772 722 + 723 + 773 773 === 3.4.1 Common Commands === 774 774 775 775 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]] ... ... @@ -782,7 +782,7 @@ 782 782 783 783 Set device uplink interval. 784 784 785 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 786 786 787 787 (% class="box infomessage" %) 788 788 ((( ... ... @@ -792,7 +792,7 @@ 792 792 **Example: **AT+TDC=30000. Means set interval to 30 seconds 793 793 794 794 795 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 796 796 797 797 (% class="box infomessage" %) 798 798 ((( ... ... @@ -805,7 +805,7 @@ 805 805 806 806 Set work mode. 807 807 808 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 809 809 810 810 (% class="box infomessage" %) 811 811 ((( ... ... @@ -815,7 +815,7 @@ 815 815 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 816 816 817 817 818 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 819 819 820 820 (% class="box infomessage" %) 821 821 ((( ... ... @@ -826,12 +826,12 @@ 826 826 827 827 ==== 3.4.2.3 Poll an uplink ==== 828 828 829 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 830 830 831 831 There is no AT Command to poll uplink 832 832 833 833 834 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 835 835 836 836 (% class="box infomessage" %) 837 837 ((( ... ... @@ -846,7 +846,7 @@ 846 846 847 847 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 848 848 849 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 850 850 851 851 (% class="box infomessage" %) 852 852 ((( ... ... @@ -858,7 +858,7 @@ 858 858 0: Disable Trigger Mode 859 859 860 860 861 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 862 862 863 863 (% class="box infomessage" %) 864 864 ((( ... ... @@ -871,12 +871,12 @@ 871 871 872 872 Poll trigger settings, 873 873 874 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 875 875 876 876 There is no AT Command for this feature. 877 877 878 878 879 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 880 880 881 881 (% class="box infomessage" %) 882 882 ((( ... ... @@ -889,7 +889,7 @@ 889 889 890 890 Enable Disable DI1/DI2/DI2 as trigger, 891 891 892 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 893 893 894 894 (% class="box infomessage" %) 895 895 ((( ... ... @@ -901,7 +901,7 @@ 901 901 902 902 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 903 903 904 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 905 905 906 906 (% class="box infomessage" %) 907 907 ((( ... ... @@ -914,7 +914,7 @@ 914 914 915 915 Set DI1 or DI3(for LT-33222-L) trigger. 916 916 917 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 918 918 919 919 (% class="box infomessage" %) 920 920 ((( ... ... @@ -931,7 +931,7 @@ 931 931 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 932 932 933 933 934 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 935 935 936 936 (% class="box infomessage" %) 937 937 ((( ... ... @@ -944,7 +944,7 @@ 944 944 945 945 Set DI2 trigger. 946 946 947 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 948 948 949 949 (% class="box infomessage" %) 950 950 ((( ... ... @@ -961,7 +961,7 @@ 961 961 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 962 962 963 963 964 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 965 965 966 966 (% class="box infomessage" %) 967 967 ((( ... ... @@ -974,7 +974,7 @@ 974 974 975 975 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 976 976 977 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 978 978 979 979 (% class="box infomessage" %) 980 980 ((( ... ... @@ -982,7 +982,7 @@ 982 982 ))) 983 983 984 984 985 -* Downlink Payload (prefix 0xAA 01 ): 936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 986 986 987 987 (% class="box infomessage" %) 988 988 ((( ... ... @@ -995,7 +995,7 @@ 995 995 996 996 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 997 997 998 -* AT Command: 949 +* (% style="color:#037691" %)AT Command: 999 999 1000 1000 (% class="box infomessage" %) 1001 1001 ((( ... ... @@ -1003,7 +1003,7 @@ 1003 1003 ))) 1004 1004 1005 1005 1006 -* Downlink Payload (prefix 0xAA 00 ): 957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 1007 1007 1008 1008 (% class="box infomessage" %) 1009 1009 ((( ... ... @@ -1016,7 +1016,7 @@ 1016 1016 1017 1017 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1018 1018 1019 -* AT Command: 970 +* (% style="color:#037691" %)AT Command: 1020 1020 1021 1021 (% class="box infomessage" %) 1022 1022 ((( ... ... @@ -1024,7 +1024,7 @@ 1024 1024 ))) 1025 1025 1026 1026 1027 -* Downlink Payload (prefix 0xAC ): 978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 1028 1028 1029 1029 (% class="box infomessage" %) 1030 1030 ((( ... ... @@ -1035,12 +1035,12 @@ 1035 1035 1036 1036 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1037 1037 1038 -* AT Command: 989 +* (% style="color:#037691" %)AT Command: 1039 1039 1040 1040 There is no AT Command to control Digital Output 1041 1041 1042 1042 1043 -* Downlink Payload (prefix 0x02): 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 1044 1044 1045 1045 (% class="box infomessage" %) 1046 1046 ((( ... ... @@ -1069,12 +1069,12 @@ 1069 1069 1070 1070 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1071 1071 1072 -* AT Command: 1023 +* (% style="color:#037691" %)AT Command: 1073 1073 1074 1074 There is no AT Command to control Digital Output 1075 1075 1076 1076 1077 -* Downlink Payload (prefix 0xA9): 1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 1078 1078 1079 1079 (% class="box infomessage" %) 1080 1080 ((( ... ... @@ -1138,12 +1138,12 @@ 1138 1138 1139 1139 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1140 1140 1141 -* AT Command: 1092 +* (% style="color:#037691" %)AT Command: 1142 1142 1143 1143 There is no AT Command to control Relay Output 1144 1144 1145 1145 1146 -* Downlink Payload (prefix 0x03): 1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1147 1147 1148 1148 (% class="box infomessage" %) 1149 1149 ((( ... ... @@ -1168,12 +1168,12 @@ 1168 1168 1169 1169 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1170 1170 1171 -* AT Command: 1122 +* (% style="color:#037691" %)AT Command: 1172 1172 1173 1173 There is no AT Command to control Relay Output 1174 1174 1175 1175 1176 -* Downlink Payload (prefix 0x05): 1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05): 1177 1177 1178 1178 (% class="box infomessage" %) 1179 1179 ((( ... ... @@ -1225,7 +1225,7 @@ 1225 1225 1226 1226 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1227 1227 1228 -* AT Command: 1179 +* (% style="color:#037691" %)AT Command: 1229 1229 1230 1230 (% class="box infomessage" %) 1231 1231 ((( ... ... @@ -1233,7 +1233,7 @@ 1233 1233 ))) 1234 1234 1235 1235 1236 -* Downlink Payload (prefix 0xA5): 1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5): 1237 1237 1238 1238 (% class="box infomessage" %) 1239 1239 ((( ... ... @@ -1244,7 +1244,7 @@ 1244 1244 1245 1245 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1246 1246 1247 -* AT Command: 1198 +* (% style="color:#037691" %)AT Command: 1248 1248 1249 1249 (% class="box infomessage" %) 1250 1250 ((( ... ... @@ -1260,7 +1260,7 @@ 1260 1260 Bb cc dd ee: number to be set 1261 1261 1262 1262 1263 -* Downlink Payload (prefix 0xA8): 1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8): 1264 1264 1265 1265 (% class="box infomessage" %) 1266 1266 ((( ... ... @@ -1273,7 +1273,7 @@ 1273 1273 1274 1274 Clear counting for counting mode 1275 1275 1276 -* AT Command: 1227 +* (% style="color:#037691" %)AT Command: 1277 1277 1278 1278 (% class="box infomessage" %) 1279 1279 ((( ... ... @@ -1280,7 +1280,7 @@ 1280 1280 **AT+CLRCOUNT ~/~/ clear all counting** 1281 1281 ))) 1282 1282 1283 -* Downlink Payload (prefix 0xA6): 1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6): 1284 1284 1285 1285 (% class="box infomessage" %) 1286 1286 ((( ... ... @@ -1291,7 +1291,7 @@ 1291 1291 1292 1292 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1293 1293 1294 -* AT Command: 1245 +* (% style="color:#037691" %)AT Command: 1295 1295 1296 1296 (% class="box infomessage" %) 1297 1297 ((( ... ... @@ -1298,7 +1298,7 @@ 1298 1298 **AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1299 1299 ))) 1300 1300 1301 -* Downlink Payload (prefix 0xA7): 1252 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA7): 1302 1302 1303 1303 (% class="box infomessage" %) 1304 1304 ((( ... ... @@ -2001,8 +2001,16 @@ 2001 2001 ))) 2002 2002 2003 2003 ((( 2004 - 1955 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2005 2005 1957 +If the device is not shut down, but directly powered off. 1958 + 1959 +It will default that this is a power-off state. 1960 + 1961 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1962 + 1963 +After restart, the status before power failure will be read from flash. 1964 + 2006 2006 = 6. Trouble Shooting = 2007 2007 ))) 2008 2008