<
From version < 123.7 >
edited by Xiaoling
on 2025/04/01 17:00
To version < 123.18 >
edited by Xiaoling
on 2025/04/01 17:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -679,7 +679,6 @@
679 679  )))|(% style="width:86px" %)Unix Time Stamp
680 680  
681 681  
682 -
683 683  IN1_pin_level & IN2_pin_level & Exti_pin_level & Exti_status:
684 684  
685 685  [[image:image-20250117104847-4.png]]
... ... @@ -853,6 +853,7 @@
853 853  
854 854  ==== 2.8.2.1 Wave alarm mode ====
855 855  
855 +
856 856  Feature: By setting the detection period and a change value, the IDC/VDC variable is monitored whether it exceeds the set change value. If this change value is exceeded, the ROC uplink is sent and the comparison value is flushed.
857 857  
858 858  * Change value: The amount by which the next detection value increases/decreases relative to the previous detection value.
... ... @@ -861,7 +861,7 @@
861 861  AT Command: AT+ROC
862 862  
863 863  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
864 -|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 154px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
864 +|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 154px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 193px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
865 865  |(% style="width:143px" %)AT+ROC=?|(% style="width:154px" %)Show current ROC setting|(% style="width:197px" %)(((
866 866  0,0,0,0(default)
867 867  OK
... ... @@ -869,31 +869,21 @@
869 869  |(% colspan="1" rowspan="4" style="width:143px" %)(((
870 870  AT+ROC=a,b,c,d
871 871  )))|(% style="width:154px" %)(((
872 -
873 -
874 -
875 -
876 -
877 -
878 -
879 -a: Enable or disable the ROC
872 +**a:** Enable or disable the ROC
880 880  )))|(% style="width:197px" %)(((
881 -0: off
882 -1: Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
883 -
884 -2: Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.7Button26LEDs"]]).
874 +**0:** off
875 +**1:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
876 +**2:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.7Button26LEDs"]]).
885 885  )))
886 -|(% style="width:154px" %)b: Set the detection interval|(% style="width:197px" %)(((
887 -
888 -
878 +|(% style="width:154px" %)**b:** Set the detection interval|(% style="width:197px" %)(((
889 889  Range:  0~~65535s
890 890  )))
891 -|(% style="width:154px" %)c: Setting the IDC change value|(% style="width:197px" %)Unit: uA
892 -|(% style="width:154px" %)d: Setting the VDC change value|(% style="width:197px" %)Unit: mV
881 +|(% style="width:154px" %)**c:** Setting the IDC change value|(% style="width:197px" %)Unit: uA
882 +|(% style="width:154px" %)**d:** Setting the VDC change value|(% style="width:197px" %)Unit: mV
893 893  
894 894  Example:
895 895  
896 -* AT+ROC=0,0,0,0  ~/~/The ROC function is not used.
886 +* AT+ROC=0,0,0,0  ~/~/ The ROC function is not used.
897 897  * AT+ROC=1,60,3000, 500  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink, and the comparison value is refreshed.
898 898  * AT+ROC=1,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage.
899 899  * AT+ROC=2,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage. In addition, if the change in the IDC does not exceed 3mA, then the ROC uplink is not sent, and the comparison value is not refreshed by the ROC uplink packet. However, if the device TDC time arrives, or if the user manually sends packets, then the IDC comparison value is also refreshed.
... ... @@ -912,9 +912,9 @@
912 912  
913 913  Example:
914 914  
915 -* Downlink Payload: 09 01 00 3C 0B B8 01 F4  ~/~/Equal to AT+ROC=1,60,3000, 500
916 -* Downlink Payload: 09 01 00 3C 0B B8 00 00  ~/~/Equal to AT+ROC=1,60,3000,0
917 -* Downlink Payload: 09 02 00 3C 0B B8 00 00  ~/~/Equal to AT+ROC=2,60,3000,0
905 +* Downlink Payload: 09 01 00 3C 0B B8 01 F4  ~/~/ Equal to AT+ROC=1,60,3000, 500
906 +* Downlink Payload: 09 01 00 3C 0B B8 00 00  ~/~/ Equal to AT+ROC=1,60,3000,0
907 +* Downlink Payload: 09 02 00 3C 0B B8 00 00  ~/~/ Equal to AT+ROC=2,60,3000,0
918 918  
919 919  Screenshot of parsing example in TTN:
920 920  
... ... @@ -925,64 +925,44 @@
925 925  
926 926  ==== 2.8.2.2 Over-threshold alarm mode ====
927 927  
918 +
928 928  Feature: Monitors whether the IDC/VDC exceeds the threshold by setting the detection period and threshold. Alarm if the threshold is exceeded.
929 929  
930 930  AT Command: AT+ROC=3,a,b,c,d,e
931 931  
932 932  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
933 -|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 160px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 185px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
924 +|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)Command Example|=(% style="width: 160px; background-color: rgb(79, 129, 189); color: white;" %)Parameters|=(% style="width: 187px; background-color: rgb(79, 129, 189); color: white;" %)Response/Explanation
934 934  |(% style="width:143px" %)AT+ROC=?|(% style="width:160px" %)Show current ROC setting|(% style="width:185px" %)(((
935 -
936 -
937 937  0,0,0,0(default)
938 938  OK
939 939  )))
940 940  |(% colspan="1" rowspan="5" style="width:143px" %)(((
941 -
942 -
943 -
944 -
945 -
946 946  AT+ROC=3,a,b,c,d,e
947 947  )))|(% style="width:160px" %)(((
948 -
949 -
950 -a: Set the detection interval
932 +**a:** Set the detection interval
951 951  )))|(% style="width:185px" %)(((
952 -
953 -
954 954  Range:  0~~65535s
955 955  )))
956 -|(% style="width:160px" %)b: Set the IDC alarm trigger condition|(% style="width:185px" %)(((
957 -
958 -
959 -0: Less than the set IDC threshold, Alarm
960 -
961 -1: Greater than the set IDC threshold, Alarm
936 +|(% style="width:160px" %)**b:** Set the IDC alarm trigger condition|(% style="width:185px" %)(((
937 +**0:** Less than the set IDC threshold, Alarm
938 +**1:** Greater than the set IDC threshold, Alarm
962 962  )))
963 963  |(% style="width:160px" %)(((
964 -
965 -
966 -c:  IDC alarm threshold
941 +**c: ** IDC alarm threshold
967 967  )))|(% style="width:185px" %)(((
968 -
969 -
970 970  Unit: uA
971 971  )))
972 -|(% style="width:160px" %)d: Set the VDC alarm trigger condition|(% style="width:185px" %)(((
973 -
974 -
975 -0: Less than the set VDC threshold, Alarm
976 -
977 -1: Greater than the set VDC threshold, Alarm
945 +|(% style="width:160px" %)**d:** Set the VDC alarm trigger condition|(% style="width:185px" %)(((
946 +**0:** Less than the set VDC threshold, Alarm
947 +**1:** Greater than the set VDC threshold, Alarm
978 978  )))
979 -|(% style="width:160px" %)e: VDC alarm threshold|(% style="width:185px" %)Unit: mV
949 +|(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
980 980  
981 981  Example:
982 982  
983 -* AT+ROC=3,60,0,3000,0,5000  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
984 -* AT+ROC=3,180,1,3000,1,5000  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
985 -* AT+ROC=3,300,0,3000,1,5000  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
953 +* AT+ROC=3,60,0,3000,0,5000  ~/~/ The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
954 +* AT+ROC=3,180,1,3000,1,5000  ~/~/ The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
955 +* AT+ROC=3,300,0,3000,1,5000  ~/~/ The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
986 986  
987 987  Downlink Command: 0x09 03 aa bb cc dd ee
988 988  
... ... @@ -1001,9 +1001,9 @@
1001 1001  
1002 1002  Example:
1003 1003  
1004 -* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/Equal to AT+ROC=3,60,0,3000,0,5000
1005 -* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,1,3000,1,5000
1006 -* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/Equal to AT+ROC=3,60,0,3000,1,5000
974 +* Downlink Payload: 09 03 00 3C 00 0B B8 00 13 38 ~/~/ Equal to AT+ROC=3,60,0,3000,0,5000
975 +* Downlink Payload: 09 03 00 b4 01 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,1,3000,1,5000
976 +* Downlink Payload: 09 03 01 2C 00 0B B8 01 13 38  ~/~/ Equal to AT+ROC=3,60,0,3000,1,5000
1007 1007  
1008 1008  Screenshot of parsing example in TTN:
1009 1009  
... ... @@ -1057,18 +1057,14 @@
1057 1057  
1058 1058  AT Command: AT+TDC
1059 1059  
1060 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1030 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1061 1061  |=(% style="width: 160px; background-color:#4F81BD;color:white" %)Command Example|=(% style="width: 160px; background-color:#4F81BD;color:white" %)Function|=(% style="width: 190px;background-color:#4F81BD;color:white" %)Response
1062 1062  |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((
1063 -
1064 -
1065 1065  30000
1066 1066  OK
1067 1067  the interval is 30000ms = 30s
1068 1068  )))
1069 1069  |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((
1070 -
1071 -
1072 1072  OK
1073 1073  Set transmit interval to 60000ms = 60 seconds
1074 1074  )))
... ... @@ -1089,18 +1089,14 @@
1089 1089  
1090 1090  AT Command: AT+INTMOD
1091 1091  
1092 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1058 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1093 1093  |=(% style="width: 154px;background-color:#4F81BD;color:white" %)Command Example|=(% style="width: 196px;background-color:#4F81BD;color:white" %)Function|=(% style="width: 160px;background-color:#4F81BD;color:white" %)Response
1094 1094  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
1095 -
1096 -
1097 1097  0
1098 1098  OK
1099 1099  the mode is 0 =Disable Interrupt
1100 1100  )))
1101 1101  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)(((
1102 -
1103 -
1104 1104  Set Transmit Interval
1105 1105  0. (Disable Interrupt),
1106 1106  ~1. (Trigger by rising and falling edge)
... ... @@ -1124,72 +1124,52 @@
1124 1124  
1125 1125  AT Command: AT+3V3T
1126 1126  
1127 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
1089 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:474px" %)
1128 1128  |=(% style="width: 154px;background-color:#4F81BD;color:white" %)Command Example|=(% style="width: 201px;background-color:#4F81BD;color:white" %)Function|=(% style="width: 119px;background-color:#4F81BD;color:white" %)Response
1129 1129  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
1130 -
1131 -
1132 1132  0
1133 1133  OK
1134 1134  )))
1135 1135  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=0|(% style="background-color:#f2f2f2; width:201px" %)Normally open 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
1136 -
1137 -
1138 1138  OK
1139 1139  default setting
1140 1140  )))
1141 1141  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=1000|(% style="background-color:#f2f2f2; width:201px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:116px" %)(((
1142 -
1143 -
1144 1144  OK
1145 1145  )))
1146 1146  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=65535|(% style="background-color:#f2f2f2; width:201px" %)Normally closed 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
1147 -
1148 -
1149 1149  OK
1150 1150  )))
1151 1151  
1152 1152  AT Command: AT+5VT
1153 1153  
1154 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
1108 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:470px" %)
1155 1155  |=(% style="width: 155px;background-color:#4F81BD;color:white" %)Command Example|=(% style="width: 196px;background-color:#4F81BD;color:white" %)Function|=(% style="width: 119px;background-color:#4F81BD;color:white" %)Response
1156 1156  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
1157 -
1158 -
1159 1159  0
1160 1160  OK
1161 1161  )))
1162 1162  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=0|(% style="background-color:#f2f2f2; width:196px" %)Normally closed 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
1163 -
1164 -
1165 1165  OK
1166 1166  default setting
1167 1167  )))
1168 1168  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=1000|(% style="background-color:#f2f2f2; width:196px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:114px" %)(((
1169 -
1170 -
1171 1171  OK
1172 1172  )))
1173 1173  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=65535|(% style="background-color:#f2f2f2; width:196px" %)Normally open 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
1174 -
1175 -
1176 1176  OK
1177 1177  )))
1178 1178  
1179 1179  AT Command: AT+12VT
1180 1180  
1181 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
1127 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:443px" %)
1182 1182  |=(% style="width: 156px;background-color:#4F81BD;color:white" %)Command Example|=(% style="width: 199px;background-color:#4F81BD;color:white" %)Function|=(% style="width: 88px;background-color:#4F81BD;color:white" %)Response
1183 1183  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
1184 -
1185 -
1186 1186  0
1187 1187  OK
1188 1188  )))
1189 1189  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=0|(% style="background-color:#f2f2f2; width:199px" %)Normally closed 12V power supply.|(% style="background-color:#f2f2f2; width:83px" %)OK
1190 1190  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=500|(% style="background-color:#f2f2f2; width:199px" %)Close after a delay of 500 milliseconds.|(% style="background-color:#f2f2f2; width:83px" %)(((
1191 -
1192 -
1193 1193  OK
1194 1194  )))
1195 1195  
... ... @@ -1245,8 +1245,6 @@
1245 1245  OK
1246 1246  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=0003|(% style="background-color:#f2f2f2; width:269px" %)Set water depth sensor mode, 3m type.|(% style="background-color:#f2f2f2" %)OK
1247 1247  |(% style="background-color:#f2f2f2; width:154px" %)(((
1248 -
1249 -
1250 1250  AT+PROBE=000A
1251 1251  )))|(% style="background-color:#f2f2f2; width:269px" %)Set water depth sensor mode, 10m type.|(% style="background-color:#f2f2f2" %)OK
1252 1252  |(% style="background-color:#f2f2f2; width:154px" %)AT+PROBE=0064|(% style="background-color:#f2f2f2; width:269px" %)Set water depth sensor mode, 100m type.|(% style="background-color:#f2f2f2" %)OK
... ... @@ -1276,15 +1276,12 @@
1276 1276  bb: Each collection interval (s), the value is 1~~65535
1277 1277  cc: the number of collection times, the value is 1~~120
1278 1278  
1279 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1219 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1280 1280  |(% style="background-color:#4f81bd; color:white; width:160px" %)Command Example|(% style="background-color:#4f81bd; color:white; width:215px" %)Function|(% style="background-color:#4f81bd; color:white" %)Response
1281 1281  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=?|(% style="background-color:#f2f2f2; width:215px" %)Get the mode of multiple acquisitions and one uplink.|(% style="background-color:#f2f2f2" %)1,10,18
1282 1282  OK
1283 1283  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=1,10,18|(% style="background-color:#f2f2f2; width:215px" %)Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|(% style="background-color:#f2f2f2" %)(((
1284 -
1285 -
1286 1286  Attention:Take effect after ATZ
1287 -
1288 1288  OK
1289 1289  )))
1290 1290  |(% style="background-color:#f2f2f2; width:160px" %)AT+STDC=0, 0,0|(% style="background-color:#f2f2f2; width:215px" %)(((
... ... @@ -1294,10 +1294,7 @@
1294 1294  
1295 1295  
1296 1296  )))|(% style="background-color:#f2f2f2" %)(((
1297 -
1298 -
1299 1299  Attention:Take effect after ATZ
1300 -
1301 1301  OK
1302 1302  )))
1303 1303  
... ... @@ -1352,18 +1352,18 @@
1352 1352  
1353 1353  Measure the corresponding current of the sensor when the liquid depth is 2.04m and 0.51m.
1354 1354  
1355 -Calculate scale factor
1289 +Calculate scale factor:
1356 1356  Use these two data to calculate the current and depth scaling factors:(7.888-5.035)/(2.04-0.51)=1.86470588235294
1357 1357  
1358 -Calculation formula
1292 +Calculation formula:
1359 1359  
1360 1360  Use the calibration formula:(Current current - Minimum calibration current)/Scale factor + Minimum actual calibration height
1361 1361  
1362 -Actual calculations
1296 +Actual calculations:
1363 1363  
1364 1364  Use this formula to calculate the value corresponding to the current at a depth of 1.5 meters: (6.918-5.035)/1.86470588235294+0.51=1.519810726
1365 1365  
1366 -Error
1300 +Error:
1367 1367  
1368 1368  0.009810726
1369 1369  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0