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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -111,48 +111,44 @@ 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" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 115 -|(% 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" %)((( 116 -If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once. 114 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Comportamento no ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Função**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Acção** 115 +|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT entre 1s < tempo < 3s|(% style="background-color:#f2f2f2; width:117px" %)Teste o estado da ligação ascendente|(% style="background-color:#f2f2f2; width:225px" %)Se o LHT65N já estiver unido à rede rhe LoRaWAN, o LHT65N enviará um pacote de uplink, se o LHT65N tiver sensor externo conectado, o led azul piscará uma vez. Se o LHT65N não tiver sensor externo, o led vermelho piscará uma vez. 116 +|(% style="background-color:#f2f2f2; width:167px" %)Pressionando ACT por mais de 3s|(% style="background-color:#f2f2f2; width:117px" %)Dispositivo Activo|(% style="background-color:#f2f2f2; width:225px" %)O led verde piscará rapidamente 5 vezes, o LHT65N entrará no modo de trabalho e começará a juntar-se à rede LoRaWAN. 117 +O led verde ligará solidamente por 5 segundos após a junção na rede. 118 +|(% style="background-color:#f2f2f2; width:167px" %)Pressione rapidamente ACT 5 vezes.|(% style="background-color:#f2f2f2; width:117px" %)Desactivar o Dispositivo|(% style="background-color:#f2f2f2; width:225px" %)((( 119 +O led vermelho ficará sólido durante 5 segundos. Significa que LHT65N está em modo de sono profundo. 117 117 ))) 118 -|(% 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" %)((( 119 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 120 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 121 -))) 122 -|(% 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. 123 123 124 -== 2.3 Ex ample tojoin LoRaWANnetwork==122 +== 2.3 Exemplo para ingressar na rede LoRaWAN == 125 125 126 126 127 127 (% class="wikigeneratedid" %) 128 - This sectionshowsnexample of howtojointhe TTN V3 LoRaWANIoTserver. UsewithotherLoRaWANIoTserversis of a similarprocedure.126 +Esta seção mostra um exemplo de como entrar no servidor IoT TTN V3 LoRaWAN. O uso com outros servidores IoT LoRaWAN é de um procedimento semelhante. 129 129 130 130 131 131 (% class="wikigeneratedid" %) 132 132 [[image:image-20220522232442-1.png||_mstalt="427830" height="387" width="648"]] 133 133 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: 134 134 135 135 ((( 136 - Assumethe LPS8N is already set to connect to [[TTN V3 network>>url:https://eu1.cloud.thethings.network||_mstvisible="2"]], So it provides network coverage for LHT65N. Next we need to add the LHT65N device in TTN V3:135 + 137 137 ))) 138 138 138 +=== 2.3.1 Etapa 1: Crie dispositivo n ttn === 139 139 140 -=== 2.3.1 Step 1: Create Device n TTN === 141 141 142 - 143 143 ((( 144 -Create a device in TTN V3 with the OTAA keys from LHT65N. 145 -))) 142 +Crie um dispositivo no TTN V3 com as teclas OTAA do LHT65N. 146 146 147 -((( 148 -Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 144 +Cada LHT65N é enviado com um adesivo com seu dispositivo eui, chave de aplicativo e aplicativo eui como abaixo: 149 149 ))) 150 150 151 151 [[image:image-20230426083319-1.png||height="258" width="556"]] 152 152 153 - Usercanenterthesekeysin theLoRaWANServerportal.BelowisTTNV3 screenshot:149 +O usuário pode inserir essas chaves no portal do servidor Lorawan. Abaixo está a captura de tela do TTN V3: 154 154 155 -Ad dAPPEUIintheapplication.151 +Adicione o aplicativo EUI no aplicativo. 156 156 157 157 158 158 [[image:image-20220522232916-3.png||_mstalt="430495"]] ... ... @@ -165,43 +165,41 @@ 165 165 166 166 167 167 168 -(% style="color:red" %)**Not e: LHT65NusesamepayloadasLHT65.**164 +(% style="color:red" %)**Nota: LHT65N Use a mesma carga útil que LHT65.** 169 169 170 170 171 171 [[image:image-20220522233026-6.png||_mstalt="429403"]] 172 172 173 173 174 -I nputAPP EUI,andDEV EUI:170 +INSIDE APP EUI, APP KEY e DEV EUI: 175 175 176 176 177 177 [[image:image-20220522233118-7.png||_mstalt="430430"]] 178 178 179 179 180 -=== 2.3.2 Step2: Activate LHT65NbypressingtheACTbutton for more than5 seconds. ===176 +=== 2.3.2 Passo 2: Ative o LHT65N pressionando o botão ACT por mais de 5 segundos. === 181 181 182 182 183 183 ((( 184 -Use ACTbuttonto activateLHT65Nandit willauto-joinothe TTN V3network. Afterjoinsuccess,itwillstarttoupload sensordatato TTN V3andusercan seeinthepanel.180 +Use o botão ACT para ativar o LHT65N e ele se conectará automaticamente à rede TTN V3. Após o sucesso da junção, ele começará a carregar os dados do sensor para o TTN V3 e o usuário poderá ver no painel. 185 185 ))) 186 186 187 187 [[image:image-20220522233300-8.png||_mstalt="428389" height="219" width="722"]] 188 188 189 189 190 -== 2.4 UplinkPayload(Fport~=2) ==186 +== 2.4 Carga útil de uplink (Fport~=2) == 191 191 192 192 193 193 ((( 194 - The uplinkpayloadincludestotally11 bytes.Uplinkpackets useFPORT=2 and (%style="color:#4f81bd"%)**every20 minutes**(%%) sendoneuplinkbydefault.190 +A carga de uplink inclui totalmente 11 bytes. Os pacotes de uplink usam FPORT=2 e a cada 20 minutos enviam um uplink por padrão. 195 195 ))) 196 196 197 197 ((( 198 -A ftereachuplink,the (% style="color:blue"%)**BLUE LED**(%%)willblinkonce.194 +Após cada uplink, o LED AZUL piscará uma vez. 199 199 ))) 200 200 201 201 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 202 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 203 -**Size(bytes)** 204 -)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 198 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)Tamanho( bytes)|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)((( 205 205 **2** 206 206 )))|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)((( 207 207 **2** ... ... @@ -212,94 +212,87 @@ 212 212 )))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 213 213 **4** 214 214 ))) 215 -|(% style="width:97px" %)((( 216 -**Value** 217 -)))|(% style="width:39px" %)((( 218 -[[BAT>>||anchor="H2.4.2BAT-BatteryInfo"]] 209 +|(% style="width:97px" %)Valor|(% style="width:39px" %)((( 210 +[[MTD>>||anchor="H2.4.2BAT-BatteryInfo"]] 219 219 )))|(% style="width:100px" %)((( 220 220 ((( 221 -[[ Built-InTemperature>>||anchor="H2.4.3Built-inTemperature"]]213 +[[Temperatura incorporada>>||anchor="H2.4.3Built-inTemperature"]] 222 222 ))) 223 223 )))|(% style="width:77px" %)((( 224 224 ((( 225 -[[ Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]217 +[[Umidade incorporada>>||anchor="H2.4.4Built-inHumidity"]] 226 226 ))) 227 227 )))|(% style="width:47px" %)((( 228 228 [[Ext>>||anchor="H2.4.5Ext23"]] # 229 229 )))|(% style="width:51px" %)((( 230 -[[Ext value>>||anchor="H2.4.6Extvalue"]]222 +[[Valor Ext>>||anchor="H2.4.6Extvalue"]] 231 231 ))) 232 232 233 -* TheFirst6 bytes:hasfix meanings foreveryLHT65N.225 +* Os primeiros 6 bytes: tem significados fixos para cada LHT65N. 234 234 235 -* The7thbyte (EXT #): definestheexternal sensormodel.227 +* O 7º byte (EXT #): define o modelo do sensor externo. 236 236 237 -* The8^^th^^~~ 11^^th^^byte:thevalue forexternal sensorvalue.Thedefinitionisbasedonexternalsensor type. (IfEXT=0,therewon't bethesefour bytes.)229 +* O 8º ~~ 11º byte: o valor para o valor do sensor externo. A definição é baseada no tipo de sensor externo. (Se EXT=0, não haverá esses quatro bytes.) 238 238 239 239 240 -=== 2.4.1 Decod erinTTN V3 ===232 +=== 2.4.1 Decodificador em TTN V3 === 241 241 242 242 243 - Whentheuplink payloadarrivesTTNv3,itshowsHEXformatandnotfriendlytoread.WecanddLHT65NerinTTNv3forfriendly reading.235 +Quando o payload do uplink chega TTNv3, ele mostra o formato HEX e não é fácil de ler. Podemos adicionar LHT65N decodificador em TTNv3 para leitura amigável. 244 244 245 - Belowishepositiontoputthedecoder and LHT65Ndecodercan bedownloadfromhere: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]237 +Abaixo está a posição para colocar o decodificador e o decodificador LHT65N pode ser baixado aqui : [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 246 246 247 247 248 248 [[image:image-20220522234118-10.png||_mstalt="451464" height="353" width="729"]] 249 249 250 250 251 -=== 2.4.2 BAT-BatteryInfo===243 +=== 2.4.2 Informações da bateria BAT === 252 252 253 253 254 - Thesetwo bytesofBAT includethe battery state andthe actually voltage.246 +Esses dois bytes de BAT incluem o estado da bateria e a tensão atual. 255 255 256 256 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 257 257 |=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 258 258 **Bit(bit)** 259 259 )))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 260 -|(% style="width:66px" %)((( 261 -**Value** 262 -)))|(% style="width:250px" %)((( 263 -BAT Status 264 -00(b): Ultra Low ( BAT <= 2.50v) 265 -01(b): Low (2.50v <=BAT <= 2.55v) 266 -10(b): OK (2.55v <= BAT <=2.65v) 267 -11(b): Good (BAT >= 2.65v) 268 -)))|(% style="width:152px" %)Actually BAT voltage 252 +|(% style="width:66px" %)Valor|(% style="width:250px" %)Estado MTD 253 +00 b): Ultra baixo ( MTD <= 2,50v) 254 +01 b): Baixo (2,50v <=MTD <= 2,55v) 255 +10 b): OK (2,55v <= MTD <=2,65v) 256 +11 b): Bom (MTD >= 2,65v)|(% style="width:152px" %)Na realidade, tensão MTD 269 269 270 -**(b)s tandsforbinary**258 +**(b) significa binário** 271 271 272 272 273 273 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 274 274 263 +Verifique a tensão da bateria para LHT65N. 275 275 276 -Check the battery voltage for LHT65N. 265 +* Status BAT=(0Xcba4>>14)&0xFF=11 (BIN), muito bom 266 +* Tensão da bateria = 0xCBA4 & 0x3FFF = 0x0BA4 = 2980mV 277 277 278 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 279 279 280 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 281 281 270 +=== 2.4.3 Temperatura interna === 282 282 283 -=== 2.4.3 Built-in Temperature === 284 284 285 - 286 286 [[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]] 287 287 288 -* Temperatur e:.47℃275 +* Temperatura: 0x0ABB/100=27,47ÿ 289 289 290 290 [[image:image-20220522235639-3.png||_mstalt="432120"]] 291 291 292 -* Temperatur e:.18℃279 +* Temperatura: (0xF5C6-65536)/100=-26,18ÿ 293 293 294 294 295 295 (% style="display:none" %) 296 296 297 -=== 2.4.4 Built-in Humidity===284 +=== 2.4.4 Umidade interna === 298 298 299 299 300 300 [[image:image-20220522235639-4.png||_mstalt="432484" height="138" width="722"]] 301 301 302 -* Humidity:.4%289 +* Umidade: 0x025C/10=60,4% 303 303 304 304 305 305 (% style="display:none" %) ... ... @@ -307,53 +307,49 @@ 307 307 === 2.4.5 Ext # === 308 308 309 309 310 -Bytes for External Sensor:297 +Bytes para Sensor Externo: 311 311 312 312 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %) 313 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # **Value|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)ExternalSensorType314 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperatur e Sensor315 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor,Datalog Mod300 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Valor**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)Tipo de sensor externo 301 +|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Sensor de Temperatura 302 +|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Sensor de Temperatura, Mod de Registro de Dados 316 316 317 -=== 2.4.6 Ext value ===304 +=== 2.4.6 Valor externo === 318 318 319 -==== 2.4.6.1 Ext~=1, E3TemperatureSensor====306 +==== 2.4.6.1 Ext~=1, Sensor de Temperatura E3 ==== 320 320 321 321 322 322 [[image:image-20220522235639-5.png||_mstalt="432848"]] 323 323 324 324 325 -* DS18B20 temp=0x0ADD/100=27 .81℃312 +* DS18B20 temp=0x0ADD/100=27,81ÿ 326 326 327 - Thelast 2 bytesofdataaremeaningless314 +Os últimos 2 bytes de dados não têm sentido. 328 328 329 329 330 330 331 331 [[image:image-20220522235639-6.png||_mstalt="433212"]] 332 332 320 +* Temperatura externa= (0xF54F-65536)/100=-27.37℃ 333 333 334 - *Externaltemperature= (0xF54F-65536)/100=-27.37℃322 +F54F: (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27,37℃ 335 335 336 - 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) 337 337 338 - (0105 & 8000:Judge whether the highestbit1,whenthehighestbit is1,itisnegative)326 +Os últimos 2 bytes de dados não têm sentido 339 339 340 - Thelast2bytesofdataare meaningless328 +Se o sensor externo for 0x01 e não houver temperatura externa conectada. A temperatura será ajustada para 7FFF que é 327.67℃ 341 341 342 -If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 343 343 331 +==== 2.4.6.2 Ext~=9, sensor E3 com Unix Timestamp ==== 344 344 345 345 346 -==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 347 - 348 - 349 349 ((( 350 -Timestamp modeisdesigned for LHT65NwithE3probe,itwillsendthe uplinkpayloadwith Unix timestamp.Withthelimitationof11 bytes (maxdistanceofAU915/US915/AS923band),thetimestamp modewillbe lackofBAT voltagefield,instead,itshowsthebattery status.Thepayloadisasbelow: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 será falta de campo de tensão BAT, em vez disso, ele mostra o status da bateria. A carga útil é a seguinte: 351 351 ))) 352 352 353 353 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 354 -|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 355 -**Size(bytes)** 356 -)))|=(% 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" %)((( 357 357 **2** 358 358 )))|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)((( 359 359 **2** ... ... @@ -364,21 +364,15 @@ 364 364 )))|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)((( 365 365 **4** 366 366 ))) 367 -|(% style="width:110px" %)((( 368 -**Value** 369 -)))|(% style="width:71px" %)((( 370 -External temperature 371 -)))|(% style="width:99px" %)((( 372 -[[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"]] 373 373 )))|(% style="width:132px" %)((( 374 -BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 375 -)))|(% style="width:54px" %)((( 376 -Status & Ext 377 -)))|(% style="width:64px" %)((( 378 -[[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"]] 379 379 ))) 380 380 381 -* ** Battery status&Built-inHumidity**358 +* **Status da bateria e umidade interna** 382 382 383 383 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 384 384 |=(% 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]