Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1136,190 +1136,191 @@ 1136 1136 ))) 1137 1137 1138 1138 * ((( 1139 -(% style="color:#4f81bd" %)**C Comando de designespecialparaLHT65N**1139 +(% style="color:#4f81bd" %)**Commands special design for LHT65N** 1140 1140 ))) 1141 1141 1142 1142 ((( 1143 - Estes comandossão válidosapenas paraLHT65N,comoabaixo:1143 +These commands are only valid for LHT65N, as below: 1144 1144 ))) 1145 1145 1146 1146 1147 -== 4.1 DefiniroIntervalodeTransmissão==1147 +== 4.1 Set Transmit Interval Time == 1148 1148 1149 1149 1150 - Característica:Altereointervalodetransmissãodonó finalLoRaWAN.1150 +Feature: Change LoRaWAN End Node Transmit Interval. 1151 1151 1152 -(% style="color:#4f81bd" %)**Comando AT: AT+TDC** 1153 1153 1153 +(% style="color:#4f81bd" %)**AT Command: AT+TDC** 1154 + 1154 1154 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1155 -|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)** Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Resposta**1156 -|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %) Mostraro Intervalode TransmissãoActual|(% style="width:177px" %)30000 OKointervaloé30000ms = 30s1157 -|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %) DefiniroIntervalo de Transmissão|(% style="width:177px" %)OKDefinirointervalodetransmissãopara60000ms = 60 segundos1156 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response** 1157 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1158 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 1158 1158 1159 -(% style="color:#4f81bd" %)** 30000 OKointervaloé 30000ms= 30s**1160 +(% style="color:#4f81bd" %)**Downlink Command: 0x01** 1160 1160 1161 -Format o: Códigode comando (0x01)seguidode valor detempode3 bytes.1162 +Format: Command Code (0x01) followed by 3 bytes time value. 1162 1162 1163 - Sea carga útildodownlink=0100003C, issosignificadefiniro intervalodetransmissãodonó END para 0x00003C=60(S), enquantoocódigootipoé01.1164 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. 1164 1164 1165 -* **Ex emplo1: DownlinkCarga útil:**DefinirIntervalode Transmissão(TDC) = 30 segundos1166 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1166 1166 1167 -* **Ex emplo2: DownlinkCarga útil:**DefinirIntervalode Transmissão(TDC) = 60 segundos1168 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1168 1168 1169 1169 1170 -== 4.2 Definiro Modo doSensorExterno ==1171 +== 4.2 Set External Sensor Mode == 1171 1171 1172 1172 1173 - Característica:Alteraro Modo deSensorExterno.1174 +Feature: Change External Sensor Mode. 1174 1174 1175 -(% style="color:#4f81bd" %)**Comand o AT: AT+EXT**1176 +(% style="color:#4f81bd" %)**AT Command: AT+EXT** 1176 1176 1177 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 509px" %)1178 -|(% style="background-color:#d9e2f3; color:#0070c0; width:1 72px" %)**Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:173px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:159px" %)**Resposta**1179 -|(% style="width:1 72px" %)AT+EXT=?|(% style="width:173px" %)Obtero modo actualdosensorexterno|(% style="width:159px" %)1 OKModoSensorexterno =1180 -|(% style="width:1 72px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:333px" %)Configuraro modo dosensor externopara11181 -|(% style="width:1 72px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:333px" %)Definirpara DS18B20externocom carimbo dedatae hora1178 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1179 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Response** 1180 +|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1181 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1182 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1182 1182 1183 -(% style="color:#4f81bd" %)**Comand o de Ligação Descida: 0xA2**1184 +(% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1184 1184 1185 -Total debytes: 2 ~~ 5 bytes1186 +Total bytes: 2 ~~ 5 bytes 1186 1186 1187 -**Ex emplo:**1188 +**Example:** 1188 1188 1189 -* 0xA201: Definir otipode sensorexternoparaE11190 +* 0xA201: Set external sensor type to E1 1190 1190 1191 -* 0xA209: OmesmoqueAT+EXT=91192 +* 0xA209: Same as AT+EXT=9 1192 1192 1193 -* 0xA20702003c: OmesmoqueAT+SETCNT=601194 +* 0xA20702003c: Same as AT+SETCNT=60 1194 1194 1195 1195 1196 -== 4.3 Activar/desactivaraligação ascendenteID da sonda detemperatura==1197 +== 4.3 Enable/Disable uplink Temperature probe ID == 1197 1197 1198 1198 1199 1199 ((( 1200 - Característica:SeoPIDestiverativado,odispositivoenviaráoID dasondade temperaturaem:1201 +Feature: If PID is enabled, device will send the temperature probe ID on: 1201 1201 ))) 1202 1202 1203 1203 * ((( 1204 - PrimeiroPacote após a AdesãoaoOTAA1205 +First Packet after OTAA Join 1205 1205 ))) 1206 1206 * ((( 1207 - Acada24 horasdesdeoprimeiropacote.1208 +Every 24 hours since the first packet. 1208 1208 ))) 1209 1209 1210 1210 ((( 1211 -PID édefinidocomopadrãoparadesabilitar(0)1212 +PID is default set to disable (0) 1212 1212 1213 1213 1214 1214 ))) 1215 1215 1216 -(% style="color:#4f81bd" %)**Comand o AT:**1217 +(% style="color:#4f81bd" %)**AT Command:** 1217 1217 1218 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 504px" %)1219 -|(% style="background-color:#d9e2f3; color:#0070c0; width:1 72px" %)**Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:237px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:81px" %)**Resposta**1220 -|(% style="width:1 72px" %)AT+PID=1|(% style="width:237px" %)Activar aligação ascendentePID|(% style="width:81px" %)OK1219 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1220 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:138px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response** 1221 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1221 1221 1222 -(% style="color:#4f81bd" %)** ComandoDownlink:**1223 +(% style="color:#4f81bd" %)**Downlink Command:** 1223 1223 1224 1224 * **0xA800** **~-~->** AT+PID=0 1225 1225 * **0xA801** **~-~->** AT+PID=1 1226 1226 1227 1227 1228 -== 4.4 DefiniraSenha==1229 +== 4.4 Set Password == 1229 1229 1230 1230 1231 - Característica:Definaaenha do dispositivo, máximo9 dígitos1232 +Feature: Set device password, max 9 digits 1232 1232 1233 -(% style="color:#4f81bd" %)**Comand o AT: AT+PWORD**1234 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1234 1234 1235 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 402px" %)1236 -|(% style="background-color:#d9e2f3; color:#0070c0; width:1 77px" %)**Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:85px" %)**Resposta**1237 -|(% style="width:1 77px" %)AT+PWORD=?|(% style="width:128px" %)Mostraraenha|(% style="width:85px" %)(((1236 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1237 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response** 1238 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1238 1238 123456 1239 1239 1240 1240 OK 1241 1241 ))) 1242 -|(% style="width:1 77px" %)AT+PWORD=999999|(% style="width:128px" %)Definiraenha|(% style="width:85px" %)OK1243 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1243 1243 1244 -(% style="color:#4f81bd" %)** ComandoDownlink:**1245 +(% style="color:#4f81bd" %)**Downlink Command:** 1245 1245 1246 -N enhum comandodeligaçãodescendenteparaestafuncionalidade.1247 +No downlink command for this feature. 1247 1247 1248 1248 1249 -== 4.5 SairdoComandoAT==1250 +== 4.5 Quit AT Command == 1250 1250 1251 1251 1252 - Recurso:Saiadomodo de comandoAT,entãoousuárioprecisainserirsenhanovamenteantes de usarcomandosAT.1253 +Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1253 1253 1254 -(% style="color:#4f81bd" %)**Comand o AT: AT+DISAT**1255 +(% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1255 1255 1256 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:4 69px" %)1257 -|(% style="background-color:#d9e2f3; color:#0070c0; width:1 71px" %)**Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:206px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:81px" %)**Resposta**1258 -|(% style="width:1 71px" %)AT+DISAT|(% style="width:206px" %)SairdomodoComandosAT|(% style="width:81px" %)OK1257 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1258 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 1259 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1259 1259 1260 -(% style="color:#4f81bd" %)** ComandoDownlink:**1261 +(% style="color:#4f81bd" %)**Downlink Command:** 1261 1261 1262 -N enhum comandodeligaçãodescendenteparaestafuncionalidade.1263 +No downlink command for this feature. 1263 1263 1264 1264 1265 -== 4.6 Configurarparaomodo desuspensão==1266 +== 4.6 Set to sleep mode == 1266 1266 1267 1267 1268 - Característica:Definirodispositivo paraomodo desuspensão1269 +Feature: Set device to sleep mode 1269 1269 1270 -* **AT+Sleep=0** : Modo de trabalhonormal, dispositivoirádormire usarmenor energiaquandonãohámensagem LoRa1271 -* **AT+Sleep=1** : Odispositivoestáemmodo desonoprofundo, nenhuma ativaçãoLoRaacontece, usadoparaarmazenamentoouenvio.1271 +* **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message 1272 +* **AT+Sleep=1** : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 1272 1272 1273 -(% style="color:#4f81bd" %)**Comand o AT: AT+SLEEP**1274 +(% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1274 1274 1275 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:51 4px" %)1276 -|(% style="background-color:#d9e2f3; color:#0070c0; width:1 73px" %)**Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:152px" %)**Função**|(% style="background-color:#d9e2f3; color:#0070c0; width:184px" %)**Resposta**1277 -|(% style="width:1 73px" %)AT+SLEEP|(% style="width:152px" %)Configurarparaomodo desuspensão|(% style="width:184px" %)(((1278 - Limpartodososdados armazenadosdosensor...1276 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1277 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response** 1278 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1279 +Clear all stored sensor data… 1279 1279 1280 1280 OK 1281 1281 ))) 1282 1282 1283 -(% style="color:#4f81bd" %)** ComandoDownlink:**1284 +(% style="color:#4f81bd" %)**Downlink Command:** 1284 1284 1285 -* Nãohá nenhumcomando downlinkpara definircomomododesuspensão.1286 +* There is no downlink command to set to Sleep mode. 1286 1286 1287 1287 1288 -== 4.7 Definira hora dosistema==1289 +== 4.7 Set system time == 1289 1289 1290 1290 1291 - Característica:Definir otempodosistema, formato unix. [[Veja aqui os detalhesdo formato.>>||anchor="H2.6.2UnixTimeStamp"]]1292 +Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1292 1292 1293 -(% style="color:#4f81bd" %)**Comand o AT:**1294 +(% style="color:#4f81bd" %)**AT Command:** 1294 1294 1295 1295 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1296 -|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)** Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Função**1297 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function** 1297 1297 |(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1298 1298 OK 1299 1299 1300 - Definirotempodo sistemapara2021-01-20 00:59:121301 +Set System time to 2021-01-20 00:59:12 1301 1301 ))) 1302 1302 1303 -(% style="color:#4f81bd" %)** ComandoDownlink:**1304 +(% style="color:#4f81bd" %)**Downlink Command:** 1304 1304 1305 -0x306007806000 ~/~/ Definirtimestamppara0xmoqueAT1306 +0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1306 1306 1307 1307 1308 -== 4.8 Definiro Modo de SincronizaçãodeTempo==1309 +== 4.8 Set Time Sync Mode == 1309 1309 1310 1310 1311 1311 ((( 1312 -F uncionalidade:Ativar/esativar o tempodosistemadesincronizaçãovia LoRaWAN MAC Command (DeviceTimeReq),o servidorLoRaWANdeve suportaroprotocolov1.0.3 para respondera estecomando.1313 +Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1313 1313 ))) 1314 1314 1315 1315 ((( 1316 -SYNCMOD édefinidocomo1porpadrão.Seousuárioquiserdefinir umahoradiferentedo servidorLoRaWAN,ousuárioprecisadefinirissocomo0.1317 +SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0. 1317 1317 ))) 1318 1318 1319 -(% style="color:#4f81bd" %)**Comand o AT:**1320 +(% style="color:#4f81bd" %)**AT Command:** 1320 1320 1321 1321 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1322 -|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)** Exemplo deComando**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Função**1323 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1323 1323 |(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1324 1324 1325 1325 (% style="color:#4f81bd" %)**Downlink Command:**