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

From version 217.2
edited by Xiaoling
on 2022/11/12 17:20
Change comment: There is no comment for this version
To version 223.4
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  
... ... @@ -63,7 +63,6 @@
63 63  
64 64  
65 65  
66 -
67 67  == 1.3 Specification ==
68 68  
69 69  
... ... @@ -90,10 +90,8 @@
90 90  
91 91  
92 92  
93 -
94 94  = 2. Connect LHT65N to IoT Server =
95 95  
96 -
97 97  == 2.1 How does LHT65N work? ==
98 98  
99 99  
... ... @@ -106,7 +106,6 @@
106 106  )))
107 107  
108 108  
109 -
110 110  == 2.2 How to Activate LHT65N? ==
111 111  
112 112  
... ... @@ -115,7 +115,7 @@
115 115  )))
116 116  
117 117  * (((
118 -(% 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.
119 119  )))
120 120  * (((
121 121  (% 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. 
... ... @@ -131,7 +131,6 @@
131 131  [[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]]
132 132  
133 133  
134 -
135 135  == 2.3 Example to join LoRaWAN network ==
136 136  
137 137  
... ... @@ -148,7 +148,6 @@
148 148  )))
149 149  
150 150  
151 -
152 152  === 2.3.1 Step 1: Create Device n TTN ===
153 153  
154 154  
... ... @@ -189,8 +189,6 @@
189 189  [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]]
190 190  
191 191  
192 -
193 -
194 194  === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. ===
195 195  
196 196  
... ... @@ -201,7 +201,6 @@
201 201  [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]]
202 202  
203 203  
204 -
205 205  == 2.4 Uplink Payload   ( Fport~=2) ==
206 206  
207 207  
... ... @@ -250,6 +250,7 @@
250 250  * 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.)
251 251  
252 252  
242 +
253 253  === 2.4.1 Decoder in TTN V3 ===
254 254  
255 255  
... ... @@ -261,7 +261,6 @@
261 261  [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]]
262 262  
263 263  
264 -
265 265  === 2.4.2 BAT-Battery Info ===
266 266  
267 267  
... ... @@ -280,7 +280,6 @@
280 280  
281 281  
282 282  
283 -
284 284  === 2.4.3 Built-in Temperature ===
285 285  
286 286  
... ... @@ -294,7 +294,6 @@
294 294  
295 295  
296 296  
297 -
298 298  === 2.4.4 Built-in Humidity ===
299 299  
300 300  
... ... @@ -304,7 +304,6 @@
304 304  
305 305  
306 306  
307 -
308 308  === 2.4.5 Ext # ===
309 309  
310 310  
... ... @@ -313,10 +313,8 @@
313 313  [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]]
314 314  
315 315  
316 -
317 317  === 2.4.6 Ext value ===
318 318  
319 -
320 320  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
321 321  
322 322  
... ... @@ -339,7 +339,6 @@
339 339  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
340 340  
341 341  
342 -
343 343  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
344 344  
345 345  
... ... @@ -405,7 +405,6 @@
405 405  
406 406  
407 407  
408 -
409 409  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
410 410  
411 411  
... ... @@ -454,7 +454,6 @@
454 454  [[image:image-20220628151143-7.png]]
455 455  
456 456  
457 -
458 458  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
459 459  
460 460  
... ... @@ -471,7 +471,6 @@
471 471  The external cable NE2 can be use for MOD4 and MOD8
472 472  
473 473  
474 -
475 475  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
476 476  
477 477  
... ... @@ -518,7 +518,6 @@
518 518  [[image:image-20220906101145-3.png]]
519 519  
520 520  
521 -
522 522  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
523 523  
524 524  
... ... @@ -570,7 +570,6 @@
570 570  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)
571 571  
572 572  
573 -
574 574  == 2.5 Show data on Datacake ==
575 575  
576 576  
... ... @@ -618,7 +618,6 @@
618 618  [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]]
619 619  
620 620  
621 -
622 622  == 2.6 Datalog Feature ==
623 623  
624 624  
... ... @@ -627,7 +627,6 @@
627 627  )))
628 628  
629 629  
630 -
631 631  === 2.6.1 Ways to get datalog via LoRaWAN ===
632 632  
633 633  
... ... @@ -650,7 +650,6 @@
650 650  [[image:image-20220703111700-2.png||height="381" width="1119"]]
651 651  
652 652  
653 -
654 654  === 2.6.2 Unix TimeStamp ===
655 655  
656 656  
... ... @@ -667,10 +667,10 @@
667 667  
668 668  [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]]
669 669  
645 +
670 670  So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25
671 671  
672 672  
673 -
674 674  === 2.6.3 Set Device Time ===
675 675  
676 676  
... ... @@ -705,7 +705,6 @@
705 705  )))
706 706  
707 707  
708 -
709 709  === 2.6.4 Poll sensor value ===
710 710  
711 711  
... ... @@ -723,7 +723,6 @@
723 723  Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s.
724 724  
725 725  
726 -
727 727  === 2.6.5 Datalog Uplink payload ===
728 728  
729 729  
... ... @@ -798,7 +798,6 @@
798 798  Unix time is 0x60066009=1611030423s=21/1/19 04:27:03
799 799  
800 800  
801 -
802 802  == 2.7 Alarm Mode & Feature "Multi sampling, one uplink" ==
803 803  
804 804  
... ... @@ -810,11 +810,10 @@
810 810  (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.**
811 811  
812 812  
813 -
814 814  === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) ===
815 815  
816 816  
817 -**Internal GXHT30 temperature alarm**
788 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)**
818 818  
819 819  (((
820 820  (% class="box infomessage" %)
... ... @@ -878,7 +878,7 @@
878 878  TEMPhigh=0014
879 879  
880 880  
881 -**Fluctuation alarm for DS18B20 and TMP117**
852 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)**
882 882  
883 883  **AT+WMOD=2,60,5** 
884 884  
... ... @@ -895,8 +895,16 @@
895 895  
896 896  ==== **Sampling multiple times and uplink together** ====
897 897  
898 -**AT+WMOD=3,1,60,20,-16,32,1**  ~/~/ Mode 3, the collection interval is 60s, the total number of collection is 20 times, and the data of these 20 times will be sent to the 20th time, with a maximum of 60 groups, the normal working temperature range is -16 to 32°C, 1 is to open the temperature alarm, 0 is to close the temperature alarm, and the temperature is turned on. After the alarm, if the temperature collected at the current time exceeds the normal working temperature, a data will be sent immediately.
869 +**AT+WMOD=3,1,60,20,-16,32,1**   
899 899  
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 +
900 900  (% style="color:#4f81bd" %)**Downlink Command:**
901 901  
902 902  **Example: **A50301003C14FFF0002001
... ... @@ -918,7 +918,7 @@
918 918  
919 919  **Uplink payload( Fport=3)**
920 920  
921 -**Example: **CBEA0109920A4109C4
900 +**Example: CBEA**01**0992**//0A41//**09C4**
922 922  
923 923  BatV=CBEA
924 924  
... ... @@ -934,13 +934,12 @@
934 934  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
935 935  
936 936  (% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
937 -
938 938  )))
939 939  
940 940  
941 941  === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) ===
942 942  
943 -
921 +
944 944  (% _mstvisible="1" class="box infomessage" %)
945 945  (((
946 946  (((
... ... @@ -979,7 +979,6 @@
979 979  TEMPhigh=003C
980 980  
981 981  
982 -
983 983  == 2.8 LED Indicator ==
984 984  
985 985  
... ... @@ -996,7 +996,6 @@
996 996  
997 997  
998 998  
999 -
1000 1000  == 2.9 installation ==
1001 1001  
1002 1002  
... ... @@ -1004,10 +1004,8 @@
1004 1004  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
1005 1005  
1006 1006  
1007 -
1008 1008  = 3. Sensors and Accessories =
1009 1009  
1010 -
1011 1011  == 3.1 E2 Extension Cable ==
1012 1012  
1013 1013  
... ... @@ -1038,8 +1038,6 @@
1038 1038  [[image:image-20220619092421-3.png||height="371" width="529"]]
1039 1039  
1040 1040  
1041 -
1042 -
1043 1043  == 3.2 E3 Temperature Probe ==
1044 1044  
1045 1045  
... ... @@ -1056,7 +1056,6 @@
1056 1056  
1057 1057  
1058 1058  
1059 -
1060 1060  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1061 1061  
1062 1062  
... ... @@ -1104,7 +1104,6 @@
1104 1104  )))
1105 1105  
1106 1106  
1107 -
1108 1108  == 4.1 Set Transmit Interval Time ==
1109 1109  
1110 1110  
... ... @@ -1128,7 +1128,6 @@
1128 1128  
1129 1129  
1130 1130  
1131 -
1132 1132  == 4.2 Set External Sensor Mode ==
1133 1133  
1134 1134  
... ... @@ -1154,7 +1154,6 @@
1154 1154  
1155 1155  
1156 1156  
1157 -
1158 1158  == 4.3 Enable/Disable uplink Temperature probe ID ==
1159 1159  
1160 1160  
... ... @@ -1187,7 +1187,6 @@
1187 1187  
1188 1188  
1189 1189  
1190 -
1191 1191  == 4.4 Set Password ==
1192 1192  
1193 1193  
... ... @@ -1204,7 +1204,6 @@
1204 1204  No downlink command for this feature.
1205 1205  
1206 1206  
1207 -
1208 1208  == 4.5 Quit AT Command ==
1209 1209  
1210 1210  
... ... @@ -1221,7 +1221,6 @@
1221 1221  No downlink command for this feature.
1222 1222  
1223 1223  
1224 -
1225 1225  == 4.6 Set to sleep mode ==
1226 1226  
1227 1227  
... ... @@ -1241,7 +1241,6 @@
1241 1241  
1242 1242  
1243 1243  
1244 -
1245 1245  == 4.7 Set system time ==
1246 1246  
1247 1247  
... ... @@ -1258,7 +1258,6 @@
1258 1258  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1259 1259  
1260 1260  
1261 -
1262 1262  == 4.8 Set Time Sync Mode ==
1263 1263  
1264 1264  
... ... @@ -1283,7 +1283,6 @@
1283 1283  0x28 00  ~/~/  Same As AT+SYNCMOD=0
1284 1284  
1285 1285  
1286 -
1287 1287  == 4.9 Set Time Sync Interval ==
1288 1288  
1289 1289  
... ... @@ -1300,7 +1300,6 @@
1300 1300  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
1301 1301  
1302 1302  
1303 -
1304 1304  == 4.10 Print data entries base on page. ==
1305 1305  
1306 1306  
... ... @@ -1317,7 +1317,6 @@
1317 1317  No downlink commands for feature
1318 1318  
1319 1319  
1320 -
1321 1321  == 4.11 Print last few data entries. ==
1322 1322  
1323 1323  
... ... @@ -1334,7 +1334,6 @@
1334 1334  No downlink commands for feature
1335 1335  
1336 1336  
1337 -
1338 1338  == 4.12 Clear Flash Record ==
1339 1339  
1340 1340  
... ... @@ -1352,7 +1352,6 @@
1352 1352  
1353 1353  
1354 1354  
1355 -
1356 1356  == 4.13 Auto Send None-ACK messages ==
1357 1357  
1358 1358  
... ... @@ -1373,7 +1373,6 @@
1373 1373  
1374 1374  
1375 1375  
1376 -
1377 1377  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1378 1378  
1379 1379  
... ... @@ -1426,22 +1426,19 @@
1426 1426  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.
1427 1427  
1428 1428  
1429 -
1430 1430  = 5. Battery & How to replace =
1431 1431  
1432 -
1433 1433  == 5.1 Battery Type ==
1434 1434  
1435 1435  
1436 -
1437 1437  (((
1438 1438  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.
1439 1439  )))
1440 1440  
1441 -
1442 -
1443 1443  (((
1444 1444  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1397 +
1398 +
1445 1445  [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1446 1446  )))
1447 1447  
... ... @@ -1448,7 +1448,6 @@
1448 1448  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1449 1449  
1450 1450  
1451 -
1452 1452  == 5.2 Replace Battery ==
1453 1453  
1454 1454  
... ... @@ -1457,7 +1457,6 @@
1457 1457  [[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"]]
1458 1458  
1459 1459  
1460 -
1461 1461  == 5.3 Battery Life Analyze ==
1462 1462  
1463 1463  
... ... @@ -1472,10 +1472,8 @@
1472 1472  )))
1473 1473  
1474 1474  
1475 -
1476 1476  = 6. FAQ =
1477 1477  
1478 -
1479 1479  == 6.1 How to use AT Command? ==
1480 1480  
1481 1481  
... ... @@ -1696,7 +1696,6 @@
1696 1696  AT+PID:  Get or set the PID
1697 1697  
1698 1698  
1699 -
1700 1700  == 6.2 Where to use AT commands and Downlink commands ==
1701 1701  
1702 1702  
... ... @@ -1736,7 +1736,6 @@
1736 1736  [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
1737 1737  
1738 1738  
1739 -
1740 1740  == 6.3 How to change the uplink interval? ==
1741 1741  
1742 1742  
... ... @@ -1743,7 +1743,6 @@
1743 1743  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);"]]
1744 1744  
1745 1745  
1746 -
1747 1747  == 6.4 How to use TTL-USB to connect a PC to input AT commands? ==
1748 1748  
1749 1749  
... ... @@ -1762,7 +1762,6 @@
1762 1762  [[image:image-20220615154519-3.png||height="672" width="807"]]
1763 1763  
1764 1764  
1765 -
1766 1766  == 6.5 How to use TTL-USB to connect PC to upgrade firmware? ==
1767 1767  
1768 1768  
... ... @@ -1805,7 +1805,6 @@
1805 1805  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1806 1806  
1807 1807  
1808 -
1809 1809  == 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1810 1810  
1811 1811  
... ... @@ -1825,7 +1825,6 @@
1825 1825  [[image:image-20220615154519-3.png||height="672" width="807"]]
1826 1826  
1827 1827  
1828 -
1829 1829  == 6.7 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1830 1830  
1831 1831  
... ... @@ -1847,7 +1847,7 @@
1847 1847  [[image:image-20220623113959-5.png||height="528" width="397"]]
1848 1848  
1849 1849  (% _msthash="506146" _msttexthash="52173160" %)
1850 -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
1851 1851  
1852 1852  
1853 1853  
... ... @@ -1864,10 +1864,9 @@
1864 1864  [[image:image-20220620160723-8.png]]
1865 1865  
1866 1866  
1867 -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
1868 1868  
1869 1869  
1870 -
1871 1871  = 7. Order Info =
1872 1872  
1873 1873  
... ... @@ -1890,7 +1890,6 @@
1890 1890  
1891 1891  
1892 1892  
1893 -
1894 1894  = 8. Packing Info =
1895 1895  
1896 1896  
... ... @@ -1901,12 +1901,11 @@
1901 1901  
1902 1902  **Dimension and weight**:
1903 1903  
1904 -* Device Size:  10 x 10 x 3.5 cm
1846 +* Device Size:  10 x 10 x 3.5 mm
1905 1905  * Device Weight: 120.5g
1906 1906  
1907 1907  
1908 1908  
1909 -
1910 1910  = 9. Reference material =
1911 1911  
1912 1912  
... ... @@ -1914,7 +1914,6 @@
1914 1914  
1915 1915  
1916 1916  
1917 -
1918 1918  = 10. FCC Warning =
1919 1919  
1920 1920