Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 224.1
edited by Bei Jinggeng
on 2022/12/02 15:53
on 2022/12/02 15:53
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,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,6 +59,7 @@ 59 59 * Datalog feature (Max 3328 records) 60 60 61 61 61 + 62 62 == 1.3 Specification == 63 63 64 64 ... ... @@ -84,6 +84,7 @@ 84 84 * Operating Range: -55 °C ~~ 125 °C 85 85 86 86 87 + 87 87 = 2. Connect LHT65N to IoT Server = 88 88 89 89 == 2.1 How does LHT65N work? == ... ... @@ -236,6 +236,7 @@ 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 238 240 + 239 239 === 2.4.1 Decoder in TTN V3 === 240 240 241 241 ... ... @@ -264,6 +264,7 @@ 264 264 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 265 265 266 266 269 + 267 267 === 2.4.3 Built-in Temperature === 268 268 269 269 ... ... @@ -276,6 +276,7 @@ 276 276 * Temperature: (0xF5C6-65536)/100=-26.18℃ 277 277 278 278 282 + 279 279 === 2.4.4 Built-in Humidity === 280 280 281 281 ... ... @@ -284,6 +284,7 @@ 284 284 * Humidity: 0x025C/10=60.4% 285 285 286 286 291 + 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 319 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 320 + 321 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 322 + 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 328 + 319 319 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 320 320 321 321 ... ... @@ -380,6 +380,7 @@ 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 382 393 + 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 442 + 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 459 + 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 506 + 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 data700 +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**====872 +**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. 878 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 879 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 880 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 881 +* (% 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) 882 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 883 +* (% 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=01891 +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=01909 +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℃ 919 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 908 908 ))) 909 909 910 910 ... ... @@ -964,6 +964,7 @@ 964 964 * For each success downlink, the PURPLE LED will blink once 965 965 966 966 979 + 967 967 == 2.9 installation == 968 968 969 969 ... ... @@ -1017,6 +1017,7 @@ 1017 1017 * Working voltage 2.35v ~~ 5v 1018 1018 1019 1019 1033 + 1020 1020 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1021 1021 1022 1022 ... ... @@ -1086,6 +1086,7 @@ 1086 1086 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1087 1087 1088 1088 1103 + 1089 1089 == 4.2 Set External Sensor Mode == 1090 1090 1091 1091 ... ... @@ -1110,6 +1110,7 @@ 1110 1110 * 0xA20702003c: Same as AT+SETCNT=60 1111 1111 1112 1112 1128 + 1113 1113 == 4.3 Enable/Disable uplink Temperature probe ID == 1114 1114 1115 1115 ... ... @@ -1141,6 +1141,7 @@ 1141 1141 * **0xA801** **~-~->** AT+PID=1 1142 1142 1143 1143 1160 + 1144 1144 == 4.4 Set Password == 1145 1145 1146 1146 ... ... @@ -1191,6 +1191,7 @@ 1191 1191 * There is no downlink command to set to Sleep mode. 1192 1192 1193 1193 1211 + 1194 1194 == 4.7 Set system time == 1195 1195 1196 1196 ... ... @@ -1295,6 +1295,7 @@ 1295 1295 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1296 1296 1297 1297 1316 + 1298 1298 == 4.13 Auto Send None-ACK messages == 1299 1299 1300 1300 ... ... @@ -1314,6 +1314,7 @@ 1314 1314 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1315 1315 1316 1316 1336 + 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 1696 +**UART Port of LHT65N:** 1697 + 1698 +* (% class="mark" %)**PB0: RXD** 1699 +* (% class="mark" %)**PB1: TXD** 1700 +* (% class="mark" %)**GND** 1701 + 1677 1677 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1678 1678 1679 1679 ... ... @@ -1725,6 +1725,14 @@ 1725 1725 Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1726 1726 1727 1727 1753 +== 6.8 Why can't I see the datalog information == 1754 + 1755 + 1756 +~1. The time is not aligned, and the correct query command is not used. 1757 + 1758 +2. Decoder error, did not parse the datalog data, the data was filtered. 1759 + 1760 + 1728 1728 = 7. Order Info = 1729 1729 1730 1730 ... ... @@ -1746,6 +1746,7 @@ 1746 1746 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1747 1747 1748 1748 1782 + 1749 1749 = 8. Packing Info = 1750 1750 1751 1751 ... ... @@ -1760,6 +1760,7 @@ 1760 1760 * Device Weight: 120.5g 1761 1761 1762 1762 1797 + 1763 1763 = 9. Reference material = 1764 1764 1765 1765 ... ... @@ -1766,6 +1766,7 @@ 1766 1766 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1767 1767 1768 1768 1804 + 1769 1769 = 10. FCC Warning = 1770 1770 1771 1771