Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 230.1
edited by Bei Jinggeng
on 2023/03/13 09:40
on 2023/03/13 09:40
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +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 ... ... @@ -259,10 +259,11 @@ 259 259 260 260 Check the battery voltage for LHT65N. 261 261 262 -* BAT status=(0Xcba4>>14)&0xFF=11( DEC) /B(HEX)263 -* Battery Voltage =0xCB A4&0x3FFF=0x0BA4=2980mV266 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 267 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 264 264 265 265 270 + 266 266 === 2.4.3 Built-in Temperature === 267 267 268 268 ... ... @@ -275,6 +275,7 @@ 275 275 * Temperature: (0xF5C6-65536)/100=-26.18℃ 276 276 277 277 283 + 278 278 === 2.4.4 Built-in Humidity === 279 279 280 280 ... ... @@ -283,6 +283,7 @@ 283 283 * Humidity: 0x025C/10=60.4% 284 284 285 285 292 + 286 286 === 2.4.5 Ext # === 287 287 288 288 ... ... @@ -310,16 +310,11 @@ 310 310 311 311 * External temperature= (0xF54F-65536)/100=-27.37℃ 312 312 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 - 317 317 The last 2 bytes of data are meaningless 318 318 319 319 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 320 320 321 321 322 - 323 323 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 324 324 325 325 ... ... @@ -384,6 +384,7 @@ 384 384 * (% 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) 385 385 386 386 389 + 387 387 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 388 388 389 389 ... ... @@ -432,7 +432,6 @@ 432 432 [[image:image-20220628151143-7.png||_mstalt="431210"]] 433 433 434 434 435 - 436 436 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 437 437 438 438 ... ... @@ -449,7 +449,6 @@ 449 449 The external cable NE2 can be use for MOD4 and MOD8 450 450 451 451 452 - 453 453 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 454 454 455 455 ... ... @@ -496,7 +496,6 @@ 496 496 [[image:image-20220906101145-3.png||_mstalt="428688"]] 497 497 498 498 499 - 500 500 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 501 501 502 502 ... ... @@ -862,18 +862,17 @@ 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 -* (% 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. 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. 877 877 878 878 (% style="color:#4f81bd" %)**Downlink Command:** 879 879 ... ... @@ -881,7 +881,7 @@ 881 881 882 882 MOD=03 883 883 884 - TEMP=DS18B20883 +EXT=01 885 885 886 886 CITEMP=003C(S) 887 887 ... ... @@ -893,6 +893,7 @@ 893 893 894 894 ARTEMP=01 895 895 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 - TEMP=DS18B20902 +EXT=01 903 903 904 904 Temp1=0992 ~/~/ 24.50℃ 905 905 ... ... @@ -907,9 +907,10 @@ 907 907 908 908 Temp3=09C4 ~/~/ 25.00℃ 909 909 910 + 910 910 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 911 911 912 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 913 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 913 913 ))) 914 914 915 915 ... ... @@ -969,6 +969,7 @@ 969 969 * For each success downlink, the PURPLE LED will blink once 970 970 971 971 973 + 972 972 == 2.9 installation == 973 973 974 974 ... ... @@ -1022,6 +1022,7 @@ 1022 1022 * Working voltage 2.35v ~~ 5v 1023 1023 1024 1024 1027 + 1025 1025 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1026 1026 1027 1027 ... ... @@ -1091,6 +1091,7 @@ 1091 1091 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1092 1092 1093 1093 1097 + 1094 1094 == 4.2 Set External Sensor Mode == 1095 1095 1096 1096 ... ... @@ -1115,6 +1115,7 @@ 1115 1115 * 0xA20702003c: Same as AT+SETCNT=60 1116 1116 1117 1117 1122 + 1118 1118 == 4.3 Enable/Disable uplink Temperature probe ID == 1119 1119 1120 1120 ... ... @@ -1146,6 +1146,7 @@ 1146 1146 * **0xA801** **~-~->** AT+PID=1 1147 1147 1148 1148 1154 + 1149 1149 == 4.4 Set Password == 1150 1150 1151 1151 ... ... @@ -1196,6 +1196,7 @@ 1196 1196 * There is no downlink command to set to Sleep mode. 1197 1197 1198 1198 1205 + 1199 1199 == 4.7 Set system time == 1200 1200 1201 1201 ... ... @@ -1300,6 +1300,7 @@ 1300 1300 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1301 1301 1302 1302 1310 + 1303 1303 == 4.13 Auto Send None-ACK messages == 1304 1304 1305 1305 ... ... @@ -1319,6 +1319,7 @@ 1319 1319 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1320 1320 1321 1321 1330 + 1322 1322 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1323 1323 1324 1324 ... ... @@ -1764,6 +1764,7 @@ 1764 1764 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1765 1765 1766 1766 1776 + 1767 1767 = 8. Packing Info = 1768 1768 1769 1769 ... ... @@ -1778,6 +1778,7 @@ 1778 1778 * Device Weight: 120.5g 1779 1779 1780 1780 1791 + 1781 1781 = 9. Reference material = 1782 1782 1783 1783 ... ... @@ -1784,6 +1784,7 @@ 1784 1784 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1785 1785 1786 1786 1798 + 1787 1787 = 10. FCC Warning = 1788 1788 1789 1789