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

From version 170.23
edited by Xiaoling
on 2022/06/22 11:09
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
... ... @@ -522,6 +522,7 @@
522 522  
523 523  
524 524  
563 +
525 525  === 2.6.2 Unix TimeStamp ===
526 526  
527 527  
... ... @@ -544,20 +544,37 @@
544 544  
545 545  === 2.6.3 Set Device Time ===
546 546  
586 +(((
547 547  There are two ways to set device's time:
588 +)))
548 548  
590 +(((
549 549  **~1. Through LoRaWAN MAC Command (Default settings)**
592 +)))
550 550  
594 +(((
551 551  User need to set SYNCMOD=1 to enable sync time via MAC command.
596 +)))
552 552  
598 +(((
553 553  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 +)))
554 554  
602 +(((
555 555  (% 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 +)))
556 556  
606 +(((
607 +
608 +)))
557 557  
610 +(((
558 558  **2. Manually Set Time**
612 +)))
559 559  
614 +(((
560 560  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 +)))
561 561  
562 562  
563 563  
... ... @@ -724,9 +724,11 @@
724 724  (% _mstvisible="2" %)
725 725  (((
726 726  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
783 +(((
727 727  Poll Message Flag: 1: This message is a poll message reply.
728 728  )))
729 729  )))
787 +)))
730 730  
731 731  (% _mstvisible="1" %)
732 732  * (% _mstvisible="3" %)
... ... @@ -734,17 +734,21 @@
734 734  (% _mstvisible="4" %)
735 735  (((
736 736  (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %)
795 +(((
737 737  Poll Message Flag is set to 1.
738 738  )))
739 739  )))
799 +)))
740 740  * (% _mstvisible="3" %)
741 741  (((
742 742  (% _mstvisible="4" %)
743 743  (((
744 744  (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %)
805 +(((
745 745  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
746 746  )))
747 747  )))
809 +)))
748 748  
749 749  (% _mstvisible="1" %)
750 750  (((
... ... @@ -751,12 +751,16 @@
751 751  (% _mstvisible="2" %)
752 752  (((
753 753  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
816 +(((
754 754  
818 +)))
755 755  
756 756  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
821 +(((
757 757  For example, in US915 band, the max payload for different DR is:
758 758  )))
759 759  )))
825 +)))
760 760  
761 761  (% _mstvisible="1" %)
762 762  (((
... ... @@ -763,9 +763,11 @@
763 763  (% _mstvisible="2" %)
764 764  (((
765 765  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
832 +(((
766 766  a) DR0: max is 11 bytes so one entry of data
767 767  )))
768 768  )))
836 +)))
769 769  
770 770  (% _mstvisible="1" %)
771 771  (((
... ... @@ -772,9 +772,11 @@
772 772  (% _mstvisible="2" %)
773 773  (((
774 774  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
843 +(((
775 775  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
776 776  )))
777 777  )))
847 +)))
778 778  
779 779  (% _mstvisible="1" %)
780 780  (((
... ... @@ -781,9 +781,11 @@
781 781  (% _mstvisible="2" %)
782 782  (((
783 783  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
854 +(((
784 784  c) DR2: total payload includes 11 entries of data
785 785  )))
786 786  )))
858 +)))
787 787  
788 788  (% _mstvisible="1" %)
789 789  (((
... ... @@ -790,9 +790,11 @@
790 790  (% _mstvisible="2" %)
791 791  (((
792 792  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
865 +(((
793 793  d) DR3: total payload includes 22 entries of data.
794 794  )))
795 795  )))
869 +)))
796 796  
797 797  (% _mstvisible="1" %)
798 798  (((
... ... @@ -799,9 +799,11 @@
799 799  (% _mstvisible="2" %)
800 800  (((
801 801  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
876 +(((
802 802  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
803 803  )))
804 804  )))
880 +)))
805 805  
806 806  
807 807  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -847,51 +847,83 @@
847 847  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
848 848  
849 849  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
926 +(((
850 850  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
928 +)))
851 851  
852 852  (% _msthash="315237" _msttexthash="1385839" %)
931 +(((
853 853  Where the first 11 bytes is for the first entry:
933 +)))
854 854  
855 855  (% _msthash="315238" _msttexthash="274846" %)
936 +(((
856 856  7FFF089801464160065F97
938 +)))
857 857  
858 858  (% _msthash="315239" _msttexthash="617435" %)
941 +(((
859 859  Ext sensor data=0x7FFF/100=327.67
943 +)))
860 860  
861 861  (% _msthash="315240" _msttexthash="270543" %)
946 +(((
862 862  Temp=0x0898/100=22.00
948 +)))
863 863  
864 864  (% _msthash="315241" _msttexthash="211783" %)
951 +(((
865 865  Hum=0x0146/10=32.6
953 +)))
866 866  
867 867  (% _msthash="315242" _msttexthash="1569776" %)
956 +(((
868 868  poll message flag & Ext=0x41,means reply data,Ext=1
958 +)))
869 869  
870 870  (% _msthash="315243" _msttexthash="1120509" %)
961 +(((
871 871  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
963 +)))
872 872  
873 873  
874 874  
875 875  == 2.7 Alarm Mode ==
876 876  
969 +(((
877 877  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 +)))
878 878  
973 +(((
879 879  (% 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 +)))
880 880  
977 +(((
881 881  **AT COMMAND FOR ALARM MODE:**
979 +)))
882 882  
883 883  (% _mstvisible="1" class="box infomessage" %)
884 884  (((
983 +(((
885 885  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
985 +)))
886 886  
987 +(((
887 887  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
989 +)))
888 888  
991 +(((
889 889  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
993 +)))
890 890  
995 +(((
891 891  **AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
997 +)))
892 892  
999 +(((
893 893  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
894 894  )))
1002 +)))
895 895  
896 896  
897 897  
... ... @@ -905,7 +905,7 @@
905 905  In a normal working state:
906 906  
907 907  * For each uplink, the BLUE LED or RED LED will blink once.
908 - BLUE LED when external sensor is connected.
1016 +BLUE LED when external sensor is connected.
909 909  * RED LED when external sensor is not connected
910 910  * For each success downlink, the PURPLE LED will blink once
911 911  
... ... @@ -912,6 +912,7 @@
912 912  
913 913  
914 914  
1023 +
915 915  == 2.9 installation ==
916 916  
917 917  (% _mstvisible="1" %)
... ... @@ -946,9 +946,6 @@
946 946  * Operating Range: -40 ~~ 125 °C
947 947  * Working voltage 2.35v ~~ 5v
948 948  
949 -
950 -
951 -
952 952  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
953 953  
954 954  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
... ... @@ -992,7 +992,6 @@
992 992  
993 993  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
994 994  
995 -
996 996  == 4.2 Set External Sensor Mode ==
997 997  
998 998  Feature: Change External Sensor Mode.
... ... @@ -1014,8 +1014,6 @@
1014 1014  
1015 1015  * 0xA20702003c: Same as AT+SETCNT=60
1016 1016  
1017 -
1018 -
1019 1019  == 4.3 Enable/Disable uplink Temperature probe ID ==
1020 1020  
1021 1021  (((
... ... @@ -1043,8 +1043,6 @@
1043 1043  * **0xA800**  **~-~->** AT+PID=0
1044 1044  * **0xA801**     **~-~->** AT+PID=1
1045 1045  
1046 -
1047 -
1048 1048  == 4.4 Set Password ==
1049 1049  
1050 1050  Feature: Set device password, max 9 digits
... ... @@ -1091,9 +1091,6 @@
1091 1091  
1092 1092  * There is no downlink command to set to Sleep mode.
1093 1093  
1094 -
1095 -
1096 -
1097 1097  == 4.7 Set system time ==
1098 1098  
1099 1099  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
... ... @@ -1190,9 +1190,6 @@
1190 1190  
1191 1191  * Example: 0xA301 ~/~/Same as AT+CLRDTA
1192 1192  
1193 -
1194 -
1195 -
1196 1196  == 4.13 Auto Send None-ACK messages ==
1197 1197  
1198 1198  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
... ... @@ -1207,13 +1207,10 @@
1207 1207  (% _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**
1208 1208  (% _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
1209 1209  
1210 -
1211 1211  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1212 1212  
1213 1213  * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1214 1214  
1215 -
1216 -
1217 1217  = 5. Battery & How to replace =
1218 1218  
1219 1219  == 5.1 Battery Type ==
... ... @@ -1619,9 +1619,6 @@
1619 1619  
1620 1620  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1621 1621  
1622 -
1623 -
1624 -
1625 1625  = 8. Packing Info =
1626 1626  
1627 1627  
... ... @@ -1630,19 +1630,15 @@
1630 1630  * LHT65N Temperature & Humidity Sensor x 1
1631 1631  * Optional external sensor
1632 1632  
1633 -
1634 1634  **Dimension and weight**:
1635 1635  
1636 1636  * Device Size:  10 x 10 x 3.5 cm
1637 1637  * Device Weight: 120.5g
1638 1638  
1639 -
1640 -
1641 1641  = 9. Reference material =
1642 1642  
1643 1643  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1644 1644  
1645 -
1646 1646  = 10. FCC Warning =
1647 1647  
1648 1648  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: