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,24 +294,24 @@ 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,26 +318,18 @@ 318 318 [[image:image-20220522235639-6.png||_mstalt="433212"]] 319 319 320 320 321 -* Temperaturaexterna= (0xF54F-65536)/100=-27.37℃326 +* External temperature= (0xF54F-65536)/100=-27.37℃ 322 322 328 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 323 323 324 -F54F: (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27,37℃ 325 -(0105 & 8000: Julgue se o bit mais alto é 1, quando o bit mais alto é 1, é negativo) 326 -Os últimos 2 bytes de dados não têm sentido 327 -Se o sensor externo for 0x01 e não houver temperatura externa conectada. A temperatura será ajustada para 7FFF que é 327.67℃ 330 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 328 328 329 - *Temperatura externa= (0xF54F-65536)/100=-27,37ÿ332 +The last 2 bytes of data are meaningless 330 330 331 - F54F:(F54F&8000==1), temp=(F54F-65536)/100=27,37ÿ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℃ 332 332 333 -ÿ0105 & 8000ÿJulga se o bit mais alto é 1, quando o bit mais alto é 1, é negativoÿ 334 334 335 -Os últimos 2 bytes de dados não têm sentido 336 336 337 -Se o sensor externo for 0x01 e não houver temperatura externa conectada. A temperatura será ajustada para 7FFF que é 327,67 ÿ 338 - 339 - 340 - 341 341 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 342 342 343 343