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

From version 261.15
edited by Xiaoling
on 2023/07/17 18:07
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
Content
... ... @@ -543,17 +543,15 @@
543 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)
544 544  
545 545  
546 -==== 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) ====
547 547  
548 548  
549 549  (((
550 -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:
551 551  )))
552 552  
553 553  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
554 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
555 -**Size(bytes)**
556 -)))|=(% 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" %)(((
557 557  **2**
558 558  )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)(((
559 559  **2**
... ... @@ -564,64 +564,56 @@
564 564  )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)(((
565 565  **4**
566 566  )))
567 -|(% style="width:110px" %)(((
568 -**Value**
569 -)))|(% style="width:71px" %)(((
570 -External temperature
571 -)))|(% style="width:99px" %)(((
572 -[[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"]]
573 573  )))|(% style="width:132px" %)(((
574 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]
575 -)))|(% style="width:54px" %)(((
576 -Status & Ext
577 -)))|(% style="width:64px" %)(((
578 -[[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"]]
579 579  )))
580 580  
581 -* **Battery status & Built-in Humidity**
573 +* **Estado da bateria e humidade incorporada**
582 582  
583 583  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
584 584  |=(% 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]
585 -|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
586 -BAT Status
587 -00(b): Ultra Low ( BAT <= 2.50v)
588 -01(b): Low  (2.50v <=BAT <= 2.55v)
589 -10(b): OK   (2.55v <= BAT <=2.65v)
590 -11(b): Good   (BAT >= 2.65v)
591 -)))|(% style="width:132px" %)(((
592 -[[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"]]
593 593  )))
594 594  
595 -* **Status & Ext Byte**
585 +* **Status e byte externo**
596 596  
597 597  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
598 598  |(% 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]**
599 -|(% 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)
600 600  
601 -* (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
602 -* (% 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.
603 -* (% 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)
604 604  
605 605  
606 -== 2.5 Show data on Datacake ==
596 +== 2.5 Mostrar dados sobre o Datacake ==
607 607  
608 608  
609 609  (((
610 -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:
611 611  )))
612 612  
613 613  
614 614  (((
615 -(% 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.
616 616  )))
617 617  
618 618  (((
619 -(% 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.
620 620  )))
621 621  
622 622  
623 623  (((
624 -Add Datacake:
614 +Adicionar a Bolo de Dados:
625 625  )))
626 626  
627 627  
... ... @@ -629,15 +629,14 @@
629 629  
630 630  
631 631  
632 -Select default key as Access Key:
622 +Seleccione a chave por omissão como Chave de Acesso:
633 633  
634 634  
635 635  [[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]]
636 636  
627 +No console Datacake ([[https:~~/~~/datacake.co/>>https://datacake.co/]]) , adicione o dispositivo LHT65.
637 637  
638 -In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device.
639 639  
640 -
641 641  [[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]]
642 642  
643 643  
... ... @@ -644,31 +644,31 @@
644 644  [[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]]
645 645  
646 646  
647 -== 2.6 Datalog Feature ==
636 +== 2.6 Recurso de registo de dados ==
648 648  
649 649  
650 650  (((
651 -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.
652 652  )))
653 653  
654 654  
655 -=== 2.6.1 Ways to get datalog via LoRaWAN ===
644 +=== 2.6.1 Maneiras de obter datalog via LoRaWAN ===
656 656  
657 657  
658 -There are two methods:
647 +Existem dois métodos:
659 659  
660 -(% 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.
661 661  
662 662  
663 -(% 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.
664 664  
665 665  
666 -(% style="color:red" %)**Note for method 2:**
655 +(% style="color:red" %)**Nota para o método 2:**
667 667  
668 -* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
669 -* 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.
670 670  
671 -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)
672 672  
673 673  
674 674  [[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]]
... ... @@ -677,7 +677,7 @@
677 677  === 2.6.2 Unix TimeStamp ===
678 678  
679 679  
680 -LHT65N uses Unix TimeStamp format based on
669 +LHT65N usa o formato Unix TimeStamp baseado em
681 681  
682 682  
683 683  [[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]]
... ... @@ -684,57 +684,57 @@
684 684  
685 685  
686 686  
687 -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/]] :
688 688  
689 -Below is the converter example
678 +Abaixo está o exemplo do conversor
690 690  
691 691  [[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]]
692 692  
693 693  
694 -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
695 695  
696 696  
697 -=== 2.6.3 Set Device Time ===
686 +=== 2. 6. 3 Definir a Hora do Dispositivo ===
698 698  
699 699  
700 700  (((
701 -(% 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:**
702 702  )))
703 703  
704 704  (((
705 -**1.  Through LoRaWAN MAC Command (Default settings)**
694 +**~1. Através do comando MAC LoRaWAN (configurações padrão)**
706 706  )))
707 707  
708 708  (((
709 -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.
710 710  )))
711 711  
712 712  (((
713 -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).
714 714  )))
715 715  
716 716  (((
717 -(% 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.**
718 718  )))
719 719  
720 720  
721 721  (((
722 -**2. Manually Set Time**
711 +**2. Definir manualmente o tempo**
723 723  )))
724 724  
725 725  (((
726 -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.
727 727  )))
728 728  
729 729  
730 -=== 2.6.4 Poll sensor value ===
719 +=== 2.6.4 Valor do sensor de sondagem ===
731 731  
732 732  
733 -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.
734 734  
735 735  (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %)
736 736  |(% 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**
737 -|(% 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
738 738  
739 739  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.
740 740