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

From version 261.4
edited by Xiaoling
on 2023/07/17 16:06
Change comment: Update document after refactoring.
To version 261.13
edited by Xiaoling
on 2023/07/17 17:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LHT65N -- LoRaWAN Temperature & Humidity Sensor Manual
1 +LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Content
... ... @@ -11,108 +11,100 @@
11 11  
12 12  
13 13  
14 -= 1. Introduction =
14 += 1. Introdução =
15 15  
16 -== 1.1 What is LHT65N LoRaWAN (% style="display:none" %) (%%)Temperature & Humidity Sensor ==
16 +== 1.1 O que é LHT65N LoRaWAN Temperatura & Umidade Sensor ==
17 17  
18 18  
19 19  (((
20 -The Dragino LHT65N (% style="display:none" %) (%%)Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:#4f81bd" %)**built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% style="color:#4f81bd" %)**Temperature Sensor.**
21 -)))
20 +O sensor de temperatura e umidade Dragino LHT65N é um sensor LoRaWAN de longo alcance. Inclui um sensor de temperatura e umidade embutido e tem um conector de sensor externo para conectar a um sensor de temperatura externo.
22 22  
23 -(((
24 -The LHT65N allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
25 -)))
26 26  
27 -(((
28 -LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*.
29 -)))
23 +O LHT65N permite que os usuários enviem dados e alcancem distâncias extremamente longas. Fornece comunicação de espectro de propagação de ultra-longo alcance e alta imunidade à interferência, minimizando o consumo atual. Ele visa aplicações profissionais de rede de sensores sem fio, como sistemas de irrigação, medição inteligente, cidades inteligentes, automação de edifícios e assim por diante.
30 30  
31 -(((
32 -LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway.
33 -)))
34 34  
35 -(((
36 -LHT65N supports (% style="color:#4f81bd" %)**Datalog Feature**(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading.
37 -)))
26 +LHT65N tem uma bateria embutida de 2400mAh não recarregável que pode ser usada por até 10 anos*.
38 38  
39 -(((
40 -*The actual battery life depends on how often to send data, please see the battery analyzer chapter.
41 -)))
42 42  
29 +LHT65N é totalmente compatível com o protocolo LoRaWAN v1.0.3 Classe A, ele pode trabalhar com um gateway LoRaWAN padrão.
43 43  
44 -== 1.2 Features ==
45 45  
32 +O LHT65N suporta a funcionalidade Datalog. Ele registrará os dados quando não houver cobertura de rede e os usuários podem recuperar o valor do sensor mais tarde para garantir que não haja perda para cada leitura do sensor.
46 46  
47 -* LoRaWAN v1.0.3 Class A protocol
48 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
49 -* AT Commands to change parameters
50 -* Remote configure parameters via LoRaWAN Downlink
51 -* Firmware upgradeable via program port
52 -* Built-in 2400mAh battery for up to 10 years of use.
53 -* Built-in Temperature & Humidity sensor
54 -* Optional External Sensors
55 -* Tri-color LED to indicate working status
56 -* Datalog feature (Max 3328 records)
57 57  
35 +~* A vida real da bateria depende de quantas vezes enviar dados, consulte o capítulo do analisador da bateria.
36 +)))
58 58  
59 59  
60 -== 1.3 Specification ==
39 +== 1.2 Características ==
61 61  
62 62  
63 -(% style="color:#037691" %)**Built-in Temperature Sensor:**
42 +* Protocolo LoRaWAN v1.0.3 Classe A
43 +* Bandas de frequência: CN470/EU433/KR920/US915/EU868/AS923/AU915
44 +* Comandos AT para alterar os parâmetros
45 +* Parâmetros de configuração remota via LoRaWAN Downlink
46 +* Firmware atualizável através da porta do programa
47 +* Built-in 2400mAh bateria para até 10 anos de uso.
48 +* Built-in sensor de temperatura e umidade
49 +* Sensores externos opcionais
50 +* LED de três cores para indicar o estado de funcionamento
51 +* Recurso de registo de dados (máximo de 3328 registos)
64 64  
65 -* Resolution: 0.01 °C
66 -* Accuracy Tolerance : Typ ±0.3 °C
67 -* Long Term Drift: < 0.02 °C/yr
68 -* Operating Range: -40 ~~ 85 °C
69 69  
70 -(% style="color:#037691" %)**Built-in Humidity Sensor:**
54 +== 1.3 Especificação ==
71 71  
72 -* Resolution: 0.04 %RH
73 -* Accuracy Tolerance : Typ ±3 %RH
74 -* Long Term Drift: < 0.02 °C/yr
75 -* Operating Range: 0 ~~ 96 %RH
76 76  
77 -(% style="color:#037691" %)**External Temperature Sensor:**
57 +(% style="color:#037691" %)**Sensor de temperatura incorporado:**
78 78  
79 -* Resolution: 0.0625 °C
80 -* ±0.5°C accuracy from -10°C to +85°C
81 -* ±2°C accuracy from -55°C to +125°C
82 -* Operating Range: -55 °C ~~ 125 °C
59 +* Resolução: 0,01 °C
60 +* Tolerância de precisão: Tipo ± 0,3 °C
61 +* Deriva a longo prazo: < 0,02 °C/ano
62 +* Faixa de operação: -40 ~~ 85 °C
83 83  
64 +(% style="color:#037691" %)**Sensor de humidade incorporado:**
84 84  
66 +* Resolução: 0,04%UR
67 +* Tolerância da precisão: Tipo ±3%RH
68 +* Deriva a longo prazo: < 0,02 °C/ano
69 +* Faixa de operação: 0 ~~ 96%RH
85 85  
86 -= 2. Connect LHT65N to IoT Server =
71 +(% style="color:#037691" %)**Sensor de temperatura externo:**
87 87  
88 -== 2.1 How does LHT65N work? ==
73 +* Resolução: 0,0625 °C
74 +* ±0,5°C precisão de -10°C a +85°C
75 +* ±2°C precisão de -55°C a +125°C
76 +* Faixa de operação: -55 °C ~~ 125 °C
89 89  
90 90  
91 -(((
92 -LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N.
93 -)))
79 += 2. Conecte LHT65N ao servidor IoT =
94 94  
81 +== 2.1 Como funciona o LHT65N? ==
82 +
83 +
95 95  (((
96 -If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
85 +O LHT65N é configurado como o modo LoRaWAN OTAA Classe A por padrão. Cada LHT65N é enviado com um conjunto único mundial de chaves OTAA. Para usar o LHT65N em uma rede LoRaWAN, primeiro, precisamos colocar as chaves OTAA no LoRaWAN Network Server e, em seguida, ativar o LHT65N.
86 +
87 +
88 +Se o LHT65N estiver sob a cobertura desta rede LoRaWAN. LHT65N pode entrar na rede LoRaWAN automaticamente. Depois de ingressar com sucesso, o LHT65N começará a medir a temperatura e umidade do ambiente e começará a transmitir dados do sensor para o servidor LoRaWAN. O período padrão para cada uplink é de 20 minutos.
97 97  )))
98 98  
99 99  
100 -== 2.2 How to Activate LHT65N? ==
92 +== 2. 2 Como ativar o LHT65N? ==
101 101  
102 102  
103 103  (((
104 -The LHT65N has two working modes:
96 +O LHT65N tem dois modos de trabalho:
105 105  )))
106 106  
107 107  * (((
108 -(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
100 +(% style="color:blue" %)**Modo de Suspensão Profunda:**(%%) LHT65N não tem nenhuma ativação LoRaWAN. Este modo é usado para armazenamento e transporte para economizar a vida útil da bateria.
109 109  )))
110 110  * (((
111 -(% style="color:blue" %)**Working Mode**(%%) In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 
103 +(% style="color:blue" %)**Modo de Trabalho:**(%%) Neste modo, o LHT65N funciona como o modo Sensor LoRaWAN para entrar na rede LoRaWAN e enviar os dados do sensor para o servidor. Entre cada amostragem/tx/rx periodicamente, LHT65N estará no modo STOP (modo IDLE), no modo STOP, LHT65N tem o mesmo consumo de energia que o modo Deep Sleep.
112 112  )))
113 113  
114 114  (((
115 -The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
107 +O LHT65N é definido no modo de sono profundo por padrão; O botão ACT na frente é para alternar para diferentes modos:
116 116  )))
117 117  
118 118  
... ... @@ -119,49 +119,44 @@
119 119  [[image:image-20230717144740-2.png||height="391" width="267"]]
120 120  
121 121  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
122 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
123 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
124 -If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
114 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Comportamento no ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Função**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Acção**
115 +|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT entre 1s < tempo < 3s|(% style="background-color:#f2f2f2; width:117px" %)Teste o estado da ligação ascendente|(% style="background-color:#f2f2f2; width:225px" %)Se o LHT65N já estiver unido à rede rhe LoRaWAN, o LHT65N enviará um pacote de uplink, se o LHT65N tiver sensor externo conectado, o led azul piscará uma vez. Se o LHT65N não tiver sensor externo, o led vermelho piscará uma vez.
116 +|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT por mais de 3s|(% style="background-color:#f2f2f2; width:117px" %)Dispositivo Activo|(% style="background-color:#f2f2f2; width:225px" %)O led verde piscará rapidamente 5 vezes, o LHT65N entrará no modo de trabalho e começará a juntar-se à rede LoRaWAN.
117 +O led verde ligará solidamente por 5 segundos após a junção na rede.
118 +|(% style="background-color:#f2f2f2; width:167px" %)Pressione rapidamente ACT 5 vezes.|(% style="background-color:#f2f2f2; width:117px" %)Desactivar o Dispositivo|(% style="background-color:#f2f2f2; width:225px" %)(((
119 +O led vermelho ficará sólido durante 5 segundos. Significa que LHT65N está em modo de sono profundo.
125 125  )))
126 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
127 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
128 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
129 -)))
130 -|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode.
131 131  
122 +== 2.3 Exemplo para ingressar na rede LoRaWAN ==
132 132  
133 -== 2.3 Example to join LoRaWAN network ==
134 134  
135 -
136 136  (% class="wikigeneratedid" %)
137 -This section shows an example of how to join the TTN V3 LoRaWAN IoT server. Use with other LoRaWAN IoT servers is of a similar procedure.
126 +Esta seção mostra um exemplo de como entrar no servidor IoT TTN V3 LoRaWAN. O uso com outros servidores IoT LoRaWAN é de um procedimento semelhante.
138 138  
139 139  
140 140  (% class="wikigeneratedid" %)
141 141  [[image:image-20220522232442-1.png||_mstalt="427830" height="387" width="648"]]
142 142  
132 +Suponha que o LPS8N já esteja configurado para se conectar à rede [[TTN V3>>https://eu1.cloud.thethings.network]], então ele fornece cobertura de rede para LHT65N. Em seguida, precisamos adicionar o dispositivo LHT65N em TTN V3:
143 143  
144 144  (((
145 -Assume the LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network||_mstvisible="2"]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3:
135 +
146 146  )))
147 147  
138 +=== 2.3.1 Etapa 1: Crie dispositivo n ttn ===
148 148  
149 -=== 2.3.1 Step 1: Create Device n TTN ===
150 150  
151 -
152 152  (((
153 -Create a device in TTN V3 with the OTAA keys from LHT65N.
154 -)))
142 +Crie um dispositivo no TTN V3 com as teclas OTAA do LHT65N.
155 155  
156 -(((
157 -Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
144 +Cada LHT65N é enviado com um adesivo com seu dispositivo eui, chave de aplicativo e aplicativo eui como abaixo:
158 158  )))
159 159  
160 160  [[image:image-20230426083319-1.png||height="258" width="556"]]
161 161  
162 -User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
149 +O usrio pode inserir essas chaves no portal do servidor Lorawan. Abaixo es a captura de tela do TTN V3:
163 163  
164 -Add APP EUI in the application.
151 +Adicione o aplicativo EUI no aplicativo.
165 165  
166 166  
167 167  [[image:image-20220522232916-3.png||_mstalt="430495"]]
... ... @@ -174,43 +174,41 @@
174 174  
175 175  
176 176  
177 -(% style="color:red" %)**Note: LHT65N use same payload as LHT65.**
164 +(% style="color:red" %)**Nota: LHT65N Use a mesma carga útil que LHT65.**
178 178  
179 179  
180 180  [[image:image-20220522233026-6.png||_mstalt="429403"]]
181 181  
182 182  
183 -Input APP EUI,  APP KEY and DEV EUI:
170 +INSIDE APP EUI, APP KEY e DEV EUI:
184 184  
185 185  
186 186  [[image:image-20220522233118-7.png||_mstalt="430430"]]
187 187  
188 188  
189 -=== 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
176 +=== 2.3.2 Passo 2: Ative o LHT65N pressionando o botão ACT por mais de 5 segundos. ===
190 190  
191 191  
192 192  (((
193 -Use ACT button to activate LHT65N and it will auto-join to the TTN V3 network. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel.
180 +Use o botão ACT para ativar o LHT65N e ele se conectará automaticamente à rede TTN V3. Após o sucesso da junção, ele começará a carregar os dados do sensor para o TTN V3 e o usuário poderá ver no painel.
194 194  )))
195 195  
196 196  [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]]
197 197  
198 198  
199 -== 2.4 Uplink Payload (Fport~=2) ==
186 +== 2.4 Carga útil de uplink (Fport~=2) ==
200 200  
201 201  
202 202  (((
203 -The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default.
190 +A carga de uplink inclui totalmente 11 bytes. Os pacotes de uplink usam FPORT=2 e a cada 20 minutos enviam um uplink por padrão.
204 204  )))
205 205  
206 206  (((
207 -After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once.
194 +Após cada uplink, o LED AZUL piscará uma vez.
208 208  )))
209 209  
210 210  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %)
211 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
212 -**Size(bytes)**
213 -)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
198 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)(((
214 214  **2**
215 215  )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)(((
216 216  **2**
... ... @@ -221,153 +221,137 @@
221 221  )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
222 222  **4**
223 223  )))
224 -|(% style="width:97px" %)(((
225 -**Value**
226 -)))|(% style="width:39px" %)(((
227 -[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]]
209 +|(% style="width:97px" %)Valor|(% style="width:39px" %)(((
210 +[[MTD>>||anchor="H2.4.2BAT-BatteryInfo"]]
228 228  )))|(% style="width:100px" %)(((
229 229  (((
230 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
213 +[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]]
231 231  )))
232 232  )))|(% style="width:77px" %)(((
233 233  (((
234 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
217 +[[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]
235 235  )))
236 236  )))|(% style="width:47px" %)(((
237 237  [[Ext>>||anchor="H2.4.5Ext23"]] #
238 238  )))|(% style="width:51px" %)(((
239 -[[Ext value>>||anchor="H2.4.6Extvalue"]]
222 +[[Valor Ext>>||anchor="H2.4.6Extvalue"]]
240 240  )))
241 241  
242 -* The First 6 bytes: has fix meanings for every LHT65N.
225 +* Os primeiros 6 bytes: tem significados fixos para cada LHT65N.
243 243  
244 -* The 7th byte (EXT #): defines the external sensor model.
227 +* O 7º byte (EXT #): define o modelo do sensor externo.
245 245  
246 -* The 8^^th^^ ~~ 11^^th^^ byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won't be these four bytes.)
229 +* O 8º ~~ 11º byte: o valor para o valor do sensor externo. A definição é baseada no tipo de sensor externo. (Se EXT=0, não haverá esses quatro bytes.)
247 247  
248 248  
232 +=== 2.4.1 Decodificador em TTN V3 ===
249 249  
250 -=== 2.4.1 Decoder in TTN V3 ===
251 251  
235 +Quando o payload do uplink chega TTNv3, ele mostra o formato HEX e não é fácil de ler. Podemos adicionar LHT65N decodificador em TTNv3 para leitura amigável.
252 252  
253 -When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
237 +Abaixo está a posição para colocar o decodificador e o decodificador LHT65N pode ser baixado aqui : [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
254 254  
255 -Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
256 256  
257 -
258 258  [[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
259 259  
260 260  
261 -=== 2.4.2 BAT-Battery Info ===
243 +=== 2.4.2 Informações da bateria BAT ===
262 262  
263 263  
264 -These two bytes of BAT include the battery state and the actually voltage.
246 +Esses dois bytes de BAT incluem o estado da bateria e a tensão atual.
265 265  
266 266  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
267 267  |=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
268 268  **Bit(bit)**
269 269  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
270 -|(% style="width:66px" %)(((
271 -**Value**
272 -)))|(% style="width:250px" %)(((
273 -BAT Status
274 -00(b): Ultra Low ( BAT <= 2.50v)
275 -01(b): Low (2.50v <=BAT <= 2.55v)
276 -10(b): OK (2.55v <= BAT <=2.65v)
277 -11(b): Good (BAT >= 2.65v)
278 -)))|(% style="width:152px" %)Actually BAT voltage
252 +|(% style="width:66px" %)Valor|(% style="width:250px" %)Estado MTD
253 +00 b): Ultra baixo ( MTD <= 2,50v)
254 +01 b): Baixo (2,50v <=MTD <= 2,55v)
255 +10 b): OK (2,55v <= MTD <=2,65v)
256 +11 b): Bom (MTD >= 2,65v)|(% style="width:152px" %)Na realidade, tensão MTD
279 279  
280 -**(b)stands for binary**
258 +**(b) significa binário**
281 281  
282 282  
283 283  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
284 284  
263 +Verifique a tensão da bateria para LHT65N.
285 285  
286 -Check the battery voltage for LHT65N.
265 +* Status BAT=(0Xcba4>>14)&0xFF=11 (BIN), muito bom
266 +* Tensão da bateria = 0xCBA4 & 0x3FFF = 0x0BA4 = 2980mV
287 287  
288 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
289 289  
290 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
291 291  
270 +=== 2.4.3 Temperatura interna ===
292 292  
293 293  
294 -=== 2.4.3 Built-in Temperature ===
295 -
296 -
297 297  [[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
298 298  
299 -* Temperature:  0x0ABB/100=27.47
275 +* Temperatura: 0x0ABB/100=27,47ÿ
300 300  
301 301  [[image:image-20220522235639-3.png||_mstalt="432120"]]
302 302  
303 -* Temperature:  (0xF5C6-65536)/100=-26.18
279 +* Temperatura: (0xF5C6-65536)/100=-26,18ÿ
304 304  
305 305  
306 -
307 307  (% style="display:none" %)
308 308  
309 -=== 2.4.4 Built-in Humidity ===
284 +=== 2.4.4 Umidade interna ===
310 310  
311 311  
312 312  [[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
313 313  
314 -* Humidity:    0x025C/10=60.4%
289 +* Umidade: 0x025C/10=60,4%
315 315  
316 316  
317 -
318 318  (% style="display:none" %)
319 319  
320 320  === 2.4.5 Ext # ===
321 321  
322 322  
323 -Bytes for External Sensor:
297 +Bytes para Sensor Externo:
324 324  
325 325  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
326 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # **Value|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)External Sensor Type
327 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
328 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod
300 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Valor**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)Tipo de sensor externo
301 +|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Sensor de Temperatura
302 +|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Sensor de Temperatura, Mod de Registro de Dados
329 329  
304 +=== 2.4.6 Valor externo ===
330 330  
331 -=== 2.4.6 Ext value ===
306 +==== 2.4.6.1 Ext~=1, Sensor de Temperatura E3 ====
332 332  
333 -==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
334 334  
335 -
336 336  [[image:image-20220522235639-5.png||_mstalt="432848"]]
337 337  
338 338  
339 -* DS18B20 temp=0x0ADD/100=27.81
312 +* DS18B20 temp=0x0ADD/100=27,81ÿ
340 340  
341 -The last 2 bytes of data are meaningless
314 +Os últimos 2 bytes de dados não m sentido.
342 342  
343 343  
344 344  
345 345  [[image:image-20220522235639-6.png||_mstalt="433212"]]
346 346  
320 +* Temperatura externa= (0xF54F-65536)/100=-27.37℃
347 347  
348 -* External temperature= (0xF54F-65536)/100=-27.37℃
322 +F54F: (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27,37℃
349 349  
350 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
324 +(0105 & 8000: Julgue se o bit mais alto é 1, quando o bit mais alto é 1, é negativo)
351 351  
352 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
326 +Os últimos 2 bytes de dados não têm sentido
353 353  
354 -The last 2 bytes of data are meaningless
328 +Se o sensor externo for 0x01 e o houver temperatura externa conectada. A temperatura será ajustada para 7FFF que é 327.67℃
355 355  
356 -If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
357 357  
331 +==== 2.4.6.2 Ext~=9, sensor E3 com Unix Timestamp ====
358 358  
359 359  
360 -==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
361 -
362 -
363 363  (((
364 -Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below:
335 +O modo Timestamp é projetado para LHT65N com sonda E3, ele enviará a carga útil de uplink com timestamp Unix. Com a limitação de 11 bytes (distância máxima da banda AU915/US915/AS923), o modo de carimbo de hora se falta de campo de tensão BAT, em vez disso, ele mostra o status da bateria. A carga útil é a seguinte:
365 365  )))
366 366  
367 367  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
368 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
369 -**Size(bytes)**
370 -)))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
339 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
371 371  **2**
372 372  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
373 373  **2**
... ... @@ -378,96 +378,86 @@
378 378  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
379 379  **4**
380 380  )))
381 -|(% style="width:110px" %)(((
382 -**Value**
383 -)))|(% style="width:71px" %)(((
384 -External temperature
385 -)))|(% style="width:99px" %)(((
386 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
350 +|(% style="width:110px" %)Valor|(% style="width:71px" %)Temperatura externa|(% style="width:99px" %)(((
351 +[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]]
387 387  )))|(% style="width:132px" %)(((
388 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
389 -)))|(% style="width:54px" %)(((
390 -Status & Ext
391 -)))|(% style="width:64px" %)(((
392 -[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
353 +Estado MTD & [[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]
354 +)))|(% style="width:54px" %)Estado & Ext|(% style="width:64px" %)(((
355 +[[Carimbo Horário do Unix>>||anchor="H2.6.2UnixTimeStamp"]]
393 393  )))
394 394  
395 -* **Battery status & Built-in Humidity**
358 +* **Status da bateria e umidade interna**
396 396  
397 397  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
398 -|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0]
399 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
400 -BAT Status
401 -00(b): Ultra Low ( BAT <= 2.50v)
402 -01(b): Low  (2.50v <=BAT <= 2.55v)
403 -10(b): OK   (2.55v <= BAT <=2.65v)
404 -11(b): Good   (BAT >= 2.65v)
405 -)))|(% style="width:132px" %)(((
406 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
361 +|=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 269px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)[15:14]|=(% style="width: 121px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)[11:0]
362 +|(% style="width:67px" %)Valor|(% style="width:269px" %)Estado MTD
363 +00 b): Ultra baixo ( MTD <= 2,50v)
364 +01 b): Baixo (2,50v <=MTD <= 2,55v)
365 +10 b): OK (2,55v <= MTD <=2,65v)
366 +11 b): Bom (MTD >= 2,65v)|(% style="width:121px" %)(((
367 +[[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]
407 407  )))
408 408  
409 -* **Status & Ext Byte**
370 +* ** Status e byte externo**
410 410  
411 411  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
412 412  |(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]**
413 -|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001)
374 +|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %)Sinalizador Nenhum-ACK|(% style="width:146px" %)Mensagem de Enquete FLAG|(% style="width:109px" %)Sincronizar hora OK|(% style="width:143px" %)Solicitação de Horário Unix |(% style="width:106px" %)Ext: 0b(1001)
414 414  
415 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
416 -* (% style="color:blue" %)**Sync time OK**: (%%) 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server.
417 -* (% style="color:blue" %)**Unix Time Request**:(%%)  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
418 418  
377 +* **Bandeira da mensagem da enquete:  **1: Esta mensagem é uma resposta da mensagem da enquete, 0: significa que esta é uma ligação uplink normal.
378 +* **Tempo de sincronização OK:  **1: Definir tempo ok, 0: N/A. Após o envio da solicitação SYNC, LHT65N definirá este bit como 0 até obter o carimbo de hora do servidor de aplicativos.
379 +* **Unix Time Request:  **1: Request server downlink Unix time, 0: N/A. Neste modo, o LHT65N definirá este bit para 1 a cada 10 dias para solicitar um tempo SYNC. (AT+SYNCMOD para definir isto)
419 419  
420 420  
421 -==== 2.4.6.3 Ext~=6, ADC Sensor(use with E2 Cable) ====
422 422  
423 423  
424 -In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
384 +==== 2.4.6.3 Ext~=6, Sensor ADC (use com cabo E2) ====
425 425  
426 -be used to power the external ADC sensor; user can control the power on time for this
427 427  
428 -(% style="color:blue" %)**sensor by setting:**
387 +Neste modo, o usuário pode conectar sensor ADC externo para verificar o valor ADC. O 3V3_OUT pode ser usado para alimentar o sensor ADC externo; o usuário pode controlar o poder no tempo para isso.
429 429  
430 -**AT+EXT=6,timeout**  (% style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms**
389 +(% style="color:blue" %)**sensor configurando:**
431 431  
432 -**For example:**
391 +**AT+EXT=6, **timeout Tempo para ligar este sensor, de 0 ~~ 65535ms
433 433  
434 -AT+EXT=6,1000 will power this sensor for 1000ms before sampling the ADC value.
393 +**Por exemplo:**
435 435  
395 +AT+EXT=6.1000 alimentará este sensor por 1000ms antes de amostrar o valor ADC.
436 436  
437 -Or use **downlink command A2** to set the same.
438 438  
439 -The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv.
398 +Ou use o comando downlink A2 para definir o mesmo.
399 +A faixa de medição do nó é de apenas cerca de 0.1V a 1.1V A resolução da tensão é de cerca de 0.24mv.
400 +Quando a tensão de saída medida do sensor não está dentro da faixa de 0,1V e 1,1V, o terminal de tensão de saída do sensor deve ser dividido O exemplo na figura a seguir é reduzir a tensão de saída do sensor por três vezes Se for necessário reduzir mais vezes, calcule de acordo com a fórmula na figura e conecte a resistência correspondente em série.
440 440  
441 -When the measured output voltage of the sensor is not within the range of 0.1V and 1.1V, the output voltage terminal of the sensor shall be divided The example in the following figure is to reduce the output voltage of the sensor by three times If it is necessary to reduce more times, calculate according to the formula in the figure and connect the corresponding resistance in series.
442 -
443 443  [[image:image-20220628150112-1.png||_mstalt="427414" height="241" width="285"]]
444 444  
445 445  
446 -When ADC_IN1 pin is connected to GND or suspended, ADC value is 0
405 +Quando o pino ADC_IN1 é conectado ao GND ou suspenso, o valor de ADC é 0
447 447  
448 448  [[image:image-20220628150714-4.png||_mstalt="431054"]]
449 449  
450 450  
451 -When the voltage collected by ADC_IN1 is less than the minimum range, the minimum range will be used as the output; Similarly, when the collected voltage is greater than the maximum range, the maximum range will be used as the output.
410 +Quando a tensão coletada por ADC_IN1 for menor do que a faixa mínima, a faixa mínima se usada como saída; Da mesma forma, quando a tensão coletada é maior do que a faixa máxima, a faixa máxima se usada como saída.
452 452  
453 453  
454 -1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V
413 +1) A faixa mínima é de cerca de 0.1V. Cada chip tem calibração interna, assim que este valor está perto de 0.1V
455 455  
456 456  [[image:image-20220628151005-5.png||_mstalt="429546"]]
457 457  
458 458  
459 -2) The maximum range is about 1.1V. Each chip has internal calibration, so this value is close to 1.1v
418 +2) A faixa máxima é de cerca de 1.1V. Cada chip tem calibração interna, assim que este valor está perto de 1.1v
460 460  
461 461  [[image:image-20220628151056-6.png||_mstalt="431873"]]
462 462  
463 463  
464 -3) Within range
423 +3) Dentro do alcance
465 465  
466 466  [[image:image-20220628151143-7.png||_mstalt="431210"]]
467 467  
468 468  
469 469  
470 -==== 2.4.6.4 Ext~=2 TMP117 Sensor((% style="display:none" %) (%%)Since Firmware v1.3)(% style="display:none" %) (%%) ====
429 +==== 2.4.6.4 Ext~=2 TMP117 Sensor (desde Firmware v1.3)(% style="display:none" %) (%%) ====
471 471  
472 472  [[image:image-20230717151328-8.png]]
473 473  
... ... @@ -475,64 +475,58 @@
475 475  
476 476  
477 477  
478 -(% style="color:blue" %)**Ext=2,Temperature Sensor(TMP117)**
437 +(% style="color:blue" %)**Ext=2, Sensor de temperatura (TMP117):**
479 479  
480 480  [[image:image-20220906102307-7.png||_mstalt="430443"]]
481 481  
482 482  
483 -(% style="color:blue" %)**InterrupMode and Counting Mode:**(% style="color: blue; display: none" %)** **
442 +(% style="color:blue" %)**Modo de Interrupção e Modo de Contagem:**(% style="color:blue; display:none" %)** **
484 484  
485 -The external cable NE2 can be use for MOD4 and MOD8
444 +O cabo externo NE2 pode ser usado para MOD4 e MOD8
486 486  
487 487  
488 488  
489 -==== 2.4.6.5 Ext~=11 SHT31 Sensor ((% style="display:none" %) (%%)Since Firmware v1.4.1) ====
448 +==== 2.4.6.5 Ext~=11 SHT31 Sensor (desde Firmware v1.4.1) ====
490 490  
491 491  
492 492  
493 493  [[image:image-20230717151245-7.png]]
494 494  
495 -(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31)**
454 +(% style="color:blue" %)**Ext=11, sensor de temperatura e umidade (SHT31):**
496 496  
497 497  [[image:SHT31.png]]
498 498  
499 499  
500 500  
501 -==== 2.4.6.6 Ext~=4 Interrupt Mode(Since Firmware v1.3) ====
460 +==== 2.4.6.6 Ext~=4 Interrupt Mode (Desde Firmware v1.3) ====
502 502  
503 503  
504 -(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will send an uplink when there is a trigger.**
463 +(% style="color:red" %)**Nota: Neste modo, a saída de 3.3v estará sempre ligada. LHT65N envia um uplink quando houver um gatilho.**
505 505  
506 506  
507 -(% style="color:blue" %)**Interrupt Mode can be used to connect to external interrupt sensors such as:**
466 +(% style="color:blue" %)**O modo de interrupção pode ser usado para conectar-se a sensores externos de interrupção, tais como:**
508 508  
509 -(% style="color:#037691" %)**Case 1: Door Sensor.** (%%)3.3v Out for such sensor is just to detect Open/Close.
468 +(% style="color:#037691" %)**Caso 1: sensor de porta.** (%%)3.3v Out para tal sensor é apenas detectar Abrir / Fechar.
510 510  
511 - In Open State, the power consumption is the same as if there is no probe
470 +No estado aberto, o consumo de energia é o mesmo que se não houver nenhuma sonda
512 512  
513 - In Close state, the power consumption will be 3uA higher than normal.
472 +No estado Close, o consumo de energia se 3uA maior do que o normal.
514 514  
515 515  [[image:image-20220906100852-1.png||_mstalt="429156" height="205" width="377"]]
516 516  
517 517  
518 -Ext=4,Interrupt Sensor:
477 +Ext=4, Sensor de Interrupção:
519 519  
520 520  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
521 521  |(% style="width:101px" %)(((
522 522  **AT+EXT=4,1**
523 -)))|(% style="width:395px" %)(((
524 -**Sent uplink packet in both rising and falling interrupt**
525 -)))
482 +)))|(% style="width:395px" %)Pacote de uplink enviado na interrupção ascendente e caindo
526 526  |(% style="width:101px" %)(((
527 527  **AT+EXT=4,2**
528 -)))|(% style="width:395px" %)(((
529 -**Sent uplink packet only in falling interrupt**
530 -)))
485 +)))|(% style="width:395px" %)Enviou um pacote de ligação ascendente apenas na interrupção em queda
531 531  |(% style="width:101px" %)(((
532 532  **AT+EXT=4,3**
533 -)))|(% style="width:395px" %)(((
534 -**Sent uplink packet only in rising interrupt**
535 -)))
488 +)))|(% style="width:395px" %)Enviou o pacote de uplink apenas na interrupção crescente
536 536  
537 537  Trigger by falling edge:
538 538  
... ... @@ -656,7 +656,6 @@
656 656  * (% style="color:blue" %)**Unix Time Request**:(%%)  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
657 657  
658 658  
659 -
660 660  == 2.5 Show data on Datacake ==
661 661  
662 662  
... ... @@ -1074,7 +1074,6 @@
1074 1074  * For each success downlink, the PURPLE LED will blink once
1075 1075  
1076 1076  
1077 -
1078 1078  == 2.9 installation ==
1079 1079  
1080 1080  
... ... @@ -1127,7 +1127,6 @@
1127 1127  * Operating Range: -40 ~~ 125 °C
1128 1128  * Working voltage 2.35v ~~ 5v
1129 1129  
1130 -
1131 1131  == 3.3 E31F Temperature Probe ==
1132 1132  
1133 1133  
... ... @@ -1166,7 +1166,6 @@
1166 1166  * Operating Range: 0 ~~ 96 % RH
1167 1167  
1168 1168  
1169 -
1170 1170  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1171 1171  
1172 1172  
... ... @@ -1238,7 +1238,6 @@
1238 1238  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1239 1239  
1240 1240  
1241 -
1242 1242  == 4.2 Set External Sensor Mode ==
1243 1243  
1244 1244  
... ... @@ -1265,7 +1265,6 @@
1265 1265  * 0xA20702003c: Same as AT+SETCNT=60
1266 1266  
1267 1267  
1268 -
1269 1269  == 4.3 Enable/Disable uplink Temperature probe ID ==
1270 1270  
1271 1271  
... ... @@ -1298,7 +1298,6 @@
1298 1298  * **0xA801**     **~-~->** AT+PID=1
1299 1299  
1300 1300  
1301 -
1302 1302  == 4.4 Set Password ==
1303 1303  
1304 1304  
... ... @@ -1359,7 +1359,6 @@
1359 1359  * There is no downlink command to set to Sleep mode.
1360 1360  
1361 1361  
1362 -
1363 1363  == 4.7 Set system time ==
1364 1364  
1365 1365  
... ... @@ -1467,7 +1467,6 @@
1467 1467  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1468 1468  
1469 1469  
1470 -
1471 1471  == 4.13 Auto Send None-ACK messages ==
1472 1472  
1473 1473  
... ... @@ -1486,7 +1486,6 @@
1486 1486  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1487 1487  
1488 1488  
1489 -
1490 1490  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1491 1491  
1492 1492  
... ... @@ -1934,7 +1934,6 @@
1934 1934  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1935 1935  
1936 1936  
1937 -
1938 1938  = 8. Packing Info =
1939 1939  
1940 1940  
... ... @@ -1949,7 +1949,6 @@
1949 1949  * Device Weight: 120.5g
1950 1950  
1951 1951  
1952 -
1953 1953  = 9. Reference material =
1954 1954  
1955 1955  
... ... @@ -1956,7 +1956,6 @@
1956 1956  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1957 1957  
1958 1958  
1959 -
1960 1960  = 10. FCC Warning =
1961 1961  
1962 1962