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

From version 170.22
edited by Xiaoling
on 2022/06/22 11:07
Change comment: There is no comment for this version
To version 170.18
edited by Xiaoling
on 2022/06/22 10:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -45,6 +45,7 @@
45 45  * Tri-color LED to indicate working status
46 46  * Datalog feature
47 47  
48 +
48 48  == 1.3 Specification ==
49 49  
50 50  
... ... @@ -69,6 +69,7 @@
69 69  * ±2°C accuracy from -55°C to +125°C
70 70  * Operating Range: -55 °C ~~ 125 °C
71 71  
73 +
72 72  = 2. Connect LHT65N to IoT Server =
73 73  
74 74  == 2.1 How does LHT65N work? ==
... ... @@ -241,6 +241,7 @@
241 241  
242 242  
243 243  
246 +
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,7 @@
273 273  
274 274  
275 275  
279 +
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,7 @@
284 284  * Temperature:  (0xF5C6-65536)/100=-26.18℃
285 285  
286 286  
291 +
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,7 @@
291 291  * Humidity:    0x025C/10=60.4%
292 292  
293 293  
299 +
294 294  === 2.4.5 Ext # ===
295 295  
296 296  Bytes for External Sensor:
... ... @@ -405,6 +405,7 @@
405 405  )))
406 406  )))
407 407  
414 +
408 408  (% _mstvisible="1" %)
409 409  * (% _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**
410 410  
... ... @@ -435,6 +435,7 @@
435 435  
436 436  )))
437 437  
445 +
438 438  * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte**
439 439  
440 440  [[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]]
... ... @@ -445,6 +445,7 @@
445 445  
446 446  
447 447  
456 +
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
... ... @@ -520,8 +520,6 @@
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  
522 522  
523 -
524 -
525 525  === 2.6.2 Unix TimeStamp ===
526 526  
527 527  
... ... @@ -555,6 +555,7 @@
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.
556 556  
557 557  
565 +
558 558  **2. Manually Set Time**
559 559  
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.
... ... @@ -871,58 +871,95 @@
871 871  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
872 872  
873 873  
882 +(% _mstvisible="1" style="text-align: left;" %)
883 +== (% _msthash="244504" _msttexthash="177736" _mstvisible="3" %)2.7 Alarm Mode(%%) ==
874 874  
875 -== 2.7 Alarm Mode ==
876 -
885 +(% _msthash="315279" _msttexthash="16493308" _mstvisible="1" style="text-align: left;" %)
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.
878 878  
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.
888 +(% _mstvisible="1" %)
889 +(((
890 +(% _mstvisible="2" style="text-align: left;" %)
891 +(% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
892 +)))
880 880  
881 -**AT COMMAND FOR ALARM MODE:**
894 +(% _mstvisible="1" style="text-align: left;" %)
895 +(% _msthash="315280" _msttexthash="363480" _mstvisible="3" %)**AT COMMAND FOR ALARM MODE:**
882 882  
883 883  (% _mstvisible="1" class="box infomessage" %)
884 884  (((
885 -**AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
899 +(% _msthash="506086" _msttexthash="2193529" _mstvisible="2" style="text-align: left;" %)
900 +(% _istranslated="1" _mstmutation="1" _mstvisible="4" %)**AT+WMOD=1**(%%):  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
886 886  
887 -**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
902 +(% _msthash="506087" _msttexthash="3671265" _mstvisible="2" style="text-align: left;" %)
903 +(% _istranslated="1" _mstvisible="4" %)**AT+CITEMP=1**(%%):  The interval between checking the alarm temperature. (In minutes)
888 888  
889 -**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
905 +(% _msthash="506088" _msttexthash="3310437" _mstvisible="2" style="text-align: left;" %)
906 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP**(%%):  Gets or sets the alarm range of the internal temperature sensor
890 890  
891 -**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
908 +(% _mstvisible="2" style="text-align: left;" %)
909 +(% _istranslated="1" _mstmutation="1" %)**AT+ARTEMP=? **(%%):  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
892 892  
893 -**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
911 +(% _msthash="506089" _msttexthash="3590067" _mstvisible="2" style="text-align: left;" %)
912 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP=45,105**(%%):  Set the internal temperature sensor alarm range from 45 to 105.
894 894  )))
895 895  
896 896  
897 897  
917 +(% _msthash="72514" _msttexthash="253149" _mstvisible="1" style="text-align: left;" %)
918 +== (% _istranslated="1" _msthash="168103" _msttexthash="59969" _mstvisible="3" %)2.8 (%%)LED Indicator ==
898 898  
899 -== 2.8 LED Indicator ==
900 -
920 +(% _mstvisible="1" %)
921 +(((
922 +(% _msthash="197769" _msttexthash="2924142" style="text-align: left;" %)
901 901  The LHT65 has a triple color LED which for easy showing different stage .
902 902  
925 +(% _msthash="289211" _msttexthash="3402659" style="text-align: left;" %)
903 903  While user press ACT button, the LED will work as per LED status with ACT button.
927 +)))
904 904  
929 +(% _mstvisible="1" %)
930 +(((
931 +(% _msthash="506092" _msttexthash="521573" _mstvisible="2" style="text-align: left;" %)
905 905  In a normal working state:
933 +)))
906 906  
907 -* For each uplink, the BLUE LED or RED LED will blink once.
908 - BLUE LED when external sensor is connected.
909 -* RED LED when external sensor is not connected
910 -* For each success downlink, the PURPLE LED will blink once
935 +(% _mstvisible="1" %)
936 +* (% _mstvisible="3" %)
937 +(((
938 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="4" %)
939 +For each uplink, the BLUE LED or RED LED will blink (% _msthash="903005" _msttexthash="46254" _mstvisible="3" %)once(%%).(% style="display:none" %)
911 911  
941 +(% _msthash="197771" _msttexthash="1202526" %)
942 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="3" %)BLUE LED when external sensor is connected
943 +)))
944 +* (% _mstvisible="3" %)
945 +(((
946 +(% _msthash="903007" _msttexthash="1334749" _mstvisible="4" %)
947 +RED LED when external sensor is not connected
948 +)))
949 +* (% _mstvisible="3" %)
950 +(((
951 +(% _msthash="903008" _msttexthash="1875640" _mstvisible="4" %)
952 +For each success downlink, the PURPLE LED will blink once
912 912  
913 913  
955 +
956 +)))
914 914  
915 -== 2.9 installation ==
958 +(% _mstvisible="1" style="text-align: left;" %)
959 +== (% _msthash="112034" _msttexthash="277511" _mstvisible="3" %)2.9 installation(%%) ==
916 916  
917 917  (% _mstvisible="1" %)
918 918  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
919 919  
920 920  
965 +(% _msthash="604150" _msttexthash="563212" _mstvisible="1" style="text-align: left;" %)
966 += (% _msthash="401388" _msttexthash="566956" _mstvisible="3" %)3. S(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ensors(% _msthash="401388" _msttexthash="40417" _mstvisible="3" %) and A(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ccessories(%%) =
921 921  
922 -= 3. Sensors and Accessories =
968 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %)
969 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.1(% _msthash="487110" _msttexthash="455390" %) E2 Extension Cable(%%) ==
923 923  
924 -== 3.1 E2 Extension Cable ==
925 -
926 926  [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
927 927  
928 928  1m long breakout cable for LHT65N
... ... @@ -931,15 +931,17 @@
931 931  
932 932  
933 933  
979 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %)
980 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.2(% _msthash="487110" _msttexthash="455390" %) E3 Temperature Probe(%%) ==
934 934  
935 -== 3.2 E3 Temperature Probe ==
936 -
937 -
982 +(% _mstvisible="1" %)
938 938  [[image:image-20220515080154-4.png||_mstalt="434681" _mstvisible="3" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" _mstvisible="3" height="201" width="195"]]
939 939  
940 940  
986 +(% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %)
941 941  Temperature sensor with 2 meters cable long
942 942  
989 +(% _mstvisible="1" %)
943 943  * Resolution: 0.0625 °C
944 944  * ±0.5°C accuracy from -10°C to +85°C
945 945  * ±2°C accuracy from -55°C to +125°C
... ... @@ -946,232 +946,405 @@
946 946  * Operating Range: -40 ~~ 125 °C
947 947  * Working voltage 2.35v ~~ 5v
948 948  
996 +(% _mstvisible="1" style="text-align: left;" %)
997 += (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) =
949 949  
950 -
951 -
952 -= 4. Configure LHT65N via AT command or LoRaWAN downlink =
953 -
999 +(% _mstvisible="1" %)
1000 +(((
1001 +(% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %)
954 954  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1003 +)))
955 955  
956 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1005 +(% _mstvisible="1" %)
1006 +* (% _mstvisible="3" %)
1007 +(((
1008 +(% _msthash="903318" _msttexthash="635544" _mstvisible="4" %)
1009 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1010 +)))
1011 +* (% _mstvisible="3" %)
1012 +(((
1013 +(% _msthash="903319" _msttexthash="3225859" _mstvisible="4" %)
1014 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1015 +)))
957 957  
958 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1017 +(% _mstvisible="1" %)
1018 +(((
1019 +(% _mstvisible="2" style="text-align: left;" %)
1020 +
1021 +)))
959 959  
1023 +(% _mstvisible="1" %)
1024 +(((
1025 +(% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %)
960 960  There are two kinds of commands to configure LHT65N, they are:
1027 +)))
961 961  
962 -* (% style="color:#4f81bd" %)**General Commands**.
1029 +(% _mstvisible="1" %)
1030 +(((
1031 +(% _mstvisible="2" style="text-align: left;" %)
1032 +(% _msthash="506249" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**General Commands**(% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %).
1033 +)))
963 963  
1035 +(% _mstvisible="1" %)
1036 +(((
1037 +(% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %)
964 964  These commands are to configure:
1039 +)))
965 965  
966 -1. General system settings like: uplink interval.
967 -1. LoRaWAN protocol & radio-related commands.
1041 +(% _mstvisible="1" %)
1042 +* (% _mstvisible="3" %)
1043 +(((
1044 +(% _msthash="903320" _msttexthash="1503580" _mstvisible="4" %)
1045 +General system settings like: uplink interval.
1046 +)))
1047 +* (% _mstvisible="3" %)
1048 +(((
1049 +(% _msthash="903321" _msttexthash="1244334" _mstvisible="4" %)
1050 +LoRaWAN protocol & radio-related commands.
1051 +)))
968 968  
1053 +(% _mstvisible="1" %)
1054 +(((
1055 +(% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %)
969 969  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]]
1057 +)))
970 970  
971 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N**
1059 +(% _mstvisible="1" %)
1060 +(((
1061 +(% _mstvisible="2" style="text-align: left;" %)
1062 +
1063 +)))
972 972  
1065 +(% _mstvisible="1" %)
1066 +(((
1067 +(% _mstvisible="2" style="text-align: left;" %)
1068 +(% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**Commands special design for LHT65N**
1069 +)))
1070 +
1071 +(% _mstvisible="1" %)
1072 +(((
1073 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
973 973  These commands are only valid for LHT65N, as below:
974 974  
975 975  
976 -== 4.1 Set Transmit Interval Time ==
1077 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
1078 +
1079 +)))
977 977  
1081 +(% _mstvisible="1" style="text-align: left;" %)
1082 +== (% _msthash="708253" _msttexthash="668772" _mstvisible="3" %)4.1 Set Transmit Interval Time(%%) ==
1083 +
1084 +(% _msthash="315355" _msttexthash="1659268" _mstvisible="1" style="text-align: left;" %)
978 978  Feature: Change LoRaWAN End Node Transmit Interval.
979 979  
980 -(% style="color:#4f81bd" %)**AT Command: AT+TDC**
1087 +(% _mstvisible="1" style="text-align: left;" %)
1088 +(% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC**
981 981  
1090 +(% _mstvisible="1" %)
982 982  [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
983 983  
1093 +(% _mstvisible="1" %)
1094 +(((
1095 +(% _mstvisible="2" style="text-align: left;" %)
1096 +
984 984  
985 -(% style="color:#4f81bd" %)**Downlink Command: 0x01**
1098 +(% _mstvisible="2" style="text-align: left;" %)
1099 +(% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01**
1100 +)))
986 986  
1102 +(% _mstvisible="1" %)
1103 +(((
1104 +(% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %)
987 987  Format: Command Code (0x01) followed by 3 bytes time value.
1106 +)))
988 988  
1108 +(% _mstvisible="1" %)
1109 +(((
1110 +(% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %)
989 989  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
1112 +)))
990 990  
991 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
1114 +(% _mstvisible="1" %)
1115 +* (% _mstvisible="3" %)
1116 +(((
1117 +(% _msthash="903322" _msttexthash="3250546" _mstvisible="4" %)
1118 +(% _mstvisible="5" %)**Example 1**(%%): Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
1119 +)))
1120 +* (% _mstvisible="3" %)
1121 +(((
1122 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %)
1123 +(% _mstvisible="5" %)**Example 2**(%%): Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
992 992  
993 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
994 994  
1126 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %)
1127 +
1128 +)))
995 995  
996 -== 4.2 Set External Sensor Mode ==
1130 +(% _mstvisible="1" style="text-align: left;" %)
1131 +== (% _msthash="614770" _msttexthash="578240" _mstvisible="3" %)4.2 Set External Sensor Mode(%%) ==
997 997  
1133 +(% _msthash="315357" _msttexthash="975117" _mstvisible="1" style="text-align: left;" %)
998 998  Feature: Change External Sensor Mode.
999 999  
1000 -(% style="color:#4f81bd" %)**AT Command: AT+EXT**
1136 +(% _mstvisible="1" style="text-align: left;" %)
1137 +(% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT**
1001 1001  
1139 +(% _mstvisible="1" %)
1002 1002  [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
1003 1003  
1142 +(% _mstvisible="1" %)
1143 +(((
1144 +(% _mstvisible="2" style="text-align: left;" %)
1145 +
1004 1004  
1005 -(% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1147 +(% _mstvisible="2" style="text-align: left;" %)
1148 +(% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2**
1149 +)))
1006 1006  
1151 +(% _mstvisible="1" %)
1152 +(((
1153 +(% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %)
1007 1007  Total bytes: 2 ~~ 5 bytes
1155 +)))
1008 1008  
1009 -**Example:**
1157 +(% _mstvisible="1" %)
1158 +(((
1159 +(% _mstvisible="2" %)
1160 +(% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:**
1161 +)))
1010 1010  
1011 -* 0xA201: Set external sensor type to E1
1163 +(% _mstvisible="1" %)
1164 +* (% _mstvisible="3" %)
1165 +(((
1166 +(% _msthash="903324" _msttexthash="934973" _mstvisible="4" %)
1167 +0xA201: Set external sensor type to E1
1168 +)))
1169 +* (% _mstvisible="3" %)
1170 +(((
1171 +(% _msthash="903325" _msttexthash="354770" _mstvisible="4" %)
1172 +0xA209: Same as AT+EXT=9
1173 +)))
1174 +* (% _mstvisible="3" %)
1175 +(((
1176 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %)
1177 +0xA20702003c,Same as AT+SETCNT=60
1012 1012  
1013 -* 0xA209: Same as AT+EXT=9
1014 1014  
1015 -* 0xA20702003c: Same as AT+SETCNT=60
1180 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %)
1181 +
1182 +)))
1016 1016  
1184 +(% _mstvisible="1" style="text-align: left;" %)
1185 +== (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) ==
1017 1017  
1018 -
1019 -== 4.3 Enable/Disable uplink Temperature probe ID ==
1020 -
1021 -(((
1187 +(% _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %)
1022 1022  Feature: If PID is enabled, device will send the temperature probe ID on:
1023 -)))
1024 1024  
1025 -* (((
1026 -First Packet after OTAA Join
1027 -)))
1028 -* (((
1029 -Every 24 hours since the first packet.
1030 -)))
1190 +(% _mstvisible="1" %)
1191 +* First Packet after OTAA Join
1192 +* Every 24 hours since the first packet.
1031 1031  
1032 -(((
1194 +(% _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %)
1033 1033  PID is default set to disable (0)
1034 -)))
1035 1035  
1036 -(% style="color:#4f81bd" %)**AT Command:**
1197 +(% _mstvisible="1" style="text-align: left;" %)
1198 +(% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1037 1037  
1200 +(% _mstvisible="1" %)
1038 1038  [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
1039 1039  
1040 1040  
1041 -(% style="color:#4f81bd" %)**Downlink Command:**
1204 +(% _mstvisible="1" style="text-align: left;" %)
1205 +(% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1042 1042  
1043 -* **0xA800**  **~-~->** AT+PID=0
1044 -* **0xA801**     **~-~->** AT+PID=1
1207 +(% _mstvisible="1" %)
1208 +* 0xA800  **~-~->** AT+PID=0
1209 +* 0xA801     **~-~->** AT+PID=1
1045 1045  
1211 +(% _mstvisible="1" style="text-align: left;" %)
1212 +== (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) ==
1046 1046  
1047 -
1048 -== 4.4 Set Password ==
1049 -
1214 +(% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %)
1050 1050  Feature: Set device password, max 9 digits
1051 1051  
1052 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1217 +(% _mstvisible="1" style="text-align: left;" %)
1218 +(% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD**
1053 1053  
1220 +(% _mstvisible="1" %)
1054 1054  [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
1055 1055  
1223 +(% _mstvisible="1" %)
1224 +(((
1225 +(% _mstvisible="2" style="text-align: left;" %)
1226 +
1056 1056  
1057 -(% style="color:#4f81bd" %)**Downlink Command:**
1228 +(% _mstvisible="2" style="text-align: left;" %)
1229 +(% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1230 +)))
1058 1058  
1232 +(% _mstvisible="1" %)
1233 +(((
1234 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
1059 1059  No downlink command for this feature.
1060 1060  
1237 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
1238 +
1239 +)))
1061 1061  
1241 +(% _mstvisible="1" style="text-align: left;" %)
1242 +== (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) ==
1062 1062  
1063 -== 4.5 Quit AT Command ==
1064 -
1244 +(% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %)
1065 1065  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1066 1066  
1067 -(% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1247 +(% _mstvisible="1" style="text-align: left;" %)
1248 +(% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT**
1068 1068  
1250 +(% _mstvisible="1" %)
1069 1069  [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
1070 1070  
1071 1071  
1072 -(% style="color:#4f81bd" %)**Downlink Command:**
1254 +(% _mstvisible="1" style="text-align: left;" %)
1255 +(% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1073 1073  
1257 +(% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %)
1074 1074  No downlink command for this feature.
1075 1075  
1076 1076  
1261 +(% _mstvisible="1" style="text-align: left;" %)
1262 +== (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) ==
1077 1077  
1078 -== 4.6 Set to sleep mode ==
1079 -
1264 +(% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %)
1080 1080  Feature: Set device to sleep mode
1081 1081  
1082 -* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1083 -* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1267 +* AT+Sleep=0  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1268 +* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1084 1084  
1270 +(% _mstvisible="1" style="text-align: left;" %)
1085 1085  (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1086 1086  
1273 +(% _mstvisible="1" %)
1087 1087  [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
1088 1088  
1089 1089  
1277 +(% _mstvisible="1" %)
1090 1090  (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1091 1091  
1280 +(% _mstvisible="1" %)
1092 1092  * There is no downlink command to set to Sleep mode.
1093 1093  
1283 +(% _mstvisible="1" %)
1284 +== (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) ==
1094 1094  
1095 -
1096 -
1097 -== 4.7 Set system time ==
1098 -
1286 +(% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %)
1099 1099  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1100 1100  
1289 +(% _mstvisible="1" %)
1101 1101  (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1102 1102  
1292 +(% _mstvisible="1" %)
1103 1103  [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
1104 1104  
1105 1105  
1296 +(% _mstvisible="1" %)
1106 1106  (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1107 1107  
1299 +(% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %)
1108 1108  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1109 1109  
1110 1110  
1303 +(% _mstvisible="1" %)
1304 +== (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) ==
1111 1111  
1112 -== 4.8 Set Time Sync Mode ==
1113 -
1306 +(% _mstvisible="1" %)
1114 1114  (((
1308 +(% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %)
1115 1115  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
1116 1116  )))
1117 1117  
1312 +(% _mstvisible="1" %)
1118 1118  (((
1314 +(% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %)
1119 1119  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.
1120 1120  )))
1121 1121  
1318 +(% _mstvisible="1" %)
1319 +(((
1320 +(% _mstvisible="2" %)
1122 1122  (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1322 +)))
1123 1123  
1324 +(% _mstvisible="1" %)
1124 1124  [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
1125 1125  
1126 1126  
1127 -(% style="color:#4f81bd" %)**Downlink Command:**
1328 +(% _mstvisible="1" %)
1329 +(% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1128 1128  
1331 +(% _msthash="315377" _msttexthash="479648" _mstvisible="1" %)
1129 1129  0x28 01 ~/~/ Same As AT+SYNCMOD=1
1333 +
1334 +(% _msthash="315378" _msttexthash="479076" _mstvisible="1" %)
1130 1130  0x28 00 ~/~/ Same As AT+SYNCMOD=0
1131 1131  
1132 1132  
1338 +(% _mstvisible="1" %)
1339 +== (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) ==
1133 1133  
1134 -== 4.9 Set Time Sync Interval ==
1135 -
1341 +(% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %)
1136 1136  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1137 1137  
1344 +(% _mstvisible="1" %)
1138 1138  (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1139 1139  
1347 +(% _mstvisible="1" %)
1140 1140  [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1141 1141  
1142 1142  
1351 +(% _mstvisible="1" %)
1143 1143  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1144 1144  
1145 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1354 +(% _msthash="315382" _msttexthash="590044" _mstvisible="1" %)
1355 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A
1146 1146  
1147 1147  
1358 +(% _mstvisible="1" %)
1359 +== (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) ==
1148 1148  
1149 -== 4.10 Print data entries base on page. ==
1150 -
1361 +(% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %)
1151 1151  Feature: Print the sector data from start page to stop page (max is 416 pages).
1152 1152  
1364 +(% _mstvisible="1" %)
1153 1153  (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1154 1154  
1367 +(% _mstvisible="1" %)
1155 1155  [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1156 1156  
1157 1157  
1371 +(% _mstvisible="1" %)
1158 1158  (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1159 1159  
1374 +(% _msthash="315386" _msttexthash="799539" _mstvisible="1" %)
1160 1160  No downlink commands for feature
1161 1161  
1162 1162  
1378 +(% _mstvisible="1" %)
1379 +== (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) ==
1163 1163  
1164 -== 4.11 Print last few data entries. ==
1165 -
1381 +(% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %)
1166 1166  Feature: Print the last few data entries
1167 1167  
1384 +(% _mstvisible="1" %)
1168 1168  (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1169 1169  
1387 +(% _mstvisible="1" %)
1170 1170  [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1171 1171  
1172 1172  
1391 +(% _mstvisible="1" %)
1173 1173  (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1174 1174  
1394 +(% _msthash="315390" _msttexthash="799539" _mstvisible="1" %)
1175 1175  No downlink commands for feature
1176 1176  
1177 1177  
... ... @@ -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,22 +1207,17 @@
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 ==
1220 1220  
1221 1221  (((
1222 -(((
1223 1223  LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters.
1224 1224  )))
1225 -)))
1226 1226  
1227 1227  (((
1228 1228  
... ... @@ -1229,11 +1229,9 @@
1229 1229  )))
1230 1230  
1231 1231  (((
1232 -(((
1233 1233  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1234 1234  [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1235 1235  )))
1236 -)))
1237 1237  
1238 1238  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1239 1239  
... ... @@ -1261,7 +1261,6 @@
1261 1261  )))
1262 1262  
1263 1263  
1264 -
1265 1265  = 6. FAQ =
1266 1266  
1267 1267  == 6.1 How to use AT Command? ==
... ... @@ -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  
... ... @@ -1638,13 +1638,10 @@
1638 1638  
1639 1639  * Device Weight: 120.5g
1640 1640  
1641 -
1642 -
1643 1643  = 9. Reference material =
1644 1644  
1645 1645  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1646 1646  
1647 -
1648 1648  = 10. FCC Warning =
1649 1649  
1650 1650  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: