Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -LHT65N -- Manualdo sensor de temperaturae umidadeLoRaWAN1 +LHT65N LoRaWAN Temperature & Humidity Sensor Manual - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -Main. User Manual for LoRaWAN End Nodes.WebHome1 +Main.WebHome - Content
-
... ... @@ -11,100 +11,108 @@ 11 11 12 12 13 13 14 -= 1. Introdu ção =14 += 1. Introduction = 15 15 16 -== 1.1 OqueéLHT65N LoRaWAN Temperatura&UmidadeSensor ==16 +== 1.1 What is LHT65N LoRaWAN (% style="display:none" %) (%%)Temperature & Humidity Sensor == 17 17 18 18 19 19 ((( 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. 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 +))) 21 21 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 +))) 22 22 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. 27 +((( 28 +LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. 29 +))) 24 24 31 +((( 32 +LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. 33 +))) 25 25 26 -LHT65N tem uma bateria embutida de 2400mAh não recarregável que pode ser usada por até 10 anos*. 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 +))) 27 27 39 +((( 40 +*The actual battery life depends on how often to send data, please see the battery analyzer chapter. 41 +))) 28 28 29 -LHT65N é totalmente compatível com o protocolo LoRaWAN v1.0.3 Classe A, ele pode trabalhar com um gateway LoRaWAN padrão. 30 30 44 +== 1.2 Features == 31 31 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. 33 33 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) 34 34 35 -~* A vida real da bateria depende de quantas vezes enviar dados, consulte o capítulo do analisador da bateria. 36 -))) 37 37 38 38 39 -== 1. 2Características==60 +== 1.3 Specification == 40 40 41 41 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) 63 +(% style="color:#037691" %)**Built-in Temperature Sensor:** 52 52 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 53 53 54 - ==1.3 Especificação==70 +(% style="color:#037691" %)**Built-in Humidity Sensor:** 55 55 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 56 56 57 -(% style="color:#037691" %)** Sensordetemperaturaincorporado:**77 +(% style="color:#037691" %)**External Temperature Sensor:** 58 58 59 -* Resolu ção: 0,01°C60 -* Tolerânciade precisão:Tipo ±0,3°C61 -* Derivaalongo prazo:<0,02°C/ano62 -* Faixa de operação: -40~~85 °C79 +* 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 63 63 64 -(% style="color:#037691" %)**Sensor de humidade incorporado:** 65 65 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 70 70 71 - (%style="color:#037691"%)**Sensordetemperaturaexterno:**86 += 2. Connect LHT65N to IoT Server = 72 72 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 88 +== 2.1 How does LHT65N work? == 77 77 78 78 79 -= 2. Conecte LHT65N ao servidor IoT = 80 - 81 -== 2.1 Como funciona o LHT65N? == 82 - 83 - 84 84 ((( 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. 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 +))) 86 86 87 - 88 - SeoLHT65NestiversobacoberturadestaredeLoRaWAN. LHT65Npode entrarnaredeLoRaWAN automaticamente.Depois de ingressarcomsucesso,oLHT65Ncomeçaráa mediratemperaturae umidadedoambientee começaráatransmitirdadosdo sensorpara oservidorLoRaWAN.Operíodopadrãoparacadauplinkéde20 minutos.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. 89 89 ))) 90 90 91 91 92 -== 2. ComoativaroLHT65N? ==100 +== 2.2 How to Activate LHT65N? == 93 93 94 94 95 95 ((( 96 - OLHT65N temdoismodos detrabalho:104 +The LHT65N has two working modes: 97 97 ))) 98 98 99 99 * ((( 100 -(% style="color:blue" %)** Modo de SuspensãoProfunda:**(%%) LHT65Nnãotemnenhuma ativaçãoLoRaWAN.Estemodoéusadoparaarmazenamentoe transporteparaeconomizaraidaútil dabateria.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. 101 101 ))) 102 102 * ((( 103 -(% style="color:blue" %)**Mod o deTrabalho:**(%%)Nestemodo,oLHT65Nfuncionacomo o modo SensorLoRaWANparaentrarna rede LoRaWANe enviaros dadosdo sensorpara o servidor.Entrecadaamostragem/tx/rx periodicamente, LHT65N estaránomodoSTOP(modoIDLE),nomodoSTOP, LHT65N temo mesmo consumode energiaque o modoDeep Sleep.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. 104 104 ))) 105 105 106 106 ((( 107 - OLHT65Nédefinidono modo de sonoprofundoporpadrão;ObotãoACT nafrenteéparaalternarparadiferentesmodos:115 +The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 108 108 ))) 109 109 110 110 ... ... @@ -111,44 +111,49 @@ 111 111 [[image:image-20230717144740-2.png||height="391" width="267"]] 112 112 113 113 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 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. 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. 120 120 ))) 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. 121 121 122 -== 2.3 Exemplo para ingressar na rede LoRaWAN == 123 123 133 +== 2.3 Example to join LoRaWAN network == 124 124 135 + 125 125 (% class="wikigeneratedid" %) 126 - Estaseçãomostraumexemplo decomoentrarnoservidorIoTTN V3 LoRaWAN.O usocom outrosservidoresIoTLoRaWANédeum procedimento semelhante.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. 127 127 128 128 129 129 (% class="wikigeneratedid" %) 130 130 [[image:image-20220522232442-1.png||_mstalt="427830" height="387" width="648"]] 131 131 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: 133 133 134 134 ((( 135 - 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: 136 136 ))) 137 137 138 -=== 2.3.1 Etapa 1: Crie dispositivo n ttn === 139 139 149 +=== 2.3.1 Step 1: Create Device n TTN === 140 140 151 + 141 141 ((( 142 -Crie um dispositivo no TTN V3 com as teclas OTAA do LHT65N. 153 +Create a device in TTN V3 with the OTAA keys from LHT65N. 154 +))) 143 143 144 -Cada LHT65N é enviado com um adesivo com seu dispositivo eui, chave de aplicativo e aplicativo eui como abaixo: 156 +((( 157 +Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 145 145 ))) 146 146 147 147 [[image:image-20230426083319-1.png||height="258" width="556"]] 148 148 149 - O usuáriopodeinseriressaschaves noportaldoservidorLorawan.Abaixoestá a captura de tela do TTN V3:162 +User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 150 150 151 -Ad icioneoaplicativoEUI noaplicativo.164 +Add APP EUI in the application. 152 152 153 153 154 154 [[image:image-20220522232916-3.png||_mstalt="430495"]] ... ... @@ -161,41 +161,43 @@ 161 161 162 162 163 163 164 -(% style="color:red" %)**Not a: LHT65NUse asmacargaútilqueLHT65.**177 +(% style="color:red" %)**Note: LHT65N use same payload as LHT65.** 165 165 166 166 167 167 [[image:image-20220522233026-6.png||_mstalt="429403"]] 168 168 169 169 170 -I NSIDEAPP EUI, APP KEYeDEV EUI:183 +Input APP EUI, APP KEY and DEV EUI: 171 171 172 172 173 173 [[image:image-20220522233118-7.png||_mstalt="430430"]] 174 174 175 175 176 -=== 2.3.2 Passo2: AtiveoLHT65N pressionandoo botãoACTpor mais de 5 segundos. ===189 +=== 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 177 177 178 178 179 179 ((( 180 -Use obotãoACT para ativaroLHT65Neelese conectará automaticamenteà redeTTN V3. Apóso sucesso da junção,elecomeçaráa carregarosdadosdosensorpara o TTN V3eousuário poderávernopainel.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. 181 181 ))) 182 182 183 183 [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 184 184 185 185 186 -== 2.4 Carga útil de uplink (Fport~=2) ==199 +== 2.4 Uplink Payload (Fport~=2) == 187 187 188 188 189 189 ((( 190 - A carga de uplink incluitotalmente11 bytes.Ospacotesdeuplink usamFPORT=2ea cada20 minutosviamumuplinkporpadrão.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. 191 191 ))) 192 192 193 193 ((( 194 -A póscadauplink, o LEDAZULpiscaráumavez.207 +After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 195 195 ))) 196 196 197 197 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 198 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 211 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 212 +**Size(bytes)** 213 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 199 199 **2** 200 200 )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)((( 201 201 **2** ... ... @@ -206,137 +206,153 @@ 206 206 )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 207 207 **4** 208 208 ))) 209 -|(% style="width:97px" %)Valor|(% style="width:39px" %)((( 210 -[[MTD>>||anchor="H2.4.2BAT-BatteryInfo"]] 224 +|(% style="width:97px" %)((( 225 +**Value** 226 +)))|(% style="width:39px" %)((( 227 +[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]] 211 211 )))|(% style="width:100px" %)((( 212 212 ((( 213 -[[Temperatur a incorporada>>||anchor="H2.4.3Built-inTemperature"]]230 +[[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 214 214 ))) 215 215 )))|(% style="width:77px" %)((( 216 216 ((( 217 -[[ Umidadeincorporada>>||anchor="H2.4.4Built-inHumidity"]]234 +[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 218 218 ))) 219 219 )))|(% style="width:47px" %)((( 220 220 [[Ext>>||anchor="H2.4.5Ext23"]] # 221 221 )))|(% style="width:51px" %)((( 222 -[[ ValorExt>>||anchor="H2.4.6Extvalue"]]239 +[[Ext value>>||anchor="H2.4.6Extvalue"]] 223 223 ))) 224 224 225 -* Osprimeiros 6 bytes:temsignificados fixosparacadaLHT65N.242 +* The First 6 bytes: has fix meanings for every LHT65N. 226 226 227 -* O7ºbyte (EXT #): defineomodelodosensorexterno.244 +* The 7th byte (EXT #): defines the external sensor model. 228 228 229 -* O8º~~ 11ºbyte:ovalorparao valordosensor externo.Adefiniçãoébaseadano tipo de sensorexterno. (SeEXT=0,nãohaveráessesquatrobytes.)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.) 230 230 231 231 232 -=== 2.4.1 Decodificador em TTN V3 === 233 233 250 +=== 2.4.1 Decoder in TTN V3 === 234 234 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 - Abaixoestáaposiçãopara colocar odecodificadorodecodificadorLHT65Npode serbaixadoaqui: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]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. 238 238 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]] 239 239 257 + 240 240 [[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]] 241 241 242 242 243 -=== 2.4.2 Informações da bateriaBAT===261 +=== 2.4.2 BAT-Battery Info === 244 244 245 245 246 - EssesdoisbytesdeBAT incluemo estadodabateriae a tensãoatual.264 +These two bytes of BAT include the battery state and the actually voltage. 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" %)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 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 257 257 258 -**(b) ignificabinário**280 +**(b)stands for binary** 259 259 260 260 261 261 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 262 262 263 -Verifique a tensão da bateria para LHT65N. 264 264 265 -* Status BAT=(0Xcba4>>14)&0xFF=11 (BIN), muito bom 266 -* Tensão da bateria = 0xCBA4 & 0x3FFF = 0x0BA4 = 2980mV 286 +Check the battery voltage for LHT65N. 267 267 288 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 268 268 290 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 269 269 270 -=== 2.4.3 Temperatura interna === 271 271 272 272 294 +=== 2.4.3 Built-in Temperature === 295 + 296 + 273 273 [[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]] 274 274 275 -* Temperatur a: 0x0ABB/100=27,47ÿ299 +* Temperature: 0x0ABB/100=27.47℃ 276 276 277 277 [[image:image-20220522235639-3.png||_mstalt="432120"]] 278 278 279 -* Temperatur a: (0xF5C6-65536)/100=-26,18ÿ303 +* Temperature: (0xF5C6-65536)/100=-26.18℃ 280 280 281 281 306 + 282 282 (% style="display:none" %) 283 283 284 -=== 2.4.4 Umidadeinterna===309 +=== 2.4.4 Built-in Humidity === 285 285 286 286 287 287 [[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]] 288 288 289 -* Umidade: 0x025C/10=60,4%314 +* Humidity: 0x025C/10=60.4% 290 290 291 291 317 + 292 292 (% style="display:none" %) 293 293 294 294 === 2.4.5 Ext # === 295 295 296 296 297 -Bytes para Sensor Externo:323 +Bytes for External Sensor: 298 298 299 299 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %) 300 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Val or**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)Tipo desensor externo301 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Sensor deTemperatura302 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Sensor deTemperatura, Mod deRegistrodeDados326 +|=(% 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 303 303 304 -=== 2.4.6 Valor externo === 305 305 306 -=== =2.4.6.1Ext~=1,Sensor de TemperaturaE3====331 +=== 2.4.6 Ext value === 307 307 333 +==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 308 308 335 + 309 309 [[image:image-20220522235639-5.png||_mstalt="432848"]] 310 310 311 311 312 -* ,81ÿ339 +* DS18B20 temp=0x0ADD/100=27.81℃ 313 313 314 - Osúltimos 2 bytesdedadosnãotêmsentido.341 +The last 2 bytes of data are meaningless 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℃ 321 321 322 - F54F:(F54F& 8000 == 1) ,temp,37℃348 +* External temperature= (0xF54F-65536)/100=-27.37℃ 323 323 324 -( 0105 & 8000:Julguese o bit mais alto é1,quando o bitaisaltoé1,énegativo)350 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 325 325 326 - Osúltimos2bytesdedadosnãotêmsentido352 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 327 327 328 - Seosensor externofor0x01enãohouver temperaturaexternaconectada.A temperatura será ajustada para 7FFF que é 327.67℃354 +The last 2 bytes of data are meaningless 329 329 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℃ 330 330 331 -==== 2.4.6.2 Ext~=9, sensor E3 com Unix Timestamp ==== 332 332 333 333 360 +==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 361 + 362 + 334 334 ((( 335 - O modoTimestampé projetadoparaLHT65NcomsondaE3,eleenviará a carga útil de uplinkcomtimestampUnix.Comalimitaçãode11 bytes (distânciamáximada bandaAU915/US915/AS923),omodo decarimbodehoraseráfaltadecampode tensão BAT,emvezdisso,elemostraostatusdabateria.Acargaútiléaguinte: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: 336 336 ))) 337 337 338 338 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 339 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 368 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 369 +**Size(bytes)** 370 +)))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 340 340 **2** 341 341 )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)((( 342 342 **2** ... ... @@ -347,86 +347,96 @@ 347 347 )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 348 348 **4** 349 349 ))) 350 -|(% style="width:110px" %)Valor|(% style="width:71px" %)Temperatura externa|(% style="width:99px" %)((( 351 -[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]] 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"]] 352 352 )))|(% style="width:132px" %)((( 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"]] 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"]] 356 356 ))) 357 357 358 -* ** Statusdabateriaeumidadeinterna**395 +* **Battery status & Built-in Humidity** 359 359 360 360 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 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"]] 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"]] 368 368 ))) 369 369 370 -* ** ebyteexterno**409 +* **Status & Ext Byte** 371 371 372 372 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 373 373 |(% 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]** 374 -|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %) SinalizadorNenhum-ACK|(% style="width:146px" %)Mensagemde EnqueteFLAG|(% style="width:109px" %)SincronizarhoraOK|(% style="width:143px" %)Solicitação de HorárioUnix |(% style="width:106px" %)Ext: 0b(1001)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) 375 375 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) 376 376 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) 380 380 381 381 421 +==== 2.4.6.3 Ext~=6, ADC Sensor(use with E2 Cable) ==== 382 382 383 383 384 - ====2.4.6.3 Ext~=6,Sensor ADC(usecomcaboE2)====424 +In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can 385 385 426 +be used to power the external ADC sensor; user can control the power on time for this 386 386 387 - Nestemodo, o usuário pode conectar sensor ADC externo para verificarovalorADC. O 3V3_OUT pode ser usado para alimentarosensorADCexterno; o usuário podecontrolar o poder notempo paraisso.428 +(% style="color:blue" %)**sensor by setting:** 388 388 389 -(% style="color: blue" %)**sensorconfigurando:**430 +**AT+EXT=6,timeout** (% style="color:red" %)**Time to power this sensor, from 0 ~~ 65535ms** 390 390 391 -** AT+EXT=6, **timeoutTempo paraligareste sensor, de 0 ~~ 65535ms432 +**For example:** 392 392 393 - **Por exemplo:**434 +AT+EXT=6,1000 will power this sensor for 1000ms before sampling the ADC value. 394 394 395 -AT+EXT=6.1000 alimentará este sensor por 1000ms antes de amostrar o valor ADC. 396 396 437 +Or use **downlink command A2** to set the same. 397 397 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. 439 +The measuring range of the node is only about 0.1V to 1.1V The voltage resolution is about 0.24mv. 401 401 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 + 402 402 [[image:image-20220628150112-1.png||_mstalt="427414" height="241" width="285"]] 403 403 404 404 405 - Quandoo pinoADC_IN1éconectadoao GND oususpenso,ovalor deADCé0446 +When ADC_IN1 pin is connected to GND or suspended, ADC value is 0 406 406 407 407 [[image:image-20220628150714-4.png||_mstalt="431054"]] 408 408 409 409 410 - Quandoatensão coletadaporADC_IN1formenordo quea faixamínima,afaixamínimaseráusadacomo saída;Da mesmaforma,quandoatensãocoletadaémaiordoque afaixa máxima,afaixa máximaseráusadacomosaída.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. 411 411 412 412 413 -1) Afaixamínimaé de cercade 0.1V.Cadachip temcalibraçãointerna,assimqueestevalor está pertode0.1V454 +1) The minimum range is about 0.1V. Each chip has internal calibration, so this value is close to 0.1V 414 414 415 415 [[image:image-20220628151005-5.png||_mstalt="429546"]] 416 416 417 417 418 -2) Afaixa máximaé de cercade 1.1V.Cadachip temcalibraçãointerna,assimqueestevalor está pertode1.1v459 +2) The maximum range is about 1.1V. Each chip has internal calibration, so this value is close to 1.1v 419 419 420 420 [[image:image-20220628151056-6.png||_mstalt="431873"]] 421 421 422 422 423 -3) Dentrodoalcance464 +3) Within range 424 424 425 425 [[image:image-20220628151143-7.png||_mstalt="431210"]] 426 426 427 427 428 428 429 -==== 2.4.6.4 Ext~=2 TMP117 Sensor desde Firmware v1.3)(% style="display:none" %) (%%) ====470 +==== 2.4.6.4 Ext~=2 TMP117 Sensor((% style="display:none" %) (%%)Since Firmware v1.3)(% style="display:none" %) (%%) ==== 430 430 431 431 [[image:image-20230717151328-8.png]] 432 432 ... ... @@ -434,82 +434,88 @@ 434 434 435 435 436 436 437 -(% style="color:blue" %)**Ext=2, Sensor de temperatura(TMP117):**478 +(% style="color:blue" %)**Ext=2,Temperature Sensor(TMP117):** 438 438 439 439 [[image:image-20220906102307-7.png||_mstalt="430443"]] 440 440 441 441 442 -(% style="color:blue" %)** Modo deInterrupção eMododeContagem:**(% style="color:blue; display:none" %)** **483 +(% style="color:blue" %)**Interrupt Mode and Counting Mode:**(% style="color: blue; display: none" %)** ** 443 443 444 - OcaboexternoNE2podeserusadoparaMOD4eMOD8485 +The external cable NE2 can be use for MOD4 and MOD8 445 445 446 446 447 447 448 -==== 2.4.6.5 Ext~=11 SHT31 Sensor ( desde Firmware v1.4.1) ====489 +==== 2.4.6.5 Ext~=11 SHT31 Sensor ((% style="display:none" %) (%%)Since Firmware v1.4.1) ==== 449 449 450 450 451 451 452 452 [[image:image-20230717151245-7.png]] 453 453 454 -(% style="color:blue" %)**Ext=11, sensor de temperaturae umidade(SHT31):**495 +(% style="color:blue" %)**Ext=11,Temperature & Humidity Sensor(SHT31):** 455 455 456 456 [[image:SHT31.png]] 457 457 458 458 459 459 460 -==== 2.4.6.6 Ext~=4 Interrupt Mode DesdeFirmware v1.3) ====501 +==== 2.4.6.6 Ext~=4 Interrupt Mode(Since Firmware v1.3) ==== 461 461 462 462 463 -(% style="color:red" %)**Not a:Nestemodo,a saída de3.3vestarásempreligada. LHT65N enviaráum uplinkquandohouverumgatilho.**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.** 464 464 465 465 466 -(% style="color:blue" %)** O modo de interrupçãopodeserusadoparaconectar-sea sensoresexternosdeinterrupção,tais como:**507 +(% style="color:blue" %)**Interrupt Mode can be used to connect to external interrupt sensors such as:** 467 467 468 -(% style="color:#037691" %)**Cas o1:sensordeporta.** (%%)3.3v Outparatalsensoréapenas detectarAbrir/Fechar.509 +(% style="color:#037691" %)**Case 1: Door Sensor.** (%%)3.3v Out for such sensor is just to detect Open/Close. 469 469 470 - Noestado aberto, o consumode energiaé o mesmo que senãohouvernenhumasonda511 + In Open State, the power consumption is the same as if there is no probe 471 471 472 - NoestadoClose, o consumode energiaserá3uAmaiordoque onormal.513 + In Close state, the power consumption will be 3uA higher than normal. 473 473 474 474 [[image:image-20220906100852-1.png||_mstalt="429156" height="205" width="377"]] 475 475 476 476 477 -Ext=4, Sensor deInterrupção:518 +Ext=4,Interrupt Sensor: 478 478 479 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:5 10px" %)520 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %) 480 480 |(% style="width:101px" %)((( 481 481 **AT+EXT=4,1** 482 -)))|(% style="width:421px" %)Pacote de uplink enviado na interrupção ascendente e caindo 523 +)))|(% style="width:395px" %)((( 524 +**Sent uplink packet in both rising and falling interrupt** 525 +))) 483 483 |(% style="width:101px" %)((( 484 484 **AT+EXT=4,2** 485 -)))|(% style="width:421px" %)Enviou um pacote de ligação ascendente apenas na interrupção em queda 528 +)))|(% style="width:395px" %)((( 529 +**Sent uplink packet only in falling interrupt** 530 +))) 486 486 |(% style="width:101px" %)((( 487 487 **AT+EXT=4,3** 488 -)))|(% style="width:421px" %)Enviou o pacote de uplink apenas na interrupção crescente 533 +)))|(% style="width:395px" %)((( 534 +**Sent uplink packet only in rising interrupt** 535 +))) 489 489 490 - Acionadorpelabordadequeda:537 +Trigger by falling edge: 491 491 492 492 [[image:image-20220906101145-2.png||_mstalt="428324"]] 493 493 494 494 495 -Trigger by rais eedge:542 +Trigger by raising edge: 496 496 497 497 [[image:image-20220906101145-3.png||_mstalt="428688"]] 498 498 499 499 500 500 501 -==== 2.4.6.7 Ext~=8 Modo de contagem(desde Firmware v1.3) ====548 +==== 2.4.6.7 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 502 502 503 503 504 -(% style="color:red" %)**Not a:Nestemodo,a saída de3,3V estarásempreligada.O LHT65N contaráparacadainterrupçãoeuplink periodicamente.**551 +(% style="color:red" %)**Note: In this mode, 3.3v output will be always ON. LHT65N will count for every interrupt and uplink periodically.** 505 505 506 506 507 -(% style="color:blue" %)**Cas o1:**Sensorde fluxodebaixoconsumodeenergia,essesensordefluxotemsaídade pulsooconsumode energianoníveluAe podeseralimentadoporLHT65N.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. 508 508 509 509 [[image:image-20220906101320-4.png||_mstalt="427336" height="366" width="698"]] 510 510 511 511 512 -(% style="color:blue" %)**Cas o2:**Sensorde FluxoNormal:Estesensordefluxotemmaior consumo deenergiaenãoé adequado para ser alimentado por LHT65N.É alimentadoporenergiaexterna esaída<3,3o559 +(% 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 513 513 514 514 [[image:image-20220906101320-5.png||_mstalt="427700" height="353" width="696"]] 515 515 ... ... @@ -516,42 +516,50 @@ 516 516 517 517 Ext=8, Counting Sensor ( 4 bytes): 518 518 519 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width: 407px" %)566 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %) 520 520 |(% style="width:131px" %)((( 521 521 **AT+EXT=8,0** 522 -)))|(% style="width:271px" %)Contagem na interrupção de queda 569 +)))|(% style="width:195px" %)((( 570 +**Count at falling interrupt** 571 +))) 523 523 |(% style="width:131px" %)((( 524 524 **AT+EXT=8,1** 525 -)))|(% style="width:271px" %)Contagem na interrupção ascendente 574 +)))|(% style="width:195px" %)((( 575 +**Count at rising interrupt** 576 +))) 526 526 |(% style="width:131px" %)((( 527 527 **AT+SETCNT=60** 528 -)))|(% style="width:271px" %)Enviou a contagem atual para 60 579 +)))|(% style="width:195px" %)((( 580 +**Sent current count to 60** 581 +))) 529 529 530 530 [[image:image-20220906101320-6.png||_mstalt="428064"]] 531 531 532 532 533 -(% style="color:blue" %)** Comandodeligaçãodescendente A2:**586 +(% style="color:blue" %)**A2 downlink Command:** 534 534 535 -A2 02: OmesmoqueAT+EXT=2 (AT+EXT= segundobyte)588 +A2 02: Same as AT+EXT=2 (AT+EXT= second byte) 536 536 537 -A2 06 01 F4: OmesmoqueAT+EXT=6.500 (AT+EXT= segundobyte,erceiroequartobytes)590 +A2 06 01 F4: Same as AT+EXT=6,500 (AT+EXT= second byte, third and fourth bytes) 538 538 539 -A2 04 02: OmesmoqueAT+EXT=4,2 (AT+EXT= segundobyte,erceirobyte)592 +A2 04 02: Same as AT+EXT=4,2 (AT+EXT= second byte, third byte) 540 540 541 -A2 08 01 00: OmesmoqueAT+EXT=8,0 (AT+EXT= segundobyte,quartobyte)594 +A2 08 01 00: Same as AT+EXT=8,0 (AT+EXT= second byte, fourth byte) 542 542 543 -A2 08 02 00 00 00 3C: OmesmoqueAT+ SETCNT=60ºbytee5ºbytee6ºbytee7ºbyte)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) 544 544 545 545 546 -==== 2.4.6.8 Ext~=10, sensor E2(TMP117)comUnix Timestampdesdefirmware V1.3.2) ====599 +==== 2.4.6.8 Ext~=10, E2 sensor (TMP117)with Unix Timestamp(Since firmware V1.3.2) ==== 547 547 548 548 549 549 ((( 550 - O modoTimestampé projetadoparaLHT65NcomsondaE2,eleenviará a carga útil de uplinkcomtimestampUnix.Comalimitaçãode11 bytes (distânciamáximada bandaAU915/US915/AS923),omodo decarimbodehoraseráfaltadecampode tensão BAT,emvezdisso,elemostraostatusdabateria.Acargaútiléaguinte: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: 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" %)Tamanho(bytes)|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 607 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 608 +**Size(bytes)** 609 +)))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 555 555 **2** 556 556 )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)((( 557 557 **2** ... ... @@ -562,56 +562,65 @@ 562 562 )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 563 563 **4** 564 564 ))) 565 -|(% style="width:110px" %)Valor|(% style="width:71px" %)Temperatura externa|(% style="width:99px" %)((( 566 -[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]] 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"]] 567 567 )))|(% style="width:132px" %)((( 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"]] 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"]] 571 571 ))) 572 572 573 -* ** Estadodabateriae humidadeincorporada**634 +* **Battery status & Built-in Humidity** 574 574 575 575 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 576 576 |=(% 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] 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"]] 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"]] 583 583 ))) 584 584 585 -* **Status ebyteexterno**648 +* **Status & Ext Byte** 586 586 587 587 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 588 588 |(% 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]** 589 -|(% style="width:96px" %)**Status&Ext**|(% style="width:124px" %) Bandeira SemACK|(% style="width:146px" %)FLAGdeMensagemde Sondagem|(% style="width:109px" %)Tempo de sincronizaçãoOK|(% style="width:143px" %)PedidodeTempoUnix|(% style="width:106px" %)Ext: 0b(1001)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) 590 590 591 -* (% style="color:blue" %)** Sinalizadordemensagemde votação:**(%%)estamensageméumarespostademensagemdevotação, 0: significaque esteéum uplinknormal.592 -* (% style="color:blue" %)** Tempo de sincronizaçãoOK:** (%%) 1:Definirotempook, 0: N/A. Após oenvioda solicitaçãoSYNC, LHT65Ndefiniráeste bitcomo0atéobtero carimbo dehorado servidorde aplicativos.593 -* (% style="color:blue" %)** PedidodeTempoUnix:**(%%)Nestemodo,oLHT65Ndefiniráeste bitpara1acada10 diasparasolicitarumtempoSYNC. (AT+SYNCMODparadefiniristo)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) 594 594 595 595 596 -== 2.5 Mostrar dados sobre o Datacake == 597 597 660 +== 2.5 Show data on Datacake == 598 598 662 + 599 599 ((( 600 - A plataformaDatacake IoT forneceuma interfaceamigável para mostrarosdadosdo sensor,umavezquetemosdadosdo sensor noTTN V3,podemosusaroDatacakeparaconectarao TTN V3 everosdadosnoDatacake.Abaixo estãoosassos: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: 601 601 ))) 602 602 603 603 604 604 ((( 605 -(% style="color:blue" %)** Passo1:**(%%)Certifique-sedequeseu dispositivoestáprogramadoe conectadocorretamenteà redeLoRaWAN.669 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. 606 606 ))) 607 607 608 608 ((( 609 -(% style="color:blue" %)** Passo2:**(%%)Configureseuaplicativoparaencaminhar dados parao Datacakevocêprecisaráadicionarintegração.VáparaTTN V3 Console ~-~-> Aplicações ~-~-> Integrações ~-~-> AdicionarIntegrações.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. 610 610 ))) 611 611 612 612 613 613 ((( 614 -Ad icionar a BolodeDados:678 +Add Datacake: 615 615 ))) 616 616 617 617 ... ... @@ -619,14 +619,15 @@ 619 619 620 620 621 621 622 -Selec cioneachavepor omissãocomo Chave deAcesso:686 +Select default key as Access Key: 623 623 624 624 625 625 [[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]] 626 626 627 -No console Datacake ([[https:~~/~~/datacake.co/>>https://datacake.co/]]) , adicione o dispositivo LHT65. 628 628 692 +In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device. 629 629 694 + 630 630 [[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]] 631 631 632 632 ... ... @@ -633,31 +633,31 @@ 633 633 [[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]] 634 634 635 635 636 -== 2.6 Recursodegistode dados==701 +== 2.6 Datalog Feature == 637 637 638 638 639 639 ((( 640 - O recursoDatalogé garantir que o IoT Serverpossaobtertodosos dados deamostragemdo Sensor,mesmo searedeLoRaWAN estiver inativa.Paracadaamostragem,oLHT65Narmazenaráa leituraparafinsfuturos de recuperação.Há duasmaneirasdeservidoresIoTobteremdatalogdo LHT65N.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. 641 641 ))) 642 642 643 643 644 -=== 2.6.1 Maneirasde obterdatalog via LoRaWAN ===709 +=== 2.6.1 Ways to get datalog via LoRaWAN === 645 645 646 646 647 - Existemdoismétodos:712 +There are two methods: 648 648 649 -(% style="color:blue" %)**M étodo1:**OIoT Server enviaum comando LoRaWANdownlinkparapesquisaro valorparaointervalo detempoespecificado.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. 650 650 651 651 652 -(% style="color:blue" %)**M étodo2: **(%%)DefinaPNACKMD=1,oLHT65N aguardaráo ACKparacadauplink,quandonãohouverredeLoRaWAN,o LHT65N marcaráessesregistroscommensagens nãoreconhecidasearmazenaráosdadosdosensoreenviará todasasmensagens (intervalo de 10s) apósarecuperaçãodarede.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. 653 653 654 654 655 -(% style="color:red" %)**Not aparaométodo2:**720 +(% style="color:red" %)**Note for method 2:** 656 656 657 -* a) OLHT65Nfará uma verificaçãodeACKparaenvio deregistrosde dadospara garantirquetodososservidoresde dadoscheguem.658 -* b) LHT65N en viarádadosnomodoCONFIRMEDquando PNACKMD=1,masLHT65Nnão transmitiránovamenteopacoteseelenãoreceberACK,eleapenasirámarcá-locomoumamensagemNÃO.Em umuplink futuro,se oLHT65NreceberumACK,oLHT65N consideraráqueháumaconexãoderedee reenviarátodasasmensagensNONE-ACK.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. 659 659 660 - Abaixoestáocasotípico parao recurso deregistrodedadosde atualização automática(DefinirPNACKMD=1)725 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 661 661 662 662 663 663 [[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]] ... ... @@ -666,7 +666,7 @@ 666 666 === 2.6.2 Unix TimeStamp === 667 667 668 668 669 -LHT65N us ao formatoUnix TimeStamp baseadoem734 +LHT65N uses Unix TimeStamp format based on 670 670 671 671 672 672 [[image:image-20220523001219-11.png||_mstalt="450450" height="97" width="627"]] ... ... @@ -673,57 +673,57 @@ 673 673 674 674 675 675 676 - O usuáriopodeobter estetempoa partirdo link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :741 +User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 677 677 678 - Abaixoestáoexemplodoconversor743 +Below is the converter example 679 679 680 680 [[image:image-20220523001219-12.png||_mstalt="450827" height="298" width="720"]] 681 681 682 682 683 - Então,podemosusarAT+TIMESTAMP=1611889405 oudownlink 3060137afd00paradefinirahoraatual2021 – Jan ~-~- 29Sexta 03:03:25748 +So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 684 684 685 685 686 -=== 2. finira Hora do Dispositivo===751 +=== 2.6.3 Set Device Time === 687 687 688 688 689 689 ((( 690 -(% style="color:blue" %)** Existemduas maneiras dedefinirahoradodispositivo:**755 +(% style="color:blue" %)**There are two ways to set device's time:** 691 691 ))) 692 692 693 693 ((( 694 -** ~1.Através docomandoMACLoRaWAN(configuraçõespadrão)**759 +**1. Through LoRaWAN MAC Command (Default settings)** 695 695 ))) 696 696 697 697 ((( 698 - O usuárioprecisadefinirSYNCMOD=1parahabilitar o tempodesincronizaçãovia comando MAC.763 +User need to set SYNCMOD=1 to enable sync time via MAC command. 699 699 ))) 700 700 701 701 ((( 702 - Uma vezqueLHT65Nentrouna redeLoRaWAN,eleenviaráocomandoMAC(DeviceTimeReq) eoservidor responderácom(DeviceTimeAns)paraenviarahoraatualparaLHT65N.SeoLHT65Nnãoconseguirobterahora do servidor,oLHT65N usaráahorainterna e aguardaráapróximasolicitaçãode hora(AT+SYNCTDCpara definiroperíododesolicitação detempo,padrãoéde 10 dias).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). 703 703 ))) 704 704 705 705 ((( 706 -(% style="color:red" %)**Not a: LoRaWAN ServerprecisasuportarLoRaWAN v1.0.3usuperiorparasuportareste recursodecomandoMAC, Chirpstack,esuporteloriot,mas TTN V3 v2não suporta.Seoservidornão suportarestecomando,eleiráatravés dopacotedeuplink awaycomestecomando,entãoousuárioperderáopacotecom solicitaçãodetempoparaTTN V3 v2seSYNCMOD=1.**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.** 707 707 ))) 708 708 709 709 710 710 ((( 711 -**2. Definir manualmenteo tempo**776 +**2. Manually Set Time** 712 712 ))) 713 713 714 714 ((( 715 - O usuárioprecisadefinirSYNCMOD=0comohoramanual,caso contrário, ompo definidopelousuárioserásubstituído pelotempodefinidopeloservidor.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. 716 716 ))) 717 717 718 718 719 -=== 2.6.4 Valordosensorde sondagem===784 +=== 2.6.4 Poll sensor value === 720 720 721 721 722 - O usuáriopode sondarovalordosensorcombaseemtimestampsdo servidor.Abaixoestáo comandodownlink.787 +User can poll sensor value based on timestamps from the server. Below is the downlink command. 723 723 724 724 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 725 725 |(% 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** 726 -|(% style="width:58px" %)31|(% style="width:128px" %) Início do carimbo dedata/hora|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval791 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 727 727 728 728 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. 729 729 ... ... @@ -1009,6 +1009,7 @@ 1009 1009 * For each success downlink, the PURPLE LED will blink once 1010 1010 1011 1011 1077 + 1012 1012 == 2.9 installation == 1013 1013 1014 1014 ... ... @@ -1050,7 +1050,7 @@ 1050 1050 == 3.2 E3 Temperature Probe == 1051 1051 1052 1052 1053 -[[image:image-20220515080154-4.png||_mstalt="434681" alt="photo-20220515080154-4.png" height="182" width="161"]] 20515080330-5.png||_mstalt="428792"height="201" width="195"]]1119 +[[image:image-20220515080154-4.png||_mstalt="434681" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20230717152413-11.png||height="207" width="192"]](% style="display:none" %) 1054 1054 1055 1055 1056 1056 Temperature sensor with 2 meters cable long ... ... @@ -1061,6 +1061,7 @@ 1061 1061 * Operating Range: -40 ~~ 125 °C 1062 1062 * Working voltage 2.35v ~~ 5v 1063 1063 1130 + 1064 1064 == 3.3 E31F Temperature Probe == 1065 1065 1066 1066 ... ... @@ -1175,8 +1175,10 @@ 1175 1175 1176 1176 Feature: Change External Sensor Mode. 1177 1177 1245 + 1178 1178 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1179 1179 1248 + 1180 1180 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1181 1181 |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Response** 1182 1182 |(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1