Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 224.1
edited by Bei Jinggeng
on 2022/12/02 15:53
on 2022/12/02 15:53
Change comment:
There is no comment for this version
To version 230.1
edited by Bei Jinggeng
on 2023/03/13 09:40
on 2023/03/13 09:40
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 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 ... ... @@ -260,8 +260,8 @@ 260 260 261 261 Check the battery voltage for LHT65N. 262 262 263 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 264 -* Battery Voltage =0xCB F6&0x3FFF=0x0BA4=2980mV262 +* BAT status=(0Xcba4>>14)&0xFF=11(DEC) / B(HEX) ,very good 263 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 265 265 266 266 267 267 === 2.4.3 Built-in Temperature === ... ... @@ -311,11 +311,16 @@ 311 311 312 312 * External temperature= (0xF54F-65536)/100=-27.37℃ 313 313 313 +F54F : (F54F & 8000 == 1) , temp = (F54F - 65536)/100 = 27.37℃ 314 + 315 +(0105 & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 316 + 314 314 The last 2 bytes of data are meaningless 315 315 316 316 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 317 317 318 318 322 + 319 319 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 320 320 321 321 ... ... @@ -428,6 +428,7 @@ 428 428 [[image:image-20220628151143-7.png||_mstalt="431210"]] 429 429 430 430 435 + 431 431 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 432 432 433 433 ... ... @@ -444,6 +444,7 @@ 444 444 The external cable NE2 can be use for MOD4 and MOD8 445 445 446 446 452 + 447 447 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 448 448 449 449 ... ... @@ -490,6 +490,7 @@ 490 490 [[image:image-20220906101145-3.png||_mstalt="428688"]] 491 491 492 492 499 + 493 493 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 494 494 495 495 ... ... @@ -662,7 +662,6 @@ 662 662 ))) 663 663 664 664 665 - 666 666 ((( 667 667 **2. Manually Set Time** 668 668 ))) ... ... @@ -684,7 +684,7 @@ 684 684 685 685 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) 686 686 687 -Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00 ’s data693 +Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00's data 688 688 689 689 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 690 690 ... ... @@ -856,17 +856,18 @@ 856 856 temperature fluctuation=05 857 857 858 858 859 - ====**Sampling multiple times and uplink together**====865 +**Sampling multiple times and uplink together** 860 860 861 861 **AT+WMOD=3,1,60,20,-16,32,1** 862 862 863 863 Explain: 864 864 865 -* Set Working Mode to **Mode 3** 866 -* Sampling Interval is **60**s. 867 -* 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) 868 -* Temperature alarm range is **-16** to **32**°C, 869 -* **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. 871 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 872 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 873 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 874 +* (% 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) 875 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 876 +* (% 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. 870 870 871 871 (% style="color:#4f81bd" %)**Downlink Command:** 872 872 ... ... @@ -874,7 +874,7 @@ 874 874 875 875 MOD=03 876 876 877 - EXT=01884 +TEMP=DS18B20 878 878 879 879 CITEMP=003C(S) 880 880 ... ... @@ -886,7 +886,6 @@ 886 886 887 887 ARTEMP=01 888 888 889 - 890 890 **Uplink payload( Fport=3)** 891 891 892 892 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -893,7 +893,7 @@ 893 893 894 894 BatV=CBEA 895 895 896 - EXT=01902 +TEMP=DS18B20 897 897 898 898 Temp1=0992 ~/~/ 24.50℃ 899 899 ... ... @@ -901,10 +901,9 @@ 901 901 902 902 Temp3=09C4 ~/~/ 25.00℃ 903 903 904 - 905 905 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 906 906 907 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 912 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 908 908 ))) 909 909 910 910 ... ... @@ -1575,7 +1575,6 @@ 1575 1575 **Downlink commands:** 1576 1576 1577 1577 1578 - 1579 1579 (% style="color:blue" %)**TTN:** 1580 1580 1581 1581 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1674,6 +1674,12 @@ 1674 1674 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1675 1675 1676 1676 1681 +**UART Port of LHT65N:** 1682 + 1683 +* (% class="mark" %)**PB0: RXD** 1684 +* (% class="mark" %)**PB1: TXD** 1685 +* (% class="mark" %)**GND** 1686 + 1677 1677 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1678 1678 1679 1679 ... ... @@ -1725,6 +1725,14 @@ 1725 1725 Finally,Disconnect 3.3v,Connect A8 and GND with Dupont wire for a while and then separate,exit reset mode 1726 1726 1727 1727 1738 +== 6.8 Why can't I see the datalog information == 1739 + 1740 + 1741 +~1. The time is not aligned, and the correct query command is not used. 1742 + 1743 +2. Decoder error, did not parse the datalog data, the data was filtered. 1744 + 1745 + 1728 1728 = 7. Order Info = 1729 1729 1730 1730