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
-
... ... @@ -183,6 +183,7 @@ 183 183 184 184 185 185 186 + 186 186 == 1.4 Applications == 187 187 188 188 * Smart Buildings & Home Automation ... ... @@ -194,6 +194,7 @@ 194 194 195 195 196 196 198 + 197 197 == 1.5 Hardware Variants == 198 198 199 199 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -208,6 +208,7 @@ 208 208 ))) 209 209 210 210 213 + 211 211 = 2. Power ON Device = 212 212 213 213 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. ... ... @@ -290,6 +290,7 @@ 290 290 291 291 292 292 296 + 293 293 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 294 294 295 295 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -343,8 +343,6 @@ 343 343 ** DO1 is high in case there is load between DO1 and V+. 344 344 ** DO1 LED is off in both case 345 345 346 - 347 - 348 348 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 349 349 350 350 ... ... @@ -381,7 +381,12 @@ 381 381 ((( 382 382 ((( 383 383 **AT+MOD=2** 386 +))) 387 +))) 384 384 389 +(% class="box infomessage" %) 390 +((( 391 +((( 385 385 **ATZ** 386 386 ))) 387 387 ))) ... ... @@ -400,15 +400,40 @@ 400 400 ((( 401 401 ((( 402 402 **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 410 +))) 411 +))) 403 403 413 +(% class="box infomessage" %) 414 +((( 415 +((( 404 404 **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 417 +))) 418 +))) 405 405 420 +(% class="box infomessage" %) 421 +((( 422 +((( 406 406 **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 424 +))) 425 +))) 407 407 427 +(% class="box infomessage" %) 428 +((( 429 +((( 408 408 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 431 +))) 432 +))) 409 409 434 +(% class="box infomessage" %) 435 +((( 436 +((( 410 410 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 438 +))) 439 +))) 411 411 441 +(% class="box infomessage" %) 442 +((( 443 +((( 412 412 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 413 413 ))) 414 414 ))) ... ... @@ -443,7 +443,12 @@ 443 443 ((( 444 444 ((( 445 445 **AT+MOD=3** 478 +))) 479 +))) 446 446 481 +(% class="box infomessage" %) 482 +((( 483 +((( 447 447 **ATZ** 448 448 ))) 449 449 ))) ... ... @@ -488,13 +488,20 @@ 488 488 ((( 489 489 ((( 490 490 **AT+MOD=4** 528 +))) 529 +))) 491 491 531 +(% class="box infomessage" %) 532 +((( 533 +((( 492 492 **ATZ** 493 493 ))) 494 494 ))) 495 495 538 +((( 539 + 540 +))) 496 496 497 - 498 498 ((( 499 499 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 500 500 ))) ... ... @@ -508,17 +508,33 @@ 508 508 (% class="box infomessage" %) 509 509 ((( 510 510 ((( 511 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 555 +**AT+SETCNT=3,60 (set AVI Count to 60)** 556 +))) 557 +))) 512 512 513 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 559 +(% class="box infomessage" %) 560 +((( 561 +((( 562 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 563 +))) 564 +))) 514 514 515 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 566 +(% class="box infomessage" %) 567 +((( 568 +((( 569 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 570 +))) 571 +))) 516 516 517 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 573 +(% class="box infomessage" %) 574 +((( 575 +((( 576 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 518 518 ))) 519 519 ))) 520 520 521 521 581 + 522 522 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 523 523 524 524 ... ... @@ -552,7 +552,12 @@ 552 552 ((( 553 553 ((( 554 554 **AT+MOD=5** 615 +))) 616 +))) 555 555 618 +(% class="box infomessage" %) 619 +((( 620 +((( 556 556 **ATZ** 557 557 ))) 558 558 ))) ... ... @@ -578,7 +578,7 @@ 578 578 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 579 579 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.** 580 580 581 - (% style="color:#037691" %)**AT Command to set Trigger Condition**:646 +**AT Command to set Trigger Condition**: 582 582 583 583 (% style="color:#4f81bd" %)**Trigger base on voltage**: 584 584 ... ... @@ -614,7 +614,7 @@ 614 614 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 615 615 616 616 617 - (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**682 +**Downlink Command to set Trigger Condition:** 618 618 619 619 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 620 620 ... ... @@ -719,8 +719,6 @@ 719 719 720 720 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 721 721 722 - 723 - 724 724 === 3.4.1 Common Commands === 725 725 726 726 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]] ... ... @@ -733,7 +733,7 @@ 733 733 734 734 Set device uplink interval. 735 735 736 -* (% style="color:#037691" %)**AT Command:**799 +* AT Command: 737 737 738 738 (% class="box infomessage" %) 739 739 ((( ... ... @@ -743,7 +743,7 @@ 743 743 **Example: **AT+TDC=30000. Means set interval to 30 seconds 744 744 745 745 746 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**809 +* Downlink Payload (prefix 0x01): 747 747 748 748 (% class="box infomessage" %) 749 749 ((( ... ... @@ -756,7 +756,7 @@ 756 756 757 757 Set work mode. 758 758 759 -* (% style="color:#037691" %)**AT Command:**822 +* AT Command: 760 760 761 761 (% class="box infomessage" %) 762 762 ((( ... ... @@ -766,7 +766,7 @@ 766 766 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 767 767 768 768 769 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**832 +* Downlink Payload (prefix 0x0A): 770 770 771 771 (% class="box infomessage" %) 772 772 ((( ... ... @@ -777,12 +777,12 @@ 777 777 778 778 ==== 3.4.2.3 Poll an uplink ==== 779 779 780 -* (% style="color:#037691" %)AT Command:843 +* AT Command: 781 781 782 782 There is no AT Command to poll uplink 783 783 784 784 785 -* (% style="color:#037691" %)Downlink Payload (prefix 0x08):848 +* Downlink Payload (prefix 0x08): 786 786 787 787 (% class="box infomessage" %) 788 788 ((( ... ... @@ -797,7 +797,7 @@ 797 797 798 798 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 799 799 800 -* (% style="color:#037691" %)AT Command:863 +* AT Command: 801 801 802 802 (% class="box infomessage" %) 803 803 ((( ... ... @@ -809,7 +809,7 @@ 809 809 0: Disable Trigger Mode 810 810 811 811 812 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):875 +* Downlink Payload (prefix 0x0A 06): 813 813 814 814 (% class="box infomessage" %) 815 815 ((( ... ... @@ -822,12 +822,12 @@ 822 822 823 823 Poll trigger settings, 824 824 825 -* (% style="color:#037691" %)AT Command:888 +* AT Command: 826 826 827 827 There is no AT Command for this feature. 828 828 829 829 830 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):893 +* Downlink Payload (prefix 0x AB 06): 831 831 832 832 (% class="box infomessage" %) 833 833 ((( ... ... @@ -840,7 +840,7 @@ 840 840 841 841 Enable Disable DI1/DI2/DI2 as trigger, 842 842 843 -* (% style="color:#037691" %)AT Command:906 +* AT Command: 844 844 845 845 (% class="box infomessage" %) 846 846 ((( ... ... @@ -852,7 +852,7 @@ 852 852 853 853 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 854 854 855 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):918 +* Downlink Payload (prefix 0xAA 02): 856 856 857 857 (% class="box infomessage" %) 858 858 ((( ... ... @@ -865,7 +865,7 @@ 865 865 866 866 Set DI1 or DI3(for LT-33222-L) trigger. 867 867 868 -* (% style="color:#037691" %)AT Command:931 +* AT Command: 869 869 870 870 (% class="box infomessage" %) 871 871 ((( ... ... @@ -882,7 +882,7 @@ 882 882 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 883 883 884 884 885 -* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ):948 +* Downlink Payload (prefix 0x09 01 ): 886 886 887 887 (% class="box infomessage" %) 888 888 ((( ... ... @@ -895,7 +895,7 @@ 895 895 896 896 Set DI2 trigger. 897 897 898 -* (% style="color:#037691" %)AT Command:961 +* AT Command: 899 899 900 900 (% class="box infomessage" %) 901 901 ((( ... ... @@ -912,7 +912,7 @@ 912 912 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 913 913 914 914 915 -* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ):978 +* Downlink Payload (prefix 0x09 02 ): 916 916 917 917 (% class="box infomessage" %) 918 918 ((( ... ... @@ -925,7 +925,7 @@ 925 925 926 926 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 927 927 928 -* (% style="color:#037691" %)AT Command:991 +* AT Command: 929 929 930 930 (% class="box infomessage" %) 931 931 ((( ... ... @@ -933,7 +933,7 @@ 933 933 ))) 934 934 935 935 936 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ):999 +* Downlink Payload (prefix 0xAA 01 ): 937 937 938 938 (% class="box infomessage" %) 939 939 ((( ... ... @@ -946,7 +946,7 @@ 946 946 947 947 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 948 948 949 -* (% style="color:#037691" %)AT Command:1012 +* AT Command: 950 950 951 951 (% class="box infomessage" %) 952 952 ((( ... ... @@ -954,7 +954,7 @@ 954 954 ))) 955 955 956 956 957 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ):1020 +* Downlink Payload (prefix 0xAA 00 ): 958 958 959 959 (% class="box infomessage" %) 960 960 ((( ... ... @@ -967,7 +967,7 @@ 967 967 968 968 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 969 969 970 -* (% style="color:#037691" %)AT Command:1033 +* AT Command: 971 971 972 972 (% class="box infomessage" %) 973 973 ((( ... ... @@ -975,7 +975,7 @@ 975 975 ))) 976 976 977 977 978 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC ):**1041 +* Downlink Payload (prefix 0xAC ): 979 979 980 980 (% class="box infomessage" %) 981 981 ((( ... ... @@ -986,14 +986,17 @@ 986 986 987 987 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 988 988 989 -* (% style="color:#037691" %)**AT Command:**1052 +* AT Command: 990 990 991 991 There is no AT Command to control Digital Output 992 992 993 993 994 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02):** 995 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1057 +* Downlink Payload (prefix 0x02): 996 996 1059 +(% class="box infomessage" %) 1060 +((( 1061 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1062 +))) 997 997 998 998 ((( 999 999 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. ... ... @@ -1015,19 +1015,22 @@ 1015 1015 1016 1016 1017 1017 1018 - 1019 1019 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1020 1020 1021 -* (% style="color:#037691" %)**AT Command:**1086 +* AT Command: 1022 1022 1023 1023 There is no AT Command to control Digital Output 1024 1024 1025 1025 1026 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9):**1091 +* Downlink Payload (prefix 0xA9): 1027 1027 1028 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1093 +(% class="box infomessage" %) 1094 +((( 1095 +((( 1096 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1097 +))) 1098 +))) 1029 1029 1030 - 1031 1031 This is to control the digital output time of DO pin. Include four bytes: 1032 1032 1033 1033 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1081,19 +1081,20 @@ 1081 1081 1082 1082 1083 1083 1084 - 1085 1085 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1086 1086 1087 -* (% style="color:#037691" %)**AT Command:**1155 +* AT Command: 1088 1088 1089 1089 There is no AT Command to control Relay Output 1090 1090 1091 1091 1092 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**1160 +* Downlink Payload (prefix 0x03): 1093 1093 1094 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1162 +(% class="box infomessage" %) 1163 +((( 1164 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1165 +))) 1095 1095 1096 - 1097 1097 ((( 1098 1098 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1099 1099 ))) ... ... @@ -1110,19 +1110,20 @@ 1110 1110 1111 1111 1112 1112 1113 - 1114 1114 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1115 1115 1116 -* (% style="color:#037691" %)**AT Command:**1185 +* AT Command: 1117 1117 1118 1118 There is no AT Command to control Relay Output 1119 1119 1120 1120 1121 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**1190 +* Downlink Payload (prefix 0x05): 1122 1122 1123 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1192 +(% class="box infomessage" %) 1193 +((( 1194 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1195 +))) 1124 1124 1125 - 1126 1126 This is to control the relay output time of relay. Include four bytes: 1127 1127 1128 1128 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1164,28 +1164,35 @@ 1164 1164 1165 1165 1166 1166 1167 - 1168 1168 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1169 1169 1170 1170 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1171 1171 1172 -* (% style="color:#037691" %)**AT Command:**1242 +* AT Command: 1173 1173 1174 -(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1244 +(% class="box infomessage" %) 1245 +((( 1246 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1247 +))) 1175 1175 1176 1176 1177 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**1250 +* Downlink Payload (prefix 0xA5): 1178 1178 1179 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1252 +(% class="box infomessage" %) 1253 +((( 1254 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1255 +))) 1180 1180 1181 1181 1182 1182 1183 - 1184 1184 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1185 1185 1186 -* (% style="color:#037691" %)**AT Command:**1261 +* AT Command: 1187 1187 1188 -(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1263 +(% class="box infomessage" %) 1264 +((( 1265 +**AT+SETCNT=aa,(bb cc dd ee) ** 1266 +))) 1189 1189 1190 1190 aa: 1: Set count1, 1191 1191 ... ... @@ -1196,40 +1196,51 @@ 1196 1196 Bb cc dd ee: number to be set 1197 1197 1198 1198 1199 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**1277 +* Downlink Payload (prefix 0xA8): 1200 1200 1201 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1279 +(% class="box infomessage" %) 1280 +((( 1281 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1282 +))) 1202 1202 1203 1203 1204 1204 1205 - 1206 1206 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1207 1207 1208 1208 Clear counting for counting mode 1209 1209 1210 -* (% style="color:#037691" %)**AT Command:**1290 +* AT Command: 1211 1211 1212 -(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1292 +(% class="box infomessage" %) 1293 +((( 1294 +**AT+CLRCOUNT ~/~/ clear all counting** 1295 +))) 1213 1213 1297 +* Downlink Payload (prefix 0xA6): 1214 1214 1215 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1299 +(% class="box infomessage" %) 1300 +((( 1301 +**0x A6 01 ~/~/ clear all counting,** 1302 +))) 1216 1216 1217 -**0x A6 01 ** ~/~/ clear all counting 1218 1218 1219 1219 1220 - 1221 - 1222 1222 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1223 1223 1224 -* (% style="color:#037691" %)**AT Command:**1308 +* AT Command: 1225 1225 1226 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1310 +(% class="box infomessage" %) 1311 +((( 1312 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1313 +))) 1227 1227 1315 +* Downlink Payload (prefix 0xA7): 1228 1228 1229 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1317 +(% class="box infomessage" %) 1318 +((( 1319 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1320 +))) 1230 1230 1231 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1232 - 1233 1233 ((( 1234 1234 range: aa bb cc:0 to 16777215, (unit:second) 1235 1235 ... ... @@ -1237,7 +1237,6 @@ 1237 1237 ))) 1238 1238 1239 1239 1240 - 1241 1241 == 3.5 Integrate with Mydevice == 1242 1242 1243 1243 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: