Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2025/07/03 14:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -231,12 +231,12 @@ 231 231 (% _mstvisible="1" %) 232 232 == (% _msthash="320879" _msttexthash="294970" _mstvisible="3" %)2.4 Uplink Payload(%%) == 233 233 234 -Uplink payloads include two types: Valid Sensor Value and other status / control command. 234 +(% _msthash="315249" _msttexthash="7722962" _mstvisible="1" %) 235 +The uplink payload includes totally 11 bytes. Uplink packets use FPORT=2 and (% _mstvisible="3" style="color:#4f81bd" %)**every 20 minutes**(%%) send one uplink by default. 235 235 236 - *ValidSensorValue: Use FPORT=2237 - * Other control command: UseFPORTotherthan2.237 +(% _msthash="315250" _msttexthash="1322711" _mstvisible="1" %) 238 +After each uplink, the (% _mstvisible="3" style="color:blue" %)**BLUE LED**(%%) will blink once. 238 238 239 - 240 240 (% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:426px" %) 241 241 (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 97px;" %)(% _mstvisible="5" %) 242 242 ((( ... ... @@ -301,194 +301,50 @@ 301 301 [[Ext value>>||anchor="H2.4.6Extvalue" _msthash="1817487" _msttexthash="116545" _mstvisible="7"]] 302 302 ))) 303 303 304 +(% _mstvisible="1" %) 305 +* The First 6 bytes: has fix meanings for every LHT65N. 306 +* The 7th byte (EXT #): defines the external sensor model. 307 +* The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^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.) 304 304 305 - 306 - 307 307 (% _mstvisible="1" %) 308 -=== (% _msthash="360269" _msttexthash="333762" _mstvisible="3" %)2.4.1 U(%%)plink FPORT~=5,DeviceStatus===310 +=== (% _msthash="360269" _msttexthash="333762" _mstvisible="3" %)2.4.1 Decoder in TTN V3(%%) === 309 309 310 -Uplink the device configures with FPORT=5. Once LHT52 Joined the network, it will uplink this message to the server. After first uplink, LHT52 will uplink Device Status every 12 hours. 312 +(% _msthash="315251" _msttexthash="9786491" _mstvisible="1" %) 313 +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. 311 311 312 - |**Size(bytes)**|**1**|**2**|**1**|**1**|**2**313 - |**Value**|SensorModel|FirmwareVersion|FrequencyBand|Sub-band|BAT315 +(% _msthash="315252" _msttexthash="3928483" _mstvisible="1" %) 316 +Below is the position to put the decoder and LHT65N decoder can be download from here: 314 314 318 +(% _mstvisible="1" %) 319 +[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]] 315 315 316 -[[image:image-20220621100550-5.png]] 321 +(% _mstvisible="1" %) 322 +[[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 317 317 318 -Example Payload (FPort=5): 319 319 320 -09 01 00 01 00 0B 3A 321 321 326 +(% _mstvisible="1" %) 327 +=== (% _msthash="411411" _msttexthash="383656" _mstvisible="3" %)2.4.2 BAT-Battery Info(%%) === 322 322 323 -**Sensor Model**: For LHT52, this value is 0x09. 329 +(% _msthash="315254" _msttexthash="3122912" _mstvisible="1" %) 330 +These two bytes of BAT include the battery state and the actually voltage 324 324 332 +(% _mstvisible="1" %) 333 +[[image:image-20220523152839-18.png||_mstalt="457613" _mstvisible="3"]] 325 325 326 -**Firmware Version**: 0x0100, Means: v1.0.0 version. 335 +(% _mstvisible="1" %) 336 +[[image:image-20220522235639-1.png||_mstalt="431392" _mstvisible="3" height="139" width="727"]] 327 327 338 +(% _msthash="315255" _msttexthash="871611" _mstvisible="1" %) 339 +Check the battery voltage for LHT65N. 328 328 329 -**Frequency Band**: 330 - 331 -*0x01: EU868 332 - 333 -*0x02: US915 334 - 335 -*0x03: IN865 336 - 337 -*0x04: AU915 338 - 339 -*0x05: KZ865 340 - 341 -*0x06: RU864 342 - 343 -*0x07: AS923 344 - 345 -*0x08: AS923-1 346 - 347 -*0x09: AS923-2 348 - 349 -*0x0a: AS923-3 350 - 351 - 352 -**Sub-Band**: value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00) 353 - 354 - 355 -**BAT**: shows the battery voltage for LHT52. 356 - 357 -Ex1: 0x0B3A = 2874mV 358 - 359 - 360 - 361 -Use can also get the Device Status uplink through the downlink command: 362 - 363 -**Downlink:0x2301** 364 - 365 - 366 -[[image:image-20220621100550-6.png||height="504" width="1491"]] 367 - 368 - 369 - 370 - 371 371 (% _mstvisible="1" %) 372 -=== (% _msthash="411411" _msttexthash="383656" _mstvisible="3" %)2.4.2 U(%%)plink FPORT~=2, Real time sensor value === 342 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 343 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 373 373 374 -LHT52 will send this uplink after Device Status uplink once join LoRaWAN network successfully. And it will periodically send this uplink. Default interval is 20 minutes and [[can be changed>>path:#Uplink_Interval]]. 375 - 376 -Uplink uses FPORT=2 and every 20 minutes send one uplink by default. 377 - 378 -(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:426px" %) 379 -(% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 97px;" %)(% _mstvisible="5" %) 380 -((( 381 -(% _mstvisible="6" %) 382 -(% _msthash="1817478" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)** 383 -)))|=(% _mstvisible="4" style="width: 39px;" %)(% _mstvisible="5" %) 384 -((( 385 -(% _mstvisible="6" %) 386 -(% _msthash="1817479" _msttexthash="4550" _mstvisible="8" %)**2** 387 -)))|=(% _mstvisible="4" style="width: 100px;" %)(% _mstvisible="5" %) 388 -((( 389 -(% _mstvisible="6" %) 390 -(% _msthash="1817480" _msttexthash="4550" _mstvisible="8" %)**2** 391 -)))|=(% _mstvisible="4" style="width: 77px;" %)(% _mstvisible="5" %) 392 -((( 393 -(% _mstvisible="6" %) 394 -(% _msthash="1817481" _msttexthash="4550" _mstvisible="8" %)**2** 395 -)))|=(% _mstvisible="4" style="width: 47px;" %)(% _mstvisible="5" %) 396 -((( 397 -(% _mstvisible="6" %) 398 -(% _msthash="1817482" _msttexthash="4459" _mstvisible="8" %)**1** 399 -)))|=(% _mstvisible="4" style="width: 51px;" %)(% _mstvisible="5" %) 400 -((( 401 -(% _mstvisible="6" %) 402 -(% _msthash="1817483" _msttexthash="4732" _mstvisible="8" %)**4** 403 -))) 404 -(% _mstvisible="3" %)|(% _mstvisible="4" style="width:97px" %)(% _mstvisible="5" %) 405 -((( 406 -(% _mstvisible="6" %) 407 -(% _msthash="1817484" _msttexthash="60203" _mstvisible="8" %)**Value** 408 -)))|(% _mstvisible="4" style="width:39px" %)(% _mstvisible="5" %) 409 -((( 410 -(% _mstvisible="6" %) 411 -[[Temperature>>||anchor="H2.4.3Built-inTemperature" _msthash="2224742" _msttexthash="405769" _mstvisible="8"]] 412 -)))|(% _mstvisible="4" style="width:100px" %)(% _mstvisible="5" %) 413 -((( 414 -(% _mstvisible="6" %) 415 -((( 416 -(% _mstvisible="7" %) 417 -[[Humidity>>||anchor="H2.4.4Built-inHumidity" _msthash="2224744" _msttexthash="117429" _mstvisible="8"]] 418 - 419 -(% _mstvisible="7" %) 420 - 421 -))) 422 -)))|(% _mstvisible="4" style="width:77px" %)(% _mstvisible="5" %) 423 -((( 424 -(% _mstvisible="6" %) 425 -((( 426 -(% _mstvisible="7" %) 427 -[[External Temperature>>||anchor="H2.4.3Built-inTemperature" _msthash="2224742" _msttexthash="405769" _mstvisible="8"]] 428 -))) 429 -)))|(% _mstvisible="4" style="width:47px" %)(% _mstvisible="5" %) 430 -((( 431 -(% _mstvisible="6" %) 432 -[[Ext>>||anchor="H2.4.5Ext23" _msthash="1817486" _msttexthash="32331" _mstvisible="7"]] # 433 -)))|(% _mstvisible="4" style="width:51px" %)((( 434 -[[Unix TimeStamp>>||anchor="H2.4.6Extvalue" _msthash="1817487" _msttexthash="116545" _mstvisible="7"]] 435 -))) 436 - 437 - 438 -**Temperature:** 439 - 440 -[[image:image-20220621101526-7.png]] 441 - 442 -Example Payload (FPort=2): 443 - 444 -08 CD 02 20 7F FF 01 61 CD 4E DD 445 - 446 -**Temperature & External Temperature:** 447 - 448 -* Example1: 0x08CD/100=22.53℃ 449 -* Example2: (0xF5C6-65536)/100=-26.18℃ 450 - 451 - 452 -**Humidity:** 453 - 454 -* Humidity: 0x0220/10=54.4% 455 - 456 - 457 -**Extension #** 458 - 459 -Bytes for External Sensor: 460 - 461 -|**EXT # Value**|**External Sensor Probe** 462 -|0x01|Sensor AS-01, Temperature 463 - 464 - 465 - 466 - 467 - 468 - 469 469 (% _mstvisible="1" %) 470 -=== (% _msthash="600769" _msttexthash="565838" _mstvisible="3" %)2.4.3 U(%%)plinkFPORT~=3, Datalog sensorvalue ===346 +=== (% _msthash="600769" _msttexthash="565838" _mstvisible="3" %)2.4.3 Built-in Temperature(%%) === 471 471 472 -LHT52 stores sensor value and user can retrieve these history value via downlink command. The Datalog sensor value are sent via FPORT=3. 473 - 474 -[[image:image-20220621101659-8.png]] 475 - 476 - 477 -* Each data entry is 11 bytes, to save airtime and battery, LHT52 will send max bytes according to the current DR and Frequency bands. 478 - 479 -For example, in US915 band, the max payload for different DR is: 480 - 481 -1. DR0: max is 11 bytes so one entry of data 482 -1. DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 483 -1. DR2: total payload includes 11 entries of data 484 -1. DR3: total payload includes 22 entries of data. 485 - 486 - 487 -**Notice**: LHT52 will save 178 set of history data, If device doesn’t have any data in the polling time. Device will uplink 11 bytes of 0. 488 - 489 - 490 -See more info about the [[Datalog feature>>path:#Datalog]]. 491 - 492 492 (% _mstvisible="1" %) 493 493 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] 494 494
- image-20220621100550-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -132.4 KB - Content
- image-20220621101526-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -149.1 KB - Content
- image-20220621101659-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -146.5 KB - Content