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, 1 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 ... ... @@ -58,8 +58,6 @@ 58 58 * Tri-color LED to indicate working status 59 59 * Datalog feature (Max 3328 records) 60 60 61 - 62 - 63 63 == 1.3 Specification == 64 64 65 65 ... ... @@ -84,8 +84,6 @@ 84 84 * ±2°C accuracy from -55°C to +125°C 85 85 * Operating Range: -55 °C ~~ 125 °C 86 86 87 - 88 - 89 89 = 2. Connect LHT65N to IoT Server = 90 90 91 91 == 2.1 How does LHT65N work? == ... ... @@ -121,9 +121,17 @@ 121 121 122 122 [[image:image-20220515123819-1.png||_mstalt="430742" height="379" width="317"]] 123 123 124 -[[image:image-20220525110604-2.png||_mstalt="427531"]] 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. 125 125 126 - 127 127 == 2.3 Example to join LoRaWAN network == 128 128 129 129 ... ... @@ -151,7 +151,7 @@ 151 151 Each LHT65N is shipped with a sticker with its device EUI, APP Key and APP EUI as below: 152 152 ))) 153 153 154 -[[image:image-202 20617150003-1.jpeg||_mstalt="5426434"]]157 +[[image:image-20230426083319-1.png]] 155 155 156 156 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screenshot: 157 157 ... ... @@ -201,18 +201,18 @@ 201 201 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 202 202 ))) 203 203 204 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:390px" %)205 -|=(% style="width: 60px;" %)((( 207 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:390px" %) 208 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 206 206 **Size(bytes)** 207 -)))|=(% style="width: 30px;" %)((( 210 +)))|=(% style="width: 30px;background-color:#D9E2F3" %)((( 208 208 **2** 209 -)))|=(% style="width: 100px;" %)((( 212 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 210 210 **2** 211 -)))|=(% style="width: 100px;" %)((( 214 +)))|=(% style="width: 100px;background-color:#D9E2F3" %)((( 212 212 **2** 213 -)))|=(% style="width: 50px;" %)((( 216 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 214 214 **1** 215 -)))|=(% style="width: 50px;" %)((( 218 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 216 216 **4** 217 217 ))) 218 218 |(% style="width:97px" %)((( ... ... @@ -234,11 +234,11 @@ 234 234 ))) 235 235 236 236 * The First 6 bytes: has fix meanings for every LHT65N. 240 + 237 237 * The 7th byte (EXT #): defines the external sensor model. 242 + 238 238 * 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.) 239 239 240 - 241 - 242 242 === 2.4.1 Decoder in TTN V3 === 243 243 244 244 ... ... @@ -253,21 +253,34 @@ 253 253 === 2.4.2 BAT-Battery Info === 254 254 255 255 256 -These two bytes of BAT include the battery state and the actually voltage 259 +These two bytes of BAT include the battery state and the actually voltage. 257 257 258 -[[image:image-20220523152839-18.png||_mstalt="457613"]] 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 259 259 275 +**(b)stands for binary** 260 260 277 + 261 261 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 262 262 263 263 264 264 Check the battery voltage for LHT65N. 265 265 266 -* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 267 -* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 283 +* BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 268 268 285 +* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 269 269 270 - 271 271 === 2.4.3 Built-in Temperature === 272 272 273 273 ... ... @@ -279,8 +279,6 @@ 279 279 280 280 * Temperature: (0xF5C6-65536)/100=-26.18℃ 281 281 282 - 283 - 284 284 === 2.4.4 Built-in Humidity === 285 285 286 286 ... ... @@ -288,16 +288,16 @@ 288 288 289 289 * Humidity: 0x025C/10=60.4% 290 290 291 - 292 - 293 293 === 2.4.5 Ext # === 294 294 295 295 296 296 Bytes for External Sensor: 297 297 298 -[[image:image-20220523152822-17.png||_mstalt="454545"]] 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 299 299 300 - 301 301 === 2.4.6 Ext value === 302 302 303 303 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== ... ... @@ -334,22 +334,19 @@ 334 334 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: 335 335 ))) 336 336 337 -((( 338 - 339 -))) 340 340 341 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)342 -|=(% style="width: 50px;" %)((( 352 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 353 +|=(% style="width: 50px;background-color:#D9E2F3" %)((( 343 343 **Size(bytes)** 344 -)))|=(% style="width: 70px;" %)((( 355 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 345 345 **2** 346 -)))|=(% style="width: 120px;" %)((( 357 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 347 347 **2** 348 -)))|=(% style="width: 120px;" %)((( 359 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 349 349 **2** 350 -)))|=(% style="width: 50px;" %)((( 361 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 351 351 **1** 352 -)))|=(% style="width: 70px;" %)((( 363 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 353 353 **4** 354 354 ))) 355 355 |(% style="width:110px" %)((( ... ... @@ -368,9 +368,9 @@ 368 368 369 369 * **Battery status & Built-in Humidity** 370 370 371 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:461px" %)372 -|=(% style="width: 6 7px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]373 -|(% style="width:67px" %)Value|(% style="width:256px" %)((( 382 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %) 383 +|=(% style="width: 69px;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] 384 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)((( 374 374 BAT Status 375 375 00(b): Ultra Low ( BAT <= 2.50v) 376 376 01(b): Low (2.50v <=BAT <= 2.55v) ... ... @@ -382,8 +382,8 @@ 382 382 383 383 * **Status & Ext Byte** 384 384 385 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)386 -|=(% s cope="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]**396 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 397 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]** 387 387 |=(% 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) 388 388 389 389 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -390,8 +390,6 @@ 390 390 * (% 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. 391 391 * (% 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) 392 392 393 - 394 - 395 395 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 396 396 397 397 ... ... @@ -477,19 +477,19 @@ 477 477 478 478 Ext=4,Interrupt Sensor: 479 479 480 -(% border="1 .5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc;color:green; height:6px;width:478px" %)489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:478px" %) 481 481 |(% style="width:101px" %)((( 482 -AT+EXT=4,1 491 +**AT+EXT=4,1** 483 483 )))|(% style="width:373px" %)((( 484 484 Sent uplink packet in both rising and falling interrupt 485 485 ))) 486 486 |(% style="width:101px" %)((( 487 -AT+EXT=4,2 496 +**AT+EXT=4,2** 488 488 )))|(% style="width:373px" %)((( 489 489 Sent uplink packet only in falling interrupt 490 490 ))) 491 491 |(% style="width:101px" %)((( 492 -AT+EXT=4,3 501 +**AT+EXT=4,3** 493 493 )))|(% style="width:373px" %)((( 494 494 Sent uplink packet only in rising interrupt 495 495 ))) ... ... @@ -523,7 +523,7 @@ 523 523 524 524 Ext=8, Counting Sensor ( 4 bytes): 525 525 526 -(% border=" 2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc;color:green; height:6px;width:381px" %)535 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:381px" %) 527 527 |(% style="width:138px" %)((( 528 528 AT+EXT=8,0 529 529 )))|(% style="width:240px" %)((( ... ... @@ -563,9 +563,6 @@ 563 563 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 564 564 ))) 565 565 566 -((( 567 - 568 -))) 569 569 570 570 ((( 571 571 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -575,9 +575,6 @@ 575 575 (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 576 576 ))) 577 577 578 -((( 579 - 580 -))) 581 581 582 582 ((( 583 583 Add Datacake: ... ... @@ -870,18 +870,18 @@ 870 870 temperature fluctuation=05 871 871 872 872 873 - ====**Sampling multiple times and uplink together**====876 +**Sampling multiple times and uplink together** 874 874 875 - 876 876 **AT+WMOD=3,1,60,20,-16,32,1** 877 877 878 878 Explain: 879 879 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. 882 +* (% style="color:#037691" %)**parameter1:**(%%)Set Working Mode to **Mode 3** 883 +* (% style="color:#037691" %)**parameter2:**(%%) Set the temperature sampling mode to** 1**(1:DS18B20;2:TMP117;3:** **Internal GXHT30). 884 +* (% style="color:#037691" %)**parameter3:**(%%)Sampling Interval is **60**s. 885 +* (% 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) 886 +* (% style="color:#037691" %)**parameter5 & parameter6:**(%%)Temperature alarm range is **-16** to **32**°C, 887 +* (% 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. 885 885 886 886 (% style="color:#4f81bd" %)**Downlink Command:** 887 887 ... ... @@ -889,7 +889,7 @@ 889 889 890 890 MOD=03 891 891 892 - EXT=01895 +TEMP=DS18B20 893 893 894 894 CITEMP=003C(S) 895 895 ... ... @@ -901,7 +901,6 @@ 901 901 902 902 ARTEMP=01 903 903 904 - 905 905 **Uplink payload( Fport=3)** 906 906 907 907 **Example: CBEA**01**0992**//0A41//**09C4** ... ... @@ -908,7 +908,7 @@ 908 908 909 909 BatV=CBEA 910 910 911 - EXT=01913 +TEMP=DS18B20 912 912 913 913 Temp1=0992 ~/~/ 24.50℃ 914 914 ... ... @@ -916,10 +916,9 @@ 916 916 917 917 Temp3=09C4 ~/~/ 25.00℃ 918 918 919 - 920 920 (% style="color:red" %)**Note: This uplink will automatically select the appropriate DR according to the data length** 921 921 922 -(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ 923 +(% style="color:red" %)** In this mode, the temperature resolution of ds18b20 is 0.25℃ to save power consumption** 923 923 ))) 924 924 925 925 ... ... @@ -978,8 +978,6 @@ 978 978 * RED LED when external sensor is not connected 979 979 * For each success downlink, the PURPLE LED will blink once 980 980 981 - 982 - 983 983 == 2.9 installation == 984 984 985 985 ... ... @@ -1032,8 +1032,6 @@ 1032 1032 * Operating Range: -40 ~~ 125 °C 1033 1033 * Working voltage 2.35v ~~ 5v 1034 1034 1035 - 1036 - 1037 1037 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1038 1038 1039 1039 ... ... @@ -1102,8 +1102,6 @@ 1102 1102 1103 1103 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1104 1104 1105 - 1106 - 1107 1107 == 4.2 Set External Sensor Mode == 1108 1108 1109 1109 ... ... @@ -1127,8 +1127,6 @@ 1127 1127 1128 1128 * 0xA20702003c: Same as AT+SETCNT=60 1129 1129 1130 - 1131 - 1132 1132 == 4.3 Enable/Disable uplink Temperature probe ID == 1133 1133 1134 1134 ... ... @@ -1159,8 +1159,6 @@ 1159 1159 * **0xA800** **~-~->** AT+PID=0 1160 1160 * **0xA801** **~-~->** AT+PID=1 1161 1161 1162 - 1163 - 1164 1164 == 4.4 Set Password == 1165 1165 1166 1166 ... ... @@ -1210,8 +1210,6 @@ 1210 1210 1211 1211 * There is no downlink command to set to Sleep mode. 1212 1212 1213 - 1214 - 1215 1215 == 4.7 Set system time == 1216 1216 1217 1217 ... ... @@ -1315,8 +1315,6 @@ 1315 1315 1316 1316 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1317 1317 1318 - 1319 - 1320 1320 == 4.13 Auto Send None-ACK messages == 1321 1321 1322 1322 ... ... @@ -1335,8 +1335,6 @@ 1335 1335 1336 1336 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1337 1337 1338 - 1339 - 1340 1340 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1341 1341 1342 1342 ... ... @@ -1655,7 +1655,7 @@ 1655 1655 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1656 1656 1657 1657 1658 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1643 +(% 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. 1659 1659 1660 1660 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1661 1661 ... ... @@ -1721,7 +1721,7 @@ 1721 1721 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1722 1722 1723 1723 1724 -(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1709 +(% 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. 1725 1725 1726 1726 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1727 1727 ... ... @@ -1781,8 +1781,6 @@ 1781 1781 1782 1782 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1783 1783 1784 - 1785 - 1786 1786 = 8. Packing Info = 1787 1787 1788 1788 ... ... @@ -1796,15 +1796,11 @@ 1796 1796 * Device Size: 10 x 10 x 3.5 mm 1797 1797 * Device Weight: 120.5g 1798 1798 1799 - 1800 - 1801 1801 = 9. Reference material = 1802 1802 1803 1803 1804 1804 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1805 1805 1806 - 1807 - 1808 1808 = 10. FCC Warning = 1809 1809 1810 1810 ... ... @@ -1813,6 +1813,3 @@ 1813 1813 (1) This device may not cause harmful interference; 1814 1814 1815 1815 (2) this device must accept any interference received, including interference that may cause undesired operation. 1816 - 1817 - 1818 -
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content