Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 225.1
edited by Bei Jinggeng
on 2022/12/09 17:09
on 2022/12/09 17:09
Change comment:
There is no comment for this version
To version 229.1
edited by Bei Jinggeng
on 2023/03/02 14:10
on 2023/03/02 14:10
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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 ... ... @@ -58,7 +58,6 @@ 58 58 * Tri-color LED to indicate working status 59 59 * Datalog feature (Max 3328 records) 60 60 61 - 62 62 == 1.3 Specification == 63 63 64 64 ... ... @@ -83,7 +83,6 @@ 83 83 * ±2°C accuracy from -55°C to +125°C 84 84 * Operating Range: -55 °C ~~ 125 °C 85 85 86 - 87 87 = 2. Connect LHT65N to IoT Server = 88 88 89 89 == 2.1 How does LHT65N work? == ... ... @@ -235,7 +235,6 @@ 235 235 * The 7th byte (EXT #): defines the external sensor model. 236 236 * 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.) 237 237 238 - 239 239 === 2.4.1 Decoder in TTN V3 === 240 240 241 241 ... ... @@ -263,7 +263,6 @@ 263 263 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 264 264 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 265 265 266 - 267 267 === 2.4.3 Built-in Temperature === 268 268 269 269 ... ... @@ -275,7 +275,6 @@ 275 275 276 276 * Temperature: (0xF5C6-65536)/100=-26.18℃ 277 277 278 - 279 279 === 2.4.4 Built-in Humidity === 280 280 281 281 ... ... @@ -283,7 +283,6 @@ 283 283 284 284 * Humidity: 0x025C/10=60.4% 285 285 286 - 287 287 === 2.4.5 Ext # === 288 288 289 289 ... ... @@ -311,11 +311,16 @@ 311 311 312 312 * External temperature= (0xF54F-65536)/100=-27.37℃ 313 313 307 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 308 + 309 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 310 + 314 314 The last 2 bytes of data are meaningless 315 315 316 316 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 317 317 318 318 316 + 319 319 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 320 320 321 321 ... ... @@ -379,7 +379,6 @@ 379 379 * (% 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. 380 380 * (% 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) 381 381 382 - 383 383 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 384 384 385 385 ... ... @@ -428,6 +428,7 @@ 428 428 [[image:image-20220628151143-7.png||_mstalt="431210"]] 429 429 430 430 428 + 431 431 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 432 432 433 433 ... ... @@ -444,6 +444,7 @@ 444 444 The external cable NE2 can be use for MOD4 and MOD8 445 445 446 446 445 + 447 447 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 448 448 449 449 ... ... @@ -490,6 +490,7 @@ 490 490 [[image:image-20220906101145-3.png||_mstalt="428688"]] 491 491 492 492 492 + 493 493 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 494 494 495 495 ... ... @@ -662,7 +662,6 @@ 662 662 ))) 663 663 664 664 665 - 666 666 ((( 667 667 **2. Manually Set Time** 668 668 ))) ... ... @@ -684,7 +684,7 @@ 684 684 685 685 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) 686 686 687 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00 ’s data686 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data 688 688 689 689 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 690 690 ... ... @@ -856,17 +856,18 @@ 856 856 temperature fluctuation=05 857 857 858 858 859 - ====**Sampling multiple times and uplink together**====858 +**Sampling multiple times and uplink together** 860 860 861 861 **AT+WMOD=3,1,60,20,-16,32,1** 862 862 863 863 Explain: 864 864 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. 864 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 865 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 866 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 867 +* (% 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) 868 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 869 +* (% 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. 870 870 871 871 (% style="color:#4f81bd" %)**Downlink Command:** 872 872 ... ... @@ -874,7 +874,7 @@ 874 874 875 875 MOD=03 876 876 877 - EXT=01877 +TEMP=DS18B20 878 878 879 879 CITEMP=003C(S) 880 880 ... ... @@ -886,7 +886,6 @@ 886 886 887 887 ARTEMP=01 888 888 889 - 890 890 **Uplink payload( Fport=3)** 891 891 892 892 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -893,7 +893,7 @@ 893 893 894 894 BatV=CBEA 895 895 896 - EXT=01895 +TEMP=DS18B20 897 897 898 898 Temp1=0992 ~/~/ 24.50℃ 899 899 ... ... @@ -901,10 +901,9 @@ 901 901 902 902 Temp3=09C4 ~/~/ 25.00℃ 903 903 904 - 905 905 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 906 906 907 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 905 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 908 908 ))) 909 909 910 910 ... ... @@ -963,7 +963,6 @@ 963 963 * RED LED when external sensor is not connected 964 964 * For each success downlink, the PURPLE LED will blink once 965 965 966 - 967 967 == 2.9 installation == 968 968 969 969 ... ... @@ -1016,7 +1016,6 @@ 1016 1016 * Operating Range: -40 ~~ 125 °C 1017 1017 * Working voltage 2.35v ~~ 5v 1018 1018 1019 - 1020 1020 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1021 1021 1022 1022 ... ... @@ -1085,7 +1085,6 @@ 1085 1085 1086 1086 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1087 1087 1088 - 1089 1089 == 4.2 Set External Sensor Mode == 1090 1090 1091 1091 ... ... @@ -1109,7 +1109,6 @@ 1109 1109 1110 1110 * 0xA20702003c: Same as AT+SETCNT=60 1111 1111 1112 - 1113 1113 == 4.3 Enable/Disable uplink Temperature probe ID == 1114 1114 1115 1115 ... ... @@ -1140,7 +1140,6 @@ 1140 1140 * **0xA800** **~-~->** AT+PID=0 1141 1141 * **0xA801** **~-~->** AT+PID=1 1142 1142 1143 - 1144 1144 == 4.4 Set Password == 1145 1145 1146 1146 ... ... @@ -1190,7 +1190,6 @@ 1190 1190 1191 1191 * There is no downlink command to set to Sleep mode. 1192 1192 1193 - 1194 1194 == 4.7 Set system time == 1195 1195 1196 1196 ... ... @@ -1294,7 +1294,6 @@ 1294 1294 1295 1295 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1296 1296 1297 - 1298 1298 == 4.13 Auto Send None-ACK messages == 1299 1299 1300 1300 ... ... @@ -1313,7 +1313,6 @@ 1313 1313 1314 1314 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1315 1315 1316 - 1317 1317 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1318 1318 1319 1319 ... ... @@ -1575,7 +1575,6 @@ 1575 1575 **Downlink commands:** 1576 1576 1577 1577 1578 - 1579 1579 (% style="color:blue" %)**TTN:** 1580 1580 1581 1581 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1674,6 +1674,12 @@ 1674 1674 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1675 1675 1676 1676 1666 +**UART Port of LHT65N:** 1667 + 1668 +* (% class="mark" %)**PB0: RXD** 1669 +* (% class="mark" %)**PB1: TXD** 1670 +* (% class="mark" %)**GND** 1671 + 1677 1677 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1678 1678 1679 1679 ... ... @@ -1727,11 +1727,12 @@ 1727 1727 1728 1728 == 6.8 Why can't I see the datalog information == 1729 1729 1730 -1.The time is not aligned, and the correct query command is not used 1731 1731 1732 - 2.Decodererror,didnotparse thedatalog data,thedatawasfiltered1726 +~1. The time is not aligned, and the correct query command is not used. 1733 1733 1728 +2. Decoder error, did not parse the datalog data, the data was filtered. 1734 1734 1730 + 1735 1735 = 7. Order Info = 1736 1736 1737 1737 ... ... @@ -1752,7 +1752,6 @@ 1752 1752 1753 1753 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1754 1754 1755 - 1756 1756 = 8. Packing Info = 1757 1757 1758 1758 ... ... @@ -1766,13 +1766,11 @@ 1766 1766 * Device Size: 10 x 10 x 3.5 mm 1767 1767 * Device Weight: 120.5g 1768 1768 1769 - 1770 1770 = 9. Reference material = 1771 1771 1772 1772 1773 1773 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1774 1774 1775 - 1776 1776 = 10. FCC Warning = 1777 1777 1778 1778