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
-
... ... @@ -115,7 +115,6 @@ 115 115 * Smart cities 116 116 * Smart factory 117 117 118 - 119 119 == 2. Assembling the device == 120 120 121 121 == 2.1 Connecting the antenna == ... ... @@ -791,9 +791,9 @@ 791 791 792 792 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 793 793 794 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width: 515px" %)795 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 796 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 793 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:674px" %) 794 +|(% style="width:64px" %)**bit 7**|(% style="width:68px" %)**bit 6**|(% style="width:63px" %)**bit 5**|(% style="width:66px" %)**bit 4**|(% style="width:109px" %)**bit 3**|(% style="width:93px" %)**bit 2**|(% style="width:109px" %)**bit 1**|(% style="width:99px" %)**bit 0** 795 +|(% style="width:64px" %)N/A|(% style="width:68px" %)N/A|(% style="width:63px" %)N/A|(% style="width:66px" %)N/A|(% style="width:109px" %)DI2_STATUS|(% style="width:93px" %)DI2_FLAG|(% style="width:109px" %)DI1_STATUS|(% style="width:99px" %)DI1_FLAG 797 797 798 798 * Each bits shows which status has been triggered on this uplink. 799 799 ... ... @@ -855,10 +855,10 @@ 855 855 856 856 (% style="color:#037691" %)**AT command** 857 857 858 -(% style="width:500px" %) 859 -|**Command**|AT+TDC<time> 857 +(% border="2" style="width:500px" %) 858 +|**Command**|AT+TDC=<time> 860 860 |**Response**| 861 -|**Parameters**|time : uplink interval is in milliseconds 860 +|**Parameters**|**time** : uplink interval is in milliseconds 862 862 |**Example**|((( 863 863 AT+TDC=30000 864 864 ... ... @@ -867,14 +867,14 @@ 867 867 868 868 (% style="color:#037691" %)**Downlink payload** 869 869 870 -(% style="width:500px" %) 869 +(% border="2" style="width:500px" %) 871 871 |**Payload**|((( 872 872 <prefix><time> 873 873 ))) 874 874 |**Parameters**|((( 875 -prefix : 0x01 874 +**prefix** : 0x01 876 876 877 -time : uplink interval is in milliseconds, represented by 3 bytes in hexadecimal. 876 +**time** : uplink interval is in milliseconds, represented by 3 bytes in hexadecimal. 878 878 ))) 879 879 |**Example**|((( 880 880 01 **00 75 30** ... ... @@ -892,11 +892,11 @@ 892 892 893 893 (% style="color:#037691" %)**AT command** 894 894 895 -(% style="width:500px" %) 896 -|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE<working_mode> 894 +(% border="2" style="width:500px" %) 895 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE=<working_mode> 897 897 |(% style="width:97px" %)**Response**|(% style="width:413px" %) 898 898 |(% style="width:97px" %)**Parameters**|(% style="width:413px" %)((( 899 -working_mode : 898 +**working_mode** : 900 900 901 901 1 = (Default mode/factory set): 2ACI + 2AVI + DI + DO + RO 902 902 ... ... @@ -919,12 +919,12 @@ 919 919 (% class="wikigeneratedid" %) 920 920 (% style="color:#037691" %)**Downlink payload** 921 921 922 -(% style="width:500px" %) 921 +(% border="2" style="width:500px" %) 923 923 |(% style="width:98px" %)**Payload**|(% style="width:400px" %)<prefix><working_mode> 924 924 |(% style="width:98px" %)**Parameters**|(% style="width:400px" %)((( 925 -prefix : 0x0A 924 +**prefix** : 0x0A 926 926 927 -working_mode : Working mode, represented by 1 byte in hexadecimal. 926 +**working_mode** : Working mode, represented by 1 byte in hexadecimal. 928 928 ))) 929 929 |(% style="width:98px" %)**Example**|(% style="width:400px" %)((( 930 930 0A **02** ... ... @@ -942,9 +942,9 @@ 942 942 943 943 (% style="color:#037691" %)**Downlink payload** 944 944 945 -(% style="width:500px" %) 944 +(% border="2" style="width:500px" %) 946 946 |(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix>FF 947 -|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)prefix : 0x08 946 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)**prefix** : 0x08 948 948 |(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 949 949 08 FF 950 950 ... ... @@ -957,11 +957,11 @@ 957 957 958 958 (% style="color:#037691" %)**AT Command** 959 959 960 -(% style="width:500px" %) 959 +(% border="2" style="width:500px" %) 961 961 |(% style="width:95px" %)**Command**|(% style="width:403px" %)AT+ADDMOD6=<enable/disable trigger_mode> 962 962 |(% style="width:95px" %)**Response**|(% style="width:403px" %) 963 963 |(% style="width:95px" %)**Parameters**|(% style="width:403px" %)((( 964 -enable/disable trigger_mode : 963 +**enable/disable trigger_mode** : 965 965 966 966 1 = enable trigger mode 967 967 ... ... @@ -975,12 +975,12 @@ 975 975 976 976 (% style="color:#037691" %)**Downlink payload** 977 977 978 -(% style="width:500px" %) 977 +(% border="2" style="width:500px" %) 979 979 |(% style="width:97px" %)**Payload**|(% style="width:401px" %)<prefix><enable/disable trigger_mode> 980 980 |(% style="width:97px" %)**Parameters**|(% style="width:401px" %)((( 981 -prefix : 0x0A 06 980 +**prefix** : 0x0A 06 982 982 983 -working mode : enable (1) or disable (0), represented by 1 byte in hexadecimal. 982 +**working mode** : enable (1) or disable (0), represented by 1 byte in hexadecimal. 984 984 ))) 985 985 |(% style="width:97px" %)**Example**|(% style="width:401px" %)((( 986 986 0A 06 **01** ... ... @@ -998,9 +998,9 @@ 998 998 999 999 (% style="color:#037691" %)**Downlink Payload** 1000 1000 1001 -(% style="width:500px" %) 1000 +(% border="2" style="width:500px" %) 1002 1002 |(% style="width:95px" %)**Payload**|(% style="width:403px" %)<prefix> 1003 -|(% style="width:95px" %)**Parameters**|(% style="width:403px" %)prefix : AB 06 1002 +|(% style="width:95px" %)**Parameters**|(% style="width:403px" %)**prefix **: AB 06 1004 1004 |(% style="width:95px" %)**Example**|(% style="width:403px" %)((( 1005 1005 AB 06 1006 1006 ... ... @@ -1007,29 +1007,29 @@ 1007 1007 Uplinks the trigger settings. 1008 1008 ))) 1009 1009 1010 -==== 3.4.2.6 Enable/Disable DI1/DI2 as a trigger ==== 1009 +==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ==== 1011 1011 1012 -Enable or disable DI1/DI2 as a trigger. 1011 +Enable or disable DI1/DI2/DI3 as a trigger. 1013 1013 1014 1014 (% style="color:#037691" %)**AT Command** 1015 1015 1016 -(% style="width:500px" %) 1017 -|(% style="width:98px" %)Command|(% style="width:400px" %)AT+DTRI=<DI1_trigger><DI2_trigger> 1018 -|(% style="width:98px" %)Response|(% style="width:400px" %) 1019 -|(% style="width:98px" %)Parameters|(% style="width:400px" %)((( 1020 -DI1_trigger: 1015 +(% border="2" style="width:500px" %) 1016 +|(% style="width:98px" %)**Command**|(% style="width:400px" %)AT+DTRI=<DI1_trigger>,<DI2_trigger> 1017 +|(% style="width:98px" %)**Response**|(% style="width:400px" %) 1018 +|(% style="width:98px" %)**Parameters**|(% style="width:400px" %)((( 1019 +**DI1_trigger:** 1021 1021 1022 1022 1 = enable DI1 trigger 1023 1023 1024 1024 0 = disable DI1 trigger 1025 1025 1026 -DI2 _trigger 1025 +**DI2 _trigger** 1027 1027 1028 1028 1 = enable DI2 trigger 1029 1029 1030 1030 0 = disable DI2 trigger 1031 1031 ))) 1032 -|(% style="width:98px" %)Example|(% style="width:400px" %)((( 1031 +|(% style="width:98px" %)**Example**|(% style="width:400px" %)((( 1033 1033 AT+DTRI=1,0 1034 1034 1035 1035 Enable DI1 trigger, disable DI2 trigger ... ... @@ -1038,24 +1038,24 @@ 1038 1038 (% class="wikigeneratedid" %) 1039 1039 (% style="color:#037691" %)**Downlink Payload** 1040 1040 1041 -(% style="width:500px" %) 1042 -|(% style="width:101px" %)Payload|(% style="width:397px" %)<prefix><DI1_trigger><DI2_trigger> 1043 -|(% style="width:101px" %)Parameters|(% style="width:397px" %)((( 1044 -prefix : AA 02 1040 +(% border="2" style="width:500px" %) 1041 +|(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix><DI1_trigger><DI2_trigger> 1042 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1043 +**prefix :** AA 02 1045 1045 1046 -DI1_trigger: 1045 +**DI1_trigger:** 1047 1047 1048 1048 1 = enable DI1 trigger, represented by 1 byte in hexadecimal. 1049 1049 1050 1050 0 = disable DI1 trigger, represented by 1 byte in hexadecimal. 1051 1051 1052 -DI2 _trigger 1051 +**DI2 _trigger** 1053 1053 1054 1054 1 = enable DI2 trigger, represented by 1 byte in hexadecimal. 1055 1055 1056 1056 0 = disable DI2 trigger, represented by 1 byte in hexadecimal. 1057 1057 ))) 1058 -|(% style="width:101px" %)Example|(% style="width:397px" %)((( 1057 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1059 1059 AA 02 **01 00** 1060 1060 1061 1061 Enable DI1 trigger, disable DI2 trigger ... ... @@ -1079,12 +1079,40 @@ 1079 1079 (% style="color:blue" %)**0x09 01 aa bb cc ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc) 1080 1080 1081 1081 1082 -(% style="width:500px" %) 1083 -|(% style="width:101px" %)Command|(% style="width:397px" %) 1084 -|(% style="width:101px" %)Response|(% style="width:397px" %) 1085 -|(% style="width:101px" %)Parameters|(% style="width:397px" %) 1086 -|(% style="width:101px" %)Example|(% style="width:397px" %) 1081 +(% style="color:#037691" %)**AT Command** 1087 1087 1083 +(% border="2" style="width:500px" %) 1084 +|(% style="width:101px" %)**Command**|(% style="width:397px" %)AT+TRIG1=<interrupt_mode>,<minimum_signal_duration> 1085 +|(% style="width:101px" %)**Response**|(% style="width:397px" %) 1086 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1087 +**interrupt_mode** : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 1088 + 1089 +**minimum_signal_duration** : the **minimum signal duration** required for the DI1 port to recognize a valid trigger. 1090 +))) 1091 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1092 +AT+TRIG1=1,100 1093 + 1094 +Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms. 1095 +))) 1096 + 1097 +(% class="wikigeneratedid" %) 1098 +(% style="color:#037691" %)**Downlink Payload** 1099 + 1100 +(% border="2" style="width:500px" %) 1101 +|(% style="width:101px" %)**Payload**|(% style="width:397px" %)<prefix><interrupt_mode><minimum_signal_duration> 1102 +|(% style="width:101px" %)**Parameters**|(% style="width:397px" %)((( 1103 +**prefix** : 09 01 1104 + 1105 +**interrupt_mode** : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1), represented by 1 byte in hexadecimal. 1106 + 1107 +**minimum_signal_duration** : in milliseconds, represented two bytes in hexadecimal. 1108 +))) 1109 +|(% style="width:101px" %)**Example**|(% style="width:397px" %)((( 1110 +09 01 **01 00 64** 1111 + 1112 +Set the DI1 port to trigger on a rising edge; the valid signal duration is 100 ms. 1113 +))) 1114 + 1088 1088 ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ==== 1089 1089 1090 1090 Sets DI2 as a trigger. ... ... @@ -1105,15 +1105,15 @@ 1105 1105 1106 1106 (% style="color:#037691" %)**AT Command** 1107 1107 1108 -(% style="width:500px" %) 1109 -|(% style="width:94px" %)Command|(% style="width:404px" %)AT+TRIG=<interrupt_mode><minimum_signal_duration> 1110 -|(% style="width:94px" %)Response|(% style="width:404px" %) 1111 -|(% style="width:94px" %)Parameters|(% style="width:404px" %)((( 1112 -interrupt_mode : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 1135 +(% border="2" style="width:500px" %) 1136 +|(% style="width:94px" %)**Command**|(% style="width:404px" %)AT+TRIG2=<interrupt_mode>,<minimum_signal_duration> 1137 +|(% style="width:94px" %)**Response**|(% style="width:404px" %) 1138 +|(% style="width:94px" %)**Parameters**|(% style="width:404px" %)((( 1139 +**interrupt_mode **: 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1). 1113 1113 1114 -minimum_signal_duration : the **minimum signal duration** required for the DI1 port to recognize a valid trigger. 1141 +**minimum_signal_duration** : the **minimum signal duration** required for the DI1 port to recognize a valid trigger. 1115 1115 ))) 1116 -|(% style="width:94px" %)Example|(% style="width:404px" %)((( 1143 +|(% style="width:94px" %)**Example**|(% style="width:404px" %)((( 1117 1117 AT+TRIG2=0,100 1118 1118 1119 1119 Set the DI1 port to trigger on a falling edge; the valid signal duration is 100 ms. ... ... @@ -1121,20 +1121,20 @@ 1121 1121 1122 1122 (% style="color:#037691" %)**Downlink Payload** 1123 1123 1124 -(% style="width:500px" %) 1125 -|(% style="width:96px" %)Payload|(% style="width:402px" %)<prefix><interrupt_mode><minimum_signal_duration> 1126 -|(% style="width:96px" %)Parameters|(% style="width:402px" %)((( 1127 -prefix : 09 02 1151 +(% border="2" style="width:500px" %) 1152 +|(% style="width:96px" %)**Payload**|(% style="width:402px" %)<prefix><interrupt_mode><minimum_signal_duration> 1153 +|(% style="width:96px" %)**Parameters**|(% style="width:402px" %)((( 1154 +**prefix** : 09 02 1128 1128 1129 -interrupt_mode : 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1), represented by 1 byte in hexadecimal. 1156 +**interrupt_mode **: 0: falling edge; 1: rising edge, 2: falling and raising edge (for MOD=1), represented by 1 byte in hexadecimal. 1130 1130 1131 - <minimum_signal_duration>, represented two bytes in hexadecimal1158 +**minimum_signal_duration** : in milliseconds, represented two bytes in hexadecimal 1132 1132 ))) 1133 -|(% style="width:96px" %)Example|(% style="width:402px" %)09 02 **00 00 64** 1160 +|(% style="width:96px" %)**Example**|(% style="width:402px" %)09 02 **00 00 64** 1134 1134 1135 1135 ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ==== 1136 1136 1137 -Sets the current trigger based on the AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1164 +Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1138 1138 1139 1139 * (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ACLIM** 1140 1140 ... ... @@ -1142,22 +1142,52 @@ 1142 1142 1143 1143 (% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1144 1144 1172 +(% style="color:#037691" %)**AT Command** 1145 1145 1146 -(% style="width:500px" %) 1147 -|(% style="width:104px" %)Command|(% style="width:394px" %)AT+ACLIM 1148 -|(% style="width:104px" %)Response|(% style="width:394px" %) 1149 -|(% style="width:104px" %)Parameters|(% style="width:394px" %)- 1150 -|(% style="width:104px" %)Example|(% style="width:394px" %)AT+ACLIM 1174 +(% border="2" style="width:500px" %) 1175 +|(% style="width:104px" %)**Command**|(% style="width:394px" %)((( 1176 +AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 1177 +))) 1178 +|(% style="width:104px" %)**Response**|(% style="width:394px" %) 1179 +|(% style="width:104px" %)**Parameters**|(% style="width:394px" %)((( 1180 +**AC1_LIMIT_LOW** : lower limit of the current to be checked / threshold 1151 1151 1182 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked / threshold 1152 1152 1153 -(% style="width:500px" %) 1154 -|(% style="width:104px" %)Payload|(% style="width:394px" %)<prefix> 1155 -|(% style="width:104px" %)Parameters|(% style="width:394px" %)prefix : AA 01 1156 -|(% style="width:104px" %)Example|(% style="width:394px" %)AA 01 aa bb cc dd ee ff gg hh 1184 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked / threshold 1157 1157 1186 +**AC2_LIMIT_LOW** : higher limit of the current to be checked / threshold 1187 +))) 1188 +|(% style="width:104px" %)**Example**|(% style="width:394px" %)((( 1189 +AT+ACLIM=10000,15000,0,0 1190 + 1191 +Triggers an uplink if AC1 current is lower than 10mA or higher than 15mA 1192 +))) 1193 + 1194 +(% style="color:#037691" %)**Downlink Payload** 1195 + 1196 +(% border="2" style="width:500px" %) 1197 +|(% style="width:104px" %)**Payload**|(% style="width:394px" %)<prefix><AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 1198 +|(% style="width:104px" %)**Parameters**|(% style="width:394px" %)((( 1199 +**prefix **: AA 01 - two bytes in hexadecimal 1200 + 1201 +**AC1_LIMIT_LOW** : lower limit of the current to be checked / threshold, two bytes in hexadecimal 1202 + 1203 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked / threshold, two bytes in hexadecimal 1204 + 1205 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked / threshold, two bytes in hexadecimal 1206 + 1207 +**AC2_LIMIT_LOW** : higher limit of the current to be checked / threshold, two bytes in hexadecimal 1208 +))) 1209 +|(% style="width:104px" %)**Example**|(% style="width:394px" %)((( 1210 +AA 01 **27** **10 3A** **98** 00 00 00 00 1211 + 1212 +Triggers an uplink if AC1 current is lower than 10mA or higher than 15mA. Set all values to zero for AC2 limits because we are only checking AC1 limits. 1213 +))) 1214 + 1158 1158 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 1159 1159 1160 -Sets the current trigger based on the AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1217 +Sets the current trigger based on the AV port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1161 1161 1162 1162 * (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+AVLIM **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1163 1163 ... ... @@ -1166,6 +1166,22 @@ 1166 1166 (% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1167 1167 1168 1168 1226 +(% border="2" style="width:500px" %) 1227 +|(% style="width:104px" %)Command|(% style="width:387px" %)AT+AVLIM= AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 1228 +|(% style="width:104px" %)Response|(% style="width:387px" %) 1229 +|(% style="width:104px" %)Parameters|(% style="width:387px" %)((( 1230 +**AC1_LIMIT_LOW** : lower limit of the current to be checked / threshold, two bytes in hexadecimal 1231 + 1232 +**AC1_LIMIT_HIGH **: higher limit of the current to be checked / threshold, two bytes in hexadecimal 1233 + 1234 +**AC2_LIMIT_HIGH **: lower limit of the current to be checked / threshold, two bytes in hexadecimal 1235 + 1236 +**AC2_LIMIT_LOW** : higher limit of the current to be checked / threshold, two bytes in hexadecimal 1237 +))) 1238 +|(% style="width:104px" %)Example|(% style="width:387px" %) 1239 + 1240 + 1241 + 1169 1169 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1170 1170 1171 1171 Sets AV and AC trigger minimum interval. Device won't response to the second trigger within this set time after the first trigger.