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
-
... ... @@ -229,64 +229,69 @@ 229 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.) 230 230 231 231 232 -=== 2.4.1 Decod ificadoremTTN V3 ===232 +=== 2.4.1 Decoder in TTN V3 === 233 233 234 234 235 - Quandoopayloaddo uplink chegaTTNv3,elemostraoformatoHEXenãoéfácildeler.PodemosadicionarLHT65NificadoremTTNv3paraleituraamigável.235 +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. 236 236 237 - Abaixoestáaposiçãopara colocarodecodificadore odecodificadorLHT65Npodeserbaixadoqui: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]237 +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]] 238 238 239 239 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===243 +=== 2.4.2 BAT-Battery Info === 244 244 245 245 246 - EssesdoisbytesdeBAT incluemo estadodabateriae a tensãoatual.246 +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 252 +|(% style="width:66px" %)((( 253 +**Value** 254 +)))|(% style="width:250px" %)((( 255 +BAT Status 256 +00(b): Ultra Low ( BAT <= 2.50v) 257 +01(b): Low (2.50v <=BAT <= 2.55v) 258 +10(b): OK (2.55v <= BAT <=2.65v) 259 +11(b): Good (BAT >= 2.65v) 260 +)))|(% style="width:152px" %)Actually BAT voltage 257 257 258 -**(b) ignificabinário**262 +**(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 268 +Check the battery voltage for LHT65N. 267 267 270 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 268 268 272 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 269 269 270 -=== 2.4.3 Temperatura interna === 271 271 275 +=== 2.4.3 Built-in Temperature === 272 272 277 + 273 273 [[image:image-20220522235639-2.png||_mstalt="431756" height="138" width="722"]] 274 274 275 -* Temperatur a: 0x0ABB/100=27,47ÿ280 +* 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ÿ284 +* Temperature: (0xF5C6-65536)/100=-26.18℃ 280 280 281 281 282 282 (% style="display:none" %) 283 283 284 -=== 2.4.4 Umidadeinterna===289 +=== 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%294 +* Humidity: 0x025C/10=60.4% 290 290 291 291 292 292 (% style="display:none" %) ... ... @@ -294,49 +294,53 @@ 294 294 === 2.4.5 Ext # === 295 295 296 296 297 -Bytes para Sensor Externo:302 +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 deRegistrodeDados305 +|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # **Value|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)External Sensor Type 306 +|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor 307 +|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod 303 303 304 -=== 2.4.6 Valorexterno===309 +=== 2.4.6 Ext value === 305 305 306 -==== 2.4.6.1 Ext~=1, SensordeTemperaturaE3====311 +==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 307 307 308 308 309 309 [[image:image-20220522235639-5.png||_mstalt="432848"]] 310 310 311 311 312 -* ,81ÿ317 +* DS18B20 temp=0x0ADD/100=27.81℃ 313 313 314 - Osúltimos 2 bytesdedadosnãotêmsentido.319 +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℃326 +* External temperature= (0xF54F-65536)/100=-27.37℃ 323 323 324 -( 0105 & 8000:Julguese o bit mais alto é1,quando o bitaisaltoé1,énegativo)328 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 325 325 326 - Osúltimos2bytesdedadosnãotêmsentido330 +(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℃332 +The last 2 bytes of data are meaningless 329 329 334 +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 338 +==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 339 + 340 + 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:342 +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" %)((( 346 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)((( 347 +**Size(bytes)** 348 +)))|=(% 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,15 +347,21 @@ 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"]] 359 +|(% style="width:110px" %)((( 360 +**Value** 361 +)))|(% style="width:71px" %)((( 362 +External temperature 363 +)))|(% style="width:99px" %)((( 364 +[[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"]] 366 +BAT Status & [[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 367 +)))|(% style="width:54px" %)((( 368 +Status & Ext 369 +)))|(% style="width:64px" %)((( 370 +[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 356 356 ))) 357 357 358 -* ** Statusdabateriaeumidadeinterna**373 +* **Battery status & Built-in Humidity** 359 359 360 360 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 361 361 |=(% 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]