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

From version 222.1
edited by Edwin Chen
on 2022/11/19 11:48
Change comment: There is no comment for this version
To version 223.2
edited by Xiaoling
on 2022/12/02 15:11
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
... ... @@ -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,7 +183,6 @@
183 183  [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]]
184 184  
185 185  
186 -
187 187  === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
188 188  
189 189  
... ... @@ -194,7 +194,6 @@
194 194  [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]]
195 195  
196 196  
197 -
198 198  == 2.4 Uplink Payload   ( Fport~=2) ==
199 199  
200 200  
... ... @@ -242,6 +242,8 @@
242 242  * The 7th byte (EXT #): defines the external sensor model.
243 243  * 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.)
244 244  
241 +
242 +
245 245  === 2.4.1 Decoder in TTN V3 ===
246 246  
247 247  
... ... @@ -253,7 +253,6 @@
253 253  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
254 254  
255 255  
256 -
257 257  === 2.4.2 BAT-Battery Info ===
258 258  
259 259  
... ... @@ -270,6 +270,8 @@
270 270  * BAT status=(0Xcba4>>14)&0xFF=11(B),very good
271 271  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
272 272  
270 +
271 +
273 273  === 2.4.3 Built-in Temperature ===
274 274  
275 275  
... ... @@ -281,6 +281,8 @@
281 281  
282 282  * Temperature:  (0xF5C6-65536)/100=-26.18℃
283 283  
283 +
284 +
284 284  === 2.4.4 Built-in Humidity ===
285 285  
286 286  
... ... @@ -288,6 +288,8 @@
288 288  
289 289  * Humidity:    0x025C/10=60.4%
290 290  
292 +
293 +
291 291  === 2.4.5 Ext # ===
292 292  
293 293  
... ... @@ -296,10 +296,8 @@
296 296  [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
297 297  
298 298  
299 -
300 300  === 2.4.6 Ext value ===
301 301  
302 -
303 303  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
304 304  
305 305  
... ... @@ -322,7 +322,6 @@
322 322  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
323 323  
324 324  
325 -
326 326  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
327 327  
328 328  
... ... @@ -386,6 +386,8 @@
386 386  * (% 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.
387 387  * (% 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)
388 388  
389 +
390 +
389 389  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
390 390  
391 391  
... ... @@ -434,7 +434,6 @@
434 434  [[image:image-20220628151143-7.png]]
435 435  
436 436  
437 -
438 438  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
439 439  
440 440  
... ... @@ -451,7 +451,6 @@
451 451  The external cable NE2 can be use for MOD4 and MOD8
452 452  
453 453  
454 -
455 455  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
456 456  
457 457  
... ... @@ -498,7 +498,6 @@
498 498  [[image:image-20220906101145-3.png]]
499 499  
500 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  
... ... @@ -630,7 +630,6 @@
630 630  [[image:image-20220703111700-2.png||height="381" width="1119"]]
631 631  
632 632  
633 -
634 634  === 2.6.2 Unix TimeStamp ===
635 635  
636 636  
... ... @@ -647,10 +647,10 @@
647 647  
648 648  [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]]
649 649  
645 +
650 650  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
651 651  
652 652  
653 -
654 654  === 2.6.3 Set Device Time ===
655 655  
656 656  
... ... @@ -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  
... ... @@ -778,7 +778,6 @@
778 778  Unix time is 0x60066009=1611030423s=21/1/19 04:27:03
779 779  
780 780  
781 -
782 782  == 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
783 783  
784 784  
... ... @@ -790,11 +790,10 @@
790 790  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
791 791  
792 792  
793 -
794 794  === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) ===
795 795  
796 796  
797 -**Internal GXHT30 temperature alarm**
788 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)**
798 798  
799 799  (((
800 800  (% class="box infomessage" %)
... ... @@ -858,7 +858,7 @@
858 858  TEMPhigh=0014
859 859  
860 860  
861 -**Fluctuation alarm for DS18B20 and TMP117**
852 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)**
862 862  
863 863  **AT+WMOD=2,60,5** 
864 864  
... ... @@ -875,7 +875,7 @@
875 875  
876 876  ==== **Sampling multiple times and uplink together** ====
877 877  
878 -**AT+WMOD=3,1,60,20,-16,32,1** 
869 +**AT+WMOD=3,1,60,20,-16,32,1**   
879 879  
880 880  Explain:
881 881  
... ... @@ -885,7 +885,6 @@
885 885  * Temperature alarm range is **-16** to **32**°C,
886 886  * **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.
887 887  
888 -
889 889  (% style="color:#4f81bd" %)**Downlink Command:**
890 890  
891 891  **Example: **A50301003C14FFF0002001
... ... @@ -967,7 +967,6 @@
967 967  TEMPhigh=003C
968 968  
969 969  
970 -
971 971  == 2.8 LED Indicator ==
972 972  
973 973  
... ... @@ -982,6 +982,8 @@
982 982  * RED LED when external sensor is not connected
983 983  * For each success downlink, the PURPLE LED will blink once
984 984  
974 +
975 +
985 985  == 2.9 installation ==
986 986  
987 987  
... ... @@ -989,10 +989,8 @@
989 989  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
990 990  
991 991  
992 -
993 993  = 3. Sensors and Accessories =
994 994  
995 -
996 996  == 3.1 E2 Extension Cable ==
997 997  
998 998  
... ... @@ -1023,8 +1023,6 @@
1023 1023  [[image:image-20220619092421-3.png||height="371" width="529"]]
1024 1024  
1025 1025  
1026 -
1027 -
1028 1028  == 3.2 E3 Temperature Probe ==
1029 1029  
1030 1030  
... ... @@ -1039,6 +1039,8 @@
1039 1039  * Operating Range: -40 ~~ 125 °C
1040 1040  * Working voltage 2.35v ~~ 5v
1041 1041  
1029 +
1030 +
1042 1042  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1043 1043  
1044 1044  
... ... @@ -1086,7 +1086,6 @@
1086 1086  )))
1087 1087  
1088 1088  
1089 -
1090 1090  == 4.1 Set Transmit Interval Time ==
1091 1091  
1092 1092  
... ... @@ -1108,6 +1108,8 @@
1108 1108  
1109 1109  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1110 1110  
1099 +
1100 +
1111 1111  == 4.2 Set External Sensor Mode ==
1112 1112  
1113 1113  
... ... @@ -1131,6 +1131,8 @@
1131 1131  
1132 1132  * 0xA20702003c: Same as AT+SETCNT=60
1133 1133  
1124 +
1125 +
1134 1134  == 4.3 Enable/Disable uplink Temperature probe ID ==
1135 1135  
1136 1136  
... ... @@ -1161,6 +1161,8 @@
1161 1161  * **0xA800**  **~-~->** AT+PID=0
1162 1162  * **0xA801**     **~-~->** AT+PID=1
1163 1163  
1156 +
1157 +
1164 1164  == 4.4 Set Password ==
1165 1165  
1166 1166  
... ... @@ -1177,7 +1177,6 @@
1177 1177  No downlink command for this feature.
1178 1178  
1179 1179  
1180 -
1181 1181  == 4.5 Quit AT Command ==
1182 1182  
1183 1183  
... ... @@ -1194,7 +1194,6 @@
1194 1194  No downlink command for this feature.
1195 1195  
1196 1196  
1197 -
1198 1198  == 4.6 Set to sleep mode ==
1199 1199  
1200 1200  
... ... @@ -1212,6 +1212,8 @@
1212 1212  
1213 1213  * There is no downlink command to set to Sleep mode.
1214 1214  
1207 +
1208 +
1215 1215  == 4.7 Set system time ==
1216 1216  
1217 1217  
... ... @@ -1228,7 +1228,6 @@
1228 1228  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1229 1229  
1230 1230  
1231 -
1232 1232  == 4.8 Set Time Sync Mode ==
1233 1233  
1234 1234  
... ... @@ -1253,7 +1253,6 @@
1253 1253  0x28 00  ~/~/  Same As AT+SYNCMOD=0
1254 1254  
1255 1255  
1256 -
1257 1257  == 4.9 Set Time Sync Interval ==
1258 1258  
1259 1259  
... ... @@ -1270,7 +1270,6 @@
1270 1270  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1271 1271  
1272 1272  
1273 -
1274 1274  == 4.10 Print data entries base on page. ==
1275 1275  
1276 1276  
... ... @@ -1287,7 +1287,6 @@
1287 1287  No downlink commands for feature
1288 1288  
1289 1289  
1290 -
1291 1291  == 4.11 Print last few data entries. ==
1292 1292  
1293 1293  
... ... @@ -1304,7 +1304,6 @@
1304 1304  No downlink commands for feature
1305 1305  
1306 1306  
1307 -
1308 1308  == 4.12 Clear Flash Record ==
1309 1309  
1310 1310  
... ... @@ -1320,6 +1320,8 @@
1320 1320  
1321 1321  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1322 1322  
1312 +
1313 +
1323 1323  == 4.13 Auto Send None-ACK messages ==
1324 1324  
1325 1325  
... ... @@ -1338,6 +1338,8 @@
1338 1338  
1339 1339  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1340 1340  
1332 +
1333 +
1341 1341  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1342 1342  
1343 1343  
... ... @@ -1390,22 +1390,19 @@
1390 1390  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.
1391 1391  
1392 1392  
1393 -
1394 1394  = 5. Battery & How to replace =
1395 1395  
1396 -
1397 1397  == 5.1 Battery Type ==
1398 1398  
1399 1399  
1400 -
1401 1401  (((
1402 1402  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.
1403 1403  )))
1404 1404  
1405 -
1406 -
1407 1407  (((
1408 1408  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1397 +
1398 +
1409 1409  [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1410 1410  )))
1411 1411  
... ... @@ -1412,7 +1412,6 @@
1412 1412  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1413 1413  
1414 1414  
1415 -
1416 1416  == 5.2 Replace Battery ==
1417 1417  
1418 1418  
... ... @@ -1421,7 +1421,6 @@
1421 1421  [[image:image-20220515075440-2.png||_mstalt="429546" _mstvisible="3" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" _mstvisible="3" height="193" width="257"]]
1422 1422  
1423 1423  
1424 -
1425 1425  == 5.3 Battery Life Analyze ==
1426 1426  
1427 1427  
... ... @@ -1436,10 +1436,8 @@
1436 1436  )))
1437 1437  
1438 1438  
1439 -
1440 1440  = 6. FAQ =
1441 1441  
1442 -
1443 1443  == 6.1 How to use AT Command? ==
1444 1444  
1445 1445  
... ... @@ -1660,7 +1660,6 @@
1660 1660  AT+PID:  Get or set the PID
1661 1661  
1662 1662  
1663 -
1664 1664  == 6.2 Where to use AT commands and Downlink commands ==
1665 1665  
1666 1666  
... ... @@ -1700,7 +1700,6 @@
1700 1700  [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1701 1701  
1702 1702  
1703 -
1704 1704  == 6.3 How to change the uplink interval? ==
1705 1705  
1706 1706  
... ... @@ -1707,7 +1707,6 @@
1707 1707  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);"]]
1708 1708  
1709 1709  
1710 -
1711 1711  == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1712 1712  
1713 1713  
... ... @@ -1726,7 +1726,6 @@
1726 1726  [[image:image-20220615154519-3.png||height="672" width="807"]]
1727 1727  
1728 1728  
1729 -
1730 1730  == 6.5 How to use TTL-USB to connect PC to upgrade firmware? ==
1731 1731  
1732 1732  
... ... @@ -1769,7 +1769,6 @@
1769 1769  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1770 1770  
1771 1771  
1772 -
1773 1773  == 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1774 1774  
1775 1775  
... ... @@ -1789,7 +1789,6 @@
1789 1789  [[image:image-20220615154519-3.png||height="672" width="807"]]
1790 1790  
1791 1791  
1792 -
1793 1793  == 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1794 1794  
1795 1795  
... ... @@ -1831,7 +1831,6 @@
1831 1831  Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode
1832 1832  
1833 1833  
1834 -
1835 1835  = 7. Order Info =
1836 1836  
1837 1837  
... ... @@ -1852,6 +1852,7 @@
1852 1852  
1853 1853  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1854 1854  
1834 +
1855 1855  = 8. Packing Info =
1856 1856  
1857 1857  
... ... @@ -1865,11 +1865,13 @@
1865 1865  * Device Size:  10 x 10 x 3.5 mm
1866 1866  * Device Weight: 120.5g
1867 1867  
1848 +
1868 1868  = 9. Reference material =
1869 1869  
1870 1870  
1871 1871  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1872 1872  
1854 +
1873 1873  = 10. FCC Warning =
1874 1874  
1875 1875