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

From version 177.1
edited by Edwin Chen
on 2022/06/27 09:40
Change comment: There is no comment for this version
To version 170.20
edited by Xiaoling
on 2022/06/22 11:01
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
... ... @@ -18,30 +18,17 @@
18 18  
19 19  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
20 20  
21 -
22 -(((
23 23  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 -)))
25 25  
26 -(((
27 27  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 -)))
29 29  
30 -(((
31 31  LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*.
32 -)))
33 33  
34 -(((
35 35  LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway.
36 -)))
37 37  
38 -(((
39 39  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 -)))
41 41  
42 -(((
43 43  *The actual battery life depends on how often to send data, please see the battery analyzer chapter.
44 -)))
45 45  
46 46  
47 47  == 1.2 Features ==
... ... @@ -58,8 +58,6 @@
58 58  * Tri-color LED to indicate working status
59 59  * Datalog feature
60 60  
61 -
62 -
63 63  == 1.3 Specification ==
64 64  
65 65  
... ... @@ -84,37 +84,23 @@
84 84  * ±2°C accuracy from -55°C to +125°C
85 85  * Operating Range: -55 °C ~~ 125 °C
86 86  
87 -
88 -
89 89  = 2. Connect LHT65N to IoT Server =
90 90  
91 91  == 2.1 How does LHT65N work? ==
92 92  
93 -(((
94 94  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.
95 -)))
96 96  
97 -(((
98 98  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.
99 -)))
100 100  
101 101  
102 102  == 2.2 How to Activate LHT65N? ==
103 103  
104 -(((
105 105  The LHT65N has two working modes:
106 -)))
107 107  
108 -* (((
109 -(% 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.
110 -)))
111 -* (((
112 -(% 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. 
113 -)))
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. 
114 114  
115 -(((
116 116  The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
117 -)))
118 118  
119 119  
120 120  [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]]
... ... @@ -268,6 +268,8 @@
268 268  * 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.)
269 269  
270 270  
242 +
243 +
271 271  === 2.4.1 Decoder in TTN V3 ===
272 272  
273 273  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.
... ... @@ -299,6 +299,7 @@
299 299  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
300 300  
301 301  
275 +
302 302  === 2.4.3 Built-in Temperature ===
303 303  
304 304  [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
... ... @@ -470,6 +470,7 @@
470 470  * 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)
471 471  
472 472  
447 +
473 473  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
474 474  
475 475  In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
... ... @@ -544,7 +544,6 @@
544 544  1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
545 545  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.
546 546  
547 -
548 548  === 2.6.2 Unix TimeStamp ===
549 549  
550 550  
... ... @@ -567,37 +567,20 @@
567 567  
568 568  === 2.6.3 Set Device Time ===
569 569  
570 -(((
571 571  There are two ways to set device's time:
572 -)))
573 573  
574 -(((
575 575  **~1. Through LoRaWAN MAC Command (Default settings)**
576 -)))
577 577  
578 -(((
579 579  User need to set SYNCMOD=1 to enable sync time via MAC command.
580 -)))
581 581  
582 -(((
583 583  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).
584 -)))
585 585  
586 -(((
587 587  (% 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.
588 -)))
589 589  
590 -(((
591 -
592 -)))
593 593  
594 -(((
595 595  **2. Manually Set Time**
596 -)))
597 597  
598 -(((
599 599  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
600 -)))
601 601  
602 602  
603 603  
... ... @@ -764,11 +764,9 @@
764 764  (% _mstvisible="2" %)
765 765  (((
766 766  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
767 -(((
768 768  Poll Message Flag: 1: This message is a poll message reply.
769 769  )))
770 770  )))
771 -)))
772 772  
773 773  (% _mstvisible="1" %)
774 774  * (% _mstvisible="3" %)
... ... @@ -776,21 +776,17 @@
776 776  (% _mstvisible="4" %)
777 777  (((
778 778  (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %)
779 -(((
780 780  Poll Message Flag is set to 1.
781 781  )))
782 782  )))
783 -)))
784 784  * (% _mstvisible="3" %)
785 785  (((
786 786  (% _mstvisible="4" %)
787 787  (((
788 788  (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %)
789 -(((
790 790  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
791 791  )))
792 792  )))
793 -)))
794 794  
795 795  (% _mstvisible="1" %)
796 796  (((
... ... @@ -797,16 +797,12 @@
797 797  (% _mstvisible="2" %)
798 798  (((
799 799  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
800 -(((
801 801  
802 -)))
803 803  
804 804  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
805 -(((
806 806  For example, in US915 band, the max payload for different DR is:
807 807  )))
808 808  )))
809 -)))
810 810  
811 811  (% _mstvisible="1" %)
812 812  (((
... ... @@ -813,11 +813,9 @@
813 813  (% _mstvisible="2" %)
814 814  (((
815 815  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
816 -(((
817 817  a) DR0: max is 11 bytes so one entry of data
818 818  )))
819 819  )))
820 -)))
821 821  
822 822  (% _mstvisible="1" %)
823 823  (((
... ... @@ -824,11 +824,9 @@
824 824  (% _mstvisible="2" %)
825 825  (((
826 826  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
827 -(((
828 828  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
829 829  )))
830 830  )))
831 -)))
832 832  
833 833  (% _mstvisible="1" %)
834 834  (((
... ... @@ -835,11 +835,9 @@
835 835  (% _mstvisible="2" %)
836 836  (((
837 837  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
838 -(((
839 839  c) DR2: total payload includes 11 entries of data
840 840  )))
841 841  )))
842 -)))
843 843  
844 844  (% _mstvisible="1" %)
845 845  (((
... ... @@ -846,11 +846,9 @@
846 846  (% _mstvisible="2" %)
847 847  (((
848 848  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
849 -(((
850 850  d) DR3: total payload includes 22 entries of data.
851 851  )))
852 852  )))
853 -)))
854 854  
855 855  (% _mstvisible="1" %)
856 856  (((
... ... @@ -857,11 +857,9 @@
857 857  (% _mstvisible="2" %)
858 858  (((
859 859  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
860 -(((
861 861  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
862 862  )))
863 863  )))
864 -)))
865 865  
866 866  
867 867  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -907,86 +907,55 @@
907 907  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
908 908  
909 909  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
910 -(((
911 911  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
912 -)))
913 913  
914 914  (% _msthash="315237" _msttexthash="1385839" %)
915 -(((
916 916  Where the first 11 bytes is for the first entry:
917 -)))
918 918  
919 919  (% _msthash="315238" _msttexthash="274846" %)
920 -(((
921 921  7FFF089801464160065F97
922 -)))
923 923  
924 924  (% _msthash="315239" _msttexthash="617435" %)
925 -(((
926 926  Ext sensor data=0x7FFF/100=327.67
927 -)))
928 928  
929 929  (% _msthash="315240" _msttexthash="270543" %)
930 -(((
931 931  Temp=0x0898/100=22.00
932 -)))
933 933  
934 934  (% _msthash="315241" _msttexthash="211783" %)
935 -(((
936 936  Hum=0x0146/10=32.6
937 -)))
938 938  
939 939  (% _msthash="315242" _msttexthash="1569776" %)
940 -(((
941 941  poll message flag & Ext=0x41,means reply data,Ext=1
942 -)))
943 943  
944 944  (% _msthash="315243" _msttexthash="1120509" %)
945 -(((
946 946  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
947 -)))
948 948  
949 949  
950 950  
951 951  == 2.7 Alarm Mode ==
952 952  
953 -(((
954 954  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.
955 -)))
956 956  
957 -(((
958 -(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
959 -)))
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.
960 960  
961 -(((
962 962  **AT COMMAND FOR ALARM MODE:**
963 -)))
964 964  
965 965  (% _mstvisible="1" class="box infomessage" %)
966 966  (((
967 -(((
968 968  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
969 -)))
970 970  
971 -(((
972 972  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
973 -)))
974 974  
975 -(((
976 976  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
977 -)))
978 978  
979 -(((
980 980  **AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
981 -)))
982 982  
983 -(((
984 984  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
985 985  )))
986 -)))
987 987  
988 988  
989 989  
895 +
990 990  == 2.8 LED Indicator ==
991 991  
992 992  The LHT65 has a triple color LED which for easy showing different stage .
... ... @@ -996,11 +996,13 @@
996 996  In a normal working state:
997 997  
998 998  * For each uplink, the BLUE LED or RED LED will blink once.
999 -BLUE LED when external sensor is connected.
905 + BLUE LED when external sensor is connected.
1000 1000  * RED LED when external sensor is not connected
1001 1001  * For each success downlink, the PURPLE LED will blink once
1002 1002  
1003 1003  
910 +
911 +
1004 1004  == 2.9 installation ==
1005 1005  
1006 1006  (% _mstvisible="1" %)
... ... @@ -1014,24 +1014,8 @@
1014 1014  
1015 1015  [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
1016 1016  
1017 -**1m long breakout cable for LHT65N. Features:**
925 +1m long breakout cable for LHT65N
1018 1018  
1019 -* (((
1020 -Use for AT Command, works for both LHT52/LHT65N
1021 -)))
1022 -* (((
1023 -Update firmware for LHT65N, works for both LHT52/LHT65N
1024 -)))
1025 -* (((
1026 -Supports ADC mode to monitor external ADC
1027 -)))
1028 -* (((
1029 -Supports Interrupt mode
1030 -)))
1031 -* (((
1032 -Exposed All pins from the LHT65N Type-C connector.
1033 -)))
1034 -
1035 1035  [[image:image-20220619092421-3.png||height="371" width="529"]]
1036 1036  
1037 1037  
... ... @@ -1045,6 +1045,7 @@
1045 1045  
1046 1046  Temperature sensor with 2 meters cable long
1047 1047  
940 +
1048 1048  * Resolution: 0.0625 °C
1049 1049  * ±0.5°C accuracy from -10°C to +85°C
1050 1050  * ±2°C accuracy from -55°C to +125°C
... ... @@ -1051,51 +1051,29 @@
1051 1051  * Operating Range: -40 ~~ 125 °C
1052 1052  * Working voltage 2.35v ~~ 5v
1053 1053  
1054 -
1055 1055  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1056 1056  
1057 -(((
1058 1058  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1059 -)))
1060 1060  
1061 -* (((
1062 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1063 -)))
951 +* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1064 1064  
1065 -* (((
1066 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1067 -)))
953 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1068 1068  
1069 -(((
1070 1070  There are two kinds of commands to configure LHT65N, they are:
1071 -)))
1072 1072  
1073 -* (((
1074 -(% style="color:#4f81bd" %)**General Commands**.
1075 -)))
957 +* (% style="color:#4f81bd" %)**General Commands**.
1076 1076  
1077 -(((
1078 1078  These commands are to configure:
1079 -)))
1080 1080  
1081 -1. (((
1082 -General system settings like: uplink interval.
1083 -)))
1084 -1. (((
1085 -LoRaWAN protocol & radio-related commands.
1086 -)))
961 +* General system settings like: uplink interval.
1087 1087  
1088 -(((
963 +* LoRaWAN protocol & radio-related commands.
964 +
1089 1089  They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
1090 -)))
1091 1091  
1092 -* (((
1093 -(% style="color:#4f81bd" %)**Commands special design for LHT65N**
1094 -)))
967 +* (% style="color:#4f81bd" %)**Commands special design for LHT65N**
1095 1095  
1096 -(((
1097 1097  These commands are only valid for LHT65N, as below:
1098 -)))
1099 1099  
1100 1100  
1101 1101  == 4.1 Set Transmit Interval Time ==
... ... @@ -1102,8 +1102,10 @@
1102 1102  
1103 1103  Feature: Change LoRaWAN End Node Transmit Interval.
1104 1104  
976 +
1105 1105  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1106 1106  
979 +
1107 1107  [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
1108 1108  
1109 1109  
... ... @@ -1126,7 +1126,6 @@
1126 1126  
1127 1127  [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
1128 1128  
1129 -
1130 1130  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1131 1131  
1132 1132  Total bytes: 2 ~~ 5 bytes
... ... @@ -1137,37 +1137,34 @@
1137 1137  
1138 1138  * 0xA209: Same as AT+EXT=9
1139 1139  
1140 -* 0xA20702003c: Same as AT+SETCNT=60
1012 +* 0xA20702003c,Same as AT+SETCNT=60
1141 1141  
1142 1142  
1015 +
1143 1143  == 4.3 Enable/Disable uplink Temperature probe ID ==
1144 1144  
1145 -(((
1146 1146  Feature: If PID is enabled, device will send the temperature probe ID on:
1147 -)))
1148 1148  
1149 -* (((
1150 -First Packet after OTAA Join
1151 -)))
1152 -* (((
1153 -Every 24 hours since the first packet.
1154 -)))
1020 +* First Packet after OTAA Join
1021 +* Every 24 hours since the first packet.
1155 1155  
1156 -(((
1157 1157  PID is default set to disable (0)
1158 -)))
1159 1159  
1025 +
1160 1160  (% style="color:#4f81bd" %)**AT Command:**
1161 1161  
1028 +
1162 1162  [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
1163 1163  
1164 1164  
1165 1165  (% style="color:#4f81bd" %)**Downlink Command:**
1166 1166  
1167 -* **0xA800**  **~-~->** AT+PID=0
1168 -* **0xA801**     **~-~->** AT+PID=1
1169 1169  
1035 +* 0xA800  **~-~->** AT+PID=0
1036 +* 0xA801     **~-~->** AT+PID=1
1170 1170  
1038 +
1039 +
1171 1171  == 4.4 Set Password ==
1172 1172  
1173 1173  Feature: Set device password, max 9 digits
... ... @@ -1174,9 +1174,11 @@
1174 1174  
1175 1175  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1176 1176  
1046 +
1177 1177  [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
1178 1178  
1179 1179  
1050 +
1180 1180  (% style="color:#4f81bd" %)**Downlink Command:**
1181 1181  
1182 1182  No downlink command for this feature.
... ... @@ -1185,13 +1185,17 @@
1185 1185  
1186 1186  == 4.5 Quit AT Command ==
1187 1187  
1059 +
1188 1188  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1189 1189  
1062 +
1190 1190  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1191 1191  
1065 +
1192 1192  [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
1193 1193  
1194 1194  
1069 +
1195 1195  (% style="color:#4f81bd" %)**Downlink Command:**
1196 1196  
1197 1197  No downlink command for this feature.
... ... @@ -1200,32 +1200,40 @@
1200 1200  
1201 1201  == 4.6 Set to sleep mode ==
1202 1202  
1078 +
1203 1203  Feature: Set device to sleep mode
1204 1204  
1205 -* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1206 -* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1081 +* AT+Sleep=0  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1082 +* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1207 1207  
1208 1208  (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1209 1209  
1086 +
1210 1210  [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
1211 1211  
1212 1212  
1090 +
1213 1213  (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1214 1214  
1093 +
1215 1215  * There is no downlink command to set to Sleep mode.
1216 1216  
1217 -
1218 1218  == 4.7 Set system time ==
1219 1219  
1098 +
1220 1220  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1221 1221  
1101 +
1222 1222  (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1223 1223  
1104 +
1224 1224  [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
1225 1225  
1226 1226  
1108 +
1227 1227  (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1228 1228  
1111 +
1229 1229  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1230 1230  
1231 1231  
... ... @@ -1232,13 +1232,10 @@
1232 1232  
1233 1233  == 4.8 Set Time Sync Mode ==
1234 1234  
1235 -(((
1118 +
1236 1236  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
1237 -)))
1238 1238  
1239 -(((
1240 1240  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.
1241 -)))
1242 1242  
1243 1243  (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1244 1244  
... ... @@ -1245,6 +1245,7 @@
1245 1245  [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
1246 1246  
1247 1247  
1128 +
1248 1248  (% style="color:#4f81bd" %)**Downlink Command:**
1249 1249  
1250 1250  0x28 01 ~/~/ Same As AT+SYNCMOD=1
... ... @@ -1254,30 +1254,39 @@
1254 1254  
1255 1255  == 4.9 Set Time Sync Interval ==
1256 1256  
1138 +
1257 1257  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1258 1258  
1141 +
1259 1259  (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1260 1260  
1144 +
1261 1261  [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1262 1262  
1263 1263  
1148 +
1264 1264  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1265 1265  
1266 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1267 1267  
1152 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A
1268 1268  
1269 1269  
1155 +
1270 1270  == 4.10 Print data entries base on page. ==
1271 1271  
1272 1272  Feature: Print the sector data from start page to stop page (max is 416 pages).
1273 1273  
1160 +
1274 1274  (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1275 1275  
1163 +
1276 1276  [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1277 1277  
1278 1278  
1167 +
1279 1279  (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1280 1280  
1170 +
1281 1281  No downlink commands for feature
1282 1282  
1283 1283  
... ... @@ -1286,8 +1286,10 @@
1286 1286  
1287 1287  Feature: Print the last few data entries
1288 1288  
1179 +
1289 1289  (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1290 1290  
1182 +
1291 1291  [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1292 1292  
1293 1293  
... ... @@ -1312,6 +1312,8 @@
1312 1312  * Example: 0xA301 ~/~/Same as AT+CLRDTA
1313 1313  
1314 1314  
1207 +
1208 +
1315 1315  == 4.13 Auto Send None-ACK messages ==
1316 1316  
1317 1317  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
... ... @@ -1331,6 +1331,7 @@
1331 1331  * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1332 1332  
1333 1333  
1228 +
1334 1334  = 5. Battery & How to replace =
1335 1335  
1336 1336  == 5.1 Battery Type ==
... ... @@ -1390,11 +1390,16 @@
1390 1390  
1391 1391  (% _msthash="506061" _msttexthash="170755" %)**Connection:**
1392 1392  
1393 -* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND**
1394 -* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1395 -* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1396 -* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1288 +(% _msthash="506062" _msttexthash="1187732" %)
1289 +**✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)**
1397 1397  
1291 +(% _msthash="506063" _msttexthash="1158313" %)**✓  **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1292 +
1293 +(% _msthash="506064" _msttexthash="1175629" %)**✓  **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1294 +
1295 +(% _msthash="506065" _msttexthash="1164696" %)**✓  **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1296 +
1297 +
1398 1398  (((
1399 1399  In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
1400 1400  )))
... ... @@ -1703,59 +1703,7 @@
1703 1703  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1704 1704  
1705 1705  
1706 -== 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1707 1707  
1708 -[[image:image-20220623110706-1.png]]
1709 -
1710 -
1711 -[[image:image-20220623112117-4.png||height="459" width="343"]]
1712 -
1713 -(((
1714 -In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
1715 -)))
1716 -
1717 -
1718 -Input password and ATZ to activate LHT65N,As shown below:
1719 -
1720 -[[image:image-20220615154519-3.png||height="672" width="807"]]
1721 -
1722 -
1723 -== 6.6 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1724 -
1725 -[[image:image-20220623110706-1.png]]
1726 -
1727 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1728 -
1729 -[[image:image-20220615170542-5.png]]
1730 -
1731 -
1732 -(% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1733 -
1734 -(% _msthash="506146" _msttexthash="52173160" %)
1735 -First connect the four lines;
1736 -
1737 -(% _msthash="506146" _msttexthash="52173160" %)
1738 -[[image:image-20220623113959-5.png||height="528" width="397"]]
1739 -
1740 -(% _msthash="506146" _msttexthash="52173160" %)
1741 -Press and hold the start key to restart and enter  (% _mstvisible="1" %)bootlaod(%%) mode.
1742 -
1743 -(% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1744 -
1745 -[[image:image-20220615171334-6.png]]
1746 -
1747 -
1748 -Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
1749 -
1750 -
1751 -When this interface appears, it indicates that the download has been completed.
1752 -
1753 -[[image:image-20220620160723-8.png]]
1754 -
1755 -
1756 -Finally,restart reset device again
1757 -
1758 -
1759 1759  = 7. Order Info =
1760 1760  
1761 1761  
... ... @@ -1784,6 +1784,8 @@
1784 1784  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1785 1785  
1786 1786  
1635 +
1636 +
1787 1787  = 8. Packing Info =
1788 1788  
1789 1789  
... ... @@ -1790,14 +1790,18 @@
1790 1790  **Package Includes**:
1791 1791  
1792 1792  * LHT65N Temperature & Humidity Sensor x 1
1793 -* Optional external sensor
1794 1794  
1644 +*Optional external sensor
1645 +
1646 +
1795 1795  **Dimension and weight**:
1796 1796  
1797 1797  * Device Size:  10 x 10 x 3.5 cm
1650 +
1798 1798  * Device Weight: 120.5g
1799 1799  
1800 1800  
1654 +
1801 1801  = 9. Reference material =
1802 1802  
1803 1803  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
image-20220623110706-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -689.7 KB
Content
image-20220623110723-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -501.5 KB
Content
image-20220623111949-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -1.6 MB
Content
image-20220623112117-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -513.9 KB
Content
image-20220623113959-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -834.2 KB
Content