Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 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,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? == ... ... @@ -121,9 +121,19 @@ 121 121 122 122 [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]] 123 123 124 -[[image:image-20220525110604-2.png||_mstalt="427531"]] 119 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 120 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 121 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)((( 122 +If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once. 123 +))) 124 +|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 125 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 126 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 127 +))) 128 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode. 125 125 126 126 131 + 127 127 == 2.3 Example to join LoRaWAN network == 128 128 129 129 ... ... @@ -151,7 +151,7 @@ 151 151 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 152 152 ))) 153 153 154 -[[image:image-202 20617150003-1.jpeg||_mstalt="5426434"]]159 +[[image:image-20230426083319-1.png]] 155 155 156 156 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 157 157 ... ... @@ -201,18 +201,18 @@ 201 201 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 202 202 ))) 203 203 204 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:390px" %)205 -|=(% style="width: 60px;" %)((( 209 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 210 +|=(% style="width: 60px;background-color:#2F5496" %)((( 206 206 **Size(bytes)** 207 -)))|=(% style="width: 30px;" %)((( 212 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)((( 208 208 **2** 209 -)))|=(% style="width: 100px;" %)((( 214 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 210 210 **2** 211 -)))|=(% style="width: 100px;" %)((( 216 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 212 212 **2** 213 -)))|=(% style="width: 50px;" %)((( 218 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 214 214 **1** 215 -)))|=(% style="width: 50px;" %)((( 220 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 216 216 **4** 217 217 ))) 218 218 |(% style="width:97px" %)((( ... ... @@ -234,11 +234,11 @@ 234 234 ))) 235 235 236 236 * The First 6 bytes: has fix meanings for every LHT65N. 242 + 237 237 * The 7th byte (EXT #): defines the external sensor model. 244 + 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 ... ... @@ -257,6 +257,7 @@ 257 257 258 258 [[image:image-20220523152839-18.png||_mstalt="457613"]] 259 259 265 +(b)stands for binary 260 260 261 261 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 262 262 ... ... @@ -263,11 +263,9 @@ 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=2980mV272 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 273 +* Battery Voltage =0xCBA4&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 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 + 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 329 + 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 441 + 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 458 + 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 505 + 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 data699 +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**====871 +**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. 877 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 878 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 879 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 880 +* (% 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) 881 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 882 +* (% 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=01890 +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=01908 +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℃ 918 +(% 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"]] ... ... @@ -1648,7 +1648,7 @@ 1648 1648 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1649 1649 1650 1650 1651 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1638 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]] first. 1652 1652 1653 1653 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1654 1654 ... ... @@ -1689,6 +1689,12 @@ 1689 1689 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1690 1690 1691 1691 1679 +**UART Port of LHT65N:** 1680 + 1681 +* (% class="mark" %)**PB0: RXD** 1682 +* (% class="mark" %)**PB1: TXD** 1683 +* (% class="mark" %)**GND** 1684 + 1692 1692 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1693 1693 1694 1694 ... ... @@ -1708,7 +1708,7 @@ 1708 1708 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1709 1709 1710 1710 1711 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1704 +(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]] first. 1712 1712 1713 1713 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1714 1714 ... ... @@ -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 1736 +== 6.8 Why can't I see the datalog information == 1737 + 1738 + 1739 +~1. The time is not aligned, and the correct query command is not used. 1740 + 1741 +2. Decoder error, did not parse the datalog data, the data was filtered. 1742 + 1743 + 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 ... ... @@ -1792,6 +1792,3 @@ 1792 1792 (1) This device may not cause harmful interference; 1793 1793 1794 1794 (2) this device must accept any interference received, including interference that may cause undesired operation. 1795 - 1796 - 1797 -
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content