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
-
... ... @@ -182,6 +182,7 @@ 182 182 * Counting 183 183 184 184 185 + 185 185 == 1.4 Applications == 186 186 187 187 * Smart Buildings & Home Automation ... ... @@ -192,6 +192,7 @@ 192 192 * Smart Factory 193 193 194 194 196 + 195 195 == 1.5 Hardware Variants == 196 196 197 197 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -206,8 +206,6 @@ 206 206 ))) 207 207 208 208 209 - 210 - 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. ... ... @@ -289,6 +289,7 @@ 289 289 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 290 290 291 291 292 + 292 292 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 293 293 294 294 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -343,6 +343,7 @@ 343 343 ** DO1 LED is off in both case 344 344 345 345 347 + 346 346 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 347 347 348 348 ... ... @@ -392,20 +392,24 @@ 392 392 393 393 ((( 394 394 **For LT22222-L:** 397 +))) 395 395 399 +(% class="box infomessage" %) 400 +((( 401 +((( 402 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 396 396 397 -**AT+TRIG1= 0,100lowlevel, valid signal is 100ms) **404 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 398 398 399 -**AT+TRIG 1=1,1001port to trigger onhighlevel, valid signal is 100ms406 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 400 400 401 -**AT+TRIG2= 0,100lowlevel, valid signal is 100ms) **408 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 402 402 403 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 404 - 405 405 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 406 406 407 407 **AT+SETCNT=2,60 (Set COUNT2 value to 60)** 408 408 ))) 414 +))) 409 409 410 410 411 411 ... ... @@ -497,19 +497,22 @@ 497 497 498 498 499 499 **Plus below command for AVI1 Counting:** 506 +))) 500 500 508 +(% class="box infomessage" %) 509 +((( 510 +((( 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 501 501 502 -(% style="color:blue" %)**AT+ SETCNT=3,60**(%%)**(set AVICountto60)**513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 503 503 504 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** higher than VOLMAX (20000mV =20v), counter increase 1)**515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 505 505 506 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 507 - 508 -(% style="color:blue" %)**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)** 509 509 ))) 519 +))) 510 510 511 511 512 - 513 513 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 514 514 515 515 ... ... @@ -569,7 +569,6 @@ 569 569 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 570 570 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.** 571 571 572 - 573 573 (% style="color:#037691" %)**AT Command to set Trigger Condition**: 574 574 575 575 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -712,6 +712,7 @@ 712 712 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 713 713 714 714 723 + 715 715 === 3.4.1 Common Commands === 716 716 717 717 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]] ... ... @@ -833,7 +833,10 @@ 833 833 834 834 * (% style="color:#037691" %)AT Command: 835 835 845 +(% class="box infomessage" %) 846 +((( 836 836 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 848 +))) 837 837 838 838 839 839 **Example:** ... ... @@ -842,11 +842,13 @@ 842 842 843 843 * (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 844 844 845 -**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 857 +(% class="box infomessage" %) 858 +((( 859 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 860 +))) 846 846 847 847 848 848 849 - 850 850 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 851 851 852 852 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -853,7 +853,10 @@ 853 853 854 854 * (% style="color:#037691" %)AT Command: 855 855 870 +(% class="box infomessage" %) 871 +((( 856 856 **AT+TRIG1=a,b** 873 +))) 857 857 858 858 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 859 859 ... ... @@ -865,20 +865,26 @@ 865 865 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 866 866 867 867 868 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 869 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 870 870 887 +(% class="box infomessage" %) 888 +((( 889 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 890 +))) 871 871 872 872 893 + 873 873 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 874 874 875 875 Set DI2 trigger. 876 876 877 -* (% style="color:#037691" %) **AT Command:**898 +* (% style="color:#037691" %)AT Command: 878 878 900 +(% class="box infomessage" %) 901 +((( 879 879 **AT+TRIG2=a,b** 903 +))) 880 880 881 - 882 882 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 883 883 884 884 b : delay timing. ... ... @@ -889,72 +889,93 @@ 889 889 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 890 890 891 891 892 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x09 02 ):**915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 893 893 894 -**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 917 +(% class="box infomessage" %) 918 +((( 919 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 920 +))) 895 895 896 896 897 897 898 - 899 899 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 900 900 901 901 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 902 902 903 -* (% style="color:#037691" %) **AT Command**928 +* (% style="color:#037691" %)AT Command: 904 904 905 -**AT+ACLIM** 930 +(% class="box infomessage" %) 931 +((( 932 +**AT+ACLIM. ** 933 +))) 906 906 907 907 908 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAA 01 )**936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 909 909 910 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 938 +(% class="box infomessage" %) 939 +((( 940 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 941 +))) 911 911 912 912 913 913 914 - 915 915 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 916 916 917 917 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 918 918 919 -* (% style="color:#037691" %) **AT Command**949 +* (% style="color:#037691" %)AT Command: 920 920 921 -**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 951 +(% class="box infomessage" %) 952 +((( 953 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 954 +))) 922 922 923 923 924 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAA 00 )**957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 925 925 926 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 959 +(% class="box infomessage" %) 960 +((( 961 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 962 +))) 927 927 928 928 929 929 930 - 931 931 ==== 3.4.2.11 Trigger – Set minimum interval ==== 932 932 933 933 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 934 934 935 -* (% style="color:#037691" %) **AT Command**970 +* (% style="color:#037691" %)AT Command: 936 936 972 +(% class="box infomessage" %) 973 +((( 937 937 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 975 +))) 938 938 939 939 940 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAC )**978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 941 941 942 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 980 +(% class="box infomessage" %) 981 +((( 982 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 983 +))) 943 943 944 944 945 945 946 - 947 947 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 948 948 949 -* (% style="color:#037691" %) **AT Command**989 +* (% style="color:#037691" %)AT Command: 950 950 951 951 There is no AT Command to control Digital Output 952 952 953 953 954 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 955 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 956 956 996 +(% class="box infomessage" %) 957 957 ((( 998 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 999 +))) 1000 + 1001 +((( 958 958 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 959 959 ))) 960 960 ... ... @@ -974,19 +974,22 @@ 974 974 975 975 976 976 977 - 978 978 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 979 979 980 -* (% style="color:#037691" %) **AT Command**1023 +* (% style="color:#037691" %)AT Command: 981 981 982 982 There is no AT Command to control Digital Output 983 983 984 984 985 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA9)**1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 986 986 987 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1030 +(% class="box infomessage" %) 1031 +((( 1032 +((( 1033 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1034 +))) 1035 +))) 988 988 989 - 990 990 This is to control the digital output time of DO pin. Include four bytes: 991 991 992 992 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1040,19 +1040,20 @@ 1040 1040 1041 1041 1042 1042 1043 - 1044 1044 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1045 1045 1046 -* (% style="color:#037691" %) **AT Command:**1092 +* (% style="color:#037691" %)AT Command: 1047 1047 1048 1048 There is no AT Command to control Relay Output 1049 1049 1050 1050 1051 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x03):**1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1052 1052 1053 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1099 +(% class="box infomessage" %) 1100 +((( 1101 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1102 +))) 1054 1054 1055 - 1056 1056 ((( 1057 1057 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1058 1058 ))) ... ... @@ -1069,19 +1069,20 @@ 1069 1069 1070 1070 1071 1071 1072 - 1073 1073 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1074 1074 1075 -* (% style="color:#037691" %) **AT Command:**1122 +* (% style="color:#037691" %)AT Command: 1076 1076 1077 1077 There is no AT Command to control Relay Output 1078 1078 1079 1079 1080 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x05):**1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05): 1081 1081 1082 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1129 +(% class="box infomessage" %) 1130 +((( 1131 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1132 +))) 1083 1083 1084 - 1085 1085 This is to control the relay output time of relay. Include four bytes: 1086 1086 1087 1087 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1123,28 +1123,35 @@ 1123 1123 1124 1124 1125 1125 1126 - 1127 1127 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1128 1128 1129 1129 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1130 1130 1131 -* (% style="color:#037691" %) **AT Command:**1179 +* (% style="color:#037691" %)AT Command: 1132 1132 1133 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1181 +(% class="box infomessage" %) 1182 +((( 1183 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1184 +))) 1134 1134 1135 1135 1136 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA5):**1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5): 1137 1137 1138 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1189 +(% class="box infomessage" %) 1190 +((( 1191 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1192 +))) 1139 1139 1140 1140 1141 1141 1142 - 1143 1143 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1144 1144 1145 -* (% style="color:#037691" %) **AT Command:**1198 +* (% style="color:#037691" %)AT Command: 1146 1146 1147 -(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1200 +(% class="box infomessage" %) 1201 +((( 1202 +**AT+SETCNT=aa,(bb cc dd ee) ** 1203 +))) 1148 1148 1149 1149 aa: 1: Set count1, 1150 1150 ... ... @@ -1155,40 +1155,51 @@ 1155 1155 Bb cc dd ee: number to be set 1156 1156 1157 1157 1158 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA8):**1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8): 1159 1159 1160 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1216 +(% class="box infomessage" %) 1217 +((( 1218 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1219 +))) 1161 1161 1162 1162 1163 1163 1164 - 1165 1165 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1166 1166 1167 1167 Clear counting for counting mode 1168 1168 1169 -* (% style="color:#037691" %) **AT Command:**1227 +* (% style="color:#037691" %)AT Command: 1170 1170 1171 -(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1229 +(% class="box infomessage" %) 1230 +((( 1231 +**AT+CLRCOUNT ~/~/ clear all counting** 1232 +))) 1172 1172 1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6): 1173 1173 1174 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1236 +(% class="box infomessage" %) 1237 +((( 1238 +**0x A6 01 ~/~/ clear all counting,** 1239 +))) 1175 1175 1176 -**0x A6 01 ** ~/~/ clear all counting 1177 1177 1178 1178 1179 - 1180 - 1181 1181 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1182 1182 1183 -* (% style="color:#037691" %) **AT Command:**1245 +* (% style="color:#037691" %)AT Command: 1184 1184 1185 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1247 +(% class="box infomessage" %) 1248 +((( 1249 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1250 +))) 1186 1186 1252 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA7): 1187 1187 1188 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1254 +(% class="box infomessage" %) 1255 +((( 1256 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1257 +))) 1189 1189 1190 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1191 - 1192 1192 ((( 1193 1193 range: aa bb cc:0 to 16777215, (unit:second) 1194 1194 ... ... @@ -1196,7 +1196,6 @@ 1196 1196 ))) 1197 1197 1198 1198 1199 - 1200 1200 == 3.5 Integrate with Mydevice == 1201 1201 1202 1202 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: