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

From version 261.3
edited by Xiaoling
on 2023/07/17 15:27
Change comment: There is no comment for this version
To version 261.18
edited by Xiaoling
on 2023/07/17 18:22
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
Parent
... ... @@ -1,1 +1,1 @@
1 -Main.WebHome
1 +Main.User Manual for LoRaWAN End Nodes.WebHome
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,88 +475,82 @@
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 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
479 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
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:421px" %)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:421px" %)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:421px" %)Enviou o pacote de uplink apenas na interrupção crescente
536 536  
537 -Trigger by falling edge:
490 +Acionador pela borda de queda:
538 538  
539 539  [[image:image-20220906101145-2.png||_mstalt="428324"]]
540 540  
541 541  
542 -Trigger by raising edge
495 +Trigger by raise edge:
543 543  
544 544  [[image:image-20220906101145-3.png||_mstalt="428688"]]
545 545  
546 546  
547 547  
548 -==== 2.4.6.7 Ext~=8 Counting Mode(Since Firmware v1.3) ====
501 +==== 2.4.6.7 Ext~=8 Modo de contagem (desde Firmware v1.3) ====
549 549  
550 550  
551 -(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.**
504 +(% style="color:red" %)**Nota: Neste modo, a saída de 3,3 V estará sempre ligada. O LHT65N contará para cada interrupção e uplink periodicamente.**
552 552  
553 553  
554 -(% style="color:blue" %)**Case 1**(%%):  Low power consumption Flow Sensor, such flow sensor has pulse output and the power consumption in uA level and can be powered by LHT65N.
507 +(% style="color:blue" %)**Caso 1: **Sensor de fluxo de baixo consumo de energia, esse sensor de fluxo tem saída de pulso e o consumo de energia no nível uA e pode ser alimentado por LHT65N.
555 555  
556 556  [[image:image-20220906101320-4.png||_mstalt="427336" height="366" width="698"]]
557 557  
558 558  
559 -(% style="color:blue" %)**Case 2**(%%):  Normal Flow Sensor: Such flow sensor has higher power consumption and is not suitable to be powered by LHT65N. It is powered by external power and output <3.3v pulse
512 +(% style="color:blue" %)**Caso 2: **Sensor de Fluxo Normal: Este sensor de fluxo tem maior consumo de energia e não é adequado para ser alimentado por LHT65N. É alimentado por energia externa e saída <3,3 v pulso
560 560  
561 561  [[image:image-20220906101320-5.png||_mstalt="427700" height="353" width="696"]]
562 562  
... ... @@ -563,50 +563,42 @@
563 563  
564 564  Ext=8, Counting Sensor ( 4 bytes):
565 565  
566 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
519 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:407px" %)
567 567  |(% style="width:131px" %)(((
568 568  **AT+EXT=8,0**
569 -)))|(% style="width:195px" %)(((
570 -**Count at falling interrupt**
571 -)))
522 +)))|(% style="width:271px" %)Contagem na interrupção de queda
572 572  |(% style="width:131px" %)(((
573 573  **AT+EXT=8,1**
574 -)))|(% style="width:195px" %)(((
575 -**Count at rising interrupt**
576 -)))
525 +)))|(% style="width:271px" %)Contagem na interrupção ascendente
577 577  |(% style="width:131px" %)(((
578 578  **AT+SETCNT=60**
579 -)))|(% style="width:195px" %)(((
580 -**Sent current count to 60**
581 -)))
528 +)))|(% style="width:271px" %)Enviou a contagem atual para 60
582 582  
583 583  [[image:image-20220906101320-6.png||_mstalt="428064"]]
584 584  
585 585  
586 -(% style="color:blue" %)**A2 downlink Command**
533 +(% style="color:blue" %)**Comando de ligação descendente A2:**
587 587  
588 -A2 02:  Same as AT+EXT=2 (AT+EXT= second byte)
535 +A2 02: O mesmo que AT+EXT=2 (AT+EXT= segundo byte)
589 589  
590 -A2 06 01 F4:  Same as AT+EXT=6,500 (AT+EXT= second byte, third and fourth bytes)
537 +A2 06 01 F4: O mesmo que AT+EXT=6.500 (AT+EXT= segundo byte, terceiro e quarto bytes)
591 591  
592 -A2 04 02:  Same as AT+EXT=4,2 (AT+EXT= second byte, third byte)
539 +A2 04 02: O mesmo que AT+EXT=4,2 (AT+EXT= segundo byte, terceiro byte)
593 593  
594 -A2 08 01 00:  Same as AT+EXT=8,0 (AT+EXT= second byte, fourth byte)
541 +A2 08 01 00: O mesmo que AT+EXT=8,0 (AT+EXT= segundo byte, quarto byte)
595 595  
596 -A2 08 02 00 00 00 3C:  Same as AT+ SETCNT=60  (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte)
543 +A2 08 02 00 00 00 3C: O mesmo que AT+ SETCNT=60 (AT+ SETCNT = 4º byte e 5º byte e 6º byte e 7º byte)
597 597  
598 598  
599 -==== 2.4.6.8 Ext~=10, E2 sensor (TMP117)with Unix Timestamp(Since firmware V1.3.2) ====
546 +==== 2.4.6.8 Ext~=10, sensor E2 (TMP117) com Unix Timestamp (desde firmware V1.3.2) ====
600 600  
601 601  
602 602  (((
603 -Timestamp mode is designed for LHT65N with E2 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:
550 +O modo Timestamp é projetado para LHT65N com sonda E2, 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:
604 604  )))
605 605  
606 606  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
607 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
608 -**Size(bytes)**
609 -)))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
554 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)Tamanho(bytes)|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
610 610  **2**
611 611  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
612 612  **2**
... ... @@ -617,65 +617,56 @@
617 617  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
618 618  **4**
619 619  )))
620 -|(% style="width:110px" %)(((
621 -**Value**
622 -)))|(% style="width:71px" %)(((
623 -External temperature
624 -)))|(% style="width:99px" %)(((
625 -[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]]
565 +|(% style="width:110px" %)Valor|(% style="width:71px" %)Temperatura externa|(% style="width:99px" %)(((
566 +[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]]
626 626  )))|(% style="width:132px" %)(((
627 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
628 -)))|(% style="width:54px" %)(((
629 -Status & Ext
630 -)))|(% style="width:64px" %)(((
631 -[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
568 +Estado MTD & [[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]
569 +)))|(% style="width:54px" %)Estado & Ext|(% style="width:64px" %)(((
570 +[[Carimbo Horário do Unix>>||anchor="H2.6.2UnixTimeStamp"]]
632 632  )))
633 633  
634 -* **Battery status & Built-in Humidity**
573 +* **Estado da bateria e humidade incorporada**
635 635  
636 636  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
637 637  |=(% 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]
638 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
639 -BAT Status
640 -00(b): Ultra Low ( BAT <= 2.50v)
641 -01(b): Low  (2.50v <=BAT <= 2.55v)
642 -10(b): OK   (2.55v <= BAT <=2.65v)
643 -11(b): Good   (BAT >= 2.65v)
644 -)))|(% style="width:132px" %)(((
645 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
577 +|(% style="width:67px" %)Valor|(% style="width:256px" %)Estado MTD
578 +00 b): Ultra baixo ( MTD <= 2,50v)
579 +01 b): Baixo (2,50v <=MTD <= 2,55v)
580 +10 b): OK (2,55v <= MTD <=2,65v)
581 +11 b): Bom (MTD >= 2,65v)|(% style="width:132px" %)(((
582 +[[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]
646 646  )))
647 647  
648 -* **Status & Ext Byte**
585 +* **Status e byte externo**
649 649  
650 650  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
651 651  |(% 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]**
652 -|(% 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)
589 +|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %)Bandeira Sem ACK|(% style="width:146px" %)FLAG de Mensagem de Sondagem|(% style="width:109px" %)Tempo de sincronização OK|(% style="width:143px" %)Pedido de Tempo Unix|(% style="width:106px" %)Ext: 0b(1001)
653 653  
654 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
655 -* (% 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.
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)
591 +* (% style="color:blue" %)**Sinalizador de mensagem de votação:**(%%)  1: esta mensagem é uma resposta de mensagem de votação, 0: significa que este é um uplink normal.
592 +* (% style="color:blue" %)**Tempo de sincronização OK:** (%%) 1: Definir o 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.
593 +* (% style="color:blue" %)**Pedido de Tempo Unix:**(%%)  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)
657 657  
658 658  
596 +== 2.5 Mostrar dados sobre o Datacake ==
659 659  
660 -== 2.5 Show data on Datacake ==
661 661  
662 -
663 663  (((
664 -Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
600 +A plataforma Datacake IoT fornece uma interface amigável para mostrar os dados do sensor, uma vez que temos dados do sensor no TTN V3, podemos usar o Datacake para conectar ao TTN V3 e ver os dados no Datacake. Abaixo estão os passos:
665 665  )))
666 666  
667 667  
668 668  (((
669 -(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
605 +(% style="color:blue" %)**Passo 1:**(%%) Certifique-se de que seu dispositivo está programado e conectado corretamente à rede LoRaWAN.
670 670  )))
671 671  
672 672  (((
673 -(% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
609 +(% style="color:blue" %)**Passo 2: **(%%)Configure seu aplicativo para encaminhar dados para o Datacake vo precisará adicionar integração. para TTN V3 Console ~-~-> Aplicações ~-~-> Integrações ~-~-> Adicionar Integrações.
674 674  )))
675 675  
676 676  
677 677  (((
678 -Add Datacake:
614 +Adicionar a Bolo de Dados:
679 679  )))
680 680  
681 681  
... ... @@ -683,15 +683,14 @@
683 683  
684 684  
685 685  
686 -Select default key as Access Key:
622 +Seleccione a chave por omissão como Chave de Acesso:
687 687  
688 688  
689 689  [[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
690 690  
627 +No console Datacake ([[https:~~/~~/datacake.co/>>https://datacake.co/]]) , adicione o dispositivo LHT65.
691 691  
692 -In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
693 693  
694 -
695 695  [[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]]
696 696  
697 697  
... ... @@ -698,31 +698,31 @@
698 698  [[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]]
699 699  
700 700  
701 -== 2.6 Datalog Feature ==
636 +== 2.6 Recurso de registo de dados ==
702 702  
703 703  
704 704  (((
705 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N.
640 +O recurso Datalog é garantir que o IoT Server possa obter todos os dados de amostragem do Sensor, mesmo se a rede LoRaWAN estiver inativa. Para cada amostragem, o LHT65N armazenará a leitura para fins futuros de recuperação. Há duas maneiras de servidores IoT obterem datalog do LHT65N.
706 706  )))
707 707  
708 708  
709 -=== 2.6.1 Ways to get datalog via LoRaWAN ===
644 +=== 2.6.1 Maneiras de obter datalog via LoRaWAN ===
710 710  
711 711  
712 -There are two methods:
647 +Existem dois métodos:
713 713  
714 -(% style="color:blue" %)**Method 1:** (%%)IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range.
649 +(% style="color:blue" %)**Método 1:**  O IoT Server envia um comando LoRaWAN downlink para pesquisar o valor para o intervalo de tempo especificado.
715 715  
716 716  
717 -(% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
652 +(% style="color:blue" %)**Método 2: **(%%) Defina PNACKMD=1, o LHT65N aguardará o ACK para cada uplink, quando não houver rede LoRaWAN, o LHT65N marcará esses registros com mensagens não reconhecidas e armazenará os dados do sensor e enviará todas as mensagens (intervalo de 10s) após a recuperação da rede.
718 718  
719 719  
720 -(% style="color:red" %)**Note for method 2:**
655 +(% style="color:red" %)**Nota para o método 2:**
721 721  
722 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
723 -* b) LHT65N will send data in **CONFIRMED Mode** when PNACKMD=1, but LHT65N won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LHT65N gets a ACK, LHT65N will consider there is a network connection and resend all NONE-ACK Message.
657 +* a) O LHT65N fará uma verificação de ACK para envio de registros de dados para garantir que todos os servidores de dados cheguem.
658 +* b) LHT65N enviará dados no modo CONFIRMED quando PNACKMD=1, mas LHT65N não transmitirá novamente o pacote se ele não receber ACK, ele apenas irá marcá-lo como uma mensagem NÃO ACK. Em um uplink futuro, se o LHT65N receber um ACK, o LHT65N considerará que uma coneo de rede e reenviará todas as mensagens NONE-ACK.
724 724  
725 -Below is the typical case for the auto-update datalog feature (Set PNACKMD=1)
660 +Abaixo está o caso típico para o recurso de registro de dados de atualização automática (Definir PNACKMD=1)
726 726  
727 727  
728 728  [[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]]
... ... @@ -731,7 +731,7 @@
731 731  === 2.6.2 Unix TimeStamp ===
732 732  
733 733  
734 -LHT65N uses Unix TimeStamp format based on
669 +LHT65N usa o formato Unix TimeStamp baseado em
735 735  
736 736  
737 737  [[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]]
... ... @@ -738,57 +738,57 @@
738 738  
739 739  
740 740  
741 -User can get this time from link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
676 +O usrio pode obter este tempo a partir do link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
742 742  
743 -Below is the converter example
678 +Abaixo está o exemplo do conversor
744 744  
745 745  [[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]]
746 746  
747 747  
748 -So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
683 +Então, podemos usar AT+TIMESTAMP=1611889405 ou downlink 3060137afd00 para definir a hora atual 2021 – Jan ~-~- 29 Sexta 03:03:25
749 749  
750 750  
751 -=== 2.6.3 Set Device Time ===
686 +=== 2. 6. 3 Definir a Hora do Dispositivo ===
752 752  
753 753  
754 754  (((
755 -(% style="color:blue" %)**There are two ways to set device's time:**
690 +(% style="color:blue" %)**Existem duas maneiras de definir a hora do dispositivo:**
756 756  )))
757 757  
758 758  (((
759 -**1.  Through LoRaWAN MAC Command (Default settings)**
694 +**~1. Através do comando MAC LoRaWAN (configurações padrão)**
760 760  )))
761 761  
762 762  (((
763 -User need to set SYNCMOD=1 to enable sync time via MAC command.
698 +O usrio precisa definir SYNCMOD=1 para habilitar o tempo de sincronização via comando MAC.
764 764  )))
765 765  
766 766  (((
767 -Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
702 +Uma vez que LHT65N entrou na rede LoRaWAN, ele enviará o comando MAC (DeviceTimeReq) e o servidor responderá com (DeviceTimeAns) para enviar a hora atual para LHT65N. Se o LHT65N o conseguir obter a hora do servidor, o LHT65N usará a hora interna e aguardará a próxima solicitação de hora (AT+SYNCTDC para definir o período de solicitação de tempo, padrão é de 10 dias).
768 768  )))
769 769  
770 770  (((
771 -(% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.**
706 +(% style="color:red" %)**Nota: LoRaWAN Server precisa suportar LoRaWAN v1.0.3 (MAC v1.0.3) ou superior para suportar este recurso de comando MAC, Chirpstack, TTN V3 v3 e suporte loriot, mas TTN V3 v2 não suporta. Se o servidor não suportar este comando, ele i através do pacote de uplink away com este comando, então o usrio perderá o pacote com solicitação de tempo para TTN V3 v2 se SYNCMOD=1.**
772 772  )))
773 773  
774 774  
775 775  (((
776 -**2. Manually Set Time**
711 +**2. Definir manualmente o tempo**
777 777  )))
778 778  
779 779  (((
780 -User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
715 +O usrio precisa definir SYNCMOD=0 como hora manual, caso contrário, o tempo definido pelo usrio se substituído pelo tempo definido pelo servidor.
781 781  )))
782 782  
783 783  
784 -=== 2.6.4 Poll sensor value ===
719 +=== 2.6.4 Valor do sensor de sondagem ===
785 785  
786 786  
787 -User can poll sensor value based on timestamps from the server. Below is the downlink command.
722 +O usrio pode sondar o valor do sensor com base em timestamps do servidor. Abaixo está o comando downlink.
788 788  
789 789  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
790 790  |(% style="background-color:#d9e2f3; color:#0070c0; width:58px" %)**1byte**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**4bytes**|(% style="background-color:#d9e2f3; color:#0070c0; width:123px" %)**4bytes**|(% style="background-color:#d9e2f3; color:#0070c0; width:116px" %)**1byte**
791 -|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
726 +|(% style="width:58px" %)31|(% style="width:128px" %)Início do carimbo de data/hora|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval
792 792  
793 793  Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval.
794 794  
... ... @@ -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