<
From version < 118.4 >
edited by Xiaoling
on 2022/06/09 18:10
To version < 118.19 >
edited by Xiaoling
on 2022/06/09 18:14
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -195,6 +195,9 @@
195 195  (((
196 196  (% _msthash="506061" _msttexthash="48200724" _mstvisible="2" %)
197 197  If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes.
198 +
199 +(% _msthash="506061" _msttexthash="48200724" _mstvisible="2" %)
200 +
198 198  )))
199 199  
200 200  (% _mstvisible="1" %)
... ... @@ -219,6 +219,7 @@
219 219  (% _mstvisible="1" %)
220 220  [[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]]
221 221  
225 +
222 222  (% _mstvisible="1" %)
223 223  == (% _msthash="882726" _msttexthash="838526" _mstvisible="3" %)2.3 Example to join LoRaWAN network(%%) ==
224 224  
... ... @@ -292,28 +292,28 @@
292 292  (% _msthash="315250" _msttexthash="1322711" _mstvisible="1" %)
293 293  After each uplink, the (% _mstvisible="3" style="color:blue" %)**BLUE LED**(%%) will blink once.
294 294  
295 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:426px" %)
296 -(% _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" %)
297 297  (((
298 298  (% _mstvisible="6" %)
299 299  (% _msthash="1817478" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)**
300 -)))|(% _mstvisible="4" style="width:39px" %)(% _mstvisible="5" %)
304 +)))|=(% _mstvisible="4" style="width: 39px;" %)(% _mstvisible="5" %)
301 301  (((
302 302  (% _mstvisible="6" %)
303 303  (% _msthash="1817479" _msttexthash="4550" _mstvisible="8" %)**2**
304 -)))|(% _mstvisible="4" style="width:100px" %)(% _mstvisible="5" %)
308 +)))|=(% _mstvisible="4" style="width: 100px;" %)(% _mstvisible="5" %)
305 305  (((
306 306  (% _mstvisible="6" %)
307 307  (% _msthash="1817480" _msttexthash="4550" _mstvisible="8" %)**2**
308 -)))|(% _mstvisible="4" style="width:77px" %)(% _mstvisible="5" %)
312 +)))|=(% _mstvisible="4" style="width: 77px;" %)(% _mstvisible="5" %)
309 309  (((
310 310  (% _mstvisible="6" %)
311 311  (% _msthash="1817481" _msttexthash="4550" _mstvisible="8" %)**2**
312 -)))|(% _mstvisible="4" style="width:47px" %)(% _mstvisible="5" %)
316 +)))|=(% _mstvisible="4" style="width: 47px;" %)(% _mstvisible="5" %)
313 313  (((
314 314  (% _mstvisible="6" %)
315 315  (% _msthash="1817482" _msttexthash="4459" _mstvisible="8" %)**1**
316 -)))|(% _mstvisible="4" style="width:51px" %)(% _mstvisible="5" %)
320 +)))|=(% _mstvisible="4" style="width: 51px;" %)(% _mstvisible="5" %)
317 317  (((
318 318  (% _mstvisible="6" %)
319 319  (% _msthash="1817483" _msttexthash="4732" _mstvisible="8" %)**4**
... ... @@ -361,6 +361,9 @@
361 361  * The 7th byte (EXT #): defines the external sensor model.
362 362  * 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.)
363 363  
368 +
369 +
370 +
364 364  (% _mstvisible="1" %)
365 365  === (% _msthash="360269" _msttexthash="333762" _mstvisible="3" %)2.4.1 Decoder in TTN V3(%%) ===
366 366  
... ... @@ -376,6 +376,7 @@
376 376  (% _mstvisible="1" %)
377 377  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
378 378  
386 +
379 379  (% _mstvisible="1" %)
380 380  === (% _msthash="411411" _msttexthash="383656" _mstvisible="3" %)2.4.2 BAT-Battery Info(%%) ===
381 381  
... ... @@ -395,6 +395,9 @@
395 395  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
396 396  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
397 397  
406 +
407 +
408 +
398 398  (% _mstvisible="1" %)
399 399  === (% _msthash="600769" _msttexthash="565838" _mstvisible="3" %)2.4.3 Built-in Temperature(%%) ===
400 400  
... ... @@ -410,6 +410,9 @@
410 410  (% _mstvisible="1" %)
411 411  * Temperature:  (0xF5C6-65536)/100=-26.18℃
412 412  
424 +
425 +
426 +
413 413  (% _mstvisible="1" %)
414 414  === (% _msthash="475891" _msttexthash="445120" _mstvisible="3" %)2.4.4 Built-in Humidity(%%) ===
415 415  
... ... @@ -419,6 +419,8 @@
419 419  (% _mstvisible="1" %)
420 420  * Humidity:    0x025C/10=60.4%
421 421  
436 +
437 +
422 422  (% _mstvisible="1" %)
423 423  === (% _msthash="116532" _msttexthash="87958" _mstvisible="3" %)2.4.5 Ext #(%%) ===
424 424  
... ... @@ -428,6 +428,7 @@
428 428  (% _mstvisible="1" %)
429 429  [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
430 430  
447 +
431 431  (% _mstvisible="1" %)
432 432  === (% _msthash="221429" _msttexthash="200655" _mstvisible="3" %)2.4.6 Ext value(%%) ===
433 433  
... ... @@ -437,6 +437,7 @@
437 437  (% _mstvisible="1" %)
438 438  [[image:image-20220522235639-5.png||_mstalt="432848" _mstvisible="3"]]
439 439  
457 +
440 440  (% _mstvisible="1" %)
441 441  * DS18B20 temp=0x0ADD/100=27.81℃
442 442  
... ... @@ -446,6 +446,7 @@
446 446  (% _mstvisible="1" %)
447 447  [[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]]
448 448  
467 +
449 449  (% _mstvisible="1" %)
450 450  * External temperature= (0xF54F-65536)/100=-27.37℃
451 451  
... ... @@ -462,6 +462,7 @@
462 462  )))
463 463  
464 464  
484 +
465 465  (% _mstvisible="1" %)
466 466  ==== (% _msthash="1389752" _msttexthash="1234766" _mstvisible="3" %)2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp(%%) ====
467 467  
... ... @@ -468,28 +468,28 @@
468 468  (% _msthash="315258" _msttexthash="41539368" _mstvisible="1" %)
469 469  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:
470 470  
471 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:510px" %)
472 -(% _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" %)
473 473  (((
474 474  (% _mstvisible="6" %)
475 475  (% _msthash="1817488" _msttexthash="161122" _mstvisible="8" %)**Size(bytes)**
476 -)))|(% _mstvisible="4" style="width:71px" %)(% _mstvisible="5" %)
496 +)))|=(% _mstvisible="4" style="width: 71px;" %)(% _mstvisible="5" %)
477 477  (((
478 478  (% _mstvisible="6" %)
479 479  (% _msthash="1817489" _msttexthash="4550" _mstvisible="8" %)**2**
480 -)))|(% _mstvisible="4" style="width:99px" %)(% _mstvisible="5" %)
500 +)))|=(% _mstvisible="4" style="width: 99px;" %)(% _mstvisible="5" %)
481 481  (((
482 482  (% _mstvisible="6" %)
483 483  (% _msthash="1817490" _msttexthash="4550" _mstvisible="8" %)**2**
484 -)))|(% _mstvisible="4" style="width:132px" %)(% _mstvisible="5" %)
504 +)))|=(% _mstvisible="4" style="width: 132px;" %)(% _mstvisible="5" %)
485 485  (((
486 486  (% _mstvisible="6" %)
487 487  (% _msthash="1817491" _msttexthash="4550" _mstvisible="8" %)**2**
488 -)))|(% _mstvisible="4" style="width:54px" %)(% _mstvisible="5" %)
508 +)))|=(% _mstvisible="4" style="width: 54px;" %)(% _mstvisible="5" %)
489 489  (((
490 490  (% _mstvisible="6" %)
491 491  (% _msthash="1817492" _msttexthash="4459" _mstvisible="8" %)**1**
492 -)))|(% _mstvisible="4" style="width:64px" %)(% _mstvisible="5" %)
512 +)))|=(% _mstvisible="4" style="width: 64px;" %)(% _mstvisible="5" %)
493 493  (((
494 494  (% _mstvisible="6" %)
495 495  (% _msthash="1817493" _msttexthash="4732" _mstvisible="8" %)**4**
... ... @@ -541,11 +541,12 @@
541 541  )))
542 542  )))
543 543  
564 +
544 544  (% _mstvisible="1" %)
545 545  * (% _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**
546 546  
547 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:469px" %)
548 -(% _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]
549 549  (% _mstvisible="3" %)|(% _msthash="1230921" _msttexthash="60203" _mstvisible="4" style="width:65px" %)Value|(% _mstvisible="4" style="width:267px" %)(% _mstvisible="5" %)
550 550  (((
551 551  (% _msthash="1817497" _msttexthash="128427" _mstvisible="6" %)
... ... @@ -571,6 +571,7 @@
571 571  
572 572  )))
573 573  
595 +
574 574  (% _mstvisible="1" %)
575 575  * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte**
576 576  
... ... @@ -582,6 +582,8 @@
582 582  * 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.
583 583  * 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)
584 584  
607 +
608 +
585 585  (% _mstvisible="1" %)
586 586  == (% _msthash="487097" _msttexthash="454818" _mstvisible="3" %)2.5 Show data on Datacake(%%) ==
587 587  
... ... @@ -625,6 +625,8 @@
625 625  (% _mstvisible="1" %)
626 626  [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]]
627 627  
652 +
653 +
628 628  (% _mstvisible="1" %)
629 629  == (% _msthash="350454" _msttexthash="323544" _mstvisible="3" %)2.6 Datalog Feature(%%) ==
630 630  
... ... @@ -631,6 +631,7 @@
631 631  (% _msthash="315262" _msttexthash="32283004" _mstvisible="1" %)
632 632  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.
633 633  
660 +
634 634  (% _mstvisible="1" %)
635 635  === (% _msthash="886158" _msttexthash="842426" _mstvisible="3" %)2.6.1 Ways to get datalog via LoRaWAN(%%) ===
636 636  
... ... @@ -641,6 +641,8 @@
641 641  1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
642 642  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.
643 643  
671 +
672 +
644 644  (% _mstvisible="1" %)
645 645  === (% _msthash="369915" _msttexthash="342797" _mstvisible="3" %)2.6.2 Unix TimeStamp(%%) ===
646 646  
... ... @@ -669,6 +669,7 @@
669 669  (% _msthash="315265" _msttexthash="15137317" _mstvisible="1" %)
670 670  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
671 671  
701 +
672 672  (% _mstvisible="1" %)
673 673  === (% _msthash="359294" _msttexthash="332748" _mstvisible="3" %)2.6.3 Set Device Time(%%) ===
674 674  
... ... @@ -718,6 +718,9 @@
718 718  (((
719 719  (% _msthash="506076" _msttexthash="7889297" _mstvisible="2" %)
720 720  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 +
721 721  )))
722 722  
723 723  (% _mstvisible="1" %)
... ... @@ -766,8 +766,8 @@
766 766  (% _msthash="506080" _msttexthash="451581" _mstvisible="4" %)**Retrieval data payload**
767 767  )))
768 768  
769 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:510px" %)
770 -(% _mstvisible="3" %)|(% _mstvisible="4" style="width:93px" %)(% _mstvisible="5" %)
802 +(% _mstvisible="1" border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
803 +(% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 93px;" %)(% _mstvisible="5" %)
771 771  (((
772 772  (% _mstvisible="6" %)
773 773  (((
... ... @@ -774,7 +774,7 @@
774 774  (% _mstvisible="7" %)
775 775  (% _msthash="2224750" _msttexthash="161122" _mstvisible="9" %)**Size(bytes)**
776 776  )))
777 -)))|(% _mstvisible="4" style="width:71px" %)(% _mstvisible="5" %)
810 +)))|=(% _mstvisible="4" style="width: 71px;" %)(% _mstvisible="5" %)
778 778  (((
779 779  (% _mstvisible="6" %)
780 780  (((
... ... @@ -781,7 +781,7 @@
781 781  (% _mstvisible="7" %)
782 782  (% _msthash="2224751" _msttexthash="4550" _mstvisible="9" %)**2**
783 783  )))
784 -)))|(% _mstvisible="4" style="width:102px" %)(% _mstvisible="5" %)
817 +)))|=(% _mstvisible="4" style="width: 102px;" %)(% _mstvisible="5" %)
785 785  (((
786 786  (% _mstvisible="6" %)
787 787  (((
... ... @@ -788,7 +788,7 @@
788 788  (% _mstvisible="7" %)
789 789  (% _msthash="2224752" _msttexthash="4550" _mstvisible="9" %)**2**
790 790  )))
791 -)))|(% _mstvisible="4" style="width:86px" %)(% _mstvisible="5" %)
824 +)))|=(% _mstvisible="4" style="width: 86px;" %)(% _mstvisible="5" %)
792 792  (((
793 793  (% _mstvisible="6" %)
794 794  (((
... ... @@ -795,7 +795,7 @@
795 795  (% _mstvisible="7" %)
796 796  (% _msthash="2224753" _msttexthash="4550" _mstvisible="9" %)**2**
797 797  )))
798 -)))|(% _mstvisible="4" style="width:86px" %)(% _mstvisible="5" %)
831 +)))|=(% _mstvisible="4" style="width: 86px;" %)(% _mstvisible="5" %)
799 799  (((
800 800  (% _mstvisible="6" %)
801 801  (((
... ... @@ -802,7 +802,7 @@
802 802  (% _mstvisible="7" %)
803 803  (% _msthash="2224754" _msttexthash="4459" _mstvisible="9" %)**1**
804 804  )))
805 -)))|(% _mstvisible="4" style="width:48px" %)(% _mstvisible="5" %)
838 +)))|=(% _mstvisible="4" style="width: 48px;" %)(% _mstvisible="5" %)
806 806  (((
807 807  (% _mstvisible="6" %)
808 808  (((
... ... @@ -890,6 +890,7 @@
890 890  )))
891 891  )))
892 892  
926 +
893 893  (% _mstvisible="1" %)
894 894  (% _msthash="315268" _msttexthash="390390" _mstvisible="3" %)**Poll message flag & Ext**
895 895  
... ... @@ -928,6 +928,9 @@
928 928  (% _mstvisible="2" %)
929 929  (((
930 930  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
965 +
966 +
967 +(% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
931 931  For example, in US915 band, the max payload for different DR is:
932 932  )))
933 933  )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0