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.2
edited by Xiaoling
on 2022/12/02 17:13
on 2022/12/02 17:13
Change comment:
There is no comment for this version
To 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. Xiaoling1 +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 =0xCB F6&0x3FFF=0x0BA4=2980mV262 +* 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 ... ... @@ -669,7 +669,6 @@ 669 669 ))) 670 670 671 671 672 - 673 673 ((( 674 674 **2. Manually Set Time** 675 675 ))) ... ... @@ -691,7 +691,7 @@ 691 691 692 692 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) 693 693 694 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00 ’s data693 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data 695 695 696 696 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 697 697 ... ... @@ -863,17 +863,18 @@ 863 863 temperature fluctuation=05 864 864 865 865 866 - ====**Sampling multiple times and uplink together**====865 +**Sampling multiple times and uplink together** 867 867 868 868 **AT+WMOD=3,1,60,20,-16,32,1** 869 869 870 870 Explain: 871 871 872 -* Set Working Mode to **Mode 3** 873 -* Sampling Interval is **60**s. 874 -* 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 -* Temperature alarm range is **-16** to **32**°C, 876 -* **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. 877 877 878 878 (% style="color:#4f81bd" %)**Downlink Command:** 879 879 ... ... @@ -881,7 +881,7 @@ 881 881 882 882 MOD=03 883 883 884 - EXT=01884 +TEMP=DS18B20 885 885 886 886 CITEMP=003C(S) 887 887 ... ... @@ -893,7 +893,6 @@ 893 893 894 894 ARTEMP=01 895 895 896 - 897 897 **Uplink payload( Fport=3)** 898 898 899 899 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -900,7 +900,7 @@ 900 900 901 901 BatV=CBEA 902 902 903 - EXT=01902 +TEMP=DS18B20 904 904 905 905 Temp1=0992 ~/~/ 24.50℃ 906 906 ... ... @@ -908,10 +908,9 @@ 908 908 909 909 Temp3=09C4 ~/~/ 25.00℃ 910 910 911 - 912 912 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 913 913 914 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 912 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 915 915 ))) 916 916 917 917 ... ... @@ -971,7 +971,6 @@ 971 971 * For each success downlink, the PURPLE LED will blink once 972 972 973 973 974 - 975 975 == 2.9 installation == 976 976 977 977 ... ... @@ -1025,7 +1025,6 @@ 1025 1025 * Working voltage 2.35v ~~ 5v 1026 1026 1027 1027 1028 - 1029 1029 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1030 1030 1031 1031 ... ... @@ -1095,7 +1095,6 @@ 1095 1095 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1096 1096 1097 1097 1098 - 1099 1099 == 4.2 Set External Sensor Mode == 1100 1100 1101 1101 ... ... @@ -1120,7 +1120,6 @@ 1120 1120 * 0xA20702003c: Same as AT+SETCNT=60 1121 1121 1122 1122 1123 - 1124 1124 == 4.3 Enable/Disable uplink Temperature probe ID == 1125 1125 1126 1126 ... ... @@ -1152,7 +1152,6 @@ 1152 1152 * **0xA801** **~-~->** AT+PID=1 1153 1153 1154 1154 1155 - 1156 1156 == 4.4 Set Password == 1157 1157 1158 1158 ... ... @@ -1203,7 +1203,6 @@ 1203 1203 * There is no downlink command to set to Sleep mode. 1204 1204 1205 1205 1206 - 1207 1207 == 4.7 Set system time == 1208 1208 1209 1209 ... ... @@ -1308,7 +1308,6 @@ 1308 1308 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1309 1309 1310 1310 1311 - 1312 1312 == 4.13 Auto Send None-ACK messages == 1313 1313 1314 1314 ... ... @@ -1328,7 +1328,6 @@ 1328 1328 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1329 1329 1330 1330 1331 - 1332 1332 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1333 1333 1334 1334 ... ... @@ -1590,7 +1590,6 @@ 1590 1590 **Downlink commands:** 1591 1591 1592 1592 1593 - 1594 1594 (% style="color:blue" %)**TTN:** 1595 1595 1596 1596 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1689,6 +1689,12 @@ 1689 1689 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1690 1690 1691 1691 1681 +**UART Port of LHT65N:** 1682 + 1683 +* (% class="mark" %)**PB0: RXD** 1684 +* (% class="mark" %)**PB1: TXD** 1685 +* (% class="mark" %)**GND** 1686 + 1692 1692 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1693 1693 1694 1694 ... ... @@ -1740,6 +1740,14 @@ 1740 1740 Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1741 1741 1742 1742 1738 +== 6.8 Why can't I see the datalog information == 1739 + 1740 + 1741 +~1. The time is not aligned, and the correct query command is not used. 1742 + 1743 +2. Decoder error, did not parse the datalog data, the data was filtered. 1744 + 1745 + 1743 1743 = 7. Order Info = 1744 1744 1745 1745 ... ... @@ -1761,7 +1761,6 @@ 1761 1761 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1762 1762 1763 1763 1764 - 1765 1765 = 8. Packing Info = 1766 1766 1767 1767 ... ... @@ -1776,7 +1776,6 @@ 1776 1776 * Device Weight: 120.5g 1777 1777 1778 1778 1779 - 1780 1780 = 9. Reference material = 1781 1781 1782 1782 ... ... @@ -1783,7 +1783,6 @@ 1783 1783 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1784 1784 1785 1785 1786 - 1787 1787 = 10. FCC Warning = 1788 1788 1789 1789