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 ... ... @@ -397,13 +397,13 @@ 397 397 (% class="box infomessage" %) 398 398 ((( 399 399 ((( 400 -**AT+TRIG1=0,100 402 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 401 401 402 -**AT+TRIG1=1,100 404 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 403 403 404 -**AT+TRIG2=0,100 406 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 405 405 406 -**AT+TRIG2=1,100 408 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 407 407 408 408 **AT+SETCNT=1,60 (Set COUNT1 value to 60)** 409 409 ... ... @@ -506,13 +506,13 @@ 506 506 (% class="box infomessage" %) 507 507 ((( 508 508 ((( 509 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** 511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 510 510 511 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** 513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 512 512 513 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** 515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 514 514 515 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** 517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 516 516 ))) 517 517 ))) 518 518 ... ... @@ -576,7 +576,6 @@ 576 576 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 577 577 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.** 578 578 579 - 580 580 (% style="color:#037691" %)**AT Command to set Trigger Condition**: 581 581 582 582 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -719,6 +719,7 @@ 719 719 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 720 720 721 721 723 + 722 722 === 3.4.1 Common Commands === 723 723 724 724 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]] ... ... @@ -840,7 +840,10 @@ 840 840 841 841 * (% style="color:#037691" %)AT Command: 842 842 845 +(% class="box infomessage" %) 846 +((( 843 843 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 848 +))) 844 844 845 845 846 846 **Example:** ... ... @@ -849,11 +849,13 @@ 849 849 850 850 * (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02): 851 851 852 -**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 +))) 853 853 854 854 855 855 856 - 857 857 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 858 858 859 859 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -860,7 +860,10 @@ 860 860 861 861 * (% style="color:#037691" %)AT Command: 862 862 870 +(% class="box infomessage" %) 871 +((( 863 863 **AT+TRIG1=a,b** 873 +))) 864 864 865 865 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 866 866 ... ... @@ -872,20 +872,26 @@ 872 872 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 873 873 874 874 875 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 876 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 885 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 01 ): 877 877 887 +(% class="box infomessage" %) 888 +((( 889 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 890 +))) 878 878 879 879 893 + 880 880 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 881 881 882 882 Set DI2 trigger. 883 883 884 -* (% style="color:#037691" %) **AT Command:**898 +* (% style="color:#037691" %)AT Command: 885 885 900 +(% class="box infomessage" %) 901 +((( 886 886 **AT+TRIG2=a,b** 903 +))) 887 887 888 - 889 889 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 890 890 891 891 b : delay timing. ... ... @@ -896,72 +896,93 @@ 896 896 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 897 897 898 898 899 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x09 02 ):**915 +* (% style="color:#037691" %)Downlink Payload (prefix 0x09 02 ): 900 900 901 -**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 +))) 902 902 903 903 904 904 905 - 906 906 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 907 907 908 908 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 909 909 910 -* (% style="color:#037691" %) **AT Command**928 +* (% style="color:#037691" %)AT Command: 911 911 912 -**AT+ACLIM** 930 +(% class="box infomessage" %) 931 +((( 932 +**AT+ACLIM. ** 933 +))) 913 913 914 914 915 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAA 01 )**936 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 01 ): 916 916 917 -**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 +))) 918 918 919 919 920 920 921 - 922 922 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 923 923 924 924 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 925 925 926 -* (% style="color:#037691" %) **AT Command**949 +* (% style="color:#037691" %)AT Command: 927 927 928 -**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 +))) 929 929 930 930 931 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAA 00 )**957 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 00 ): 932 932 933 -**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 +))) 934 934 935 935 936 936 937 - 938 938 ==== 3.4.2.11 Trigger – Set minimum interval ==== 939 939 940 940 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 941 941 942 -* (% style="color:#037691" %) **AT Command**970 +* (% style="color:#037691" %)AT Command: 943 943 972 +(% class="box infomessage" %) 973 +((( 944 944 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 975 +))) 945 945 946 946 947 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xAC )**978 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAC ): 948 948 949 -**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 +))) 950 950 951 951 952 952 953 - 954 954 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 955 955 956 -* (% style="color:#037691" %) **AT Command**989 +* (% style="color:#037691" %)AT Command: 957 957 958 958 There is no AT Command to control Digital Output 959 959 960 960 961 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 962 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 994 +* (% style="color:#037691" %)Downlink Payload (prefix 0x02): 963 963 996 +(% class="box infomessage" %) 964 964 ((( 998 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 999 +))) 1000 + 1001 +((( 965 965 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 966 966 ))) 967 967 ... ... @@ -981,19 +981,22 @@ 981 981 982 982 983 983 984 - 985 985 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 986 986 987 -* (% style="color:#037691" %) **AT Command**1023 +* (% style="color:#037691" %)AT Command: 988 988 989 989 There is no AT Command to control Digital Output 990 990 991 991 992 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA9)**1028 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA9): 993 993 994 -**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 +))) 995 995 996 - 997 997 This is to control the digital output time of DO pin. Include four bytes: 998 998 999 999 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1047,19 +1047,20 @@ 1047 1047 1048 1048 1049 1049 1050 - 1051 1051 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1052 1052 1053 -* (% style="color:#037691" %) **AT Command:**1092 +* (% style="color:#037691" %)AT Command: 1054 1054 1055 1055 There is no AT Command to control Relay Output 1056 1056 1057 1057 1058 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x03):**1097 +* (% style="color:#037691" %)Downlink Payload (prefix 0x03): 1059 1059 1060 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1099 +(% class="box infomessage" %) 1100 +((( 1101 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1102 +))) 1061 1061 1062 - 1063 1063 ((( 1064 1064 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1065 1065 ))) ... ... @@ -1076,19 +1076,20 @@ 1076 1076 1077 1077 1078 1078 1079 - 1080 1080 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1081 1081 1082 -* (% style="color:#037691" %) **AT Command:**1122 +* (% style="color:#037691" %)AT Command: 1083 1083 1084 1084 There is no AT Command to control Relay Output 1085 1085 1086 1086 1087 -* (% style="color:#037691" %) **Downlink Payload (prefix 0x05):**1127 +* (% style="color:#037691" %)Downlink Payload (prefix 0x05): 1088 1088 1089 -**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 +))) 1090 1090 1091 - 1092 1092 This is to control the relay output time of relay. Include four bytes: 1093 1093 1094 1094 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1130,28 +1130,35 @@ 1130 1130 1131 1131 1132 1132 1133 - 1134 1134 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1135 1135 1136 1136 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1137 1137 1138 -* (% style="color:#037691" %) **AT Command:**1179 +* (% style="color:#037691" %)AT Command: 1139 1139 1140 -(% style="color:#037691" %)****(%%)**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1181 +(% class="box infomessage" %) 1182 +((( 1183 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1184 +))) 1141 1141 1142 1142 1143 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA5):**1187 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA5): 1144 1144 1145 -**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 +))) 1146 1146 1147 1147 1148 1148 1149 - 1150 1150 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1151 1151 1152 -* (% style="color:#037691" %) **AT Command:**1198 +* (% style="color:#037691" %)AT Command: 1153 1153 1154 -(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1200 +(% class="box infomessage" %) 1201 +((( 1202 +**AT+SETCNT=aa,(bb cc dd ee) ** 1203 +))) 1155 1155 1156 1156 aa: 1: Set count1, 1157 1157 ... ... @@ -1162,40 +1162,51 @@ 1162 1162 Bb cc dd ee: number to be set 1163 1163 1164 1164 1165 -* (% style="color:#037691" %) **Downlink Payload (prefix 0xA8):**1214 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA8): 1166 1166 1167 -**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 +))) 1168 1168 1169 1169 1170 1170 1171 - 1172 1172 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1173 1173 1174 1174 Clear counting for counting mode 1175 1175 1176 -* (% style="color:#037691" %) **AT Command:**1227 +* (% style="color:#037691" %)AT Command: 1177 1177 1178 -(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1229 +(% class="box infomessage" %) 1230 +((( 1231 +**AT+CLRCOUNT ~/~/ clear all counting** 1232 +))) 1179 1179 1234 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA6): 1180 1180 1181 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1236 +(% class="box infomessage" %) 1237 +((( 1238 +**0x A6 01 ~/~/ clear all counting,** 1239 +))) 1182 1182 1183 -**0x A6 01 ** ~/~/ clear all counting 1184 1184 1185 1185 1186 - 1187 - 1188 1188 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1189 1189 1190 -* (% style="color:#037691" %) **AT Command:**1245 +* (% style="color:#037691" %)AT Command: 1191 1191 1192 -**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 +))) 1193 1193 1252 +* (% style="color:#037691" %)Downlink Payload (prefix 0xA7): 1194 1194 1195 -* (% 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 +))) 1196 1196 1197 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1198 - 1199 1199 ((( 1200 1200 range: aa bb cc:0 to 16777215, (unit:second) 1201 1201 ... ... @@ -1203,7 +1203,6 @@ 1203 1203 ))) 1204 1204 1205 1205 1206 - 1207 1207 == 3.5 Integrate with Mydevice == 1208 1208 1209 1209 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: