Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- 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 ... ... @@ -57,6 +57,8 @@ 57 57 * Tri-color LED to indicate working status 58 58 * Datalog feature (Max 3328 records) 59 59 61 + 62 + 60 60 == 1.3 Specification == 61 61 62 62 ... ... @@ -81,6 +81,8 @@ 81 81 * ±2°C accuracy from -55°C to +125°C 82 82 * Operating Range: -55 °C ~~ 125 °C 83 83 87 + 88 + 84 84 = 2. Connect LHT65N to IoT Server = 85 85 86 86 == 2.1 How does LHT65N work? == ... ... @@ -116,17 +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. 124 +[[image:image-20220525110604-2.png||_mstalt="427531"]] 129 129 126 + 130 130 == 2.3 Example to join LoRaWAN network == 131 131 132 132 ... ... @@ -154,7 +154,7 @@ 154 154 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 155 155 ))) 156 156 157 -[[image:image-202 30426083319-1.png]]154 +[[image:image-20220617150003-1.jpeg||_mstalt="5426434"]] 158 158 159 159 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 160 160 ... ... @@ -204,18 +204,18 @@ 204 204 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 205 205 ))) 206 206 207 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:390px" %)208 -|=(% style="width: 60px; background-color:#D9E2F3" %)(((204 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %) 205 +|=(% style="width: 60px;" %)((( 209 209 **Size(bytes)** 210 -)))|=(% style="width: 30px; background-color:#D9E2F3" %)(((207 +)))|=(% style="width: 30px;" %)((( 211 211 **2** 212 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((209 +)))|=(% style="width: 100px;" %)((( 213 213 **2** 214 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((211 +)))|=(% style="width: 100px;" %)((( 215 215 **2** 216 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((213 +)))|=(% style="width: 50px;" %)((( 217 217 **1** 218 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((215 +)))|=(% style="width: 50px;" %)((( 219 219 **4** 220 220 ))) 221 221 |(% style="width:97px" %)((( ... ... @@ -237,11 +237,11 @@ 237 237 ))) 238 238 239 239 * The First 6 bytes: has fix meanings for every LHT65N. 240 - 241 241 * The 7th byte (EXT #): defines the external sensor model. 242 - 243 243 * 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.) 244 244 240 + 241 + 245 245 === 2.4.1 Decoder in TTN V3 === 246 246 247 247 ... ... @@ -256,34 +256,21 @@ 256 256 === 2.4.2 BAT-Battery Info === 257 257 258 258 259 -These two bytes of BAT include the battery state and the actually voltage .256 +These two bytes of BAT include the battery state and the actually voltage 260 260 261 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:477px" %) 262 -|=(% style="width: 69px; background-color:#D9E2F3;color:#0070C0" %)((( 263 -**Bit(bit)** 264 -)))|=(% style="width: 253px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)[13:0] 265 -|(% style="width:66px" %)((( 266 -**Value** 267 -)))|(% style="width:250px" %)((( 268 -BAT Status 269 -00(b): Ultra Low ( BAT <= 2.50v) 270 -01(b): Low (2.50v <=BAT <= 2.55v) 271 -10(b): OK (2.55v <= BAT <=2.65v) 272 -11(b): Good (BAT >= 2.65v) 273 -)))|(% style="width:152px" %)Actually BAT voltage 258 +[[image:image-20220523152839-18.png||_mstalt="457613"]] 274 274 275 -**(b)stands for binary** 276 276 277 - 278 278 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 279 279 280 280 281 281 Check the battery voltage for LHT65N. 282 282 283 -* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 266 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 267 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 284 284 285 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 286 286 270 + 287 287 === 2.4.3 Built-in Temperature === 288 288 289 289 ... ... @@ -295,6 +295,8 @@ 295 295 296 296 * Temperature: (0xF5C6-65536)/100=-26.18℃ 297 297 282 + 283 + 298 298 === 2.4.4 Built-in Humidity === 299 299 300 300 ... ... @@ -302,15 +302,14 @@ 302 302 303 303 * Humidity: 0x025C/10=60.4% 304 304 291 + 292 + 305 305 === 2.4.5 Ext # === 306 306 307 307 308 308 Bytes for External Sensor: 309 309 310 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:425px" %) 311 -|=(% style="width: 102px; background-color:#D9E2F3;color:#0070C0" %)**EXT # Value**|=(% style="width: 323px;background-color:#D9E2F3;color:#0070C0" %)**External Sensor Type** 312 -|(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor 313 -|(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod 298 +[[image:image-20220523152822-17.png||_mstalt="454545"]] 314 314 315 315 316 316 === 2.4.6 Ext value === ... ... @@ -349,19 +349,22 @@ 349 349 Timestamp mode is designed for LHT65N with E3 probe, it will send the uplink payload with Unix timestamp. With the limitation of 11 bytes (max distance of AU915/US915/AS923 band), the time stamp mode will be lack of BAT voltage field, instead, it shows the battery status. The payload is as below: 350 350 ))) 351 351 337 +((( 338 + 339 +))) 352 352 353 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:480px" %)354 -|=(% style="width: 50px; background-color:#D9E2F3" %)(((341 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %) 342 +|=(% style="width: 50px;" %)((( 355 355 **Size(bytes)** 356 -)))|=(% style="width: 70px; background-color:#D9E2F3" %)(((344 +)))|=(% style="width: 70px;" %)((( 357 357 **2** 358 -)))|=(% style="width: 120px; background-color:#D9E2F3" %)(((346 +)))|=(% style="width: 120px;" %)((( 359 359 **2** 360 -)))|=(% style="width: 120px; background-color:#D9E2F3" %)(((348 +)))|=(% style="width: 120px;" %)((( 361 361 **2** 362 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((350 +)))|=(% style="width: 50px;" %)((( 363 363 **1** 364 -)))|=(% style="width: 70px; background-color:#D9E2F3" %)(((352 +)))|=(% style="width: 70px;" %)((( 365 365 **4** 366 366 ))) 367 367 |(% style="width:110px" %)((( ... ... @@ -380,8 +380,8 @@ 380 380 381 381 * **Battery status & Built-in Humidity** 382 382 383 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:461px" %)384 -|=(% style="width: 6 9px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0]371 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %) 372 +|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0] 385 385 |(% style="width:67px" %)Value|(% style="width:256px" %)((( 386 386 BAT Status 387 387 00(b): Ultra Low ( BAT <= 2.50v) ... ... @@ -394,8 +394,8 @@ 394 394 395 395 * **Status & Ext Byte** 396 396 397 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:500px" %)398 -|=(% style="width: 60px; background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**7**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**6**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**5**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**4**|(% style="width:60px;background-color:#D9E2F3;color:#0070C0" %)**[3:0]**385 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %) 386 +|=(% scope="row" style="width: 60px;" %)**Bits**|(% style="width:90px" %)**7**|(% style="width:100px" %)**6**|(% style="width:90px" %)**5**|(% style="width:100px" %)**4**|(% style="width:60px" %)**[3:0]** 399 399 |=(% style="width: 96px;" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001) 400 400 401 401 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -402,6 +402,8 @@ 402 402 * (% 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. 403 403 * (% 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) 404 404 393 + 394 + 405 405 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 406 406 407 407 ... ... @@ -880,18 +880,18 @@ 880 880 temperature fluctuation=05 881 881 882 882 883 -**Sampling multiple times and uplink together** 873 +==== **Sampling multiple times and uplink together** ==== 884 884 875 + 885 885 **AT+WMOD=3,1,60,20,-16,32,1** 886 886 887 887 Explain: 888 888 889 -* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 890 -* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 891 -* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 892 -* (% 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) 893 -* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 894 -* (% 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. 880 +* Set Working Mode to **Mode 3** 881 +* Sampling Interval is **60**s. 882 +* 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) 883 +* Temperature alarm range is **-16** to **32**°C, 884 +* **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. 895 895 896 896 (% style="color:#4f81bd" %)**Downlink Command:** 897 897 ... ... @@ -899,7 +899,7 @@ 899 899 900 900 MOD=03 901 901 902 - TEMP=DS18B20892 +EXT=01 903 903 904 904 CITEMP=003C(S) 905 905 ... ... @@ -911,6 +911,7 @@ 911 911 912 912 ARTEMP=01 913 913 904 + 914 914 **Uplink payload( Fport=3)** 915 915 916 916 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -917,7 +917,7 @@ 917 917 918 918 BatV=CBEA 919 919 920 - TEMP=DS18B20911 +EXT=01 921 921 922 922 Temp1=0992 ~/~/ 24.50℃ 923 923 ... ... @@ -925,9 +925,10 @@ 925 925 926 926 Temp3=09C4 ~/~/ 25.00℃ 927 927 919 + 928 928 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 929 929 930 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 922 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 931 931 ))) 932 932 933 933 ... ... @@ -986,6 +986,8 @@ 986 986 * RED LED when external sensor is not connected 987 987 * For each success downlink, the PURPLE LED will blink once 988 988 981 + 982 + 989 989 == 2.9 installation == 990 990 991 991 ... ... @@ -1038,6 +1038,8 @@ 1038 1038 * Operating Range: -40 ~~ 125 °C 1039 1039 * Working voltage 2.35v ~~ 5v 1040 1040 1035 + 1036 + 1041 1041 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1042 1042 1043 1043 ... ... @@ -1106,6 +1106,8 @@ 1106 1106 1107 1107 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1108 1108 1105 + 1106 + 1109 1109 == 4.2 Set External Sensor Mode == 1110 1110 1111 1111 ... ... @@ -1129,6 +1129,8 @@ 1129 1129 1130 1130 * 0xA20702003c: Same as AT+SETCNT=60 1131 1131 1130 + 1131 + 1132 1132 == 4.3 Enable/Disable uplink Temperature probe ID == 1133 1133 1134 1134 ... ... @@ -1159,6 +1159,8 @@ 1159 1159 * **0xA800** **~-~->** AT+PID=0 1160 1160 * **0xA801** **~-~->** AT+PID=1 1161 1161 1162 + 1163 + 1162 1162 == 4.4 Set Password == 1163 1163 1164 1164 ... ... @@ -1208,6 +1208,8 @@ 1208 1208 1209 1209 * There is no downlink command to set to Sleep mode. 1210 1210 1213 + 1214 + 1211 1211 == 4.7 Set system time == 1212 1212 1213 1213 ... ... @@ -1311,6 +1311,8 @@ 1311 1311 1312 1312 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1313 1313 1318 + 1319 + 1314 1314 == 4.13 Auto Send None-ACK messages == 1315 1315 1316 1316 ... ... @@ -1329,6 +1329,8 @@ 1329 1329 1330 1330 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1331 1331 1338 + 1339 + 1332 1332 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1333 1333 1334 1334 ... ... @@ -1647,7 +1647,7 @@ 1647 1647 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1648 1648 1649 1649 1650 -(% 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.1658 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1651 1651 1652 1652 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1653 1653 ... ... @@ -1713,7 +1713,7 @@ 1713 1713 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1714 1714 1715 1715 1716 -(% 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.1724 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1717 1717 1718 1718 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1719 1719 ... ... @@ -1773,6 +1773,8 @@ 1773 1773 1774 1774 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1775 1775 1784 + 1785 + 1776 1776 = 8. Packing Info = 1777 1777 1778 1778 ... ... @@ -1786,11 +1786,15 @@ 1786 1786 * Device Size: 10 x 10 x 3.5 mm 1787 1787 * Device Weight: 120.5g 1788 1788 1799 + 1800 + 1789 1789 = 9. Reference material = 1790 1790 1791 1791 1792 1792 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1793 1793 1806 + 1807 + 1794 1794 = 10. FCC Warning = 1795 1795 1796 1796 ... ... @@ -1799,3 +1799,6 @@ 1799 1799 (1) This device may not cause harmful interference; 1800 1800 1801 1801 (2) this device must accept any interference received, including interference that may cause undesired operation. 1816 + 1817 + 1818 +
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content