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

From version 234.3
edited by Xiaoling
on 2023/04/26 14:37
Change comment: There is no comment for this version
To version 224.1
edited by Bei Jinggeng
on 2022/12/02 15:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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
... ... @@ -57,6 +57,7 @@
57 57  * Tri-color LED to indicate working status
58 58  * Datalog feature (Max 3328 records)
59 59  
61 +
60 60  == 1.3 Specification ==
61 61  
62 62  
... ... @@ -81,6 +81,7 @@
81 81  * ±2°C accuracy from -55°C to +125°C
82 82  * Operating Range: -55 °C ~~ 125 °C
83 83  
86 +
84 84  = 2. Connect LHT65N to IoT Server =
85 85  
86 86  == 2.1 How does LHT65N work? ==
... ... @@ -116,19 +116,9 @@
116 116  
117 117  [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]]
118 118  
119 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
120 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**
121 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)(((
122 -If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once.
123 -)))
124 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)(((
125 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network.
126 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network.
127 -)))
128 -|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode.
122 +[[image:image-20220525110604-2.png||_mstalt="427531"]]
129 129  
130 130  
131 -
132 132  == 2.3 Example to join LoRaWAN network ==
133 133  
134 134  
... ... @@ -156,7 +156,7 @@
156 156  Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below:
157 157  )))
158 158  
159 -[[image:image-20230426083319-1.png]]
152 +[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]]
160 160  
161 161  User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot:
162 162  
... ... @@ -242,6 +242,7 @@
242 242  * The 7th byte (EXT #): defines the external sensor model.
243 243  * 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.)
244 244  
238 +
245 245  === 2.4.1 Decoder in TTN V3 ===
246 246  
247 247  
... ... @@ -260,7 +260,6 @@
260 260  
261 261  [[image:image-20220523152839-18.png||_mstalt="457613"]]
262 262  
263 -(b)stands for binary
264 264  
265 265  [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]]
266 266  
... ... @@ -267,9 +267,10 @@
267 267  
268 268  Check the battery voltage for LHT65N.
269 269  
270 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good
271 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
263 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good
264 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
272 272  
266 +
273 273  === 2.4.3 Built-in Temperature ===
274 274  
275 275  
... ... @@ -281,6 +281,7 @@
281 281  
282 282  * Temperature:  (0xF5C6-65536)/100=-26.18℃
283 283  
278 +
284 284  === 2.4.4 Built-in Humidity ===
285 285  
286 286  
... ... @@ -288,6 +288,7 @@
288 288  
289 289  * Humidity:    0x025C/10=60.4%
290 290  
286 +
291 291  === 2.4.5 Ext # ===
292 292  
293 293  
... ... @@ -315,16 +315,11 @@
315 315  
316 316  * External temperature= (0xF54F-65536)/100=-27.37℃
317 317  
318 -F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
319 -
320 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
321 -
322 322  The last 2 bytes of data are meaningless
323 323  
324 324  If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃
325 325  
326 326  
327 -
328 328  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
329 329  
330 330  
... ... @@ -388,6 +388,7 @@
388 388  * (% 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.
389 389  * (% 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)
390 390  
382 +
391 391  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
392 392  
393 393  
... ... @@ -436,7 +436,6 @@
436 436  [[image:image-20220628151143-7.png||_mstalt="431210"]]
437 437  
438 438  
439 -
440 440  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
441 441  
442 442  
... ... @@ -453,7 +453,6 @@
453 453  The external cable NE2 can be use for MOD4 and MOD8
454 454  
455 455  
456 -
457 457  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
458 458  
459 459  
... ... @@ -500,7 +500,6 @@
500 500  [[image:image-20220906101145-3.png||_mstalt="428688"]]
501 501  
502 502  
503 -
504 504  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
505 505  
506 506  
... ... @@ -673,6 +673,7 @@
673 673  )))
674 674  
675 675  
665 +
676 676  (((
677 677  **2. Manually Set Time**
678 678  )))
... ... @@ -694,7 +694,7 @@
694 694  
695 695  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
696 696  
697 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data
687 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00s data
698 698  
699 699  Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s.
700 700  
... ... @@ -866,18 +866,17 @@
866 866  temperature fluctuation=05
867 867  
868 868  
869 -**Sampling multiple times and uplink together**
859 +==== **Sampling multiple times and uplink together** ====
870 870  
871 871  **AT+WMOD=3,1,60,20,-16,32,1**   
872 872  
873 873  Explain:
874 874  
875 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
876 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
877 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
878 -* (% 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)
879 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
880 -* (% 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.
865 +* Set Working Mode to **Mode 3**
866 +* Sampling Interval is **60**s.
867 +* 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)
868 +* Temperature alarm range is **-16** to **32**°C,
869 +* **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.
881 881  
882 882  (% style="color:#4f81bd" %)**Downlink Command:**
883 883  
... ... @@ -885,7 +885,7 @@
885 885  
886 886  MOD=03
887 887  
888 -TEMP=DS18B20
877 +EXT=01
889 889  
890 890  CITEMP=003C(S)
891 891  
... ... @@ -897,6 +897,7 @@
897 897  
898 898  ARTEMP=01
899 899  
889 +
900 900  **Uplink payload( Fport=3)**
901 901  
902 902  **Example: CBEA**01**0992**//0A41//**09C4**
... ... @@ -903,7 +903,7 @@
903 903  
904 904  BatV=CBEA
905 905  
906 -TEMP=DS18B20
896 +EXT=01
907 907  
908 908  Temp1=0992  ~/~/ 24.50℃
909 909  
... ... @@ -911,9 +911,10 @@
911 911  
912 912  Temp3=09C4  ~/~/ 25.00℃
913 913  
904 +
914 914  (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length**
915 915  
916 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
907 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption**
917 917  )))
918 918  
919 919  
... ... @@ -972,6 +972,7 @@
972 972  * RED LED when external sensor is not connected
973 973  * For each success downlink, the PURPLE LED will blink once
974 974  
966 +
975 975  == 2.9 installation ==
976 976  
977 977  
... ... @@ -1024,6 +1024,7 @@
1024 1024  * Operating Range: -40 ~~ 125 °C
1025 1025  * Working voltage 2.35v ~~ 5v
1026 1026  
1019 +
1027 1027  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1028 1028  
1029 1029  
... ... @@ -1092,6 +1092,7 @@
1092 1092  
1093 1093  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1094 1094  
1088 +
1095 1095  == 4.2 Set External Sensor Mode ==
1096 1096  
1097 1097  
... ... @@ -1115,6 +1115,7 @@
1115 1115  
1116 1116  * 0xA20702003c: Same as AT+SETCNT=60
1117 1117  
1112 +
1118 1118  == 4.3 Enable/Disable uplink Temperature probe ID ==
1119 1119  
1120 1120  
... ... @@ -1145,6 +1145,7 @@
1145 1145  * **0xA800**  **~-~->** AT+PID=0
1146 1146  * **0xA801**     **~-~->** AT+PID=1
1147 1147  
1143 +
1148 1148  == 4.4 Set Password ==
1149 1149  
1150 1150  
... ... @@ -1194,6 +1194,7 @@
1194 1194  
1195 1195  * There is no downlink command to set to Sleep mode.
1196 1196  
1193 +
1197 1197  == 4.7 Set system time ==
1198 1198  
1199 1199  
... ... @@ -1297,6 +1297,7 @@
1297 1297  
1298 1298  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1299 1299  
1297 +
1300 1300  == 4.13 Auto Send None-ACK messages ==
1301 1301  
1302 1302  
... ... @@ -1315,6 +1315,7 @@
1315 1315  
1316 1316  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1317 1317  
1316 +
1318 1318  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1319 1319  
1320 1320  
... ... @@ -1576,6 +1576,7 @@
1576 1576  **Downlink commands:**
1577 1577  
1578 1578  
1578 +
1579 1579  (% style="color:blue" %)**TTN:**
1580 1580  
1581 1581  [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
... ... @@ -1633,7 +1633,7 @@
1633 1633  [[image:image-20220615153355-1.png||_mstalt="430222"]]
1634 1634  
1635 1635  
1636 -(% 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.
1636 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1637 1637  
1638 1638  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1639 1639  
... ... @@ -1674,12 +1674,6 @@
1674 1674  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1675 1675  
1676 1676  
1677 -**UART Port of LHT65N:**
1678 -
1679 -* (% class="mark" %)**PB0: RXD**
1680 -* (% class="mark" %)**PB1: TXD**
1681 -* (% class="mark" %)**GND**
1682 -
1683 1683  [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]]
1684 1684  
1685 1685  
... ... @@ -1699,7 +1699,7 @@
1699 1699  [[image:image-20220623110706-1.png||_mstalt="427869"]]
1700 1700  
1701 1701  
1702 -(% 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.
1696 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1703 1703  
1704 1704  [[image:image-20220615170542-5.png||_mstalt="430638"]]
1705 1705  
... ... @@ -1731,14 +1731,6 @@
1731 1731  Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode
1732 1732  
1733 1733  
1734 -== 6.8 Why can't I see the datalog information ==
1735 -
1736 -
1737 -~1. The time is not aligned, and the correct query command is not used.
1738 -
1739 -2. Decoder error, did not parse the datalog data, the data was filtered.
1740 -
1741 -
1742 1742  = 7. Order Info =
1743 1743  
1744 1744  
... ... @@ -1759,6 +1759,7 @@
1759 1759  
1760 1760  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1761 1761  
1748 +
1762 1762  = 8. Packing Info =
1763 1763  
1764 1764  
... ... @@ -1772,11 +1772,13 @@
1772 1772  * Device Size:  10 x 10 x 3.5 mm
1773 1773  * Device Weight: 120.5g
1774 1774  
1762 +
1775 1775  = 9. Reference material =
1776 1776  
1777 1777  
1778 1778  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1779 1779  
1768 +
1780 1780  = 10. FCC Warning =
1781 1781  
1782 1782  
... ... @@ -1785,3 +1785,6 @@
1785 1785  (1) This device may not cause harmful interference;
1786 1786  
1787 1787  (2) this device must accept any interference received, including interference that may cause undesired operation.
1777 +
1778 +
1779 +
image-20230426083319-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -190.0 KB
Content