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)
Details
- Page properties
-
- Content
-
... ... @@ -127,8 +127,6 @@ 127 127 ))) 128 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. 129 129 130 - 131 - 132 132 == 2.3 Example to join LoRaWAN network == 133 133 134 134 ... ... @@ -239,7 +239,9 @@ 239 239 ))) 240 240 241 241 * The First 6 bytes: has fix meanings for every LHT65N. 240 + 242 242 * 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,12 +256,25 @@ 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 259 +These two bytes of BAT include the battery state and the actually voltage. 260 260 261 -[[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 262 262 263 -(b)stands for binary 275 +**(b)stands for binary** 264 264 277 + 265 265 [[image:image-20220522235639-1.png||_mstalt="431392" height="139" width="727"]] 266 266 267 267 ... ... @@ -268,6 +268,7 @@ 268 268 Check the battery voltage for LHT65N. 269 269 270 270 * BAT status=(0Xcba4>>14)&0xFF=11 (BIN) ,very good 284 + 271 271 * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 272 272 273 273 === 2.4.3 Built-in Temperature === ... ... @@ -293,9 +293,11 @@ 293 293 294 294 Bytes for External Sensor: 295 295 296 -[[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 297 297 298 - 299 299 === 2.4.6 Ext value === 300 300 301 301 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== ... ... @@ -332,22 +332,19 @@ 332 332 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: 333 333 ))) 334 334 335 -((( 336 - 337 -))) 338 338 339 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)340 -|=(% style="width: 50px;" %)((( 352 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 353 +|=(% style="width: 50px;background-color:#D9E2F3" %)((( 341 341 **Size(bytes)** 342 -)))|=(% style="width: 70px;" %)((( 355 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 343 343 **2** 344 -)))|=(% style="width: 120px;" %)((( 357 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 345 345 **2** 346 -)))|=(% style="width: 120px;" %)((( 359 +)))|=(% style="width: 120px;background-color:#D9E2F3" %)((( 347 347 **2** 348 -)))|=(% style="width: 50px;" %)((( 361 +)))|=(% style="width: 50px;background-color:#D9E2F3" %)((( 349 349 **1** 350 -)))|=(% style="width: 70px;" %)((( 363 +)))|=(% style="width: 70px;background-color:#D9E2F3" %)((( 351 351 **4** 352 352 ))) 353 353 |(% style="width:110px" %)((( ... ... @@ -366,9 +366,9 @@ 366 366 367 367 * **Battery status & Built-in Humidity** 368 368 369 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:461px" %)370 -|=(% style="width: 6 7px;" %)Bit(bit)|=(% style="width: 256px;" %)[15:14]|=(% style="width: 132px;" %)[11:0]371 -|(% 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" %)((( 372 372 BAT Status 373 373 00(b): Ultra Low ( BAT <= 2.50v) 374 374 01(b): Low (2.50v <=BAT <= 2.55v) ... ... @@ -380,8 +380,8 @@ 380 380 381 381 * **Status & Ext Byte** 382 382 383 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)384 -|=(% 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]** 385 385 |=(% 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) 386 386 387 387 * (% style="color:blue" %)**Poll Message Flag**:(%%) 1: This message is a poll message reply, 0: means this is a normal uplink. ... ... @@ -473,19 +473,19 @@ 473 473 474 474 Ext=4,Interrupt Sensor: 475 475 476 -(% 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" %) 477 477 |(% style="width:101px" %)((( 478 -AT+EXT=4,1 491 +**AT+EXT=4,1** 479 479 )))|(% style="width:373px" %)((( 480 480 Sent uplink packet in both rising and falling interrupt 481 481 ))) 482 482 |(% style="width:101px" %)((( 483 -AT+EXT=4,2 496 +**AT+EXT=4,2** 484 484 )))|(% style="width:373px" %)((( 485 485 Sent uplink packet only in falling interrupt 486 486 ))) 487 487 |(% style="width:101px" %)((( 488 -AT+EXT=4,3 501 +**AT+EXT=4,3** 489 489 )))|(% style="width:373px" %)((( 490 490 Sent uplink packet only in rising interrupt 491 491 ))) ... ... @@ -519,7 +519,7 @@ 519 519 520 520 Ext=8, Counting Sensor ( 4 bytes): 521 521 522 -(% 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" %) 523 523 |(% style="width:138px" %)((( 524 524 AT+EXT=8,0 525 525 )))|(% style="width:240px" %)((( ... ... @@ -559,9 +559,6 @@ 559 559 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: 560 560 ))) 561 561 562 -((( 563 - 564 -))) 565 565 566 566 ((( 567 567 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -571,9 +571,6 @@ 571 571 (% 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. 572 572 ))) 573 573 574 -((( 575 - 576 -))) 577 577 578 578 ((( 579 579 Add Datacake: