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
-
... ... @@ -1430,116 +1430,247 @@ 1430 1430 2): Alarme de flutuação 1431 1431 1432 1432 1433 -(% style="color:#037691" %)** Par âmetro2:**(%%)Tempode amostragem. Unidade: segundos,até255 segundos.1433 +(% style="color:#037691" %)** Parameter 2**(%%): Sampling time. Unit: seconds, up to 255 seconds. 1434 1434 1435 -(% style="color:red" %)**Not a:Quandootempodecoleta éinferiora 60 segundosesempreexcedeo limitede alarmedefinido,ointervalode envionãoseráotempodecoleta,masseráenviadoa cada60 segundos.**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.** 1436 1436 1437 1437 1438 -(% style="color:#037691" %)**Par âmetro3eparâmetro4:**1438 +(% style="color:#037691" %) **Parameter 3 and parameter 4:** 1439 1439 1440 -1): Seo modo de alarmeédefinidocomo1:o parâmetro3eoparâmetro4sãoválidos,comoantes,elesrepresentambaixatemperaturae altatemperatura.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. 1441 1441 1442 - TalcomoAT+WMOD=1,60,45,105,significaalarmedealtaebaixatemperatura.1442 +Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm. 1443 1443 1444 1444 1445 -2): Seo Modo deAlarmeestiverdefinidocomo2:o parâmetro3éválido,querepresentaadiferençaentreatemperaturaatualmentecoletadaea última temperatura carregada.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. 1446 1446 1447 - TalcomoAT+WMOD=2,10,2,significaqueéumalarmedeflutuação.1447 +Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm. 1448 1448 1449 - Seadiferençaentreatemperatura coletadaatualeo últimoUplinforde±aus,oalarmeseráemitido.1449 +If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued. 1450 1450 1451 1451 1452 -(% style="color:#4f81bd" %)** ComandoDownlink: 0xA5**1452 +(% style="color:#4f81bd" %)**Downlink Command: 0xA5** 1453 1453 1454 1454 0xA5 00 ~-~- AT+WMOD=0. 1455 1455 1456 -0xA5 gundobyte,erceirobyte,quartoequintobytes divididospor100,extoesétimobytes divididospor1001456 +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 ) 1457 1457 1458 -0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Ne cessidadedeconverter-16para-1600paracálculo-1600(DEC)=FFFFFFFFFFFF9C0(HEX)[UNK][UNK]FFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX))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)) 1459 1459 1460 -0xA5 gundobyte,erceirobyte,quartobyte)1460 +0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 1461 1461 1462 -0xA5 Depoisqueodispositivoorecebe,carreguea configuração atual doalarme(FPORT=8).Como01 0A 11u02 0A 02.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. 1463 1463 1464 1464 1465 -= 5. Bater iaecomosubstituir =1465 += 5. Battery & How to replace = 1466 1466 1467 -== 5.1 Tipo deBateria==1467 +== 5.1 Battery Type == 1468 1468 1469 1469 1470 1470 ((( 1471 -LHT65N éequipadocomumabateriaLi-MnO22400mAH(CR17505).Abateriaéumabaterianãorecarregávelcombaixataxadedescargadirecionadaparaaté8nosdeuso.Estetipo de bateriaécomumenteusadoemdispositivosIoTparafuncionamentoalongoprazo, comomedidoresdeágua.1471 +LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 1472 1472 ))) 1473 1473 1474 1474 ((( 1475 - A curva de descarganãoélinear,então nãopodesimplesmenteusarporcentagempara mostraroníveldabateria.Abaixoestáodesempenhodabateria.1475 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1476 1476 1477 1477 1478 1478 [[image:image-20220515075034-1.png||_mstalt="428961" height="208" width="644"]] 1479 1479 ))) 1480 1480 1481 -A tensão de trabalho mínima para o LHT65N é ~~ 2.5v. Quando a bateria é inferior a 2.6v, é hora de mudar a bateria. 1481 +The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1482 + 1482 1482 1484 +== 5.2 Replace Battery == 1483 1483 1484 -== 5.2 Substituir a Bateria == 1485 1485 1487 +LHT65N has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery. Any brand should be ok. 1486 1486 1487 -LHT65N tem dois parafusos na parte de trás, Desenrocá-los, e mudar a bateria dentro é ok.A bateria é uma bateria CR17450 geral. Qualquer marca deve estar bem. 1488 - 1489 1489 [[image:image-20220515075440-2.png||_mstalt="429546" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" height="193" width="257"]] 1490 1490 1491 1491 1492 -== 5.3 Análise da Vida daBateria ==1492 +== 5.3 Battery Life Analyze == 1493 1493 1494 1494 1495 1495 ((( 1496 - Os produtos movidosabateriaDraginosão todos executadosno modo debaixapotência.Ousuáriopodeverificaradiretriza partir destelinkparacalcularaduraçãoestimadadabateria:1496 +Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life: 1497 1497 [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]] 1498 1498 ))) 1499 1499 1500 1500 1501 1501 ((( 1502 - Umrelatóriode testedetalhado completoparaLHT65Nemdiferentesfrequênciaspodeser encontradoem: [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]1502 +A full detail test report for LHT65N on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] 1503 1503 ))) 1504 1504 1505 1505 1506 1506 = 6. FAQ = 1507 1507 1508 -== 6.1 Como usaroComando AT? ==1508 +== 6.1 How to use AT Command? == 1509 1509 1510 1510 1511 -LHT65N suport aAT Command set.UserpodeusarumadaptadorUSBparaTTLmais o cabodoprogramaparaconectarao LHT65parausarocomando AT,comoabaixo.1511 +LHT65N supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below. 1512 1512 1513 1513 [[image:image-20220530085651-1.png||_mstalt="429949"]] 1514 1514 1515 1515 1516 -** Ligação:**1516 +**Connection:** 1517 1517 1518 -* (% style="background-color:yellow" %)**USB paraTTL GND <~-~->GND**1519 -* (% style="background-color:yellow" %)**USB paraTTL RXD<~-~->D+**1520 -* (% style="background-color:yellow" %)**USB paraTTL TXD<~-~->A11**1518 +* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND** 1519 +* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+** 1520 +* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11** 1521 1521 1522 1522 ((( 1523 -(% _mstmutation="1" style="color:red" %)**(Nota: Este pino corresponde apenas à placa de lead-out vendida pela empresa dragino. Para a placa de lead-out comprada por você, consulte a descrição do pino no Capítulo 6.6)** 1523 +(% _mstmutation="1" style="color:red" %)**(Note: This pin only corresponds to the lead-out board sold by dragino company. For the lead-out board purchased by yourself, please refer to the pin description in Chapter 6.6)** 1524 + 1525 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 1524 1524 ))) 1525 1525 1526 -No PC, o usuário precisa definir a taxa de transmissão da ferramenta serial (tais como [[**putty**>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) para **9600** para acessar o console serial para LHT65N. Os comandos AT são desabilitados por padrão e precisam digitar senha (padrão:**123456**) para ativá-lo. Tempo limite para inserir o comando AT é de 5 minutos, após 5 minutos, o usuário precisa digitar senha novamente. O usuário pode usar o comando AT + DISAT para desativar o comando AT antes do tempo limite. 1527 1527 1529 +Input password and ATZ to activate LHT65N,As shown below: 1528 1528 1529 -Digite a senha e ATZ para ativar LHT65N, como mostrado abaixo: 1530 - 1531 1531 [[image:image-20220530095701-4.png||_mstalt="430014"]] 1532 1532 1533 1533 1534 - ==6.2 Onde usar comandosATe comandosDownlink ==1534 +AT Command List is as below: 1535 1535 1536 +AT+<CMD>? : Help on <CMD> 1536 1536 1537 - **ComandosAT:**1538 +AT+<CMD> : Run <CMD> 1538 1538 1540 +AT+<CMD>=<value> : Set the value 1541 + 1542 +AT+<CMD>=? : Get the value 1543 + 1544 +AT+DEBUG: Set more info output 1545 + 1546 +ATZ: Trig a reset of the MCU 1547 + 1548 +AT+FDR: Reset Parameters to Factory Default, Keys Reserve 1549 + 1550 +AT+DEUI: Get or Set the Device EUI 1551 + 1552 +AT+DADDR: Get or Set the Device Address 1553 + 1554 +AT+APPKEY: Get or Set the Application Key 1555 + 1556 +AT+NWKSKEY: Get or Set the Network Session Key 1557 + 1558 +AT+APPSKEY: Get or Set the Application Session Key 1559 + 1560 +AT+APPEUI: Get or Set the Application EUI 1561 + 1562 +AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on) 1563 + 1564 +AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec) 1565 + 1566 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1567 + 1568 +AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 1569 + 1570 +AT+PNM: Get or Set the public network mode. (0: off, 1: on) 1571 + 1572 +AT+RX2FQ: Get or Set the Rx2 window frequency 1573 + 1574 +AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) 1575 + 1576 +AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms 1577 + 1578 +AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 1579 + 1580 +AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 1581 + 1582 +AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 1583 + 1584 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1585 + 1586 +AT+NWKID: Get or Set the Network ID 1587 + 1588 +AT+FCU: Get or Set the Frame Counter Uplink 1589 + 1590 +AT+FCD: Get or Set the Frame Counter Downlink 1591 + 1592 +AT+CLASS: Get or Set the Device Class 1593 + 1594 +AT+JOIN: Join network 1595 + 1596 +AT+NJS: Get the join status 1597 + 1598 +AT+SENDB: Send hexadecimal data along with the application port 1599 + 1600 +AT+SEND: Send text data along with the application port 1601 + 1602 +AT+RECVB: Print last received data in binary format (with hexadecimal values) 1603 + 1604 +AT+RECV: Print last received data in raw format 1605 + 1606 +AT+VER: Get current image version and Frequency Band 1607 + 1608 +AT+CFM: Get or Set the confirmation mode (0-1) 1609 + 1610 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1611 + 1612 +AT+SNR: Get the SNR of the last received packet 1613 + 1614 +AT+RSSI: Get the RSSI of the last received packet 1615 + 1616 +AT+TDC: Get or set the application data transmission interval in ms 1617 + 1618 +AT+PORT: Get or set the application port 1619 + 1620 +AT+DISAT: Disable AT commands 1621 + 1622 +AT+PWORD: Set password, max 9 digits 1623 + 1624 +AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode 1625 + 1626 +AT+CHE: Get or Set eight channels mode,Only for US915,AU915,CN470 1627 + 1628 +AT+PDTA: Print the sector data from start page to stop page 1629 + 1630 +AT+PLDTA: Print the last few sets of data 1631 + 1632 +AT+CLRDTA: Clear the storage, record position back to 1st 1633 + 1634 +AT+SLEEP: Set sleep mode 1635 + 1636 +AT+EXT: Get or Set external sensor model 1637 + 1638 +AT+BAT: Get the current battery voltage in mV 1639 + 1640 +AT+CFG: Print all configurations 1641 + 1642 +AT+WMOD: Get or Set Work Mode 1643 + 1644 +AT+ARTEMP: Get or set the internal Temperature sensor alarm range 1645 + 1646 +AT+CITEMP: Get or set the internal Temperature sensor collection interval in min 1647 + 1648 +AT+SETCNT: Set the count at present 1649 + 1650 +AT+RJTDC: Get or set the ReJoin data transmission interval in min 1651 + 1652 +AT+RPL: Get or set response level 1653 + 1654 +AT+TIMESTAMP: Get or Set UNIX timestamp in second 1655 + 1656 +AT+LEAPSEC: Get or Set Leap Second 1657 + 1658 +AT+SYNCMOD: Get or Set time synchronization method 1659 + 1660 +AT+SYNCTDC: Get or set time synchronization interval in day 1661 + 1662 +AT+PID: Get or set the PID 1663 + 1664 + 1665 +== 6.2 Where to use AT commands and Downlink commands == 1666 + 1667 + 1668 +**AT commands: ** 1669 + 1539 1539 [[image:image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]] 1540 1540 1541 1541 1542 -** Comandos deligaçãodescendente:**1673 +**Downlink commands:** 1543 1543 1544 1544 1545 1545 (% style="color:blue" %)**TTN:** ... ... @@ -1554,7 +1554,7 @@ 1554 1554 1555 1555 1556 1556 1557 -(% style="color:blue" %)**Chirpstack: A janeladownlink nãoserá exibidaatéque aredesejaacessada**1688 +(% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed** 1558 1558 1559 1559 1560 1560 [[image:image-20220615094850-6.png||_mstalt="433082"]] ... ... @@ -1569,13 +1569,13 @@ 1569 1569 [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 1570 1570 1571 1571 1572 -== 6.3 Comoalterarointervalode uplink? ==1703 +== 6.3 How to change the uplink interval? == 1573 1573 1574 1574 1575 -P or favor, vejate link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]]1706 +Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]] 1576 1576 1577 1577 1578 -== 6.4 Como usarTTL-USBparaconectarumPCparainserircomandosAT? ==1709 +== 6.4 How to use TTL-USB to connect a PC to input AT commands? == 1579 1579 1580 1580 1581 1581 [[image:image-20220615153355-1.png||_mstalt="430222"]] ... ... @@ -1584,25 +1584,23 @@ 1584 1584 1585 1585 1586 1586 ((( 1587 - NoPC,o usuárioprecisa definir a taxadetransmissãoda ferramentaserial(taiscomo[[**putty**>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT)para **9600**paraacessaro console serialparaLHT65N.OscomandosATsãodesabilitadospor padrão eprecisam digitarsenha(padrão:**123456**)paraativá-lo. TempolimiteparainserirocomandoATé de5 minutos, após5os,ousuárioprecisadigitarsenhanovamente.O usuário podeusarocomandoATpara desativar ocomando AT antesdotempolimite.1718 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 1588 1588 ))) 1589 1589 1590 1590 1591 - DigitesenhaeATZparaativarLHT65N,comomostradoabaixo:1722 +Input password and ATZ to activate LHT65N, As shown below: 1592 1592 1593 1593 [[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 1594 1594 1595 1595 1596 -== 6.5 Como usarTTL-USBparaconectaroPC paraatualizarfirmware? ==1727 +== 6.5 How to use TTL-USB to connect PC to upgrade firmware? == 1597 1597 1598 1598 1599 1599 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1600 1600 1601 1601 1602 -(% style="color:blue" %)** Passo1:**(%%)1733 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]] first. 1603 1603 1604 -Passo 1: Instale primeiro o seguinte TremoProgrammer. 1605 - 1606 1606 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1607 1607 1608 1608