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 ... ... @@ -862,17 +862,18 @@ 862 862 temperature fluctuation=05 863 863 864 864 865 - ====**Sampling multiple times and uplink together**====871 +**Sampling multiple times and uplink together** 866 866 867 867 **AT+WMOD=3,1,60,20,-16,32,1** 868 868 869 869 Explain: 870 870 871 -* Set Working Mode to **Mode 3** 872 -* Sampling Interval is **60**s. 873 -* 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) 874 -* Temperature alarm range is **-16** to **32**°C, 875 -* **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. 876 876 877 877 (% style="color:#4f81bd" %)**Downlink Command:** 878 878 ... ... @@ -880,7 +880,7 @@ 880 880 881 881 MOD=03 882 882 883 - EXT=01890 +TEMP=DS18B20 884 884 885 885 CITEMP=003C(S) 886 886 ... ... @@ -892,7 +892,6 @@ 892 892 893 893 ARTEMP=01 894 894 895 - 896 896 **Uplink payload( Fport=3)** 897 897 898 898 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -899,7 +899,7 @@ 899 899 900 900 BatV=CBEA 901 901 902 - EXT=01908 +TEMP=DS18B20 903 903 904 904 Temp1=0992 ~/~/ 24.50℃ 905 905 ... ... @@ -907,10 +907,9 @@ 907 907 908 908 Temp3=09C4 ~/~/ 25.00℃ 909 909 910 - 911 911 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 912 912 913 -(% 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** 914 914 ))) 915 915 916 916 ... ... @@ -969,8 +969,6 @@ 969 969 * RED LED when external sensor is not connected 970 970 * For each success downlink, the PURPLE LED will blink once 971 971 972 - 973 - 974 974 == 2.9 installation == 975 975 976 976 ... ... @@ -1023,8 +1023,6 @@ 1023 1023 * Operating Range: -40 ~~ 125 °C 1024 1024 * Working voltage 2.35v ~~ 5v 1025 1025 1026 - 1027 - 1028 1028 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1029 1029 1030 1030 ... ... @@ -1093,8 +1093,6 @@ 1093 1093 1094 1094 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1095 1095 1096 - 1097 - 1098 1098 == 4.2 Set External Sensor Mode == 1099 1099 1100 1100 ... ... @@ -1118,8 +1118,6 @@ 1118 1118 1119 1119 * 0xA20702003c: Same as AT+SETCNT=60 1120 1120 1121 - 1122 - 1123 1123 == 4.3 Enable/Disable uplink Temperature probe ID == 1124 1124 1125 1125 ... ... @@ -1150,8 +1150,6 @@ 1150 1150 * **0xA800** **~-~->** AT+PID=0 1151 1151 * **0xA801** **~-~->** AT+PID=1 1152 1152 1153 - 1154 - 1155 1155 == 4.4 Set Password == 1156 1156 1157 1157 ... ... @@ -1201,8 +1201,6 @@ 1201 1201 1202 1202 * There is no downlink command to set to Sleep mode. 1203 1203 1204 - 1205 - 1206 1206 == 4.7 Set system time == 1207 1207 1208 1208 ... ... @@ -1306,8 +1306,6 @@ 1306 1306 1307 1307 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1308 1308 1309 - 1310 - 1311 1311 == 4.13 Auto Send None-ACK messages == 1312 1312 1313 1313 ... ... @@ -1326,8 +1326,6 @@ 1326 1326 1327 1327 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1328 1328 1329 - 1330 - 1331 1331 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1332 1332 1333 1333 ... ... @@ -1589,7 +1589,6 @@ 1589 1589 **Downlink commands:** 1590 1590 1591 1591 1592 - 1593 1593 (% style="color:blue" %)**TTN:** 1594 1594 1595 1595 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1647,7 +1647,7 @@ 1647 1647 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1648 1648 1649 1649 1650 -(% 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. 1651 1651 1652 1652 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1653 1653 ... ... @@ -1688,6 +1688,12 @@ 1688 1688 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1689 1689 1690 1690 1679 +**UART Port of LHT65N:** 1680 + 1681 +* (% class="mark" %)**PB0: RXD** 1682 +* (% class="mark" %)**PB1: TXD** 1683 +* (% class="mark" %)**GND** 1684 + 1691 1691 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1692 1692 1693 1693 ... ... @@ -1707,7 +1707,7 @@ 1707 1707 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1708 1708 1709 1709 1710 -(% 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. 1711 1711 1712 1712 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1713 1713 ... ... @@ -1767,8 +1767,6 @@ 1767 1767 1768 1768 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1769 1769 1770 - 1771 - 1772 1772 = 8. Packing Info = 1773 1773 1774 1774 ... ... @@ -1782,15 +1782,11 @@ 1782 1782 * Device Size: 10 x 10 x 3.5 mm 1783 1783 * Device Weight: 120.5g 1784 1784 1785 - 1786 - 1787 1787 = 9. Reference material = 1788 1788 1789 1789 1790 1790 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1791 1791 1792 - 1793 - 1794 1794 = 10. FCC Warning = 1795 1795 1796 1796 ... ... @@ -1799,6 +1799,3 @@ 1799 1799 (1) This device may not cause harmful interference; 1800 1800 1801 1801 (2) this device must accept any interference received, including interference that may cause undesired operation. 1802 - 1803 - 1804 -
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content