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

From version 210.10
edited by Xiaoling
on 2022/10/26 16:52
Change comment: There is no comment for this version
To version 223.3
edited by Xiaoling
on 2022/12/02 15:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -16,7 +16,6 @@
16 16  
17 17  = 1. Introduction =
18 18  
19 -
20 20  == 1.1 What is LHT65N Temperature & Humidity Sensor ==
21 21  
22 22  
... ... @@ -45,7 +45,6 @@
45 45  )))
46 46  
47 47  
48 -
49 49  == 1.2 Features ==
50 50  
51 51  
... ... @@ -61,6 +61,8 @@
61 61  * Tri-color LED to indicate working status
62 62  * Datalog feature (Max 3328 records)
63 63  
62 +
63 +
64 64  == 1.3 Specification ==
65 65  
66 66  
... ... @@ -85,9 +85,10 @@
85 85  * ±2°C accuracy from -55°C to +125°C
86 86  * Operating Range: -55 °C ~~ 125 °C
87 87  
88 -= 2. Connect LHT65N to IoT Server =
89 89  
90 90  
90 += 2. Connect LHT65N to IoT Server =
91 +
91 91  == 2.1 How does LHT65N work? ==
92 92  
93 93  
... ... @@ -100,7 +100,6 @@
100 100  )))
101 101  
102 102  
103 -
104 104  == 2.2 How to Activate LHT65N? ==
105 105  
106 106  
... ... @@ -109,7 +109,7 @@
109 109  )))
110 110  
111 111  * (((
112 -(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesnt have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.
112 +(% 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.
113 113  )))
114 114  * (((
115 115  (% 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. 
... ... @@ -125,7 +125,6 @@
125 125  [[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]]
126 126  
127 127  
128 -
129 129  == 2.3 Example to join LoRaWAN network ==
130 130  
131 131  
... ... @@ -142,7 +142,6 @@
142 142  )))
143 143  
144 144  
145 -
146 146  === 2.3.1 Step 1: Create Device n TTN ===
147 147  
148 148  
... ... @@ -183,8 +183,6 @@
183 183  [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]]
184 184  
185 185  
186 -
187 -
188 188  === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
189 189  
190 190  
... ... @@ -195,7 +195,6 @@
195 195  [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]]
196 196  
197 197  
198 -
199 199  == 2.4 Uplink Payload   ( Fport~=2) ==
200 200  
201 201  
... ... @@ -243,6 +243,8 @@
243 243  * The 7th byte (EXT #): defines the external sensor model.
244 244  * 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.)
245 245  
241 +
242 +
246 246  === 2.4.1 Decoder in TTN V3 ===
247 247  
248 248  
... ... @@ -254,7 +254,6 @@
254 254  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
255 255  
256 256  
257 -
258 258  === 2.4.2 BAT-Battery Info ===
259 259  
260 260  
... ... @@ -271,6 +271,8 @@
271 271  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
272 272  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
273 273  
270 +
271 +
274 274  === 2.4.3 Built-in Temperature ===
275 275  
276 276  
... ... @@ -282,6 +282,8 @@
282 282  
283 283  * Temperature:  (0xF5C6-65536)/100=-26.18℃
284 284  
283 +
284 +
285 285  === 2.4.4 Built-in Humidity ===
286 286  
287 287  
... ... @@ -289,6 +289,8 @@
289 289  
290 290  * Humidity:    0x025C/10=60.4%
291 291  
292 +
293 +
292 292  === 2.4.5 Ext # ===
293 293  
294 294  
... ... @@ -297,10 +297,8 @@
297 297  [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
298 298  
299 299  
300 -
301 301  === 2.4.6 Ext value ===
302 302  
303 -
304 304  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
305 305  
306 306  
... ... @@ -311,6 +311,8 @@
311 311  
312 312  The last 2 bytes of data are meaningless
313 313  
314 +
315 +
314 314  [[image:image-20220522235639-6.png||_mstalt="433212" _mstvisible="3"]]
315 315  
316 316  
... ... @@ -321,7 +321,6 @@
321 321  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
322 322  
323 323  
324 -
325 325  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
326 326  
327 327  
... ... @@ -385,6 +385,8 @@
385 385  * (% style="color:blue" %)**Sync time OK**: (%%) 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server.
386 386  * (% style="color:blue" %)**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)
387 387  
389 +
390 +
388 388  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
389 389  
390 390  
... ... @@ -433,7 +433,6 @@
433 433  [[image:image-20220628151143-7.png]]
434 434  
435 435  
436 -
437 437  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
438 438  
439 439  
... ... @@ -450,7 +450,6 @@
450 450  The external cable NE2 can be use for MOD4 and MOD8
451 451  
452 452  
453 -
454 454  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
455 455  
456 456  
... ... @@ -497,8 +497,6 @@
497 497  [[image:image-20220906101145-3.png]]
498 498  
499 499  
500 -
501 -
502 502  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
503 503  
504 504  
... ... @@ -550,7 +550,6 @@
550 550  A2 08 02 00 00 00 3C:  Same as AT+ SETCNT=60  (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte)
551 551  
552 552  
553 -
554 554  == 2.5 Show data on Datacake ==
555 555  
556 556  
... ... @@ -598,7 +598,6 @@
598 598  [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]]
599 599  
600 600  
601 -
602 602  == 2.6 Datalog Feature ==
603 603  
604 604  
... ... @@ -607,7 +607,6 @@
607 607  )))
608 608  
609 609  
610 -
611 611  === 2.6.1 Ways to get datalog via LoRaWAN ===
612 612  
613 613  
... ... @@ -618,6 +618,7 @@
618 618  
619 619  (% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.
620 620  
617 +
621 621  (% style="color:red" %)**Note for method 2:**
622 622  
623 623  * a) LHT65N will do an ACK check for data records sending to make sure every data arrive server.
... ... @@ -645,10 +645,10 @@
645 645  
646 646  [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]]
647 647  
645 +
648 648  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
649 649  
650 650  
651 -
652 652  === 2.6.3 Set Device Time ===
653 653  
654 654  
... ... @@ -672,10 +672,8 @@
672 672  (% 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.**
673 673  )))
674 674  
675 -(((
676 -
677 -)))
678 678  
673 +
679 679  (((
680 680  **2. Manually Set Time**
681 681  )))
... ... @@ -685,7 +685,6 @@
685 685  )))
686 686  
687 687  
688 -
689 689  === 2.6.4 Poll sensor value ===
690 690  
691 691  
... ... @@ -703,7 +703,6 @@
703 703  Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s.
704 704  
705 705  
706 -
707 707  === 2.6.5 Datalog Uplink payload ===
708 708  
709 709  
... ... @@ -717,10 +717,8 @@
717 717  )))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4**
718 718  |(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]]
719 719  
720 -
721 721  **Poll message flag & Ext:**
722 722  
723 -
724 724  [[image:image-20221006192726-1.png||height="112" width="754"]]
725 725  
726 726  (% style="color:blue" %)**No ACK Message**(%%):  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)
... ... @@ -731,8 +731,6 @@
731 731  
732 732  * Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
733 733  
734 -
735 -
736 736  For example, in US915 band, the max payload for different DR is:
737 737  
738 738  (% style="color:blue" %)**a) DR0:** (%%)max is 11 bytes so one entry of data
... ... @@ -765,7 +765,7 @@
765 765  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
766 766  
767 767  
768 -7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
757 +__**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
769 769  
770 770  Where the first 11 bytes is for the first entry:
771 771  
... ... @@ -773,19 +773,18 @@
773 773  
774 774  Ext sensor data=0x7FFF/100=327.67
775 775  
776 -Temp=0x0898/100=22.00
765 +Temp=0x088E/100=22.00
777 777  
778 -Hum=0x0146/10=32.6
767 +Hum=0x014B/10=32.6
779 779  
780 780  poll message flag & Ext=0x41,means reply data,Ext=1
781 781  
782 -Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
771 +Unix time is 0x60066009=1611030423s=21/1/19 04:27:03
783 783  
784 784  
774 +== 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
785 785  
786 -== 2.7 Alarm Mode ==
787 787  
788 -
789 789  (((
790 790  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.
791 791  )))
... ... @@ -794,14 +794,15 @@
794 794  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
795 795  
796 796  
797 -
798 798  === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) ===
799 799  
800 800  
788 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)**
789 +
801 801  (((
802 802  (% class="box infomessage" %)
803 803  (((
804 -**AT+WMOD=3,**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
793 +**AT+WMOD=3**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)
805 805  
806 806  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
807 807  
... ... @@ -815,15 +815,120 @@
815 815  )))
816 816  )))
817 817  
807 +(% style="color:#4f81bd" %)**Downlink Command:**
818 818  
819 -
809 +AT+WMOD=1:  A501  ,  AT+WMOD=0 :  A600
810 +
811 +AT+CITEMP=1 : A60001
812 +
813 +AT+ARTEMP=1,60  :  A70001003C
814 +
815 +AT+ARTEMP=-16,60 :  A7FFF0003C
816 +
817 +AT+LEDALARM=1  :  3601
818 +
819 +
820 +(% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX**
821 +
822 +Total bytes: 8 bytes
823 +
824 +**Example: **AA0100010001003C
825 +
826 +WMOD=01
827 +
828 +CITEMP=0001
829 +
830 +TEMPlow=0001
831 +
832 +TEMPhigh=003C
833 +
834 +
835 +**DS18B20 and TMP117 Threshold Alarm**
836 +
837 +**~ AT+WMOD=1,60,-10,20**
838 +
839 +(% style="color:#4f81bd" %)**Downlink Command:**
840 +
841 +**Example: **A5013CFC180014
842 +
843 +MOD=01
844 +
845 +CITEMP=3C(S)
846 +
847 +TEMPlow=FC18
848 +
849 +TEMPhigh=0014
850 +
851 +
852 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)**
853 +
854 +**AT+WMOD=2,60,5** 
855 +
856 +(% style="color:#4f81bd" %)**Downlink Command:**
857 +
858 +**Example: **A5023C05
859 +
860 +MOD=02
861 +
862 +CITEMP=3C(S)
863 +
864 +temperature fluctuation=05
865 +
866 +
867 +==== **Sampling multiple times and uplink together** ====
868 +
869 +**AT+WMOD=3,1,60,20,-16,32,1**   
870 +
871 +Explain:
872 +
873 +* Set Working Mode to **Mode 3**
874 +* Sampling Interval is **60**s.
875 +* When there is **20** sampling dats, Device will send these data via one uplink. (max value is 60, means max 60 sampling in one uplink)
876 +* Temperature alarm range is **-16** to **32**°C,
877 +* **1** to enable temperature alarm, **0** to disable the temperature alarm. If alarm is enabled, a data will be sent immediately  if temperate exceeds the Alarm range.
878 +
879 +(% style="color:#4f81bd" %)**Downlink Command:**
880 +
881 +**Example: **A50301003C14FFF0002001
882 +
883 +MOD=03
884 +
885 +EXT=01
886 +
887 +CITEMP=003C(S)
888 +
889 +Total number of acquisitions=14
890 +
891 +TEMPlow=FFF0
892 +
893 +TEMPhigh=0020
894 +
895 +ARTEMP=01
896 +
897 +
898 +**Uplink payload( Fport=3)**
899 +
900 +**Example: CBEA**01**0992**//0A41//**09C4**
901 +
902 +BatV=CBEA
903 +
904 +EXT=01
905 +
906 +Temp1=0992  ~/~/ 24.50℃
907 +
908 +Temp2=0A41  ~/~/ 26.25℃
909 +
910 +Temp3=09C4  ~/~/ 25.00℃
911 +
912 +
913 +(% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
914 +
915 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
820 820  )))
821 821  
822 -(((
918 +
823 823  === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) ===
824 824  
825 -
826 -)))
827 827  
828 828  (% _mstvisible="1" class="box infomessage" %)
829 829  (((
... ... @@ -863,7 +863,6 @@
863 863  TEMPhigh=003C
864 864  
865 865  
866 -
867 867  == 2.8 LED Indicator ==
868 868  
869 869  
... ... @@ -878,6 +878,8 @@
878 878  * RED LED when external sensor is not connected
879 879  * For each success downlink, the PURPLE LED will blink once
880 880  
974 +
975 +
881 881  == 2.9 installation ==
882 882  
883 883  
... ... @@ -885,10 +885,8 @@
885 885  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
886 886  
887 887  
888 -
889 889  = 3. Sensors and Accessories =
890 890  
891 -
892 892  == 3.1 E2 Extension Cable ==
893 893  
894 894  
... ... @@ -919,8 +919,6 @@
919 919  [[image:image-20220619092421-3.png||height="371" width="529"]]
920 920  
921 921  
922 -
923 -
924 924  == 3.2 E3 Temperature Probe ==
925 925  
926 926  
... ... @@ -935,6 +935,8 @@
935 935  * Operating Range: -40 ~~ 125 °C
936 936  * Working voltage 2.35v ~~ 5v
937 937  
1029 +
1030 +
938 938  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
939 939  
940 940  
... ... @@ -982,7 +982,6 @@
982 982  )))
983 983  
984 984  
985 -
986 986  == 4.1 Set Transmit Interval Time ==
987 987  
988 988  
... ... @@ -1004,6 +1004,8 @@
1004 1004  
1005 1005  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1006 1006  
1099 +
1100 +
1007 1007  == 4.2 Set External Sensor Mode ==
1008 1008  
1009 1009  
... ... @@ -1027,6 +1027,8 @@
1027 1027  
1028 1028  * 0xA20702003c: Same as AT+SETCNT=60
1029 1029  
1124 +
1125 +
1030 1030  == 4.3 Enable/Disable uplink Temperature probe ID ==
1031 1031  
1032 1032  
... ... @@ -1057,6 +1057,8 @@
1057 1057  * **0xA800**  **~-~->** AT+PID=0
1058 1058  * **0xA801**     **~-~->** AT+PID=1
1059 1059  
1156 +
1157 +
1060 1060  == 4.4 Set Password ==
1061 1061  
1062 1062  
... ... @@ -1073,7 +1073,6 @@
1073 1073  No downlink command for this feature.
1074 1074  
1075 1075  
1076 -
1077 1077  == 4.5 Quit AT Command ==
1078 1078  
1079 1079  
... ... @@ -1090,7 +1090,6 @@
1090 1090  No downlink command for this feature.
1091 1091  
1092 1092  
1093 -
1094 1094  == 4.6 Set to sleep mode ==
1095 1095  
1096 1096  
... ... @@ -1108,6 +1108,8 @@
1108 1108  
1109 1109  * There is no downlink command to set to Sleep mode.
1110 1110  
1207 +
1208 +
1111 1111  == 4.7 Set system time ==
1112 1112  
1113 1113  
... ... @@ -1124,7 +1124,6 @@
1124 1124  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1125 1125  
1126 1126  
1127 -
1128 1128  == 4.8 Set Time Sync Mode ==
1129 1129  
1130 1130  
... ... @@ -1149,7 +1149,6 @@
1149 1149  0x28 00  ~/~/  Same As AT+SYNCMOD=0
1150 1150  
1151 1151  
1152 -
1153 1153  == 4.9 Set Time Sync Interval ==
1154 1154  
1155 1155  
... ... @@ -1166,7 +1166,6 @@
1166 1166  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1167 1167  
1168 1168  
1169 -
1170 1170  == 4.10 Print data entries base on page. ==
1171 1171  
1172 1172  
... ... @@ -1183,7 +1183,6 @@
1183 1183  No downlink commands for feature
1184 1184  
1185 1185  
1186 -
1187 1187  == 4.11 Print last few data entries. ==
1188 1188  
1189 1189  
... ... @@ -1200,7 +1200,6 @@
1200 1200  No downlink commands for feature
1201 1201  
1202 1202  
1203 -
1204 1204  == 4.12 Clear Flash Record ==
1205 1205  
1206 1206  
... ... @@ -1216,34 +1216,36 @@
1216 1216  
1217 1217  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1218 1218  
1312 +
1313 +
1219 1219  == 4.13 Auto Send None-ACK messages ==
1220 1220  
1221 1221  
1222 -(% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
1223 1223  Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message.
1224 1224  
1225 1225  
1226 1226  (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD**
1227 1227  
1228 -(% _msthash="315396" _msttexthash="734682" _mstvisible="1" %)
1229 1229  The default factory setting is 0
1230 1230  
1231 -(% _mstvisible="1" border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1232 -(% _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**
1233 -(% _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
1324 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1325 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response**
1326 +|(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1234 1234  
1235 1235  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
1236 1236  
1237 1237  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1238 1238  
1239 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm ==
1240 1240  
1241 1241  
1334 +== 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1335 +
1336 +
1242 1242  Feature: Set internal and external temperature sensor alarms.
1243 1243  
1244 -(% border="1" style="background-color:#ffffcc; color:green; width:450px" %)
1245 -|(%%)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|(%%)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|(%%)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response**
1246 -|(%%)(% style="color:#037691" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|Set internal and external temperature sensor alarms|OK
1339 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1340 +|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response**
1341 +|(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1247 1247  
1248 1248  (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
1249 1249  
... ... @@ -1281,39 +1281,32 @@
1281 1281  
1282 1282  0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105  (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 )
1283 1283  
1379 +0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Need to convert -16 to -1600 for calculation,-1600(DEC)=FFFFFFFFFFFFF9C0(HEX)  FFFFFFFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX))
1380 +
1284 1284  0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2  (AT+WMOD = second byte, third byte, fourth byte)
1285 1285  
1286 1286  0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02.
1287 1287  
1288 1288  
1289 -
1290 1290  = 5. Battery & How to replace =
1291 1291  
1292 -
1293 1293  == 5.1 Battery Type ==
1294 1294  
1295 1295  
1296 1296  (((
1297 -(((
1298 1298  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.
1299 1299  )))
1300 -)))
1301 1301  
1302 1302  (((
1303 -
1304 -)))
1305 -
1306 -(((
1307 -(((
1308 1308  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1397 +
1398 +
1309 1309  [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1310 1310  )))
1311 -)))
1312 1312  
1313 1313  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1314 1314  
1315 1315  
1316 -
1317 1317  == 5.2 Replace Battery ==
1318 1318  
1319 1319  
... ... @@ -1330,9 +1330,6 @@
1330 1330  [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]]
1331 1331  )))
1332 1332  
1333 -(((
1334 -
1335 -)))
1336 1336  
1337 1337  (((
1338 1338  A full detail test report for LHT65N on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]]
... ... @@ -1339,10 +1339,8 @@
1339 1339  )))
1340 1340  
1341 1341  
1342 -
1343 1343  = 6. FAQ =
1344 1344  
1345 -
1346 1346  == 6.1 How to use AT Command? ==
1347 1347  
1348 1348  
... ... @@ -1563,7 +1563,6 @@
1563 1563  AT+PID:  Get or set the PID
1564 1564  
1565 1565  
1566 -
1567 1567  == 6.2 Where to use AT commands and Downlink commands ==
1568 1568  
1569 1569  
... ... @@ -1603,7 +1603,6 @@
1603 1603  [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1604 1604  
1605 1605  
1606 -
1607 1607  == 6.3 How to change the uplink interval? ==
1608 1608  
1609 1609  
... ... @@ -1610,7 +1610,6 @@
1610 1610  Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018" style="background-color: rgb(255, 255, 255);"]]
1611 1611  
1612 1612  
1613 -
1614 1614  == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1615 1615  
1616 1616  
... ... @@ -1629,7 +1629,6 @@
1629 1629  [[image:image-20220615154519-3.png||height="672" width="807"]]
1630 1630  
1631 1631  
1632 -
1633 1633  == 6.5 How to use TTL-USB to connect PC to upgrade firmware? ==
1634 1634  
1635 1635  
... ... @@ -1672,7 +1672,6 @@
1672 1672  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1673 1673  
1674 1674  
1675 -
1676 1676  == 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1677 1677  
1678 1678  
... ... @@ -1692,7 +1692,6 @@
1692 1692  [[image:image-20220615154519-3.png||height="672" width="807"]]
1693 1693  
1694 1694  
1695 -
1696 1696  == 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1697 1697  
1698 1698  
... ... @@ -1714,7 +1714,7 @@
1714 1714  [[image:image-20220623113959-5.png||height="528" width="397"]]
1715 1715  
1716 1716  (% _msthash="506146" _msttexthash="52173160" %)
1717 -Press and hold the start key to restart and enter  (% _mstvisible="1" %)bootlaod(%%) mode.
1794 +Connect A8 and GND with Dupont wire for a while and then separate,enter reset mode
1718 1718  
1719 1719  
1720 1720  
... ... @@ -1731,10 +1731,9 @@
1731 1731  [[image:image-20220620160723-8.png]]
1732 1732  
1733 1733  
1734 -Finally,restart reset device again
1811 +Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode
1735 1735  
1736 1736  
1737 -
1738 1738  = 7. Order Info =
1739 1739  
1740 1740  
... ... @@ -1755,6 +1755,8 @@
1755 1755  
1756 1756  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1757 1757  
1834 +
1835 +
1758 1758  = 8. Packing Info =
1759 1759  
1760 1760  
... ... @@ -1765,14 +1765,18 @@
1765 1765  
1766 1766  **Dimension and weight**:
1767 1767  
1768 -* Device Size:  10 x 10 x 3.5 cm
1846 +* Device Size:  10 x 10 x 3.5 mm
1769 1769  * Device Weight: 120.5g
1770 1770  
1849 +
1850 +
1771 1771  = 9. Reference material =
1772 1772  
1773 1773  
1774 1774  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1775 1775  
1856 +
1857 +
1776 1776  = 10. FCC Warning =
1777 1777  
1778 1778