Last modified by Xiaoling on 2023/07/18 10:12

From version 262.17
edited by Xiaoling
on 2023/07/17 19:43
Change comment: There is no comment for this version
To version 262.19
edited by Xiaoling
on 2023/07/17 19:49
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1413,53 +1413,53 @@
1413 1413  == 4.14 Comando WMOD modificado para sensor externo TMP117 ou DS18B20 alarme de temperatura (desde firmware 1.3.0) ==
1414 1414  
1415 1415  
1416 -Feature: Set internal and external temperature sensor alarms.
1416 +Característica: Definir alarmes internos e externos do sensor de temperatura.
1417 1417  
1418 1418  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1419 -|=(% style="width: 250px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Response**
1420 -|(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1419 +|=(% style="width: 342px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Exemplo de Comando**|=(% style="width: 181px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Função**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Resposta**
1420 +|(% style="width:342px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:181px" %)Definir alarmes internos e externos do sensor de temperatura|(% style="width:181px" %)OK
1421 1421  
1422 1422  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
1423 1423  
1424 -(% style="color:#037691" %)**Parameter 1**(%%):  Alarm mode:
1424 +(% style="color:#037691" %)**Parâmetro 1: Modo de alarme:**
1425 1425  
1426 -0): Cancel
1426 +0): Cancelar
1427 1427  
1428 -1): Threshold alarm
1428 +1): Alarme de limiar
1429 1429  
1430 -2): Fluctuation alarm
1430 +2): Alarme de flutuação
1431 1431  
1432 1432  
1433 -(% style="color:#037691" %)** Parameter 2**(%%):  Sampling time. Unit: seconds, up to 255 seconds.
1433 +(% style="color:#037691" %)** Parâmetro 2:**(%%)  Tempo de amostragem. Unidade: segundos, até 255 segundos.
1434 1434  
1435 -(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.**
1435 +(% style="color:red" %)**Nota: Quando o tempo de coleta é inferior a 60 segundos e sempre excede o limite de alarme definido, o intervalo de envio não se o tempo de coleta, mas se enviado a cada 60 segundos.**
1436 1436  
1437 1437  
1438 -(% style="color:#037691" %) **Parameter 3 and parameter 4:**
1438 +(% style="color:#037691" %)**Parâmetro 3 e parâmetro 4:**
1439 1439  
1440 -1):  If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature.
1440 +1): Se o modo de alarme é definido como 1: o parâmetro 3 e o parâmetro 4 são válidos, como antes, eles representam baixa temperatura e alta temperatura.
1441 1441  
1442 -Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm.
1442 +Tal como AT+WMOD=1,60,45,105, significa alarme de alta e baixa temperatura.
1443 1443  
1444 1444  
1445 -2):  If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature.
1445 +2): Se o Modo de Alarme estiver definido como 2: o parâmetro 3 é válido, que representa a diferença entre a temperatura atualmente coletada e a última temperatura carregada.
1446 1446  
1447 -Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm.
1447 +Tal como AT+WMOD=2,10,2, significa que é um alarme de flutuação.
1448 1448  
1449 -If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued.
1449 +Se a diferença entre a temperatura coletada atual e o último Uplin for de ± 2 graus, o alarme será emitido.
1450 1450  
1451 1451  
1452 -(% style="color:#4f81bd" %)**Downlink Command: 0xA5**
1452 +(% style="color:#4f81bd" %)**Comando Downlink: 0xA5**
1453 1453  
1454 1454  0xA5 00 ~-~- AT+WMOD=0.
1455 1455  
1456 -0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105  (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 )
1456 +0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105 (AT+WMOD = segundo byte, terceiro byte, quarto e quinto bytes divididos por 100, sexto e sétimo bytes divididos por 100 )
1457 1457  
1458 -0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Need to convert -16 to -1600 for calculation,-1600(DEC)=FFFFFFFFFFFFF9C0(HEX)  FFFFFFFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX))
1458 +0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Necessidade de converter -16 para -1600 para cálculo-1600(DEC)=FFFFFFFFFFFF9C0(HEX)[UNK][UNK]FFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX))
1459 1459  
1460 -0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
1460 +0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = segundo byte, terceiro byte, quarto byte)
1461 1461  
1462 -0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02.
1462 +0xA5 FF ~-~- Depois que o dispositivo o recebe, carregue a configuração atual do alarme (FPORT=8). Como 01 0A 11 94 29 04 ou 02 0A 02.
1463 1463  
1464 1464  
1465 1465  = 5. Battery & How to replace =