Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 213.2
edited by Xiaoling
on 2022/11/02 15:39
on 2022/11/02 15:39
Change comment:
There is no comment for this version
To version 220.1
edited by Bei Jinggeng
on 2022/11/16 15:39
on 2022/11/16 15:39
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
-
... ... @@ -61,8 +61,6 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 64 - 65 - 66 66 == 1.3 Specification == 67 67 68 68 ... ... @@ -87,8 +87,6 @@ 87 87 * ±2°C accuracy from -55°C to +125°C 88 88 * Operating Range: -55 °C ~~ 125 °C 89 89 90 - 91 - 92 92 = 2. Connect LHT65N to IoT Server = 93 93 94 94 ... ... @@ -188,7 +188,6 @@ 188 188 189 189 190 190 191 - 192 192 === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 193 193 194 194 ... ... @@ -247,8 +247,6 @@ 247 247 * The 7th byte (EXT #): defines the external sensor model. 248 248 * 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.) 249 249 250 - 251 - 252 252 === 2.4.1 Decoder in TTN V3 === 253 253 254 254 ... ... @@ -277,8 +277,6 @@ 277 277 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 278 278 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 279 279 280 - 281 - 282 282 === 2.4.3 Built-in Temperature === 283 283 284 284 ... ... @@ -290,8 +290,6 @@ 290 290 291 291 * Temperature: (0xF5C6-65536)/100=-26.18℃ 292 292 293 - 294 - 295 295 === 2.4.4 Built-in Humidity === 296 296 297 297 ... ... @@ -299,8 +299,6 @@ 299 299 300 300 * Humidity: 0x025C/10=60.4% 301 301 302 - 303 - 304 304 === 2.4.5 Ext # === 305 305 306 306 ... ... @@ -399,8 +399,6 @@ 399 399 * (% 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. 400 400 * (% 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) 401 401 402 - 403 - 404 404 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 405 405 406 406 ... ... @@ -689,10 +689,8 @@ 689 689 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 690 690 ))) 691 691 692 -((( 693 - 694 -))) 695 695 678 + 696 696 ((( 697 697 **2. Manually Set Time** 698 698 ))) ... ... @@ -796,7 +796,7 @@ 796 796 797 797 798 798 799 -== 2.7 Alarm Mode == 782 +== 2.7 Alarm Mode & Feature "Multi sampling, one uplink" == 800 800 801 801 802 802 ((( ... ... @@ -890,9 +890,9 @@ 890 890 temperature fluctuation=05 891 891 892 892 893 -** Collectmultiple times andsendonce**876 +==== **Sampling multiple times and uplink together** ==== 894 894 895 -**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 -1 0to 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.878 +**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. 896 896 897 897 (% style="color:#4f81bd" %)**Downlink Command:** 898 898 ... ... @@ -931,16 +931,11 @@ 931 931 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 932 932 933 933 (% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 934 - 935 - 936 - 937 937 ))) 938 938 939 - (((919 + 940 940 === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) === 941 941 942 - 943 -))) 944 944 945 945 (% _mstvisible="1" class="box infomessage" %) 946 946 ((( ... ... @@ -995,8 +995,6 @@ 995 995 * RED LED when external sensor is not connected 996 996 * For each success downlink, the PURPLE LED will blink once 997 997 998 - 999 - 1000 1000 == 2.9 installation == 1001 1001 1002 1002 ... ... @@ -1054,8 +1054,6 @@ 1054 1054 * Operating Range: -40 ~~ 125 °C 1055 1055 * Working voltage 2.35v ~~ 5v 1056 1056 1057 - 1058 - 1059 1059 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1060 1060 1061 1061 ... ... @@ -1125,8 +1125,6 @@ 1125 1125 1126 1126 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1127 1127 1128 - 1129 - 1130 1130 == 4.2 Set External Sensor Mode == 1131 1131 1132 1132 ... ... @@ -1150,8 +1150,6 @@ 1150 1150 1151 1151 * 0xA20702003c: Same as AT+SETCNT=60 1152 1152 1153 - 1154 - 1155 1155 == 4.3 Enable/Disable uplink Temperature probe ID == 1156 1156 1157 1157 ... ... @@ -1182,8 +1182,6 @@ 1182 1182 * **0xA800** **~-~->** AT+PID=0 1183 1183 * **0xA801** **~-~->** AT+PID=1 1184 1184 1185 - 1186 - 1187 1187 == 4.4 Set Password == 1188 1188 1189 1189 ... ... @@ -1235,8 +1235,6 @@ 1235 1235 1236 1236 * There is no downlink command to set to Sleep mode. 1237 1237 1238 - 1239 - 1240 1240 == 4.7 Set system time == 1241 1241 1242 1242 ... ... @@ -1345,8 +1345,6 @@ 1345 1345 1346 1346 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1347 1347 1348 - 1349 - 1350 1350 == 4.13 Auto Send None-ACK messages == 1351 1351 1352 1352 ... ... @@ -1365,11 +1365,9 @@ 1365 1365 1366 1366 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1367 1367 1332 +== 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1368 1368 1369 1369 1370 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm == 1371 - 1372 - 1373 1373 Feature: Set internal and external temperature sensor alarms. 1374 1374 1375 1375 (% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %) ... ... @@ -1412,6 +1412,8 @@ 1412 1412 1413 1413 0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105 (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 ) 1414 1414 1377 +0XA5 01 0A F9 C0 29 04 ~-~-AT+WMOD=1,10,-16,105(Need to convert -16 to -1600 for calculation,-1600(DEC)=FFFFFFFFFFFFF9C0(HEX) FFFFFFFFFFFFF9C0(HEX) +10000(HEX)=F9C0(HEX)) 1378 + 1415 1415 0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 1416 1416 1417 1417 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. ... ... @@ -1424,22 +1424,17 @@ 1424 1424 == 5.1 Battery Type == 1425 1425 1426 1426 1391 + 1427 1427 ((( 1428 -((( 1429 1429 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. 1430 1430 ))) 1431 -))) 1432 1432 1433 -((( 1434 - 1435 -))) 1436 1436 1397 + 1437 1437 ((( 1438 -((( 1439 1439 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1440 1440 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1441 1441 ))) 1442 -))) 1443 1443 1444 1444 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1445 1445 ... ... @@ -1462,9 +1462,6 @@ 1462 1462 [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]] 1463 1463 ))) 1464 1464 1465 -((( 1466 - 1467 -))) 1468 1468 1469 1469 ((( 1470 1470 A full detail test report for LHT65N on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] ... ... @@ -1846,7 +1846,7 @@ 1846 1846 [[image:image-20220623113959-5.png||height="528" width="397"]] 1847 1847 1848 1848 (% _msthash="506146" _msttexthash="52173160" %) 1849 - Pressandholdthestartkeytoestartand enter(% _mstvisible="1" %)bootlaod(%%)mode.1805 +Connect A8 and GND with Dupont wire for a while and then separate,enter reset mode 1850 1850 1851 1851 1852 1852 ... ... @@ -1863,7 +1863,7 @@ 1863 1863 [[image:image-20220620160723-8.png]] 1864 1864 1865 1865 1866 -Finally, restart resetdeviceagain1822 +Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1867 1867 1868 1868 1869 1869 ... ... @@ -1887,8 +1887,6 @@ 1887 1887 1888 1888 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1889 1889 1890 - 1891 - 1892 1892 = 8. Packing Info = 1893 1893 1894 1894 ... ... @@ -1902,15 +1902,11 @@ 1902 1902 * Device Size: 10 x 10 x 3.5 cm 1903 1903 * Device Weight: 120.5g 1904 1904 1905 - 1906 - 1907 1907 = 9. Reference material = 1908 1908 1909 1909 1910 1910 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1911 1911 1912 - 1913 - 1914 1914 = 10. FCC Warning = 1915 1915 1916 1916