Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 212.1
edited by Bei Jinggeng
on 2022/11/01 17:55
on 2022/11/01 17:55
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
-
... ... @@ -61,6 +61,8 @@ 61 61 * Tri-color LED to indicate working status 62 62 * Datalog feature (Max 3328 records) 63 63 64 + 65 + 64 64 == 1.3 Specification == 65 65 66 66 ... ... @@ -85,6 +85,8 @@ 85 85 * ±2°C accuracy from -55°C to +125°C 86 86 * Operating Range: -55 °C ~~ 125 °C 87 87 90 + 91 + 88 88 = 2. Connect LHT65N to IoT Server = 89 89 90 90 ... ... @@ -184,7 +184,6 @@ 184 184 185 185 186 186 187 - 188 188 === 2.3.2 Step 2: Activate LHT65N by pressing the ACT button for more than 5 seconds. === 189 189 190 190 ... ... @@ -243,6 +243,8 @@ 243 243 * The 7th byte (EXT #): defines the external sensor model. 244 244 * 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.) 245 245 249 + 250 + 246 246 === 2.4.1 Decoder in TTN V3 === 247 247 248 248 ... ... @@ -271,6 +271,8 @@ 271 271 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 272 272 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 273 273 279 + 280 + 274 274 === 2.4.3 Built-in Temperature === 275 275 276 276 ... ... @@ -282,6 +282,8 @@ 282 282 283 283 * Temperature: (0xF5C6-65536)/100=-26.18℃ 284 284 292 + 293 + 285 285 === 2.4.4 Built-in Humidity === 286 286 287 287 ... ... @@ -289,6 +289,8 @@ 289 289 290 290 * Humidity: 0x025C/10=60.4% 291 291 301 + 302 + 292 292 === 2.4.5 Ext # === 293 293 294 294 ... ... @@ -387,6 +387,8 @@ 387 387 * (% 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. 388 388 * (% 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) 389 389 401 + 402 + 390 390 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 391 391 392 392 ... ... @@ -500,7 +500,6 @@ 500 500 501 501 502 502 503 - 504 504 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 505 505 506 506 ... ... @@ -620,6 +620,7 @@ 620 620 621 621 (% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 622 622 635 + 623 623 (% style="color:red" %)**Note for method 2:** 624 624 625 625 * a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. ... ... @@ -675,10 +675,8 @@ 675 675 (% 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.** 676 676 ))) 677 677 678 -((( 679 - 680 -))) 681 681 692 + 682 682 ((( 683 683 **2. Manually Set Time** 684 684 ))) ... ... @@ -782,7 +782,7 @@ 782 782 783 783 784 784 785 -== 2.7 Alarm Mode == 796 +== 2.7 Alarm Mode & Feature "Multi sampling, one uplink" == 786 786 787 787 788 788 ((( ... ... @@ -796,6 +796,7 @@ 796 796 797 797 === 2.7.1 ALARM MODE ( Since v1.3.1 firmware) === 798 798 810 + 799 799 **Internal GXHT30 temperature alarm** 800 800 801 801 ((( ... ... @@ -827,11 +827,12 @@ 827 827 828 828 AT+LEDALARM=1 : 3601 829 829 842 + 830 830 (% style="color:#4f81bd" %)**Downlink Command: AAXXXXXXXXXXXXXX** 831 831 832 832 Total bytes: 8 bytes 833 833 834 -**Example:**AA0100010001003C 847 +**Example: **AA0100010001003C 835 835 836 836 WMOD=01 837 837 ... ... @@ -844,11 +844,11 @@ 844 844 845 845 **DS18B20 and TMP117 Threshold Alarm** 846 846 847 - AT+WMOD=1,60,-10,20 860 +**~ AT+WMOD=1,60,-10,20** 848 848 849 849 (% style="color:#4f81bd" %)**Downlink Command:** 850 850 851 -**Example:**A5013CFC180014 864 +**Example: **A5013CFC180014 852 852 853 853 MOD=01 854 854 ... ... @@ -861,11 +861,11 @@ 861 861 862 862 **Fluctuation alarm for DS18B20 and TMP117** 863 863 864 -AT+WMOD=2,60,5 877 +**AT+WMOD=2,60,5** 865 865 866 866 (% style="color:#4f81bd" %)**Downlink Command:** 867 867 868 -**Example:**A5023C05 881 +**Example: **A5023C05 869 869 870 870 MOD=02 871 871 ... ... @@ -874,13 +874,13 @@ 874 874 temperature fluctuation=05 875 875 876 876 877 -** Collectmultiple times andsendonce**890 +==== **Sampling multiple times and uplink together** ==== 878 878 879 -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.892 +**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. 880 880 881 881 (% style="color:#4f81bd" %)**Downlink Command:** 882 882 883 -**Example:**A50301003C14FFF0002001 896 +**Example: **A50301003C14FFF0002001 884 884 885 885 MOD=03 886 886 ... ... @@ -896,14 +896,30 @@ 896 896 897 897 ARTEMP=01 898 898 899 - 912 + 913 +**Uplink payload( Fport=3)** 914 + 915 +**Example: **CBEA0109920A4109C4 916 + 917 +BatV=CBEA 918 + 919 +EXT=01 920 + 921 +Temp1=0992 ~/~/ 24.50℃ 922 + 923 +Temp2=0A41 ~/~/ 26.25℃ 924 + 925 +Temp3=09C4 ~/~/ 25.00℃ 926 + 927 + 928 +(% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 929 + 930 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 900 900 ))) 901 901 902 - (((933 + 903 903 === 2.7.2 ALARM MODE ( Before v1.3.1 firmware) === 904 904 905 - 906 -))) 907 907 908 908 (% _mstvisible="1" class="box infomessage" %) 909 909 ((( ... ... @@ -958,6 +958,7 @@ 958 958 * RED LED when external sensor is not connected 959 959 * For each success downlink, the PURPLE LED will blink once 960 960 990 + 961 961 == 2.9 installation == 962 962 963 963 ... ... @@ -1015,6 +1015,8 @@ 1015 1015 * Operating Range: -40 ~~ 125 °C 1016 1016 * Working voltage 2.35v ~~ 5v 1017 1017 1048 + 1049 + 1018 1018 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1019 1019 1020 1020 ... ... @@ -1084,6 +1084,8 @@ 1084 1084 1085 1085 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1086 1086 1119 + 1120 + 1087 1087 == 4.2 Set External Sensor Mode == 1088 1088 1089 1089 ... ... @@ -1107,6 +1107,8 @@ 1107 1107 1108 1108 * 0xA20702003c: Same as AT+SETCNT=60 1109 1109 1144 + 1145 + 1110 1110 == 4.3 Enable/Disable uplink Temperature probe ID == 1111 1111 1112 1112 ... ... @@ -1137,6 +1137,8 @@ 1137 1137 * **0xA800** **~-~->** AT+PID=0 1138 1138 * **0xA801** **~-~->** AT+PID=1 1139 1139 1176 + 1177 + 1140 1140 == 4.4 Set Password == 1141 1141 1142 1142 ... ... @@ -1188,6 +1188,8 @@ 1188 1188 1189 1189 * There is no downlink command to set to Sleep mode. 1190 1190 1229 + 1230 + 1191 1191 == 4.7 Set system time == 1192 1192 1193 1193 ... ... @@ -1296,6 +1296,8 @@ 1296 1296 1297 1297 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1298 1298 1339 + 1340 + 1299 1299 == 4.13 Auto Send None-ACK messages == 1300 1300 1301 1301 ... ... @@ -1314,9 +1314,11 @@ 1314 1314 1315 1315 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1316 1316 1317 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm == 1318 1318 1319 1319 1361 +== 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1362 + 1363 + 1320 1320 Feature: Set internal and external temperature sensor alarms. 1321 1321 1322 1322 (% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %) ... ... @@ -1359,6 +1359,8 @@ 1359 1359 1360 1360 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 ) 1361 1361 1406 +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)) 1407 + 1362 1362 0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 1363 1363 1364 1364 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. ... ... @@ -1371,22 +1371,17 @@ 1371 1371 == 5.1 Battery Type == 1372 1372 1373 1373 1420 + 1374 1374 ((( 1375 -((( 1376 1376 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. 1377 1377 ))) 1378 -))) 1379 1379 1380 -((( 1381 - 1382 -))) 1383 1383 1426 + 1384 1384 ((( 1385 -((( 1386 1386 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1387 1387 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1388 1388 ))) 1389 -))) 1390 1390 1391 1391 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1392 1392 ... ... @@ -1409,9 +1409,6 @@ 1409 1409 [[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]] 1410 1410 ))) 1411 1411 1412 -((( 1413 - 1414 -))) 1415 1415 1416 1416 ((( 1417 1417 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]] ... ... @@ -1834,6 +1834,8 @@ 1834 1834 1835 1835 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1836 1836 1875 + 1876 + 1837 1837 = 8. Packing Info = 1838 1838 1839 1839 ... ... @@ -1847,11 +1847,15 @@ 1847 1847 * Device Size: 10 x 10 x 3.5 cm 1848 1848 * Device Weight: 120.5g 1849 1849 1890 + 1891 + 1850 1850 = 9. Reference material = 1851 1851 1852 1852 1853 1853 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1854 1854 1897 + 1898 + 1855 1855 = 10. FCC Warning = 1856 1856 1857 1857