Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 234.5
edited by Xiaoling
on 2023/04/26 14:43
on 2023/04/26 14:43
Change comment:
There is no comment for this version
To version 228.1
edited by Bei Jinggeng
on 2023/02/01 11:15
on 2023/02/01 11:15
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Bei - Content
-
... ... @@ -46,6 +46,7 @@ 46 46 == 1.2 Features == 47 47 48 48 49 +* Wall mountable 49 49 * LoRaWAN v1.0.3 Class A protocol 50 50 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915 51 51 * AT Commands to change parameters ... ... @@ -116,19 +116,9 @@ 116 116 117 117 [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]] 118 118 119 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 120 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 121 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Test uplink status|(% style="background-color:#f2f2f2; width:225px" %)((( 122 -If LHT65N is already Joined to rhe LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has external sensor connected,(% style="color:blue" %)**Blue led** (%%)will blink once. If LHT65N has not external sensor, (% style="color:red" %)**Red led**(%%) will blink once. 123 -))) 124 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2; width:117px" %)Active Device|(% style="background-color:#f2f2f2; width:225px" %)((( 125 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. 126 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after join in network. 127 -))) 128 -|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode. 120 +[[image:image-20220525110604-2.png||_mstalt="427531"]] 129 129 130 130 131 - 132 132 == 2.3 Example to join LoRaWAN network == 133 133 134 134 ... ... @@ -156,7 +156,7 @@ 156 156 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 157 157 ))) 158 158 159 -[[image:image-202 30426083319-1.png]]150 +[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]] 160 160 161 161 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 162 162 ... ... @@ -206,18 +206,18 @@ 206 206 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 207 207 ))) 208 208 209 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:390px" %)210 -|=(% style="width: 60px; background-color:#2F5496" %)(((200 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %) 201 +|=(% style="width: 60px;" %)((( 211 211 **Size(bytes)** 212 -)))|=(% style="width: 30px; background-color:#D9E2F3" %)(((203 +)))|=(% style="width: 30px;" %)((( 213 213 **2** 214 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((205 +)))|=(% style="width: 100px;" %)((( 215 215 **2** 216 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((207 +)))|=(% style="width: 100px;" %)((( 217 217 **2** 218 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((209 +)))|=(% style="width: 50px;" %)((( 219 219 **1** 220 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((211 +)))|=(% style="width: 50px;" %)((( 221 221 **4** 222 222 ))) 223 223 |(% style="width:97px" %)((( ... ... @@ -239,9 +239,7 @@ 239 239 ))) 240 240 241 241 * The First 6 bytes: has fix meanings for every LHT65N. 242 - 243 243 * The 7th byte (EXT #): defines the external sensor model. 244 - 245 245 * The 8^^th^^ ~~ 11^^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 === 2.4.1 Decoder in TTN V3 === ... ... @@ -262,7 +262,6 @@ 262 262 263 263 [[image:image-20220523152839-18.png||_mstalt="457613"]] 264 264 265 -(b)stands for binary 266 266 267 267 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 268 268 ... ... @@ -269,8 +269,8 @@ 269 269 270 270 Check the battery voltage for LHT65N. 271 271 272 -* BAT status=(0Xcba4>>14)&0xFF=11 IN)273 -* Battery Voltage =0xCB A4&0x3FFF=0x0BA4=2980mV260 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 261 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 274 274 275 275 === 2.4.3 Built-in Temperature === 276 276 ... ... @@ -326,7 +326,6 @@ 326 326 If the external sensor is 0x01, and there is no external temperature connected. The temperature will be set to 7FFF which is 327.67℃ 327 327 328 328 329 - 330 330 ==== 2.4.6.2 Ext~=9, E3 sensor with Unix Timestamp ==== 331 331 332 332 ... ... @@ -438,7 +438,6 @@ 438 438 [[image:image-20220628151143-7.png||_mstalt="431210"]] 439 439 440 440 441 - 442 442 ==== 2.4.6.4 Ext~=2 TMP117 Sensor (Since Firmware v1.3) ==== 443 443 444 444 ... ... @@ -455,7 +455,6 @@ 455 455 The external cable NE2 can be use for MOD4 and MOD8 456 456 457 457 458 - 459 459 ==== 2.4.6.5 Ext~=4 Interrupt Mode (Since Firmware v1.3) ==== 460 460 461 461 ... ... @@ -502,7 +502,6 @@ 502 502 [[image:image-20220906101145-3.png||_mstalt="428688"]] 503 503 504 504 505 - 506 506 ==== 2.4.6.6 Ext~=8 Counting Mode(Since Firmware v1.3) ==== 507 507 508 508 ... ... @@ -868,18 +868,17 @@ 868 868 temperature fluctuation=05 869 869 870 870 871 -**Sampling multiple times and uplink together** 855 +==== **Sampling multiple times and uplink together** ==== 872 872 873 873 **AT+WMOD=3,1,60,20,-16,32,1** 874 874 875 875 Explain: 876 876 877 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 878 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 879 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 880 -* (% 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) 881 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 882 -* (% 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. 861 +* Set Working Mode to **Mode 3** 862 +* Sampling Interval is **60**s. 863 +* 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) 864 +* Temperature alarm range is **-16** to **32**°C, 865 +* **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. 883 883 884 884 (% style="color:#4f81bd" %)**Downlink Command:** 885 885 ... ... @@ -887,7 +887,7 @@ 887 887 888 888 MOD=03 889 889 890 - TEMP=DS18B20873 +EXT=01 891 891 892 892 CITEMP=003C(S) 893 893 ... ... @@ -899,6 +899,7 @@ 899 899 900 900 ARTEMP=01 901 901 885 + 902 902 **Uplink payload( Fport=3)** 903 903 904 904 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -905,7 +905,7 @@ 905 905 906 906 BatV=CBEA 907 907 908 - TEMP=DS18B20892 +EXT=01 909 909 910 910 Temp1=0992 ~/~/ 24.50℃ 911 911 ... ... @@ -913,9 +913,10 @@ 913 913 914 914 Temp3=09C4 ~/~/ 25.00℃ 915 915 900 + 916 916 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 917 917 918 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 903 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 919 919 ))) 920 920 921 921 ... ... @@ -1635,7 +1635,7 @@ 1635 1635 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1636 1636 1637 1637 1638 -(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]first.1623 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1639 1639 1640 1640 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1641 1641 ... ... @@ -1701,7 +1701,7 @@ 1701 1701 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1702 1702 1703 1703 1704 -(% style="color:blue" %)**Step1**(%%): Install [[TremoProgrammer>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AAAnJD_qGZ42bB52o4UmH9v9a/LHT65N%20Temperature%20%26%20Humidity%20Sensor/tool?dl=0&subfolder_nav_tracking=1]]first.1689 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1705 1705 1706 1706 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1707 1707 ... ... @@ -1787,3 +1787,6 @@ 1787 1787 (1) This device may not cause harmful interference; 1788 1788 1789 1789 (2) this device must accept any interference received, including interference that may cause undesired operation. 1775 + 1776 + 1777 +
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content