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 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 (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 ... ... @@ -58,8 +58,6 @@ 58 58 * Tri-color LED to indicate working status 59 59 * Datalog feature (Max 3328 records) 60 60 61 - 62 - 63 63 == 1.3 Specification == 64 64 65 65 ... ... @@ -84,8 +84,6 @@ 84 84 * ±2°C accuracy from -55°C to +125°C 85 85 * Operating Range: -55 °C ~~ 125 °C 86 86 87 - 88 - 89 89 = 2. Connect LHT65N to IoT Server = 90 90 91 91 == 2.1 How does LHT65N work? == ... ... @@ -237,8 +237,6 @@ 237 237 * The 7th byte (EXT #): defines the external sensor model. 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 - 241 - 242 242 === 2.4.1 Decoder in TTN V3 === 243 243 244 244 ... ... @@ -266,8 +266,6 @@ 266 266 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 267 267 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 268 268 269 - 270 - 271 271 === 2.4.3 Built-in Temperature === 272 272 273 273 ... ... @@ -279,8 +279,6 @@ 279 279 280 280 * Temperature: (0xF5C6-65536)/100=-26.18℃ 281 281 282 - 283 - 284 284 === 2.4.4 Built-in Humidity === 285 285 286 286 ... ... @@ -288,8 +288,6 @@ 288 288 289 289 * Humidity: 0x025C/10=60.4% 290 290 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 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 + 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 316 + 325 325 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 326 326 327 327 ... ... @@ -385,8 +385,6 @@ 385 385 * (% 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. 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 - 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 428 + 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 445 + 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 492 + 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 data686 +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**====858 +**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. 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. 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=01877 +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=01895 +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℃ 905 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 915 915 ))) 916 916 917 917 ... ... @@ -970,8 +970,6 @@ 970 970 * RED LED when external sensor is not connected 971 971 * For each success downlink, the PURPLE LED will blink once 972 972 973 - 974 - 975 975 == 2.9 installation == 976 976 977 977 ... ... @@ -1024,8 +1024,6 @@ 1024 1024 * Operating Range: -40 ~~ 125 °C 1025 1025 * Working voltage 2.35v ~~ 5v 1026 1026 1027 - 1028 - 1029 1029 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1030 1030 1031 1031 ... ... @@ -1094,8 +1094,6 @@ 1094 1094 1095 1095 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1096 1096 1097 - 1098 - 1099 1099 == 4.2 Set External Sensor Mode == 1100 1100 1101 1101 ... ... @@ -1119,8 +1119,6 @@ 1119 1119 1120 1120 * 0xA20702003c: Same as AT+SETCNT=60 1121 1121 1122 - 1123 - 1124 1124 == 4.3 Enable/Disable uplink Temperature probe ID == 1125 1125 1126 1126 ... ... @@ -1151,8 +1151,6 @@ 1151 1151 * **0xA800** **~-~->** AT+PID=0 1152 1152 * **0xA801** **~-~->** AT+PID=1 1153 1153 1154 - 1155 - 1156 1156 == 4.4 Set Password == 1157 1157 1158 1158 ... ... @@ -1202,8 +1202,6 @@ 1202 1202 1203 1203 * There is no downlink command to set to Sleep mode. 1204 1204 1205 - 1206 - 1207 1207 == 4.7 Set system time == 1208 1208 1209 1209 ... ... @@ -1307,8 +1307,6 @@ 1307 1307 1308 1308 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1309 1309 1310 - 1311 - 1312 1312 == 4.13 Auto Send None-ACK messages == 1313 1313 1314 1314 ... ... @@ -1327,8 +1327,6 @@ 1327 1327 1328 1328 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1329 1329 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 1666 +**UART Port of LHT65N:** 1667 + 1668 +* (% class="mark" %)**PB0: RXD** 1669 +* (% class="mark" %)**PB1: TXD** 1670 +* (% class="mark" %)**GND** 1671 + 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 1723 +== 6.8 Why can't I see the datalog information == 1724 + 1725 + 1726 +~1. The time is not aligned, and the correct query command is not used. 1727 + 1728 +2. Decoder error, did not parse the datalog data, the data was filtered. 1729 + 1730 + 1743 1743 = 7. Order Info = 1744 1744 1745 1745 ... ... @@ -1760,8 +1760,6 @@ 1760 1760 1761 1761 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1762 1762 1763 - 1764 - 1765 1765 = 8. Packing Info = 1766 1766 1767 1767 ... ... @@ -1775,15 +1775,11 @@ 1775 1775 * Device Size: 10 x 10 x 3.5 mm 1776 1776 * Device Weight: 120.5g 1777 1777 1778 - 1779 - 1780 1780 = 9. Reference material = 1781 1781 1782 1782 1783 1783 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1784 1784 1785 - 1786 - 1787 1787 = 10. FCC Warning = 1788 1788 1789 1789