Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -296,28 +296,28 @@ 296 296 (% _msthash="315250" _msttexthash="1322711" _mstvisible="1" %) 297 297 After each uplink, the (% _mstvisible="3" style="color:blue" %)**BLUE LED**(%%) will blink once. 298 298 299 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:426px" %) 300 -(% _mstvisible="3" %)|(% _mstvisible="4" style="width:97px" %)(% _mstvisible="5" %) 299 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:426px" %) 300 +(% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 97px;" %)(% _mstvisible="5" %) 301 301 ((( 302 302 (% _mstvisible="6" %) 303 303 (% _msthash="1817478" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)** 304 -)))|(% _mstvisible="4" style="width:39px" %)(% _mstvisible="5" %) 304 +)))|=(% _mstvisible="4" style="width: 39px;" %)(% _mstvisible="5" %) 305 305 ((( 306 306 (% _mstvisible="6" %) 307 307 (% _msthash="1817479" _msttexthash="4550" _mstvisible="8" %)**2** 308 -)))|(% _mstvisible="4" style="width:100px" %)(% _mstvisible="5" %) 308 +)))|=(% _mstvisible="4" style="width: 100px;" %)(% _mstvisible="5" %) 309 309 ((( 310 310 (% _mstvisible="6" %) 311 311 (% _msthash="1817480" _msttexthash="4550" _mstvisible="8" %)**2** 312 -)))|(% _mstvisible="4" style="width:77px" %)(% _mstvisible="5" %) 312 +)))|=(% _mstvisible="4" style="width: 77px;" %)(% _mstvisible="5" %) 313 313 ((( 314 314 (% _mstvisible="6" %) 315 315 (% _msthash="1817481" _msttexthash="4550" _mstvisible="8" %)**2** 316 -)))|(% _mstvisible="4" style="width:47px" %)(% _mstvisible="5" %) 316 +)))|=(% _mstvisible="4" style="width: 47px;" %)(% _mstvisible="5" %) 317 317 ((( 318 318 (% _mstvisible="6" %) 319 319 (% _msthash="1817482" _msttexthash="4459" _mstvisible="8" %)**1** 320 -)))|(% _mstvisible="4" style="width:51px" %)(% _mstvisible="5" %) 320 +)))|=(% _mstvisible="4" style="width: 51px;" %)(% _mstvisible="5" %) 321 321 ((( 322 322 (% _mstvisible="6" %) 323 323 (% _msthash="1817483" _msttexthash="4732" _mstvisible="8" %)**4** ... ... @@ -365,6 +365,9 @@ 365 365 * The 7th byte (EXT #): defines the external sensor model. 366 366 * 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.) 367 367 368 + 369 + 370 + 368 368 (% _mstvisible="1" %) 369 369 === (% _msthash="360269" _msttexthash="333762" _mstvisible="3" %)2.4.1 Decoder in TTN V3(%%) === 370 370 ... ... @@ -380,6 +380,7 @@ 380 380 (% _mstvisible="1" %) 381 381 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 382 382 386 + 383 383 (% _mstvisible="1" %) 384 384 === (% _msthash="411411" _msttexthash="383656" _mstvisible="3" %)2.4.2 BAT-Battery Info(%%) === 385 385 ... ... @@ -399,6 +399,9 @@ 399 399 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 400 400 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 401 401 406 + 407 + 408 + 402 402 (% _mstvisible="1" %) 403 403 === (% _msthash="600769" _msttexthash="565838" _mstvisible="3" %)2.4.3 Built-in Temperature(%%) === 404 404 ... ... @@ -414,6 +414,9 @@ 414 414 (% _mstvisible="1" %) 415 415 * Temperature: (0xF5C6-65536)/100=-26.18℃ 416 416 424 + 425 + 426 + 417 417 (% _mstvisible="1" %) 418 418 === (% _msthash="475891" _msttexthash="445120" _mstvisible="3" %)2.4.4 Built-in Humidity(%%) === 419 419 ... ... @@ -423,6 +423,8 @@ 423 423 (% _mstvisible="1" %) 424 424 * Humidity: 0x025C/10=60.4% 425 425 436 + 437 + 426 426 (% _mstvisible="1" %) 427 427 === (% _msthash="116532" _msttexthash="87958" _mstvisible="3" %)2.4.5 Ext #(%%) === 428 428 ... ... @@ -432,6 +432,7 @@ 432 432 (% _mstvisible="1" %) 433 433 [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]] 434 434 447 + 435 435 (% _mstvisible="1" %) 436 436 === (% _msthash="221429" _msttexthash="200655" _mstvisible="3" %)2.4.6 Ext value(%%) === 437 437 ... ... @@ -441,6 +441,7 @@ 441 441 (% _mstvisible="1" %) 442 442 [[image:image-20220522235639-5.png||_mstalt="432848" _mstvisible="3"]] 443 443 457 + 444 444 (% _mstvisible="1" %) 445 445 * DS18B20 temp=0x0ADD/100=27.81℃ 446 446 ... ... @@ -450,6 +450,7 @@ 450 450 (% _mstvisible="1" %) 451 451 [[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]] 452 452 467 + 453 453 (% _mstvisible="1" %) 454 454 * External temperature= (0xF54F-65536)/100=-27.37℃ 455 455 ... ... @@ -466,6 +466,7 @@ 466 466 ))) 467 467 468 468 484 + 469 469 (% _mstvisible="1" %) 470 470 ==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp(%%) ==== 471 471 ... ... @@ -472,28 +472,28 @@ 472 472 (% _msthash="315258" _msttexthash="41539368" _mstvisible="1" %) 473 473 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: 474 474 475 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:510px" %) 476 -(% _mstvisible="3" %)|(% _mstvisible="4" style="width:96px" %)(% _mstvisible="5" %) 491 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 492 +(% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 96px;" %)(% _mstvisible="5" %) 477 477 ((( 478 478 (% _mstvisible="6" %) 479 479 (% _msthash="1817488" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)** 480 -)))|(% _mstvisible="4" style="width:71px" %)(% _mstvisible="5" %) 496 +)))|=(% _mstvisible="4" style="width: 71px;" %)(% _mstvisible="5" %) 481 481 ((( 482 482 (% _mstvisible="6" %) 483 483 (% _msthash="1817489" _msttexthash="4550" _mstvisible="8" %)**2** 484 -)))|(% _mstvisible="4" style="width:99px" %)(% _mstvisible="5" %) 500 +)))|=(% _mstvisible="4" style="width: 99px;" %)(% _mstvisible="5" %) 485 485 ((( 486 486 (% _mstvisible="6" %) 487 487 (% _msthash="1817490" _msttexthash="4550" _mstvisible="8" %)**2** 488 -)))|(% _mstvisible="4" style="width:132px" %)(% _mstvisible="5" %) 504 +)))|=(% _mstvisible="4" style="width: 132px;" %)(% _mstvisible="5" %) 489 489 ((( 490 490 (% _mstvisible="6" %) 491 491 (% _msthash="1817491" _msttexthash="4550" _mstvisible="8" %)**2** 492 -)))|(% _mstvisible="4" style="width:54px" %)(% _mstvisible="5" %) 508 +)))|=(% _mstvisible="4" style="width: 54px;" %)(% _mstvisible="5" %) 493 493 ((( 494 494 (% _mstvisible="6" %) 495 495 (% _msthash="1817492" _msttexthash="4459" _mstvisible="8" %)**1** 496 -)))|(% _mstvisible="4" style="width:64px" %)(% _mstvisible="5" %) 512 +)))|=(% _mstvisible="4" style="width: 64px;" %)(% _mstvisible="5" %) 497 497 ((( 498 498 (% _mstvisible="6" %) 499 499 (% _msthash="1817493" _msttexthash="4732" _mstvisible="8" %)**4** ... ... @@ -545,11 +545,12 @@ 545 545 ))) 546 546 ))) 547 547 564 + 548 548 (% _mstvisible="1" %) 549 549 * (% _msthash="2539669" _msttexthash="857922" _mstvisible="3" %)**Battery status & **(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Built-in Humidity** 550 550 551 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:469px" %) 552 -(% _mstvisible="3" %)|(% _msthash="1230918" _msttexthash="93158" _mstvisible="4" style="width:65px" %)Bit(bit)|(% _msthash="1230919" _msttexthash="57954" _mstvisible="4" style="width:267px" %)[15:14]|(% _msthash="1230920" _msttexthash="48022" _mstvisible="4" style="width:134px" %)[11:0] 568 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:469px" %) 569 +(% _mstvisible="3" %)|=(% _msthash="1230918" _msttexthash="93158" _mstvisible="4" style="width: 65px;" %)Bit(bit)|=(% _msthash="1230919" _msttexthash="57954" _mstvisible="4" style="width: 267px;" %)[15:14]|=(% _msthash="1230920" _msttexthash="48022" _mstvisible="4" style="width: 134px;" %)[11:0] 553 553 (% _mstvisible="3" %)|(% _msthash="1230921" _msttexthash="60203" _mstvisible="4" style="width:65px" %)Value|(% _mstvisible="4" style="width:267px" %)(% _mstvisible="5" %) 554 554 ((( 555 555 (% _msthash="1817497" _msttexthash="128427" _mstvisible="6" %) ... ... @@ -575,6 +575,7 @@ 575 575 576 576 ))) 577 577 595 + 578 578 (% _mstvisible="1" %) 579 579 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 580 580 ... ... @@ -586,6 +586,8 @@ 586 586 * 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. 587 587 * 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) 588 588 607 + 608 + 589 589 (% _mstvisible="1" %) 590 590 == (% _msthash="487097" _msttexthash="454818" _mstvisible="3" %)2.5 Show data on Datacake(%%) == 591 591 ... ... @@ -629,6 +629,8 @@ 629 629 (% _mstvisible="1" %) 630 630 [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]] 631 631 652 + 653 + 632 632 (% _mstvisible="1" %) 633 633 == (% _msthash="350454" _msttexthash="323544" _mstvisible="3" %)2.6 Datalog Feature(%%) == 634 634 ... ... @@ -635,6 +635,7 @@ 635 635 (% _msthash="315262" _msttexthash="32283004" _mstvisible="1" %) 636 636 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. 637 637 660 + 638 638 (% _mstvisible="1" %) 639 639 === (% _msthash="886158" _msttexthash="842426" _mstvisible="3" %)2.6.1 Ways to get datalog via LoRaWAN(%%) === 640 640 ... ... @@ -645,6 +645,8 @@ 645 645 1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 646 646 1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover. 647 647 671 + 672 + 648 648 (% _mstvisible="1" %) 649 649 === (% _msthash="369915" _msttexthash="342797" _mstvisible="3" %)2.6.2 Unix TimeStamp(%%) === 650 650 ... ... @@ -673,6 +673,7 @@ 673 673 (% _msthash="315265" _msttexthash="15137317" _mstvisible="1" %) 674 674 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 675 675 701 + 676 676 (% _mstvisible="1" %) 677 677 === (% _msthash="359294" _msttexthash="332748" _mstvisible="3" %)2.6.3 Set Device Time(%%) === 678 678 ... ... @@ -722,6 +722,9 @@ 722 722 ((( 723 723 (% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %) 724 724 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 751 + 752 +(% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %) 753 + 725 725 ))) 726 726 727 727 (% _mstvisible="1" %)