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. ... ... @@ -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 ))) ... ... @@ -473,8 +473,6 @@ 473 473 474 474 ((( 475 475 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 476 - 477 - 478 478 ))) 479 479 480 480 ... ... @@ -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,7 +631,7 @@ 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 634 -**AT Command to set Trigger Condition**: 581 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 635 635 636 636 (% style="color:#4f81bd" %)**Trigger base on voltage**: 637 637 ... ... @@ -667,7 +667,7 @@ 667 667 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 668 668 669 669 670 -**Downlink Command to set Trigger Condition:** 617 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 671 671 672 672 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 673 673 ... ... @@ -760,7 +760,6 @@ 760 760 ))) 761 761 762 762 763 - 764 764 == 3.4 Configure LT via AT or Downlink == 765 765 766 766 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -773,6 +773,8 @@ 773 773 774 774 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 775 775 722 + 723 + 776 776 === 3.4.1 Common Commands === 777 777 778 778 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]] ... ... @@ -785,7 +785,7 @@ 785 785 786 786 Set device uplink interval. 787 787 788 -* AT Command: 736 +* (% style="color:#037691" %)**AT Command:** 789 789 790 790 (% class="box infomessage" %) 791 791 ((( ... ... @@ -795,7 +795,7 @@ 795 795 **Example: **AT+TDC=30000. Means set interval to 30 seconds 796 796 797 797 798 -* Downlink Payload (prefix 0x01): 746 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 799 799 800 800 (% class="box infomessage" %) 801 801 ((( ... ... @@ -808,7 +808,7 @@ 808 808 809 809 Set work mode. 810 810 811 -* AT Command: 759 +* (% style="color:#037691" %)**AT Command:** 812 812 813 813 (% class="box infomessage" %) 814 814 ((( ... ... @@ -818,7 +818,7 @@ 818 818 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 819 819 820 820 821 -* Downlink Payload (prefix 0x0A): 769 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 822 822 823 823 (% class="box infomessage" %) 824 824 ((( ... ... @@ -829,12 +829,12 @@ 829 829 830 830 ==== 3.4.2.3 Poll an uplink ==== 831 831 832 -* AT Command: 780 +* (% style="color:#037691" %)AT Command: 833 833 834 834 There is no AT Command to poll uplink 835 835 836 836 837 -* Downlink Payload (prefix 0x08): 785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 838 838 839 839 (% class="box infomessage" %) 840 840 ((( ... ... @@ -849,7 +849,7 @@ 849 849 850 850 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 851 851 852 -* AT Command: 800 +* (% style="color:#037691" %)AT Command: 853 853 854 854 (% class="box infomessage" %) 855 855 ((( ... ... @@ -861,7 +861,7 @@ 861 861 0: Disable Trigger Mode 862 862 863 863 864 -* Downlink Payload (prefix 0x0A 06): 812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 865 865 866 866 (% class="box infomessage" %) 867 867 ((( ... ... @@ -874,12 +874,12 @@ 874 874 875 875 Poll trigger settings, 876 876 877 -* AT Command: 825 +* (% style="color:#037691" %)AT Command: 878 878 879 879 There is no AT Command for this feature. 880 880 881 881 882 -* Downlink Payload (prefix 0x AB 06): 830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 883 883 884 884 (% class="box infomessage" %) 885 885 ((( ... ... @@ -892,7 +892,7 @@ 892 892 893 893 Enable Disable DI1/DI2/DI2 as trigger, 894 894 895 -* AT Command: 843 +* (% style="color:#037691" %)AT Command: 896 896 897 897 (% class="box infomessage" %) 898 898 ((( ... ... @@ -904,7 +904,7 @@ 904 904 905 905 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 906 906 907 -* Downlink Payload (prefix 0xAA 02): 855 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 908 908 909 909 (% class="box infomessage" %) 910 910 ((( ... ... @@ -917,7 +917,7 @@ 917 917 918 918 Set DI1 or DI3(for LT-33222-L) trigger. 919 919 920 -* AT Command: 868 +* (% style="color:#037691" %)AT Command: 921 921 922 922 (% class="box infomessage" %) 923 923 ((( ... ... @@ -934,7 +934,7 @@ 934 934 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 935 935 936 936 937 -* Downlink Payload (prefix 0x09 01 ): 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 938 938 939 939 (% class="box infomessage" %) 940 940 ((( ... ... @@ -947,7 +947,7 @@ 947 947 948 948 Set DI2 trigger. 949 949 950 -* AT Command: 898 +* (% style="color:#037691" %)AT Command: 951 951 952 952 (% class="box infomessage" %) 953 953 ((( ... ... @@ -964,7 +964,7 @@ 964 964 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 965 965 966 966 967 -* Downlink Payload (prefix 0x09 02 ): 915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 968 968 969 969 (% class="box infomessage" %) 970 970 ((( ... ... @@ -977,7 +977,7 @@ 977 977 978 978 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 979 979 980 -* AT Command: 928 +* (% style="color:#037691" %)AT Command: 981 981 982 982 (% class="box infomessage" %) 983 983 ((( ... ... @@ -985,7 +985,7 @@ 985 985 ))) 986 986 987 987 988 -* Downlink Payload (prefix 0xAA 01 ): 936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 989 989 990 990 (% class="box infomessage" %) 991 991 ((( ... ... @@ -998,7 +998,7 @@ 998 998 999 999 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1000 1000 1001 -* AT Command: 949 +* (% style="color:#037691" %)AT Command: 1002 1002 1003 1003 (% class="box infomessage" %) 1004 1004 ((( ... ... @@ -1006,7 +1006,7 @@ 1006 1006 ))) 1007 1007 1008 1008 1009 -* Downlink Payload (prefix 0xAA 00 ): 957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 1010 1010 1011 1011 (% class="box infomessage" %) 1012 1012 ((( ... ... @@ -1019,7 +1019,7 @@ 1019 1019 1020 1020 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 1021 1021 1022 -* AT Command: 970 +* (% style="color:#037691" %)AT Command: 1023 1023 1024 1024 (% class="box infomessage" %) 1025 1025 ((( ... ... @@ -1027,7 +1027,7 @@ 1027 1027 ))) 1028 1028 1029 1029 1030 -* Downlink Payload (prefix 0xAC ): 978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 1031 1031 1032 1032 (% class="box infomessage" %) 1033 1033 ((( ... ... @@ -1038,12 +1038,12 @@ 1038 1038 1039 1039 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1040 1040 1041 -* AT Command: 989 +* (% style="color:#037691" %)AT Command: 1042 1042 1043 1043 There is no AT Command to control Digital Output 1044 1044 1045 1045 1046 -* Downlink Payload (prefix 0x02): 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 1047 1047 1048 1048 (% class="box infomessage" %) 1049 1049 ((( ... ... @@ -1072,12 +1072,12 @@ 1072 1072 1073 1073 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1074 1074 1075 -* AT Command: 1023 +* (% style="color:#037691" %)AT Command: 1076 1076 1077 1077 There is no AT Command to control Digital Output 1078 1078 1079 1079 1080 -* Downlink Payload (prefix 0xA9): 1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 1081 1081 1082 1082 (% class="box infomessage" %) 1083 1083 ((( ... ... @@ -1141,12 +1141,12 @@ 1141 1141 1142 1142 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1143 1143 1144 -* AT Command: 1092 +* (% style="color:#037691" %)AT Command: 1145 1145 1146 1146 There is no AT Command to control Relay Output 1147 1147 1148 1148 1149 -* Downlink Payload (prefix 0x03): 1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1150 1150 1151 1151 (% class="box infomessage" %) 1152 1152 ((( ... ... @@ -1171,18 +1171,16 @@ 1171 1171 1172 1172 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1173 1173 1174 -* AT Command: 1122 +* (% style="color:#037691" %)AT Command: 1175 1175 1176 1176 There is no AT Command to control Relay Output 1177 1177 1178 1178 1179 -* Downlink Payload (prefix 0x05): 1127 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1180 1180 1181 -(% class="box infomessage" %) 1182 -((( 1183 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1184 -))) 1129 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1185 1185 1131 + 1186 1186 This is to control the relay output time of relay. Include four bytes: 1187 1187 1188 1188 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1224,35 +1224,28 @@ 1224 1224 1225 1225 1226 1226 1173 + 1227 1227 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1228 1228 1229 1229 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1230 1230 1231 -* AT Command: 1178 +* (% style="color:#037691" %)**AT Command:** 1232 1232 1233 -(% class="box infomessage" %) 1234 -((( 1235 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1236 -))) 1180 +(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1237 1237 1238 1238 1239 -* Downlink Payload (prefix 0xA5): 1183 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1240 1240 1241 -(% class="box infomessage" %) 1242 -((( 1243 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1244 -))) 1185 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1245 1245 1246 1246 1247 1247 1189 + 1248 1248 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1249 1249 1250 -* AT Command: 1192 +* (% style="color:#037691" %)**AT Command:** 1251 1251 1252 -(% class="box infomessage" %) 1253 -((( 1254 -**AT+SETCNT=aa,(bb cc dd ee) ** 1255 -))) 1194 +(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1256 1256 1257 1257 aa: 1: Set count1, 1258 1258 ... ... @@ -1263,51 +1263,40 @@ 1263 1263 Bb cc dd ee: number to be set 1264 1264 1265 1265 1266 -* Downlink Payload (prefix 0xA8): 1205 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1267 1267 1268 -(% class="box infomessage" %) 1269 -((( 1270 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1271 -))) 1207 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1272 1272 1273 1273 1274 1274 1211 + 1275 1275 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1276 1276 1277 1277 Clear counting for counting mode 1278 1278 1279 -* AT Command: 1216 +* (% style="color:#037691" %)**AT Command:** 1280 1280 1281 -(% class="box infomessage" %) 1282 -((( 1283 -**AT+CLRCOUNT ~/~/ clear all counting** 1284 -))) 1218 +(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1285 1285 1286 -* Downlink Payload (prefix 0xA6): 1287 1287 1288 -(% class="box infomessage" %) 1289 -((( 1290 -**0x A6 01 ~/~/ clear all counting,** 1291 -))) 1221 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1292 1292 1223 +**0x A6 01 ** ~/~/ clear all counting 1293 1293 1294 1294 1226 + 1227 + 1295 1295 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1296 1296 1297 -* AT Command: 1230 +* (% style="color:#037691" %)**AT Command:** 1298 1298 1299 -(% class="box infomessage" %) 1300 -((( 1301 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1302 -))) 1232 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1303 1303 1304 -* Downlink Payload (prefix 0xA7): 1305 1305 1306 -(% class="box infomessage" %) 1307 -((( 1308 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1309 -))) 1235 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1310 1310 1237 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1238 + 1311 1311 ((( 1312 1312 range: aa bb cc:0 to 16777215, (unit:second) 1313 1313 ... ... @@ -1315,6 +1315,7 @@ 1315 1315 ))) 1316 1316 1317 1317 1246 + 1318 1318 == 3.5 Integrate with Mydevice == 1319 1319 1320 1320 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: ... ... @@ -2004,8 +2004,16 @@ 2004 2004 ))) 2005 2005 2006 2006 ((( 2007 - 1936 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2008 2008 1938 +If the device is not shut down, but directly powered off. 1939 + 1940 +It will default that this is a power-off state. 1941 + 1942 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1943 + 1944 +After restart, the status before power failure will be read from flash. 1945 + 2009 2009 = 6. Trouble Shooting = 2010 2010 ))) 2011 2011