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

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