<
From version < 80.1 >
edited by Edwin Chen
on 2022/05/24 23:53
To version < 76.4 >
edited by Xiaoling
on 2022/05/23 15:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20220523115324-1.jpeg||height="317" width="317"]]
2 +[[image:image-20220523115324-1.jpeg||height="500" width="500"]]
3 3  
4 4  
5 5  **LHT65N LoRaWAN Temperature & Humidity Sensor Manual**
... ... @@ -6,7 +6,6 @@
6 6  
7 7  
8 8  
9 -
10 10  **Table of Contents:**
11 11  
12 12  {{toc/}}
... ... @@ -13,9 +13,8 @@
13 13  
14 14  
15 15  
15 += 1.Introduction =
16 16  
17 -= 1. Introduction =
18 -
19 19  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
20 20  
21 21  (((
... ... @@ -134,7 +134,7 @@
134 134  
135 135  [[image:image-20220515123819-1.png||height="379" width="317"]]
136 136  
137 -[[image:image-20220523153201-19.png||height="180" width="818"]]
135 +[[image:image-20220523153201-19.png||height="163" width="739"]]
138 138  
139 139  == 2.3 Example to join LoRaWAN network ==
140 140  
... ... @@ -219,7 +219,7 @@
219 219  [[Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
220 220  )))
221 221  )))|(% style="width:47px" %)(((
222 -[[Ext>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.5Ext23]] #
220 +[[Ext>>path:#Extension_Sensor]] #
223 223  )))|(% style="width:51px" %)(((
224 224  [[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
225 225  )))
... ... @@ -300,7 +300,7 @@
300 300  
301 301  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:
302 302  
303 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
301 +(% border="1" style="background-color:#ffffcc; color:green; width:468px" %)
304 304  |(% style="width:96px" %)(((
305 305  **Size(bytes)**
306 306  )))|(% style="width:71px" %)(((
... ... @@ -401,18 +401,10 @@
401 401  
402 402  == 2.6 Datalog Feature ==
403 403  
404 -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.
402 +This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot.
405 405  
406 -=== 2.6.1 Ways to get datalog via LoRaWAN ===
404 +=== 2.6.1 Unix TimeStamp ===
407 407  
408 -There are two methods:
409 -
410 -1. IoT Server sends a downlink LoRaWAN command to [poll the value>PollSensorValue].
411 -1.
412 -
413 -
414 -=== 2.6.2 Unix TimeStamp ===
415 -
416 416  LHT65N uses Unix TimeStamp format based on
417 417  
418 418  [[image:image-20220523001219-11.png||height="97" width="627"]]
... ... @@ -430,7 +430,7 @@
430 430  
431 431  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
432 432  
433 -=== 2.6.3 Set Device Time ===
423 +=== 2.6.2 Set Device Time ===
434 434  
435 435  (((
436 436  There are two ways to set device’s time:
... ... @@ -464,7 +464,7 @@
464 464  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
465 465  )))
466 466  
467 -=== [[2.6.4 Poll sensor value>>2.6.4 Poll sensor value||anchor="PollSensorValue"]] ===
457 +=== 2.6.3 Poll sensor value ===
468 468  
469 469  User can poll sensor value based on timestamps from the server. Below is the downlink command.
470 470  
... ... @@ -475,7 +475,7 @@
475 475  )))
476 476  
477 477  (((
478 -For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**
468 +For example, downlink command **31 5FC5F350 5FC6 0160 05**
479 479  )))
480 480  
481 481  (((
... ... @@ -487,7 +487,7 @@
487 487  )))
488 488  
489 489  
490 -=== 2.6.5 Datalog Uplink payload ===
480 +=== 2.6.4 Datalog Uplink payload ===
491 491  
492 492  The Datalog poll reply uplink will use below payload format.
493 493  
... ... @@ -495,81 +495,51 @@
495 495  **Retrieval data payload**
496 496  )))
497 497  
498 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %)
488 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %)
499 499  |(% style="width:93px" %)(((
500 -(((
501 501  **Size(bytes)**
502 -)))
503 503  )))|(% style="width:71px" %)(((
504 -(((
505 505  **2**
506 -)))
507 507  )))|(% style="width:102px" %)(((
508 -(((
509 509  **2**
510 -)))
511 511  )))|(% style="width:86px" %)(((
512 -(((
513 513  **2**
514 -)))
515 -)))|(% style="width:86px" %)(((
516 -(((
497 +)))|(% style="width:90px" %)(((
517 517  **1**
518 -)))
519 -)))|(% style="width:48px" %)(((
520 -(((
499 +)))|(% style="width:85px" %)(((
521 521  **4**
522 522  )))
523 -)))
524 524  |(% style="width:93px" %)(((
525 -(((
526 526  **Value**
527 -)))
528 528  )))|(% style="width:71px" %)(((
529 -(((
530 530  [[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]]
531 -)))
532 532  )))|(% style="width:102px" %)(((
533 533  (((
534 -(((
535 535  [[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
536 536  )))
537 -)))
538 538  
539 539  (((
540 -(((
541 541  [[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]]
542 542  )))
543 -)))
544 544  )))|(% style="width:86px" %)(((
545 545  (((
546 -(((
547 547  [[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
548 548  )))
549 -)))
550 550  
551 551  (((
552 -(((
553 553  [[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]]
554 554  )))
555 -)))
556 -)))|(% style="width:86px" %)(((
557 -(((
522 +)))|(% style="width:90px" %)(((
558 558  [[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]]
559 -)))
560 -)))|(% style="width:48px" %)(((
524 +)))|(% style="width:85px" %)(((
561 561  (((
562 -(((
563 563  [[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]]
564 564  )))
565 -)))
566 566  
567 567  (((
568 -(((
569 569  
570 570  )))
571 571  )))
572 -)))
573 573  
574 574  **Poll message flag & Ext**
575 575  
... ... @@ -635,25 +635,14 @@
635 635  
636 636  [[image:image-20220523144455-1.png||height="335" width="735"]]
637 637  
638 -(((
639 639  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
640 -)))
641 641  
642 -(((
643 643   Where : Start time: 60065F97 = time 21/1/19 04:27:03
644 -)))
645 645  
646 -(((
647 647   Stop time 60066DA7= time 21/1/19 05:27:03
648 -)))
649 649  
650 -(((
651 -
652 -)))
653 653  
654 -(((
655 655  LHT65N will uplink this payload.
656 -)))
657 657  
658 658  [[image:image-20220523001219-13.png||height="421" width="727"]]
659 659  
... ... @@ -677,27 +677,19 @@
677 677  
678 678  Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately.
679 679  
680 -(((
681 681  (% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature.
682 -)))
683 683  
684 -(((
685 685  **AT Commands for Alarm mode:**
686 -)))
687 687  
688 688  (% class="box infomessage" %)
689 689  (((
690 -(((
691 691  **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable)
692 692  )))
693 -)))
694 694  
695 695  (% class="box infomessage" %)
696 696  (((
697 -(((
698 698  **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute)
699 699  )))
700 -)))
701 701  
702 702  == 2.8 LED Indicator ==
703 703  
... ... @@ -750,55 +750,29 @@
750 750  
751 751  = 4. Configure LHT65N via AT Command or LoRaWAN Downlink =
752 752  
753 -(((
754 754  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
755 -)))
756 756  
757 -* (((
758 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
759 -)))
760 -* (((
761 -LoRaWAN Downlink instruction for different platforms:
762 -)))
696 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
697 +* LoRaWAN Downlink instruction for different platforms:
763 763  
764 -(((
765 765  [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
766 -)))
767 767  
768 -(((
769 769  There are two kinds of commands to configure LHT65N, they are:
770 -)))
771 771  
772 -(((
773 773  (% style="color:#4f81bd" %)* **General Commands**.
774 -)))
775 775  
776 -(((
777 777  These commands are to configure:
778 -)))
779 779  
780 -* (((
781 -General system settings like: uplink interval.
782 -)))
783 -* (((
784 -LoRaWAN protocol & radio-related commands.
785 -)))
707 +* General system settings like: uplink interval.
708 +* LoRaWAN protocol & radio-related commands.
786 786  
787 -(((
788 788  They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki:
789 -)))
790 790  
791 -(((
792 792  [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
793 -)))
794 794  
795 -(((
796 796  (% style="color:#4f81bd" %)* **Commands special design for LHT65N**
797 -)))
798 798  
799 -(((
800 800  These commands are only valid for LHT65N, as below:
801 -)))
802 802  
803 803  == 4.1 Set Transmit Interval Time ==
804 804  
... ... @@ -808,24 +808,14 @@
808 808  
809 809  [[image:image-20220523150701-2.png]]
810 810  
811 -(((
812 812  **Downlink Command: 0x01**
813 -)))
814 814  
815 -(((
816 816  Format: Command Code (0x01) followed by 3 bytes time value.
817 -)))
818 818  
819 -(((
820 820  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
821 -)))
822 822  
823 -* (((
824 -**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
825 -)))
826 -* (((
827 -**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
828 -)))
732 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
733 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
829 829  
830 830  == 4.2 Set External Sensor Mode ==
831 831  
... ... @@ -835,27 +835,15 @@
835 835  
836 836  [[image:image-20220523150759-3.png]]
837 837  
838 -(((
839 839  **Downlink Command: 0xA2**
840 -)))
841 841  
842 -(((
843 843  Total bytes: 2 ~~ 5 bytes
844 -)))
845 845  
846 -(((
847 847  **Example:**
848 -)))
849 849  
850 -* (((
851 -0xA201: Set external sensor type to E1
852 -)))
853 -* (((
854 -0xA209: Same as AT+EXT=9
855 -)))
856 -* (((
857 -0xA20702003c,Same as AT+SETCNT=60
858 -)))
749 +* 0xA201: Set external sensor type to E1
750 +* 0xA209: Same as AT+EXT=9
751 +* 0xA20702003c,Same as AT+SETCNT=60
859 859  
860 860  == 4.3 Enable/Disable uplink Temperature probe ID ==
861 861  
... ... @@ -883,13 +883,9 @@
883 883  
884 884  [[image:image-20220523151052-5.png]]
885 885  
886 -(((
887 887  **Downlink Command:**
888 -)))
889 889  
890 -(((
891 891  No downlink command for this feature.
892 -)))
893 893  
894 894  == 4.5 Quit AT Command ==
895 895  
... ... @@ -929,17 +929,11 @@
929 929  
930 930  == 4.8 Set Time Sync Mode ==
931 931  
932 -(((
933 933  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
934 -)))
935 935  
936 -(((
937 937  SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0.
938 -)))
939 939  
940 -(((
941 941  **AT Command:**
942 -)))
943 943  
944 944  [[image:image-20220523151336-9.png]]
945 945  
... ... @@ -1029,7 +1029,7 @@
1029 1029  = 6. Order Info =
1030 1030  
1031 1031  (((
1032 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY**
915 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX**
1033 1033  )))
1034 1034  
1035 1035  (((
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0