Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 231.2
edited by Xiaoling
on 2023/03/15 17:03
on 2023/03/15 17:03
Change comment:
There is no comment for this version
To version 226.1
edited by Edwin Chen
on 2023/01/27 10:49
on 2023/01/27 10:49
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. Xiaoling1 +XWiki.Edwin - 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,7 +58,6 @@ 58 58 * Datalog feature (Max 3328 records) 59 59 60 60 61 - 62 62 == 1.3 Specification == 63 63 64 64 ... ... @@ -84,7 +84,6 @@ 84 84 * Operating Range: -55 °C ~~ 125 °C 85 85 86 86 87 - 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 90 == 2.1 How does LHT65N work? == ... ... @@ -237,7 +237,6 @@ 237 237 * 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.) 238 238 239 239 240 - 241 241 === 2.4.1 Decoder in TTN V3 === 242 242 243 243 ... ... @@ -256,7 +256,6 @@ 256 256 257 257 [[image:image-20220523152839-18.png||_mstalt="457613"]] 258 258 259 -(b)stands for binary 260 260 261 261 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 262 262 ... ... @@ -263,11 +263,10 @@ 263 263 264 264 Check the battery voltage for LHT65N. 265 265 266 -* BAT status=(0Xcba4>>14)&0xFF=11 IN)267 -* Battery Voltage =0xCB A4&0x3FFF=0x0BA4=2980mV263 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 264 +* Battery Voltage =0xCBF6&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,16 +317,11 @@ 317 317 318 318 * External temperature= (0xF54F-65536)/100=-27.37℃ 319 319 320 -F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 321 - 322 -(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 323 - 324 324 The last 2 bytes of data are meaningless 325 325 326 326 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 327 327 328 328 329 - 330 330 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 331 331 332 332 ... ... @@ -391,7 +391,6 @@ 391 391 * (% 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) 392 392 393 393 394 - 395 395 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 396 396 397 397 ... ... @@ -440,7 +440,6 @@ 440 440 [[image:image-20220628151143-7.png||_mstalt="431210"]] 441 441 442 442 443 - 444 444 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 445 445 446 446 ... ... @@ -457,7 +457,6 @@ 457 457 The external cable NE2 can be use for MOD4 and MOD8 458 458 459 459 460 - 461 461 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 462 462 463 463 ... ... @@ -504,7 +504,6 @@ 504 504 [[image:image-20220906101145-3.png||_mstalt="428688"]] 505 505 506 506 507 - 508 508 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 509 509 510 510 ... ... @@ -870,18 +870,17 @@ 870 870 temperature fluctuation=05 871 871 872 872 873 -**Sampling multiple times and uplink together** 858 +==== **Sampling multiple times and uplink together** ==== 874 874 875 875 **AT+WMOD=3,1,60,20,-16,32,1** 876 876 877 877 Explain: 878 878 879 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 880 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 881 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 882 -* (% 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) 883 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 884 -* (% 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. 864 +* Set Working Mode to **Mode 3** 865 +* Sampling Interval is **60**s. 866 +* 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) 867 +* Temperature alarm range is **-16** to **32**°C, 868 +* **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. 885 885 886 886 (% style="color:#4f81bd" %)**Downlink Command:** 887 887 ... ... @@ -889,7 +889,7 @@ 889 889 890 890 MOD=03 891 891 892 - TEMP=DS18B20876 +EXT=01 893 893 894 894 CITEMP=003C(S) 895 895 ... ... @@ -901,6 +901,7 @@ 901 901 902 902 ARTEMP=01 903 903 888 + 904 904 **Uplink payload( Fport=3)** 905 905 906 906 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -907,7 +907,7 @@ 907 907 908 908 BatV=CBEA 909 909 910 - TEMP=DS18B20895 +EXT=01 911 911 912 912 Temp1=0992 ~/~/ 24.50℃ 913 913 ... ... @@ -915,9 +915,10 @@ 915 915 916 916 Temp3=09C4 ~/~/ 25.00℃ 917 917 903 + 918 918 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 919 919 920 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 906 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 921 921 ))) 922 922 923 923 ... ... @@ -977,7 +977,6 @@ 977 977 * For each success downlink, the PURPLE LED will blink once 978 978 979 979 980 - 981 981 == 2.9 installation == 982 982 983 983 ... ... @@ -1031,7 +1031,6 @@ 1031 1031 * Working voltage 2.35v ~~ 5v 1032 1032 1033 1033 1034 - 1035 1035 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1036 1036 1037 1037 ... ... @@ -1101,7 +1101,6 @@ 1101 1101 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1102 1102 1103 1103 1104 - 1105 1105 == 4.2 Set External Sensor Mode == 1106 1106 1107 1107 ... ... @@ -1126,7 +1126,6 @@ 1126 1126 * 0xA20702003c: Same as AT+SETCNT=60 1127 1127 1128 1128 1129 - 1130 1130 == 4.3 Enable/Disable uplink Temperature probe ID == 1131 1131 1132 1132 ... ... @@ -1158,7 +1158,6 @@ 1158 1158 * **0xA801** **~-~->** AT+PID=1 1159 1159 1160 1160 1161 - 1162 1162 == 4.4 Set Password == 1163 1163 1164 1164 ... ... @@ -1209,7 +1209,6 @@ 1209 1209 * There is no downlink command to set to Sleep mode. 1210 1210 1211 1211 1212 - 1213 1213 == 4.7 Set system time == 1214 1214 1215 1215 ... ... @@ -1314,7 +1314,6 @@ 1314 1314 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1315 1315 1316 1316 1317 - 1318 1318 == 4.13 Auto Send None-ACK messages == 1319 1319 1320 1320 ... ... @@ -1334,7 +1334,6 @@ 1334 1334 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1335 1335 1336 1336 1337 - 1338 1338 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1339 1339 1340 1340 ... ... @@ -1596,6 +1596,7 @@ 1596 1596 **Downlink commands:** 1597 1597 1598 1598 1577 + 1599 1599 (% style="color:blue" %)**TTN:** 1600 1600 1601 1601 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1700,6 +1700,7 @@ 1700 1700 * (% class="mark" %)**PB1: TXD** 1701 1701 * (% class="mark" %)**GND** 1702 1702 1682 + 1703 1703 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1704 1704 1705 1705 ... ... @@ -1780,7 +1780,6 @@ 1780 1780 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1781 1781 1782 1782 1783 - 1784 1784 = 8. Packing Info = 1785 1785 1786 1786 ... ... @@ -1795,7 +1795,6 @@ 1795 1795 * Device Weight: 120.5g 1796 1796 1797 1797 1798 - 1799 1799 = 9. Reference material = 1800 1800 1801 1801 ... ... @@ -1802,7 +1802,6 @@ 1802 1802 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1803 1803 1804 1804 1805 - 1806 1806 = 10. FCC Warning = 1807 1807 1808 1808