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