Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 218.1
edited by Bei Jinggeng
on 2022/11/16 15:24
on 2022/11/16 15:24
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
-
... ... @@ -16,7 +16,6 @@ 16 16 17 17 = 1. Introduction = 18 18 19 - 20 20 == 1.1 What is LHT65N Temperature & Humidity Sensor == 21 21 22 22 ... ... @@ -45,7 +45,6 @@ 45 45 ))) 46 46 47 47 48 - 49 49 == 1.2 Features == 50 50 51 51 ... ... @@ -62,6 +62,7 @@ 62 62 * Datalog feature (Max 3328 records) 63 63 64 64 63 + 65 65 == 1.3 Specification == 66 66 67 67 ... ... @@ -87,9 +87,9 @@ 87 87 * Operating Range: -55 °C ~~ 125 °C 88 88 89 89 89 + 90 90 = 2. Connect LHT65N to IoT Server = 91 91 92 - 93 93 == 2.1 How does LHT65N work? == 94 94 95 95 ... ... @@ -102,7 +102,6 @@ 102 102 ))) 103 103 104 104 105 - 106 106 == 2.2 How to Activate LHT65N? == 107 107 108 108 ... ... @@ -111,7 +111,7 @@ 111 111 ))) 112 112 113 113 * ((( 114 -(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn ’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life.112 +(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn't have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 115 115 ))) 116 116 * ((( 117 117 (% style="color:blue" %)**Working Mode**(%%): In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. ... ... @@ -127,7 +127,6 @@ 127 127 [[image:image-20220525110604-2.png||_mstalt="427531" _mstvisible="3"]] 128 128 129 129 130 - 131 131 == 2.3 Example to join LoRaWAN network == 132 132 133 133 ... ... @@ -144,7 +144,6 @@ 144 144 ))) 145 145 146 146 147 - 148 148 === 2.3.1 Step 1: Create Device n TTN === 149 149 150 150 ... ... @@ -185,7 +185,6 @@ 185 185 [[image:image-20220522233118-7.png||_mstalt="430430" _mstvisible="3"]] 186 186 187 187 188 - 189 189 === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 190 190 191 191 ... ... @@ -196,7 +196,6 @@ 196 196 [[image:image-20220522233300-8.png||_mstalt="428389" _mstvisible="3" height="219" width="722"]] 197 197 198 198 199 - 200 200 == 2.4 Uplink Payload ( Fport~=2) == 201 201 202 202 ... ... @@ -245,6 +245,7 @@ 245 245 * The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^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.) 246 246 247 247 242 + 248 248 === 2.4.1 Decoder in TTN V3 === 249 249 250 250 ... ... @@ -256,7 +256,6 @@ 256 256 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 257 257 258 258 259 - 260 260 === 2.4.2 BAT-Battery Info === 261 261 262 262 ... ... @@ -274,6 +274,7 @@ 274 274 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 275 275 276 276 271 + 277 277 === 2.4.3 Built-in Temperature === 278 278 279 279 ... ... @@ -286,6 +286,7 @@ 286 286 * Temperature: (0xF5C6-65536)/100=-26.18℃ 287 287 288 288 284 + 289 289 === 2.4.4 Built-in Humidity === 290 290 291 291 ... ... @@ -294,6 +294,7 @@ 294 294 * Humidity: 0x025C/10=60.4% 295 295 296 296 293 + 297 297 === 2.4.5 Ext # === 298 298 299 299 ... ... @@ -302,10 +302,8 @@ 302 302 [[image:image-20220523152822-17.png||_mstalt="454545" _mstvisible="3"]] 303 303 304 304 305 - 306 306 === 2.4.6 Ext value === 307 307 308 - 309 309 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== 310 310 311 311 ... ... @@ -328,7 +328,6 @@ 328 328 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 329 329 330 330 331 - 332 332 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 333 333 334 334 ... ... @@ -393,6 +393,7 @@ 393 393 * (% 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) 394 394 395 395 390 + 396 396 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 397 397 398 398 ... ... @@ -441,7 +441,6 @@ 441 441 [[image:image-20220628151143-7.png]] 442 442 443 443 444 - 445 445 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 446 446 447 447 ... ... @@ -458,7 +458,6 @@ 458 458 The external cable NE2 can be use for MOD4 and MOD8 459 459 460 460 461 - 462 462 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 463 463 464 464 ... ... @@ -505,7 +505,6 @@ 505 505 [[image:image-20220906101145-3.png]] 506 506 507 507 508 - 509 509 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 510 510 511 511 ... ... @@ -557,7 +557,6 @@ 557 557 A2 08 02 00 00 00 3C: Same as AT+ SETCNT=60 (AT+ SETCNT = 4th byte and 5th byte and 6th byte and 7th byte) 558 558 559 559 560 - 561 561 == 2.5 Show data on Datacake == 562 562 563 563 ... ... @@ -605,7 +605,6 @@ 605 605 [[image:image-20220523000825-10.png||_mstalt="450619" _mstvisible="3" height="413" width="728"]] 606 606 607 607 608 - 609 609 == 2.6 Datalog Feature == 610 610 611 611 ... ... @@ -614,7 +614,6 @@ 614 614 ))) 615 615 616 616 617 - 618 618 === 2.6.1 Ways to get datalog via LoRaWAN === 619 619 620 620 ... ... @@ -637,7 +637,6 @@ 637 637 [[image:image-20220703111700-2.png||height="381" width="1119"]] 638 638 639 639 640 - 641 641 === 2.6.2 Unix TimeStamp === 642 642 643 643 ... ... @@ -654,10 +654,10 @@ 654 654 655 655 [[image:image-20220523001219-12.png||_mstalt="450827" _mstvisible="3" height="298" width="720"]] 656 656 645 + 657 657 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 658 658 659 659 660 - 661 661 === 2.6.3 Set Device Time === 662 662 663 663 ... ... @@ -692,7 +692,6 @@ 692 692 ))) 693 693 694 694 695 - 696 696 === 2.6.4 Poll sensor value === 697 697 698 698 ... ... @@ -710,7 +710,6 @@ 710 710 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 711 711 712 712 713 - 714 714 === 2.6.5 Datalog Uplink payload === 715 715 716 716 ... ... @@ -785,7 +785,6 @@ 785 785 Unix time is 0x60066009=1611030423s=21/1/19 04:27:03 786 786 787 787 788 - 789 789 == 2.7 Alarm Mode & Feature "Multi sampling, one uplink" == 790 790 791 791 ... ... @@ -797,11 +797,10 @@ 797 797 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 798 798 799 799 800 - 801 801 === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) === 802 802 803 803 804 -**Internal GXHT30 temperature alarm** 788 +**Internal GXHT30 temperature alarm(Acquisition time: fixed at one minute)** 805 805 806 806 ((( 807 807 (% class="box infomessage" %) ... ... @@ -865,7 +865,7 @@ 865 865 TEMPhigh=0014 866 866 867 867 868 -**Fluctuation alarm for DS18B20 and TMP117** 852 +**Fluctuation alarm for DS18B20 and TMP117(Acquisition time: minimum 1s)** 869 869 870 870 **AT+WMOD=2,60,5** 871 871 ... ... @@ -882,8 +882,16 @@ 882 882 883 883 ==== **Sampling multiple times and uplink together** ==== 884 884 885 -**AT+WMOD=3,1,60,20,-16,32,1** ~/~/ Mode 3, the collection interval is 60s, the total number of collection is 20 times, and the data of these 20 times will be sent to the 20th time, with a maximum of 60 groups, the normal working temperature range is -16 to 32°C, 1 is to open the temperature alarm, 0 is to close the temperature alarm, and the temperature is turned on. After the alarm, if the temperature collected at the current time exceeds the normal working temperature, a data will be sent immediately.869 +**AT+WMOD=3,1,60,20,-16,32,1** 886 886 871 +Explain: 872 + 873 +* Set Working Mode to **Mode 3** 874 +* Sampling Interval is **60**s. 875 +* 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) 876 +* Temperature alarm range is **-16** to **32**°C, 877 +* **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 + 887 887 (% style="color:#4f81bd" %)**Downlink Command:** 888 888 889 889 **Example: **A50301003C14FFF0002001 ... ... @@ -905,7 +905,7 @@ 905 905 906 906 **Uplink payload( Fport=3)** 907 907 908 -**Example: **CBEA0109920A4109C4900 +**Example: CBEA**01**0992**//0A41//**09C4** 909 909 910 910 BatV=CBEA 911 911 ... ... @@ -965,7 +965,6 @@ 965 965 TEMPhigh=003C 966 966 967 967 968 - 969 969 == 2.8 LED Indicator == 970 970 971 971 ... ... @@ -980,6 +980,8 @@ 980 980 * RED LED when external sensor is not connected 981 981 * For each success downlink, the PURPLE LED will blink once 982 982 974 + 975 + 983 983 == 2.9 installation == 984 984 985 985 ... ... @@ -987,10 +987,8 @@ 987 987 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 988 988 989 989 990 - 991 991 = 3. Sensors and Accessories = 992 992 993 - 994 994 == 3.1 E2 Extension Cable == 995 995 996 996 ... ... @@ -1021,8 +1021,6 @@ 1021 1021 [[image:image-20220619092421-3.png||height="371" width="529"]] 1022 1022 1023 1023 1024 - 1025 - 1026 1026 == 3.2 E3 Temperature Probe == 1027 1027 1028 1028 ... ... @@ -1038,6 +1038,7 @@ 1038 1038 * Working voltage 2.35v ~~ 5v 1039 1039 1040 1040 1030 + 1041 1041 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1042 1042 1043 1043 ... ... @@ -1085,7 +1085,6 @@ 1085 1085 ))) 1086 1086 1087 1087 1088 - 1089 1089 == 4.1 Set Transmit Interval Time == 1090 1090 1091 1091 ... ... @@ -1108,6 +1108,7 @@ 1108 1108 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1109 1109 1110 1110 1100 + 1111 1111 == 4.2 Set External Sensor Mode == 1112 1112 1113 1113 ... ... @@ -1132,6 +1132,7 @@ 1132 1132 * 0xA20702003c: Same as AT+SETCNT=60 1133 1133 1134 1134 1125 + 1135 1135 == 4.3 Enable/Disable uplink Temperature probe ID == 1136 1136 1137 1137 ... ... @@ -1163,6 +1163,7 @@ 1163 1163 * **0xA801** **~-~->** AT+PID=1 1164 1164 1165 1165 1157 + 1166 1166 == 4.4 Set Password == 1167 1167 1168 1168 ... ... @@ -1179,7 +1179,6 @@ 1179 1179 No downlink command for this feature. 1180 1180 1181 1181 1182 - 1183 1183 == 4.5 Quit AT Command == 1184 1184 1185 1185 ... ... @@ -1196,7 +1196,6 @@ 1196 1196 No downlink command for this feature. 1197 1197 1198 1198 1199 - 1200 1200 == 4.6 Set to sleep mode == 1201 1201 1202 1202 ... ... @@ -1215,6 +1215,7 @@ 1215 1215 * There is no downlink command to set to Sleep mode. 1216 1216 1217 1217 1208 + 1218 1218 == 4.7 Set system time == 1219 1219 1220 1220 ... ... @@ -1231,7 +1231,6 @@ 1231 1231 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1232 1232 1233 1233 1234 - 1235 1235 == 4.8 Set Time Sync Mode == 1236 1236 1237 1237 ... ... @@ -1256,7 +1256,6 @@ 1256 1256 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1257 1257 1258 1258 1259 - 1260 1260 == 4.9 Set Time Sync Interval == 1261 1261 1262 1262 ... ... @@ -1273,7 +1273,6 @@ 1273 1273 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1274 1274 1275 1275 1276 - 1277 1277 == 4.10 Print data entries base on page. == 1278 1278 1279 1279 ... ... @@ -1290,7 +1290,6 @@ 1290 1290 No downlink commands for feature 1291 1291 1292 1292 1293 - 1294 1294 == 4.11 Print last few data entries. == 1295 1295 1296 1296 ... ... @@ -1307,7 +1307,6 @@ 1307 1307 No downlink commands for feature 1308 1308 1309 1309 1310 - 1311 1311 == 4.12 Clear Flash Record == 1312 1312 1313 1313 ... ... @@ -1324,6 +1324,7 @@ 1324 1324 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1325 1325 1326 1326 1313 + 1327 1327 == 4.13 Auto Send None-ACK messages == 1328 1328 1329 1329 ... ... @@ -1343,6 +1343,7 @@ 1343 1343 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1344 1344 1345 1345 1333 + 1346 1346 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1347 1347 1348 1348 ... ... @@ -1395,22 +1395,19 @@ 1395 1395 0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02. 1396 1396 1397 1397 1398 - 1399 1399 = 5. Battery & How to replace = 1400 1400 1401 - 1402 1402 == 5.1 Battery Type == 1403 1403 1404 1404 1405 - 1406 1406 ((( 1407 1407 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 1408 1408 ))) 1409 1409 1410 - 1411 - 1412 1412 ((( 1413 1413 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1397 + 1398 + 1414 1414 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1415 1415 ))) 1416 1416 ... ... @@ -1417,7 +1417,6 @@ 1417 1417 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1418 1418 1419 1419 1420 - 1421 1421 == 5.2 Replace Battery == 1422 1422 1423 1423 ... ... @@ -1426,7 +1426,6 @@ 1426 1426 [[image:image-20220515075440-2.png||_mstalt="429546" _mstvisible="3" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" _mstvisible="3" height="193" width="257"]] 1427 1427 1428 1428 1429 - 1430 1430 == 5.3 Battery Life Analyze == 1431 1431 1432 1432 ... ... @@ -1441,10 +1441,8 @@ 1441 1441 ))) 1442 1442 1443 1443 1444 - 1445 1445 = 6. FAQ = 1446 1446 1447 - 1448 1448 == 6.1 How to use AT Command? == 1449 1449 1450 1450 ... ... @@ -1665,7 +1665,6 @@ 1665 1665 AT+PID: Get or set the PID 1666 1666 1667 1667 1668 - 1669 1669 == 6.2 Where to use AT commands and Downlink commands == 1670 1670 1671 1671 ... ... @@ -1705,7 +1705,6 @@ 1705 1705 [[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 1706 1706 1707 1707 1708 - 1709 1709 == 6.3 How to change the uplink interval? == 1710 1710 1711 1711 ... ... @@ -1712,7 +1712,6 @@ 1712 1712 Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_msthash="506137" _msttexthash="5712018" style="background-color: rgb(255, 255, 255);"]] 1713 1713 1714 1714 1715 - 1716 1716 == 6.4 How to use TTL-USB to connect a PC to input AT commands? == 1717 1717 1718 1718 ... ... @@ -1731,7 +1731,6 @@ 1731 1731 [[image:image-20220615154519-3.png||height="672" width="807"]] 1732 1732 1733 1733 1734 - 1735 1735 == 6.5 How to use TTL-USB to connect PC to upgrade firmware? == 1736 1736 1737 1737 ... ... @@ -1774,7 +1774,6 @@ 1774 1774 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. 1775 1775 1776 1776 1777 - 1778 1778 == 6.6 Using USB-TYPE-C to connect to the computer using the AT command == 1779 1779 1780 1780 ... ... @@ -1794,7 +1794,6 @@ 1794 1794 [[image:image-20220615154519-3.png||height="672" width="807"]] 1795 1795 1796 1796 1797 - 1798 1798 == 6.7 How to use USB-TYPE-C to connect PC to upgrade firmware? == 1799 1799 1800 1800 ... ... @@ -1816,7 +1816,7 @@ 1816 1816 [[image:image-20220623113959-5.png||height="528" width="397"]] 1817 1817 1818 1818 (% _msthash="506146" _msttexthash="52173160" %) 1819 -Connect A 5and GND with Dupont wire for a while and then separate1794 +Connect A8 and GND with Dupont wire for a while and then separate,enter reset mode 1820 1820 1821 1821 1822 1822 ... ... @@ -1833,10 +1833,9 @@ 1833 1833 [[image:image-20220620160723-8.png]] 1834 1834 1835 1835 1836 -Finally, restart resetdeviceagain1811 +Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1837 1837 1838 1838 1839 - 1840 1840 = 7. Order Info = 1841 1841 1842 1842 ... ... @@ -1868,7 +1868,7 @@ 1868 1868 1869 1869 **Dimension and weight**: 1870 1870 1871 -* Device Size: 10 x 10 x 3.5 cm1845 +* Device Size: 10 x 10 x 3.5 mm 1872 1872 * Device Weight: 120.5g 1873 1873 1874 1874