Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 226.1
edited by Edwin Chen
on 2023/01/27 10:49
on 2023/01/27 10:49
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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - 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 ... ... @@ -855,17 +855,18 @@ 855 855 temperature fluctuation=05 856 856 857 857 858 - ====**Sampling multiple times and uplink together**====865 +**Sampling multiple times and uplink together** 859 859 860 860 **AT+WMOD=3,1,60,20,-16,32,1** 861 861 862 862 Explain: 863 863 864 -* Set Working Mode to **Mode 3** 865 -* Sampling Interval is **60**s. 866 -* 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) 867 -* Temperature alarm range is **-16** to **32**°C, 868 -* **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. 869 869 870 870 (% style="color:#4f81bd" %)**Downlink Command:** 871 871 ... ... @@ -873,7 +873,7 @@ 873 873 874 874 MOD=03 875 875 876 - EXT=01884 +TEMP=DS18B20 877 877 878 878 CITEMP=003C(S) 879 879 ... ... @@ -885,7 +885,6 @@ 885 885 886 886 ARTEMP=01 887 887 888 - 889 889 **Uplink payload( Fport=3)** 890 890 891 891 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -892,7 +892,7 @@ 892 892 893 893 BatV=CBEA 894 894 895 - EXT=01902 +TEMP=DS18B20 896 896 897 897 Temp1=0992 ~/~/ 24.50℃ 898 898 ... ... @@ -900,10 +900,9 @@ 900 900 901 901 Temp3=09C4 ~/~/ 25.00℃ 902 902 903 - 904 904 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 905 905 906 -(% 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** 907 907 ))) 908 908 909 909 ... ... @@ -1574,7 +1574,6 @@ 1574 1574 **Downlink commands:** 1575 1575 1576 1576 1577 - 1578 1578 (% style="color:blue" %)**TTN:** 1579 1579 1580 1580 [[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] ... ... @@ -1679,7 +1679,6 @@ 1679 1679 * (% class="mark" %)**PB1: TXD** 1680 1680 * (% class="mark" %)**GND** 1681 1681 1682 - 1683 1683 [[image:image-20220623112117-4.png||_mstalt="428350" height="459" width="343"]] 1684 1684 1685 1685