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

From version 224.1
edited by Bei Jinggeng
on 2022/12/02 15:53
Change comment: There is no comment for this version
To version 228.3
edited by Xiaoling
on 2023/02/17 09:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Bei
1 +XWiki.Xiaoling
Content
... ... @@ -46,7 +46,6 @@
46 46  == 1.2 Features ==
47 47  
48 48  
49 -* Wall mountable
50 50  * LoRaWAN v1.0.3 Class A protocol
51 51  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
52 52  * AT Commands to change parameters
... ... @@ -59,6 +59,7 @@
59 59  * Datalog feature (Max 3328 records)
60 60  
61 61  
61 +
62 62  == 1.3 Specification ==
63 63  
64 64  
... ... @@ -84,6 +84,7 @@
84 84  * Operating Range: -55 °C ~~ 125 °C
85 85  
86 86  
87 +
87 87  = 2. Connect LHT65N to IoT Server =
88 88  
89 89  == 2.1 How does LHT65N work? ==
... ... @@ -236,6 +236,7 @@
236 236  * The 8^^th^^ ~~ 11^^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.)
237 237  
238 238  
240 +
239 239  === 2.4.1 Decoder in TTN V3 ===
240 240  
241 241  
... ... @@ -264,6 +264,7 @@
264 264  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
265 265  
266 266  
269 +
267 267  === 2.4.3 Built-in Temperature ===
268 268  
269 269  
... ... @@ -276,6 +276,7 @@
276 276  * Temperature:  (0xF5C6-65536)/100=-26.18℃
277 277  
278 278  
282 +
279 279  === 2.4.4 Built-in Humidity ===
280 280  
281 281  
... ... @@ -284,6 +284,7 @@
284 284  * Humidity:    0x025C/10=60.4%
285 285  
286 286  
291 +
287 287  === 2.4.5 Ext # ===
288 288  
289 289  
... ... @@ -311,11 +311,16 @@
311 311  
312 312  * External temperature= (0xF54F-65536)/100=-27.37℃
313 313  
319 +F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
320 +
321 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
322 +
314 314  The last 2 bytes of data are meaningless
315 315  
316 316  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
317 317  
318 318  
328 +
319 319  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
320 320  
321 321  
... ... @@ -380,6 +380,7 @@
380 380  * (% 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)
381 381  
382 382  
393 +
383 383  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
384 384  
385 385  
... ... @@ -428,6 +428,7 @@
428 428  [[image:image-20220628151143-7.png||_mstalt="431210"]]
429 429  
430 430  
442 +
431 431  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
432 432  
433 433  
... ... @@ -444,6 +444,7 @@
444 444  The external cable NE2 can be use for MOD4 and MOD8
445 445  
446 446  
459 +
447 447  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
448 448  
449 449  
... ... @@ -490,6 +490,7 @@
490 490  [[image:image-20220906101145-3.png||_mstalt="428688"]]
491 491  
492 492  
506 +
493 493  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
494 494  
495 495  
... ... @@ -662,7 +662,6 @@
662 662  )))
663 663  
664 664  
665 -
666 666  (((
667 667  **2. Manually Set Time**
668 668  )))
... ... @@ -684,7 +684,7 @@
684 684  
685 685  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
686 686  
687 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00s data
700 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data
688 688  
689 689  Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s.
690 690  
... ... @@ -858,6 +858,7 @@
858 858  
859 859  ==== **Sampling multiple times and uplink together** ====
860 860  
874 +
861 861  **AT+WMOD=3,1,60,20,-16,32,1**   
862 862  
863 863  Explain:
... ... @@ -964,6 +964,7 @@
964 964  * For each success downlink, the PURPLE LED will blink once
965 965  
966 966  
981 +
967 967  == 2.9 installation ==
968 968  
969 969  
... ... @@ -1017,6 +1017,7 @@
1017 1017  * Working voltage 2.35v ~~ 5v
1018 1018  
1019 1019  
1035 +
1020 1020  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1021 1021  
1022 1022  
... ... @@ -1086,6 +1086,7 @@
1086 1086  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1087 1087  
1088 1088  
1105 +
1089 1089  == 4.2 Set External Sensor Mode ==
1090 1090  
1091 1091  
... ... @@ -1110,6 +1110,7 @@
1110 1110  * 0xA20702003c: Same as AT+SETCNT=60
1111 1111  
1112 1112  
1130 +
1113 1113  == 4.3 Enable/Disable uplink Temperature probe ID ==
1114 1114  
1115 1115  
... ... @@ -1141,6 +1141,7 @@
1141 1141  * **0xA801**     **~-~->** AT+PID=1
1142 1142  
1143 1143  
1162 +
1144 1144  == 4.4 Set Password ==
1145 1145  
1146 1146  
... ... @@ -1191,6 +1191,7 @@
1191 1191  * There is no downlink command to set to Sleep mode.
1192 1192  
1193 1193  
1213 +
1194 1194  == 4.7 Set system time ==
1195 1195  
1196 1196  
... ... @@ -1295,6 +1295,7 @@
1295 1295  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1296 1296  
1297 1297  
1318 +
1298 1298  == 4.13 Auto Send None-ACK messages ==
1299 1299  
1300 1300  
... ... @@ -1314,6 +1314,7 @@
1314 1314  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1315 1315  
1316 1316  
1338 +
1317 1317  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1318 1318  
1319 1319  
... ... @@ -1575,7 +1575,6 @@
1575 1575  **Downlink commands:**
1576 1576  
1577 1577  
1578 -
1579 1579  (% style="color:blue" %)**TTN:**
1580 1580  
1581 1581  [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
... ... @@ -1674,6 +1674,12 @@
1674 1674  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1675 1675  
1676 1676  
1698 +**UART Port of LHT65N:**
1699 +
1700 +* (% class="mark" %)**PB0: RXD**
1701 +* (% class="mark" %)**PB1: TXD**
1702 +* (% class="mark" %)**GND**
1703 +
1677 1677  [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]]
1678 1678  
1679 1679  
... ... @@ -1725,6 +1725,14 @@
1725 1725  Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode
1726 1726  
1727 1727  
1755 +== 6.8 Why can't I see the datalog information ==
1756 +
1757 +
1758 +~1. The time is not aligned, and the correct query command is not used.
1759 +
1760 +2. Decoder error, did not parse the datalog data, the data was filtered.
1761 +
1762 +
1728 1728  = 7. Order Info =
1729 1729  
1730 1730  
... ... @@ -1746,6 +1746,7 @@
1746 1746  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1747 1747  
1748 1748  
1784 +
1749 1749  = 8. Packing Info =
1750 1750  
1751 1751  
... ... @@ -1760,6 +1760,7 @@
1760 1760  * Device Weight: 120.5g
1761 1761  
1762 1762  
1799 +
1763 1763  = 9. Reference material =
1764 1764  
1765 1765  
... ... @@ -1766,6 +1766,7 @@
1766 1766  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1767 1767  
1768 1768  
1806 +
1769 1769  = 10. FCC Warning =
1770 1770  
1771 1771