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

From version 232.1
edited by Bei Jinggeng
on 2023/03/21 09:41
Change comment: There is no comment for this version
To version 225.2
edited by Xiaoling
on 2022/12/10 09:35
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,6 +46,7 @@
46 46  == 1.2 Features ==
47 47  
48 48  
49 +* Wall mountable
49 49  * LoRaWAN v1.0.3 Class A protocol
50 50  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915
51 51  * AT Commands to change parameters
... ... @@ -58,6 +58,7 @@
58 58  * Datalog feature (Max 3328 records)
59 59  
60 60  
62 +
61 61  == 1.3 Specification ==
62 62  
63 63  
... ... @@ -83,6 +83,7 @@
83 83  * Operating Range: -55 °C ~~ 125 °C
84 84  
85 85  
88 +
86 86  = 2. Connect LHT65N to IoT Server =
87 87  
88 88  == 2.1 How does LHT65N work? ==
... ... @@ -235,6 +235,7 @@
235 235  * 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.)
236 236  
237 237  
241 +
238 238  === 2.4.1 Decoder in TTN V3 ===
239 239  
240 240  
... ... @@ -253,7 +253,6 @@
253 253  
254 254  [[image:image-20220523152839-18.png||_mstalt="457613"]]
255 255  
256 -(b)stands for binary
257 257  
258 258  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
259 259  
... ... @@ -260,10 +260,11 @@
260 260  
261 261  Check the battery voltage for LHT65N.
262 262  
263 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
264 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
266 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good
267 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
265 265  
266 266  
270 +
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  
283 +
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  
292 +
287 287  === 2.4.5 Ext # ===
288 288  
289 289  
... ... @@ -311,16 +311,11 @@
311 311  
312 312  * External temperature= (0xF54F-65536)/100=-27.37℃
313 313  
314 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
315 -
316 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
317 -
318 318  The last 2 bytes of data are meaningless
319 319  
320 320  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
321 321  
322 322  
323 -
324 324  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
325 325  
326 326  
... ... @@ -385,6 +385,7 @@
385 385  * (% 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)
386 386  
387 387  
389 +
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||_mstalt="431210"]]
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,7 +497,6 @@
497 497  [[image:image-20220906101145-3.png||_mstalt="428688"]]
498 498  
499 499  
500 -
501 501  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
502 502  
503 503  
... ... @@ -863,18 +863,17 @@
863 863  temperature fluctuation=05
864 864  
865 865  
866 -**Sampling multiple times and uplink together**
865 +==== **Sampling multiple times and uplink together** ====
867 867  
868 868  **AT+WMOD=3,1,60,20,-16,32,1**   
869 869  
870 870  Explain:
871 871  
872 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
873 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
874 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
875 -* (% style="color:#037691" %)**parameter4:**(%%)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 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
877 -* (% style="color:#037691" %)**parameter7:**(%%) 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.
871 +* Set Working Mode to **Mode 3**
872 +* Sampling Interval is **60**s.
873 +* 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)
874 +* Temperature alarm range is **-16** to **32**°C,
875 +* **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 878  
879 879  (% style="color:#4f81bd" %)**Downlink Command:**
880 880  
... ... @@ -882,7 +882,7 @@
882 882  
883 883  MOD=03
884 884  
885 -TEMP=DS18B20
883 +EXT=01
886 886  
887 887  CITEMP=003C(S)
888 888  
... ... @@ -894,6 +894,7 @@
894 894  
895 895  ARTEMP=01
896 896  
895 +
897 897  **Uplink payload( Fport=3)**
898 898  
899 899  **Example: CBEA**01**0992**//0A41//**09C4**
... ... @@ -900,7 +900,7 @@
900 900  
901 901  BatV=CBEA
902 902  
903 -TEMP=DS18B20
902 +EXT=01
904 904  
905 905  Temp1=0992  ~/~/ 24.50℃
906 906  
... ... @@ -908,9 +908,10 @@
908 908  
909 909  Temp3=09C4  ~/~/ 25.00℃
910 910  
910 +
911 911  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
912 912  
913 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
913 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
914 914  )))
915 915  
916 916  
... ... @@ -970,6 +970,7 @@
970 970  * For each success downlink, the PURPLE LED will blink once
971 971  
972 972  
973 +
973 973  == 2.9 installation ==
974 974  
975 975  
... ... @@ -1023,6 +1023,7 @@
1023 1023  * Working voltage 2.35v ~~ 5v
1024 1024  
1025 1025  
1027 +
1026 1026  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1027 1027  
1028 1028  
... ... @@ -1092,6 +1092,7 @@
1092 1092  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1093 1093  
1094 1094  
1097 +
1095 1095  == 4.2 Set External Sensor Mode ==
1096 1096  
1097 1097  
... ... @@ -1116,6 +1116,7 @@
1116 1116  * 0xA20702003c: Same as AT+SETCNT=60
1117 1117  
1118 1118  
1122 +
1119 1119  == 4.3 Enable/Disable uplink Temperature probe ID ==
1120 1120  
1121 1121  
... ... @@ -1147,6 +1147,7 @@
1147 1147  * **0xA801**     **~-~->** AT+PID=1
1148 1148  
1149 1149  
1154 +
1150 1150  == 4.4 Set Password ==
1151 1151  
1152 1152  
... ... @@ -1197,6 +1197,7 @@
1197 1197  * There is no downlink command to set to Sleep mode.
1198 1198  
1199 1199  
1205 +
1200 1200  == 4.7 Set system time ==
1201 1201  
1202 1202  
... ... @@ -1301,6 +1301,7 @@
1301 1301  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1302 1302  
1303 1303  
1310 +
1304 1304  == 4.13 Auto Send None-ACK messages ==
1305 1305  
1306 1306  
... ... @@ -1320,6 +1320,7 @@
1320 1320  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1321 1321  
1322 1322  
1330 +
1323 1323  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1324 1324  
1325 1325  
... ... @@ -1581,6 +1581,7 @@
1581 1581  **Downlink commands:**
1582 1582  
1583 1583  
1592 +
1584 1584  (% style="color:blue" %)**TTN:**
1585 1585  
1586 1586  [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
... ... @@ -1638,7 +1638,7 @@
1638 1638  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1639 1639  
1640 1640  
1641 -(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]  first.
1650 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1642 1642  
1643 1643  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1644 1644  
... ... @@ -1679,12 +1679,6 @@
1679 1679  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1680 1680  
1681 1681  
1682 -**UART Port of LHT65N:**
1683 -
1684 -* (% class="mark" %)**PB0: RXD**
1685 -* (% class="mark" %)**PB1: TXD**
1686 -* (% class="mark" %)**GND**
1687 -
1688 1688  [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]]
1689 1689  
1690 1690  
... ... @@ -1704,7 +1704,7 @@
1704 1704  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1705 1705  
1706 1706  
1707 -(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]  first.
1710 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1708 1708  
1709 1709  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1710 1710  
... ... @@ -1765,6 +1765,7 @@
1765 1765  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1766 1766  
1767 1767  
1771 +
1768 1768  = 8. Packing Info =
1769 1769  
1770 1770  
... ... @@ -1779,6 +1779,7 @@
1779 1779  * Device Weight: 120.5g
1780 1780  
1781 1781  
1786 +
1782 1782  = 9. Reference material =
1783 1783  
1784 1784  
... ... @@ -1785,6 +1785,7 @@
1785 1785  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1786 1786  
1787 1787  
1793 +
1788 1788  = 10. FCC Warning =
1789 1789  
1790 1790