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

From version 261.8
edited by Xiaoling
on 2023/07/17 17:35
Change comment: There is no comment for this version
To version 261.20
edited by Xiaoling
on 2023/07/17 18:27
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -309,38 +309,34 @@
309 309  [[image:image-20220522235639-5.png||_mstalt="432848"]]
310 310  
311 311  
312 -* DS18B20 temp=0x0ADD/100=27.81
312 +* DS18B20 temp=0x0ADD/100=27,81ÿ
313 313  
314 -The last 2 bytes of data are meaningless
314 +Os últimos 2 bytes de dados não m sentido.
315 315  
316 316  
317 317  
318 318  [[image:image-20220522235639-6.png||_mstalt="433212"]]
319 319  
320 +* Temperatura externa= (0xF54F-65536)/100=-27.37℃
320 320  
321 -* External temperature= (0xF54F-65536)/100=-27.37℃
322 +F54F: (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27,37℃
322 322  
323 -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)
324 324  
325 -(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
326 326  
327 -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℃
328 328  
329 -If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
330 330  
331 +==== 2.4.6.2 Ext~=9, sensor E3 com Unix Timestamp ====
331 331  
332 332  
333 -==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
334 -
335 -
336 336  (((
337 -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:
338 338  )))
339 339  
340 340  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
341 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
342 -**Size(bytes)**
343 -)))|=(% 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" %)(((
344 344  **2**
345 345  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
346 346  **2**
... ... @@ -351,95 +351,86 @@
351 351  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
352 352  **4**
353 353  )))
354 -|(% style="width:110px" %)(((
355 -**Value**
356 -)))|(% style="width:71px" %)(((
357 -External temperature
358 -)))|(% style="width:99px" %)(((
359 -[[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"]]
360 360  )))|(% style="width:132px" %)(((
361 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
362 -)))|(% style="width:54px" %)(((
363 -Status & Ext
364 -)))|(% style="width:64px" %)(((
365 -[[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"]]
366 366  )))
367 367  
368 -* **Battery status & Built-in Humidity**
358 +* **Status da bateria e umidade interna**
369 369  
370 370  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
371 -|=(% 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]
372 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
373 -BAT Status
374 -00(b): Ultra Low ( BAT <= 2.50v)
375 -01(b): Low  (2.50v <=BAT <= 2.55v)
376 -10(b): OK   (2.55v <= BAT <=2.65v)
377 -11(b): Good   (BAT >= 2.65v)
378 -)))|(% style="width:132px" %)(((
379 -[[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"]]
380 380  )))
381 381  
382 -* **Status & Ext Byte**
370 +* ** Status e byte externo**
383 383  
384 384  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
385 385  |(% 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]**
386 -|(% 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)
387 387  
388 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
389 -* (% 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.
390 -* (% 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)
391 391  
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)
392 392  
393 -==== 2.4.6.3 Ext~=6, ADC Sensor(use with E2 Cable) ====
394 394  
395 395  
396 -In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
397 397  
398 -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) ====
399 399  
400 -(% style="color:blue" %)**sensor by setting:**
401 401  
402 -**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.
403 403  
404 -**For example:**
389 +(% style="color:blue" %)**sensor configurando:**
405 405  
406 -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
407 407  
393 +**Por exemplo:**
408 408  
409 -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.
410 410  
411 -The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv.
412 412  
413 -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.
414 414  
415 415  [[image:image-20220628150112-1.png||_mstalt="427414" height="241" width="285"]]
416 416  
417 417  
418 -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
419 419  
420 420  [[image:image-20220628150714-4.png||_mstalt="431054"]]
421 421  
422 422  
423 -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.
424 424  
425 425  
426 -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
427 427  
428 428  [[image:image-20220628151005-5.png||_mstalt="429546"]]
429 429  
430 430  
431 -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
432 432  
433 433  [[image:image-20220628151056-6.png||_mstalt="431873"]]
434 434  
435 435  
436 -3) Within range
423 +3) Dentro do alcance
437 437  
438 438  [[image:image-20220628151143-7.png||_mstalt="431210"]]
439 439  
440 440  
441 441  
442 -==== 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" %) (%%) ====
443 443  
444 444  [[image:image-20230717151328-8.png]]
445 445  
... ... @@ -447,88 +447,82 @@
447 447  
448 448  
449 449  
450 -(% style="color:blue" %)**Ext=2,Temperature Sensor(TMP117)**
437 +(% style="color:blue" %)**Ext=2, Sensor de temperatura (TMP117):**
451 451  
452 452  [[image:image-20220906102307-7.png||_mstalt="430443"]]
453 453  
454 454  
455 -(% 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" %)** **
456 456  
457 -The external cable NE2 can be use for MOD4 and MOD8
444 +O cabo externo NE2 pode ser usado para MOD4 e MOD8
458 458  
459 459  
460 460  
461 -==== 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) ====
462 462  
463 463  
464 464  
465 465  [[image:image-20230717151245-7.png]]
466 466  
467 -(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31)**
454 +(% style="color:blue" %)**Ext=11, sensor de temperatura e umidade (SHT31):**
468 468  
469 469  [[image:SHT31.png]]
470 470  
471 471  
472 472  
473 -==== 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) ====
474 474  
475 475  
476 -(% 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.**
477 477  
478 478  
479 -(% 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:**
480 480  
481 -(% 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.
482 482  
483 - 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
484 484  
485 - 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.
486 486  
487 487  [[image:image-20220906100852-1.png||_mstalt="429156" height="205" width="377"]]
488 488  
489 489  
490 -Ext=4,Interrupt Sensor:
477 +Ext=4, Sensor de Interrupção:
491 491  
492 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
479 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
493 493  |(% style="width:101px" %)(((
494 494  **AT+EXT=4,1**
495 -)))|(% style="width:395px" %)(((
496 -**Sent uplink packet in both rising and falling interrupt**
497 -)))
482 +)))|(% style="width:421px" %)Pacote de uplink enviado na interrupção ascendente e caindo
498 498  |(% style="width:101px" %)(((
499 499  **AT+EXT=4,2**
500 -)))|(% style="width:395px" %)(((
501 -**Sent uplink packet only in falling interrupt**
502 -)))
485 +)))|(% style="width:421px" %)Enviou um pacote de ligação ascendente apenas na interrupção em queda
503 503  |(% style="width:101px" %)(((
504 504  **AT+EXT=4,3**
505 -)))|(% style="width:395px" %)(((
506 -**Sent uplink packet only in rising interrupt**
507 -)))
488 +)))|(% style="width:421px" %)Enviou o pacote de uplink apenas na interrupção crescente
508 508  
509 -Trigger by falling edge:
490 +Acionador pela borda de queda:
510 510  
511 511  [[image:image-20220906101145-2.png||_mstalt="428324"]]
512 512  
513 513  
514 -Trigger by raising edge
495 +Trigger by raise edge:
515 515  
516 516  [[image:image-20220906101145-3.png||_mstalt="428688"]]
517 517  
518 518  
519 519  
520 -==== 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) ====
521 521  
522 522  
523 -(% 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.**
524 524  
525 525  
526 -(% 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.
527 527  
528 528  [[image:image-20220906101320-4.png||_mstalt="427336" height="366" width="698"]]
529 529  
530 530  
531 -(% 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
532 532  
533 533  [[image:image-20220906101320-5.png||_mstalt="427700" height="353" width="696"]]
534 534  
... ... @@ -535,50 +535,42 @@
535 535  
536 536  Ext=8, Counting Sensor ( 4 bytes):
537 537  
538 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %)
519 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:407px" %)
539 539  |(% style="width:131px" %)(((
540 540  **AT+EXT=8,0**
541 -)))|(% style="width:195px" %)(((
542 -**Count at falling interrupt**
543 -)))
522 +)))|(% style="width:271px" %)Contagem na interrupção de queda
544 544  |(% style="width:131px" %)(((
545 545  **AT+EXT=8,1**
546 -)))|(% style="width:195px" %)(((
547 -**Count at rising interrupt**
548 -)))
525 +)))|(% style="width:271px" %)Contagem na interrupção ascendente
549 549  |(% style="width:131px" %)(((
550 550  **AT+SETCNT=60**
551 -)))|(% style="width:195px" %)(((
552 -**Sent current count to 60**
553 -)))
528 +)))|(% style="width:271px" %)Enviou a contagem atual para 60
554 554  
555 555  [[image:image-20220906101320-6.png||_mstalt="428064"]]
556 556  
557 557  
558 -(% style="color:blue" %)**A2 downlink Command**
533 +(% style="color:blue" %)**Comando de ligação descendente A2:**
559 559  
560 -A2 02:  Same as AT+EXT=2 (AT+EXT= second byte)
535 +A2 02: O mesmo que AT+EXT=2 (AT+EXT= segundo byte)
561 561  
562 -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)
563 563  
564 -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)
565 565  
566 -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)
567 567  
568 -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)
569 569  
570 570  
571 -==== 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) ====
572 572  
573 573  
574 574  (((
575 -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:
576 576  )))
577 577  
578 578  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
579 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
580 -**Size(bytes)**
581 -)))|=(% 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" %)(((
582 582  **2**
583 583  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
584 584  **2**
... ... @@ -589,64 +589,56 @@
589 589  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
590 590  **4**
591 591  )))
592 -|(% style="width:110px" %)(((
593 -**Value**
594 -)))|(% style="width:71px" %)(((
595 -External temperature
596 -)))|(% style="width:99px" %)(((
597 -[[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"]]
598 598  )))|(% style="width:132px" %)(((
599 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
600 -)))|(% style="width:54px" %)(((
601 -Status & Ext
602 -)))|(% style="width:64px" %)(((
603 -[[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"]]
604 604  )))
605 605  
606 -* **Battery status & Built-in Humidity**
573 +* **Estado da bateria e humidade incorporada**
607 607  
608 608  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
609 609  |=(% 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]
610 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
611 -BAT Status
612 -00(b): Ultra Low ( BAT <= 2.50v)
613 -01(b): Low  (2.50v <=BAT <= 2.55v)
614 -10(b): OK   (2.55v <= BAT <=2.65v)
615 -11(b): Good   (BAT >= 2.65v)
616 -)))|(% style="width:132px" %)(((
617 -[[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"]]
618 618  )))
619 619  
620 -* **Status & Ext Byte**
585 +* **Status e byte externo**
621 621  
622 622  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
623 623  |(% 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]**
624 -|(% 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)
625 625  
626 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
627 -* (% 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.
628 -* (% 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)
629 629  
630 630  
631 -== 2.5 Show data on Datacake ==
596 +== 2.5 Mostrar dados sobre o Datacake ==
632 632  
633 633  
634 634  (((
635 -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:
636 636  )))
637 637  
638 638  
639 639  (((
640 -(% 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.
641 641  )))
642 642  
643 643  (((
644 -(% 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.
645 645  )))
646 646  
647 647  
648 648  (((
649 -Add Datacake:
614 +Adicionar a Bolo de Dados:
650 650  )))
651 651  
652 652  
... ... @@ -654,15 +654,14 @@
654 654  
655 655  
656 656  
657 -Select default key as Access Key:
622 +Seleccione a chave por omissão como Chave de Acesso:
658 658  
659 659  
660 660  [[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
661 661  
627 +No console Datacake ([[https:~~/~~/datacake.co/>>https://datacake.co/]]) , adicione o dispositivo LHT65.
662 662  
663 -In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
664 664  
665 -
666 666  [[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]]
667 667  
668 668  
... ... @@ -669,31 +669,31 @@
669 669  [[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]]
670 670  
671 671  
672 -== 2.6 Datalog Feature ==
636 +== 2.6 Recurso de registo de dados ==
673 673  
674 674  
675 675  (((
676 -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.
677 677  )))
678 678  
679 679  
680 -=== 2.6.1 Ways to get datalog via LoRaWAN ===
644 +=== 2.6.1 Maneiras de obter datalog via LoRaWAN ===
681 681  
682 682  
683 -There are two methods:
647 +Existem dois métodos:
684 684  
685 -(% 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.
686 686  
687 687  
688 -(% 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.
689 689  
690 690  
691 -(% style="color:red" %)**Note for method 2:**
655 +(% style="color:red" %)**Nota para o método 2:**
692 692  
693 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
694 -* 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.
695 695  
696 -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)
697 697  
698 698  
699 699  [[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]]
... ... @@ -702,7 +702,7 @@
702 702  === 2.6.2 Unix TimeStamp ===
703 703  
704 704  
705 -LHT65N uses Unix TimeStamp format based on
669 +LHT65N usa o formato Unix TimeStamp baseado em
706 706  
707 707  
708 708  [[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]]
... ... @@ -709,87 +709,85 @@
709 709  
710 710  
711 711  
712 -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/]] :
713 713  
714 -Below is the converter example
678 +Abaixo está o exemplo do conversor
715 715  
716 716  [[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]]
717 717  
718 718  
719 -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
720 720  
721 721  
722 -=== 2.6.3 Set Device Time ===
686 +=== 2. 6. 3 Definir a Hora do Dispositivo ===
723 723  
724 724  
725 725  (((
726 -(% 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:**
727 727  )))
728 728  
729 729  (((
730 -**1.  Through LoRaWAN MAC Command (Default settings)**
694 +**~1. Através do comando MAC LoRaWAN (configurações padrão)**
731 731  )))
732 732  
733 733  (((
734 -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.
735 735  )))
736 736  
737 737  (((
738 -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).
739 739  )))
740 740  
741 741  (((
742 -(% 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.**
743 743  )))
744 744  
745 745  
746 746  (((
747 -**2. Manually Set Time**
711 +**2. Definir manualmente o tempo**
748 748  )))
749 749  
750 750  (((
751 -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.
752 752  )))
753 753  
754 754  
755 -=== 2.6.4 Poll sensor value ===
719 +=== 2.6.4 Valor do sensor de sondagem ===
756 756  
757 757  
758 -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.
759 759  
760 760  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
761 761  |(% 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**
762 -|(% 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" %)Fim do carimbo de data/hora|(% style="width:116px" %)Intervalo de uplink
763 763  
764 -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.
728 +O início do carimbo de data e o fim do carimbo de data e hora usam o formato Unix TimeStamp, conforme mencionado acima. Os dispositivos responderão com todo o registro de dados durante este período de tempo, use o intervalo de uplink.
765 765  
766 -For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
730 +Por exemplo, o comando downlink **31 5FC5F350 5FC6 0160 05**
767 767  
768 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data
732 +É verificar 2020/12/1 07:40:00 a 2020/12/1 08:40:00's dados
769 769  
770 -Uplink Internal =5s, means LHT65N will send one packet every 5s. range 5~~255s.
734 +Uplink Interno = 5s, significa que LHT65N enviará um pacote a cada 5s. alcance 5~~255s.
771 771  
772 772  
773 -=== 2.6.5 Datalog Uplink payload ===
737 +=== 2.6.5 Carga útil do Uplink do Datalog ===
774 774  
775 775  
776 -The Datalog poll reply uplink will use below payload format.
740 +O uplink de resposta à enquete Datalog usa o formato de carga útil abaixo.
777 777  
778 -**Retrieval data payload:**
742 +**Carga útil dos dados de recuperação:**
779 779  
780 780  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
781 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((
782 -**Size(bytes)**
783 -)))|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**4**
784 -|(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
745 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Tamanho( bytes)**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**4**
746 +|(% style="width:97px" %)**Valor**|(% style="width:123px" %)[[Dados externos do sensor>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Sinal da mensagem de sondagem & Ext|(% style="width:80px" %)[[Carimbo Horário do Unix>>||anchor="H2.6.2UnixTimeStamp"]]
785 785  
786 -**Poll message flag & Ext:**
748 +**& Ext da mensagem da sondagem:**
787 787  
788 788  [[image:image-20221006192726-1.png||_mstalt="430508" height="112" width="754"]]
789 789  
790 -(% style="color:blue" %)**No ACK Message**(%%):  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
752 +(% style="color:blue" %)**Sem Mensagem ACK:**(%%)  1: Esta mensagem significa que esta carga útil é de Uplink Message que não recebe ACK do servidor antes (para [[PNACKMD=1>>path:#H4.13AutoSendNone-ACKmessages]] recurso)
791 791  
792 -(% style="color:blue" %)**Poll Message Flag**(%%): 1: This message is a poll message reply.
754 +(% style="color:blue" %)**Bandeira da mensagem da sondagem:**(%%) 1: Esta mensagem é uma resposta de mensagem de enquete.
793 793  
794 794  * Poll Message Flag is set to 1.
795 795