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

From version 226.2
edited by Xiaoling
on 2023/01/29 11:46
Change comment: There is no comment for this version
To version 230.1
edited by Bei Jinggeng
on 2023/03/13 09:40
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,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,7 +59,6 @@
59 59  * Datalog feature (Max 3328 records)
60 60  
61 61  
62 -
63 63  == 1.3 Specification ==
64 64  
65 65  
... ... @@ -85,7 +85,6 @@
85 85  * Operating Range: -55 °C ~~ 125 °C
86 86  
87 87  
88 -
89 89  = 2. Connect LHT65N to IoT Server =
90 90  
91 91  == 2.1 How does LHT65N work? ==
... ... @@ -238,7 +238,6 @@
238 238  * 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.)
239 239  
240 240  
241 -
242 242  === 2.4.1 Decoder in TTN V3 ===
243 243  
244 244  
... ... @@ -263,11 +263,10 @@
263 263  
264 264  Check the battery voltage for LHT65N.
265 265  
266 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good
267 -* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
262 +* BAT status=(0Xcba4>>14)&0xFF=11(DEC)  /  B(HEX) ,very good
263 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV
268 268  
269 269  
270 -
271 271  === 2.4.3 Built-in Temperature ===
272 272  
273 273  
... ... @@ -280,7 +280,6 @@
280 280  * Temperature:  (0xF5C6-65536)/100=-26.18℃
281 281  
282 282  
283 -
284 284  === 2.4.4 Built-in Humidity ===
285 285  
286 286  
... ... @@ -289,7 +289,6 @@
289 289  * Humidity:    0x025C/10=60.4%
290 290  
291 291  
292 -
293 293  === 2.4.5 Ext # ===
294 294  
295 295  
... ... @@ -317,11 +317,16 @@
317 317  
318 318  * External temperature= (0xF54F-65536)/100=-27.37℃
319 319  
313 +F54F :  (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃
314 +
315 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
316 +
320 320  The last 2 bytes of data are meaningless
321 321  
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  
322 +
325 325  ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ====
326 326  
327 327  
... ... @@ -386,7 +386,6 @@
386 386  * (% 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)
387 387  
388 388  
389 -
390 390  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
391 391  
392 392  
... ... @@ -435,6 +435,7 @@
435 435  [[image:image-20220628151143-7.png||_mstalt="431210"]]
436 436  
437 437  
435 +
438 438  ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ====
439 439  
440 440  
... ... @@ -451,6 +451,7 @@
451 451  The external cable NE2 can be use for MOD4 and MOD8
452 452  
453 453  
452 +
454 454  ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ====
455 455  
456 456  
... ... @@ -497,6 +497,7 @@
497 497  [[image:image-20220906101145-3.png||_mstalt="428688"]]
498 498  
499 499  
499 +
500 500  ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ====
501 501  
502 502  
... ... @@ -862,17 +862,18 @@
862 862  temperature fluctuation=05
863 863  
864 864  
865 -==== **Sampling multiple times and uplink together** ====
865 +**Sampling multiple times and uplink together**
866 866  
867 867  **AT+WMOD=3,1,60,20,-16,32,1**   
868 868  
869 869  Explain:
870 870  
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.
871 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3**
872 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30).
873 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s.
874 +* (% 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)
875 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C,
876 +* (% 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.
876 876  
877 877  (% style="color:#4f81bd" %)**Downlink Command:**
878 878  
... ... @@ -880,7 +880,7 @@
880 880  
881 881  MOD=03
882 882  
883 -EXT=01
884 +TEMP=DS18B20
884 884  
885 885  CITEMP=003C(S)
886 886  
... ... @@ -892,7 +892,6 @@
892 892  
893 893  ARTEMP=01
894 894  
895 -
896 896  **Uplink payload( Fport=3)**
897 897  
898 898  **Example: CBEA**01**0992**//0A41//**09C4**
... ... @@ -899,7 +899,7 @@
899 899  
900 900  BatV=CBEA
901 901  
902 -EXT=01
902 +TEMP=DS18B20
903 903  
904 904  Temp1=0992  ~/~/ 24.50℃
905 905  
... ... @@ -907,10 +907,9 @@
907 907  
908 908  Temp3=09C4  ~/~/ 25.00℃
909 909  
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**
912 +(% 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,7 +970,6 @@
970 970  * For each success downlink, the PURPLE LED will blink once
971 971  
972 972  
973 -
974 974  == 2.9 installation ==
975 975  
976 976  
... ... @@ -1024,7 +1024,6 @@
1024 1024  * Working voltage 2.35v ~~ 5v
1025 1025  
1026 1026  
1027 -
1028 1028  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1029 1029  
1030 1030  
... ... @@ -1094,7 +1094,6 @@
1094 1094  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
1095 1095  
1096 1096  
1097 -
1098 1098  == 4.2 Set External Sensor Mode ==
1099 1099  
1100 1100  
... ... @@ -1119,7 +1119,6 @@
1119 1119  * 0xA20702003c: Same as AT+SETCNT=60
1120 1120  
1121 1121  
1122 -
1123 1123  == 4.3 Enable/Disable uplink Temperature probe ID ==
1124 1124  
1125 1125  
... ... @@ -1151,7 +1151,6 @@
1151 1151  * **0xA801**     **~-~->** AT+PID=1
1152 1152  
1153 1153  
1154 -
1155 1155  == 4.4 Set Password ==
1156 1156  
1157 1157  
... ... @@ -1202,7 +1202,6 @@
1202 1202  * There is no downlink command to set to Sleep mode.
1203 1203  
1204 1204  
1205 -
1206 1206  == 4.7 Set system time ==
1207 1207  
1208 1208  
... ... @@ -1307,7 +1307,6 @@
1307 1307  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
1308 1308  
1309 1309  
1310 -
1311 1311  == 4.13 Auto Send None-ACK messages ==
1312 1312  
1313 1313  
... ... @@ -1327,7 +1327,6 @@
1327 1327  * Example: 0x3401  ~/~/  Same as AT+PNACKMD=1
1328 1328  
1329 1329  
1330 -
1331 1331  == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) ==
1332 1332  
1333 1333  
... ... @@ -1773,7 +1773,6 @@
1773 1773  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1774 1774  
1775 1775  
1776 -
1777 1777  = 8. Packing Info =
1778 1778  
1779 1779  
... ... @@ -1788,7 +1788,6 @@
1788 1788  * Device Weight: 120.5g
1789 1789  
1790 1790  
1791 -
1792 1792  = 9. Reference material =
1793 1793  
1794 1794  
... ... @@ -1795,7 +1795,6 @@
1795 1795  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]]
1796 1796  
1797 1797  
1798 -
1799 1799  = 10. FCC Warning =
1800 1800  
1801 1801