Last modified by Xiaoling on 2023/07/18 10:12

From version 170.21
edited by Xiaoling
on 2022/06/22 11:07
Change comment: There is no comment for this version
To version 170.32
edited by Xiaoling
on 2022/06/22 11:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -18,17 +18,30 @@
18 18  
19 19  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
20 20  
21 +
22 +(((
21 21  The Dragino LHT65N Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:#4f81bd" %)**built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% style="color:#4f81bd" %)**Temperature Sensor.**
24 +)))
22 22  
26 +(((
23 23  The LHT65N allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
28 +)))
24 24  
30 +(((
25 25  LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*.
32 +)))
26 26  
34 +(((
27 27  LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway.
36 +)))
28 28  
38 +(((
29 29  LHT65N supports (% style="color:#4f81bd" %)**Datalog Feature**(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading.
40 +)))
30 30  
42 +(((
31 31  *The actual battery life depends on how often to send data, please see the battery analyzer chapter.
44 +)))
32 32  
33 33  
34 34  == 1.2 Features ==
... ... @@ -45,6 +45,7 @@
45 45  * Tri-color LED to indicate working status
46 46  * Datalog feature
47 47  
61 +
48 48  == 1.3 Specification ==
49 49  
50 50  
... ... @@ -69,23 +69,36 @@
69 69  * ±2°C accuracy from -55°C to +125°C
70 70  * Operating Range: -55 °C ~~ 125 °C
71 71  
86 +
72 72  = 2. Connect LHT65N to IoT Server =
73 73  
74 74  == 2.1 How does LHT65N work? ==
75 75  
91 +(((
76 76  LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N.
93 +)))
77 77  
95 +(((
78 78  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.
97 +)))
79 79  
80 80  
81 81  == 2.2 How to Activate LHT65N? ==
82 82  
102 +(((
83 83  The LHT65N has two working modes:
104 +)))
84 84  
85 -* (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
86 -* (% style="color:blue" %)**Working Mode**(%%):  In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 
106 +* (((
107 +(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
108 +)))
109 +* (((
110 +(% style="color:blue" %)**Working Mode**(%%):  In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 
111 +)))
87 87  
113 +(((
88 88  The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
115 +)))
89 89  
90 90  
91 91  [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]]
... ... @@ -241,6 +241,7 @@
241 241  
242 242  
243 243  
271 +
244 244  === 2.4.1 Decoder in TTN V3 ===
245 245  
246 246  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.
... ... @@ -273,6 +273,8 @@
273 273  
274 274  
275 275  
304 +
305 +
276 276  === 2.4.3 Built-in Temperature ===
277 277  
278 278  [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
... ... @@ -284,6 +284,9 @@
284 284  * Temperature:  (0xF5C6-65536)/100=-26.18℃
285 285  
286 286  
317 +
318 +
319 +
287 287  === 2.4.4 Built-in Humidity ===
288 288  
289 289  [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]]
... ... @@ -291,6 +291,9 @@
291 291  * Humidity:    0x025C/10=60.4%
292 292  
293 293  
327 +
328 +
329 +
294 294  === 2.4.5 Ext # ===
295 295  
296 296  Bytes for External Sensor:
... ... @@ -445,6 +445,8 @@
445 445  
446 446  
447 447  
484 +
485 +
448 448  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
449 449  
450 450  In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
... ... @@ -519,6 +519,10 @@
519 519  1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
520 520  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.
521 521  
560 +
561 +
562 +
563 +
522 522  === 2.6.2 Unix TimeStamp ===
523 523  
524 524  
... ... @@ -541,20 +541,37 @@
541 541  
542 542  === 2.6.3 Set Device Time ===
543 543  
586 +(((
544 544  There are two ways to set device's time:
588 +)))
545 545  
590 +(((
546 546  **~1. Through LoRaWAN MAC Command (Default settings)**
592 +)))
547 547  
594 +(((
548 548  User need to set SYNCMOD=1 to enable sync time via MAC command.
596 +)))
549 549  
598 +(((
550 550  Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).
600 +)))
551 551  
602 +(((
552 552  (% style="color:red" %)Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.
604 +)))
553 553  
606 +(((
607 +
608 +)))
554 554  
610 +(((
555 555  **2. Manually Set Time**
612 +)))
556 556  
614 +(((
557 557  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
616 +)))
558 558  
559 559  
560 560  
... ... @@ -721,9 +721,11 @@
721 721  (% _mstvisible="2" %)
722 722  (((
723 723  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
783 +(((
724 724  Poll Message Flag: 1: This message is a poll message reply.
725 725  )))
726 726  )))
787 +)))
727 727  
728 728  (% _mstvisible="1" %)
729 729  * (% _mstvisible="3" %)
... ... @@ -731,17 +731,21 @@
731 731  (% _mstvisible="4" %)
732 732  (((
733 733  (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %)
795 +(((
734 734  Poll Message Flag is set to 1.
735 735  )))
736 736  )))
799 +)))
737 737  * (% _mstvisible="3" %)
738 738  (((
739 739  (% _mstvisible="4" %)
740 740  (((
741 741  (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %)
805 +(((
742 742  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
743 743  )))
744 744  )))
809 +)))
745 745  
746 746  (% _mstvisible="1" %)
747 747  (((
... ... @@ -748,12 +748,16 @@
748 748  (% _mstvisible="2" %)
749 749  (((
750 750  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
816 +(((
751 751  
818 +)))
752 752  
753 753  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
821 +(((
754 754  For example, in US915 band, the max payload for different DR is:
755 755  )))
756 756  )))
825 +)))
757 757  
758 758  (% _mstvisible="1" %)
759 759  (((
... ... @@ -760,9 +760,11 @@
760 760  (% _mstvisible="2" %)
761 761  (((
762 762  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
832 +(((
763 763  a) DR0: max is 11 bytes so one entry of data
764 764  )))
765 765  )))
836 +)))
766 766  
767 767  (% _mstvisible="1" %)
768 768  (((
... ... @@ -769,9 +769,11 @@
769 769  (% _mstvisible="2" %)
770 770  (((
771 771  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
843 +(((
772 772  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
773 773  )))
774 774  )))
847 +)))
775 775  
776 776  (% _mstvisible="1" %)
777 777  (((
... ... @@ -778,9 +778,11 @@
778 778  (% _mstvisible="2" %)
779 779  (((
780 780  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
854 +(((
781 781  c) DR2: total payload includes 11 entries of data
782 782  )))
783 783  )))
858 +)))
784 784  
785 785  (% _mstvisible="1" %)
786 786  (((
... ... @@ -787,9 +787,11 @@
787 787  (% _mstvisible="2" %)
788 788  (((
789 789  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
865 +(((
790 790  d) DR3: total payload includes 22 entries of data.
791 791  )))
792 792  )))
869 +)))
793 793  
794 794  (% _mstvisible="1" %)
795 795  (((
... ... @@ -796,9 +796,11 @@
796 796  (% _mstvisible="2" %)
797 797  (((
798 798  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
876 +(((
799 799  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
800 800  )))
801 801  )))
880 +)))
802 802  
803 803  
804 804  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -844,51 +844,83 @@
844 844  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
845 845  
846 846  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
926 +(((
847 847  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
928 +)))
848 848  
849 849  (% _msthash="315237" _msttexthash="1385839" %)
931 +(((
850 850  Where the first 11 bytes is for the first entry:
933 +)))
851 851  
852 852  (% _msthash="315238" _msttexthash="274846" %)
936 +(((
853 853  7FFF089801464160065F97
938 +)))
854 854  
855 855  (% _msthash="315239" _msttexthash="617435" %)
941 +(((
856 856  Ext sensor data=0x7FFF/100=327.67
943 +)))
857 857  
858 858  (% _msthash="315240" _msttexthash="270543" %)
946 +(((
859 859  Temp=0x0898/100=22.00
948 +)))
860 860  
861 861  (% _msthash="315241" _msttexthash="211783" %)
951 +(((
862 862  Hum=0x0146/10=32.6
953 +)))
863 863  
864 864  (% _msthash="315242" _msttexthash="1569776" %)
956 +(((
865 865  poll message flag & Ext=0x41,means reply data,Ext=1
958 +)))
866 866  
867 867  (% _msthash="315243" _msttexthash="1120509" %)
961 +(((
868 868  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
963 +)))
869 869  
870 870  
871 871  
872 872  == 2.7 Alarm Mode ==
873 873  
969 +(((
874 874  when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately.
971 +)))
875 875  
973 +(((
876 876  (% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
975 +)))
877 877  
977 +(((
878 878  **AT COMMAND FOR ALARM MODE:**
979 +)))
879 879  
880 880  (% _mstvisible="1" class="box infomessage" %)
881 881  (((
983 +(((
882 882  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
985 +)))
883 883  
987 +(((
884 884  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
989 +)))
885 885  
991 +(((
886 886  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
993 +)))
887 887  
995 +(((
888 888  **AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
997 +)))
889 889  
999 +(((
890 890  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
891 891  )))
1002 +)))
892 892  
893 893  
894 894  
... ... @@ -902,7 +902,7 @@
902 902  In a normal working state:
903 903  
904 904  * For each uplink, the BLUE LED or RED LED will blink once.
905 - BLUE LED when external sensor is connected.
1016 +BLUE LED when external sensor is connected.
906 906  * RED LED when external sensor is not connected
907 907  * For each success downlink, the PURPLE LED will blink once
908 908  
... ... @@ -909,6 +909,7 @@
909 909  
910 910  
911 911  
1023 +
912 912  == 2.9 installation ==
913 913  
914 914  (% _mstvisible="1" %)
... ... @@ -943,9 +943,6 @@
943 943  * Operating Range: -40 ~~ 125 °C
944 944  * Working voltage 2.35v ~~ 5v
945 945  
946 -
947 -
948 -
949 949  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
950 950  
951 951  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
... ... @@ -989,7 +989,6 @@
989 989  
990 990  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
991 991  
992 -
993 993  == 4.2 Set External Sensor Mode ==
994 994  
995 995  Feature: Change External Sensor Mode.
... ... @@ -1011,8 +1011,6 @@
1011 1011  
1012 1012  * 0xA20702003c: Same as AT+SETCNT=60
1013 1013  
1014 -
1015 -
1016 1016  == 4.3 Enable/Disable uplink Temperature probe ID ==
1017 1017  
1018 1018  (((
... ... @@ -1040,8 +1040,6 @@
1040 1040  * **0xA800**  **~-~->** AT+PID=0
1041 1041  * **0xA801**     **~-~->** AT+PID=1
1042 1042  
1043 -
1044 -
1045 1045  == 4.4 Set Password ==
1046 1046  
1047 1047  Feature: Set device password, max 9 digits
... ... @@ -1088,9 +1088,6 @@
1088 1088  
1089 1089  * There is no downlink command to set to Sleep mode.
1090 1090  
1091 -
1092 -
1093 -
1094 1094  == 4.7 Set system time ==
1095 1095  
1096 1096  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
... ... @@ -1187,9 +1187,6 @@
1187 1187  
1188 1188  * Example: 0xA301 ~/~/Same as AT+CLRDTA
1189 1189  
1190 -
1191 -
1192 -
1193 1193  == 4.13 Auto Send None-ACK messages ==
1194 1194  
1195 1195  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
... ... @@ -1204,13 +1204,10 @@
1204 1204  (% _mstvisible="3" %)|=(% _mstvisible="4" style="width: 171px;" %)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|=(% _mstvisible="4" style="width: 219px;" %)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|=(% _mstvisible="4" style="width: 119px;" %)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response**
1205 1205  (% _mstvisible="3" %)|(% _msthash="1231321" _msttexthash="130455" _mstvisible="4" style="width:171px" %)AT+PNACKMD=1|(% _msthash="1231322" _msttexthash="377026" _mstvisible="4" style="width:219px" %)Poll None-ACK message|(% _msthash="1231323" _msttexthash="14989" _mstvisible="4" style="width:119px" %)OK
1206 1206  
1207 -
1208 1208  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1209 1209  
1210 1210  * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1211 1211  
1212 -
1213 -
1214 1214  = 5. Battery & How to replace =
1215 1215  
1216 1216  == 5.1 Battery Type ==
... ... @@ -1616,9 +1616,6 @@
1616 1616  
1617 1617  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1618 1618  
1619 -
1620 -
1621 -
1622 1622  = 8. Packing Info =
1623 1623  
1624 1624  
... ... @@ -1625,23 +1625,17 @@
1625 1625  **Package Includes**:
1626 1626  
1627 1627  * LHT65N Temperature & Humidity Sensor x 1
1720 +* Optional external sensor
1628 1628  
1629 -*Optional external sensor
1630 -
1631 -
1632 1632  **Dimension and weight**:
1633 1633  
1634 1634  * Device Size:  10 x 10 x 3.5 cm
1635 -
1636 1636  * Device Weight: 120.5g
1637 1637  
1638 -
1639 -
1640 1640  = 9. Reference material =
1641 1641  
1642 1642  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1643 1643  
1644 -
1645 1645  = 10. FCC Warning =
1646 1646  
1647 1647  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: