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.17
edited by Xiaoling
on 2023/04/26 15:18
on 2023/04/26 15:18
Change comment:
There is no comment for this version
To version 229.1
edited by Bei Jinggeng
on 2023/03/02 14:10
on 2023/03/02 14:10
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
-
... ... @@ -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. 119 +[[image:image-20220525110604-2.png||_mstalt="427531"]] 129 129 121 + 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]]149 +[[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" %)(((199 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:390px" %) 200 +|=(% style="width: 60px;" %)((( 209 209 **Size(bytes)** 210 -)))|=(% style="width: 30px; background-color:#D9E2F3" %)(((202 +)))|=(% style="width: 30px;" %)((( 211 211 **2** 212 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((204 +)))|=(% style="width: 100px;" %)((( 213 213 **2** 214 -)))|=(% style="width: 100px; background-color:#D9E2F3" %)(((206 +)))|=(% style="width: 100px;" %)((( 215 215 **2** 216 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((208 +)))|=(% style="width: 50px;" %)((( 217 217 **1** 218 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((210 +)))|=(% style="width: 50px;" %)((( 219 219 **4** 220 220 ))) 221 221 |(% style="width:97px" %)((( ... ... @@ -237,9 +237,7 @@ 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 245 245 === 2.4.1 Decoder in TTN V3 === ... ... @@ -256,34 +256,19 @@ 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 .249 +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 251 +[[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 259 +* BAT status=(0Xcba4>>14)&0xFF=11(B),very good 260 +* Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 284 284 285 -* Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 286 - 287 287 === 2.4.3 Built-in Temperature === 288 288 289 289 ... ... @@ -307,10 +307,7 @@ 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 285 +[[image:image-20220523152822-17.png||_mstalt="454545"]] 314 314 315 315 316 316 === 2.4.6 Ext value === ... ... @@ -353,18 +353,18 @@ 353 353 354 354 ))) 355 355 356 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:480px" %)357 -|=(% style="width: 50px; background-color:#D9E2F3" %)(((328 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %) 329 +|=(% style="width: 50px;" %)((( 358 358 **Size(bytes)** 359 -)))|=(% style="width: 70px; background-color:#D9E2F3" %)(((331 +)))|=(% style="width: 70px;" %)((( 360 360 **2** 361 -)))|=(% style="width: 120px; background-color:#D9E2F3" %)(((333 +)))|=(% style="width: 120px;" %)((( 362 362 **2** 363 -)))|=(% style="width: 120px; background-color:#D9E2F3" %)(((335 +)))|=(% style="width: 120px;" %)((( 364 364 **2** 365 -)))|=(% style="width: 50px; background-color:#D9E2F3" %)(((337 +)))|=(% style="width: 50px;" %)((( 366 366 **1** 367 -)))|=(% style="width: 70px; background-color:#D9E2F3" %)(((339 +)))|=(% style="width: 70px;" %)((( 368 368 **4** 369 369 ))) 370 370 |(% style="width:110px" %)((( ... ... @@ -383,8 +383,8 @@ 383 383 384 384 * **Battery status & Built-in Humidity** 385 385 386 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:461px" %)387 -|=(% style="width: 6 9px;" %)Bit(bit)|=(% style="width: 258px;" %)[15:14]|=(% style="width: 134px;" %)[11:0]358 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:461px" %) 359 +|=(% style="width: 67px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0] 388 388 |(% style="width:67px" %)Value|(% style="width:256px" %)((( 389 389 BAT Status 390 390 00(b): Ultra Low ( BAT <= 2.50v) ... ... @@ -397,8 +397,8 @@ 397 397 398 398 * **Status & Ext Byte** 399 399 400 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:500px" %)401 -|=(% 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]**372 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %) 373 +|=(% 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]** 402 402 |=(% 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) 403 403 404 404 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -1650,7 +1650,7 @@ 1650 1650 [[image:image-20220615153355-1.png||_mstalt="430222"]] 1651 1651 1652 1652 1653 -(% 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.1625 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1654 1654 1655 1655 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1656 1656 ... ... @@ -1716,7 +1716,7 @@ 1716 1716 [[image:image-20220623110706-1.png||_mstalt="427869"]] 1717 1717 1718 1718 1719 -(% 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.1691 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 1720 1720 1721 1721 [[image:image-20220615170542-5.png||_mstalt="430638"]] 1722 1722 ... ... @@ -1802,3 +1802,6 @@ 1802 1802 (1) This device may not cause harmful interference; 1803 1803 1804 1804 (2) this device must accept any interference received, including interference that may cause undesired operation. 1777 + 1778 + 1779 +
- image-20230426083319-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content