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

From version 261.6
edited by Xiaoling
on 2023/07/17 17:27
Change comment: There is no comment for this version
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
Content
... ... @@ -229,69 +229,64 @@
229 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.)
230 230  
231 231  
232 -=== 2.4.1 Decoder in TTN V3 ===
232 +=== 2.4.1 Decodificador em TTN V3 ===
233 233  
234 234  
235 -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.
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.
236 236  
237 -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]]
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]]
238 238  
239 239  
240 240  [[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]]
241 241  
242 242  
243 -=== 2.4.2 BAT-Battery Info ===
243 +=== 2.4.2 Informações da bateria BAT ===
244 244  
245 245  
246 -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.
247 247  
248 248  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %)
249 249  |=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)(((
250 250  **Bit(bit)**
251 251  )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0]
252 -|(% style="width:66px" %)(((
253 -**Value**
254 -)))|(% style="width:250px" %)(((
255 -BAT Status
256 -00(b): Ultra Low ( BAT <= 2.50v)
257 -01(b): Low (2.50v <=BAT <= 2.55v)
258 -10(b): OK (2.55v <= BAT <=2.65v)
259 -11(b): Good (BAT >= 2.65v)
260 -)))|(% 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
261 261  
262 -**(b)stands for binary**
258 +**(b) significa binário**
263 263  
264 264  
265 265  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
266 266  
263 +Verifique a tensão da bateria para LHT65N.
267 267  
268 -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
269 269  
270 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
271 271  
272 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
273 273  
270 +=== 2.4.3 Temperatura interna ===
274 274  
275 -=== 2.4.3 Built-in Temperature ===
276 276  
277 -
278 278  [[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]]
279 279  
280 -* Temperature:  0x0ABB/100=27.47
275 +* Temperatura: 0x0ABB/100=27,47ÿ
281 281  
282 282  [[image:image-20220522235639-3.png||_mstalt="432120"]]
283 283  
284 -* Temperature:  (0xF5C6-65536)/100=-26.18
279 +* Temperatura: (0xF5C6-65536)/100=-26,18ÿ
285 285  
286 286  
287 287  (% style="display:none" %)
288 288  
289 -=== 2.4.4 Built-in Humidity ===
284 +=== 2.4.4 Umidade interna ===
290 290  
291 291  
292 292  [[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]]
293 293  
294 -* Humidity:    0x025C/10=60.4%
289 +* Umidade: 0x025C/10=60,4%
295 295  
296 296  
297 297  (% style="display:none" %)
... ... @@ -299,53 +299,49 @@
299 299  === 2.4.5 Ext # ===
300 300  
301 301  
302 -Bytes for External Sensor:
297 +Bytes para Sensor Externo:
303 303  
304 304  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %)
305 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # **Value|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)External Sensor Type
306 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor
307 -|(% 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
308 308  
309 -=== 2.4.6 Ext value ===
304 +=== 2.4.6 Valor externo ===
310 310  
311 -==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
306 +==== 2.4.6.1 Ext~=1, Sensor de Temperatura E3 ====
312 312  
313 313  
314 314  [[image:image-20220522235639-5.png||_mstalt="432848"]]
315 315  
316 316  
317 -* DS18B20 temp=0x0ADD/100=27.81
312 +* DS18B20 temp=0x0ADD/100=27,81ÿ
318 318  
319 -The last 2 bytes of data are meaningless
314 +Os últimos 2 bytes de dados não m sentido.
320 320  
321 321  
322 322  
323 323  [[image:image-20220522235639-6.png||_mstalt="433212"]]
324 324  
320 +* Temperatura externa= (0xF54F-65536)/100=-27.37℃
325 325  
326 -* External temperature= (0xF54F-65536)/100=-27.37℃
322 +F54F: (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27,37℃
327 327  
328 -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)
329 329  
330 -(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
331 331  
332 -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℃
333 333  
334 -If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
335 335  
331 +==== 2.4.6.2 Ext~=9, sensor E3 com Unix Timestamp ====
336 336  
337 337  
338 -==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
339 -
340 -
341 341  (((
342 -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:
343 343  )))
344 344  
345 345  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
346 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
347 -**Size(bytes)**
348 -)))|=(% 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" %)(((
349 349  **2**
350 350  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
351 351  **2**
... ... @@ -356,95 +356,86 @@
356 356  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
357 357  **4**
358 358  )))
359 -|(% style="width:110px" %)(((
360 -**Value**
361 -)))|(% style="width:71px" %)(((
362 -External temperature
363 -)))|(% style="width:99px" %)(((
364 -[[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"]]
365 365  )))|(% style="width:132px" %)(((
366 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
367 -)))|(% style="width:54px" %)(((
368 -Status & Ext
369 -)))|(% style="width:64px" %)(((
370 -[[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"]]
371 371  )))
372 372  
373 -* **Battery status & Built-in Humidity**
358 +* **Status da bateria e umidade interna**
374 374  
375 375  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
376 -|=(% 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]
377 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
378 -BAT Status
379 -00(b): Ultra Low ( BAT <= 2.50v)
380 -01(b): Low  (2.50v <=BAT <= 2.55v)
381 -10(b): OK   (2.55v <= BAT <=2.65v)
382 -11(b): Good   (BAT >= 2.65v)
383 -)))|(% style="width:132px" %)(((
384 -[[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"]]
385 385  )))
386 386  
387 -* **Status & Ext Byte**
370 +* ** Status e byte externo**
388 388  
389 389  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
390 390  |(% 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]**
391 -|(% 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)
392 392  
393 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
394 -* (% 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.
395 -* (% 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)
396 396  
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)
397 397  
398 -==== 2.4.6.3 Ext~=6, ADC Sensor(use with E2 Cable) ====
399 399  
400 400  
401 -In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
402 402  
403 -be used to power the external ADC sensor; user can control the power on time for this
384 +==== 2.4.6.3 Ext~=6, Sensor ADC (use com cabo E2) ====
404 404  
405 -(% style="color:blue" %)**sensor by setting:**
406 406  
407 -**AT+EXT=6,timeout**  (% style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms**
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.
408 408  
409 -**For example:**
389 +(% style="color:blue" %)**sensor configurando:**
410 410  
411 -AT+EXT=6,1000 will power this sensor for 1000ms before sampling the ADC value.
391 +**AT+EXT=6, **timeout Tempo para ligar este sensor, de 0 ~~ 65535ms
412 412  
393 +**Por exemplo:**
413 413  
414 -Or use **downlink command A2** to set the same.
395 +AT+EXT=6.1000 alimentará este sensor por 1000ms antes de amostrar o valor ADC.
415 415  
416 -The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv.
417 417  
418 -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.
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.
419 419  
420 420  [[image:image-20220628150112-1.png||_mstalt="427414" height="241" width="285"]]
421 421  
422 422  
423 -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
424 424  
425 425  [[image:image-20220628150714-4.png||_mstalt="431054"]]
426 426  
427 427  
428 -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.
429 429  
430 430  
431 -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
432 432  
433 433  [[image:image-20220628151005-5.png||_mstalt="429546"]]
434 434  
435 435  
436 -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
437 437  
438 438  [[image:image-20220628151056-6.png||_mstalt="431873"]]
439 439  
440 440  
441 -3) Within range
423 +3) Dentro do alcance
442 442  
443 443  [[image:image-20220628151143-7.png||_mstalt="431210"]]
444 444  
445 445  
446 446  
447 -==== 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" %) (%%) ====
448 448  
449 449  [[image:image-20230717151328-8.png]]
450 450  
... ... @@ -452,64 +452,58 @@
452 452  
453 453  
454 454  
455 -(% style="color:blue" %)**Ext=2,Temperature Sensor(TMP117)**
437 +(% style="color:blue" %)**Ext=2, Sensor de temperatura (TMP117):**
456 456  
457 457  [[image:image-20220906102307-7.png||_mstalt="430443"]]
458 458  
459 459  
460 -(% 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" %)** **
461 461  
462 -The external cable NE2 can be use for MOD4 and MOD8
444 +O cabo externo NE2 pode ser usado para MOD4 e MOD8
463 463  
464 464  
465 465  
466 -==== 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) ====
467 467  
468 468  
469 469  
470 470  [[image:image-20230717151245-7.png]]
471 471  
472 -(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31)**
454 +(% style="color:blue" %)**Ext=11, sensor de temperatura e umidade (SHT31):**
473 473  
474 474  [[image:SHT31.png]]
475 475  
476 476  
477 477  
478 -==== 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) ====
479 479  
480 480  
481 -(% 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.**
482 482  
483 483  
484 -(% 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:**
485 485  
486 -(% 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.
487 487  
488 - 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
489 489  
490 - 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.
491 491  
492 492  [[image:image-20220906100852-1.png||_mstalt="429156" height="205" width="377"]]
493 493  
494 494  
495 -Ext=4,Interrupt Sensor:
477 +Ext=4, Sensor de Interrupção:
496 496  
497 497  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
498 498  |(% style="width:101px" %)(((
499 499  **AT+EXT=4,1**
500 -)))|(% style="width:395px" %)(((
501 -**Sent uplink packet in both rising and falling interrupt**
502 -)))
482 +)))|(% style="width:395px" %)Pacote de uplink enviado na interrupção ascendente e caindo
503 503  |(% style="width:101px" %)(((
504 504  **AT+EXT=4,2**
505 -)))|(% style="width:395px" %)(((
506 -**Sent uplink packet only in falling interrupt**
507 -)))
485 +)))|(% style="width:395px" %)Enviou um pacote de ligação ascendente apenas na interrupção em queda
508 508  |(% style="width:101px" %)(((
509 509  **AT+EXT=4,3**
510 -)))|(% style="width:395px" %)(((
511 -**Sent uplink packet only in rising interrupt**
512 -)))
488 +)))|(% style="width:395px" %)Enviou o pacote de uplink apenas na interrupção crescente
513 513  
514 514  Trigger by falling edge:
515 515