Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
Uploaded new attachment "image-20220523151524-12.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 10 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523115324-1.jpeg||height=" 317" width="317"]]2 +[[image:image-20220523115324-1.jpeg||height="500" width="500"]] 3 3 4 4 5 5 **LHT65N LoRaWAN Temperature & Humidity Sensor Manual** ... ... @@ -6,7 +6,6 @@ 6 6 7 7 8 8 9 - 10 10 **Table of Contents:** 11 11 12 12 {{toc/}} ... ... @@ -13,9 +13,8 @@ 13 13 14 14 15 15 15 += 1.Introduction = 16 16 17 -= 1. Introduction = 18 - 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 21 ((( ... ... @@ -134,7 +134,11 @@ 134 134 135 135 [[image:image-20220515123819-1.png||height="379" width="317"]] 136 136 137 -[[image:image-20220525110604-2.png]] 135 +(% border="1" style="background-color:#ffffcc; color:green; width:739px" %) 136 +|**Behavior on ACT**|**Function**|(% style="width:424px" %)**Action** 137 +|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:424px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 138 +|**Pressing ACT for more than 3s**|Active Device|(% style="width:424px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 139 +|**Fast press ACT 5 times**|Deactivate Device|(% style="width:424px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 138 138 139 139 == 2.3 Example to join LoRaWAN network == 140 140 ... ... @@ -188,40 +188,45 @@ 188 188 189 189 After each uplink, the (% style="color:blue" %)**BLUE LED**(%%) will blink once. 190 190 191 -(% border="1" style="background-color:#ffffcc; color:green; width:426px" %) 192 -|(% style="width:97px" %)((( 193 + 194 +(% border="1" style="background-color:#ffffcc; color:green; width:428px" %) 195 +|(% style="width:106px" %)((( 193 193 **Size(bytes)** 194 -)))|(% style="width: 39px" %)(((197 +)))|(% style="width:46px" %)((( 195 195 **2** 196 -)))|(% style="width:10 0px" %)(((199 +)))|(% style="width:104px" %)((( 197 197 **2** 198 -)))|(% style="width: 77px" %)(((201 +)))|(% style="width:80px" %)((( 199 199 **2** 200 -)))|(% style="width:47px" %)((( 201 -**1** 202 202 )))|(% style="width:51px" %)((( 204 +**1** 205 +)))|(% style="width:35px" %)((( 203 203 **4** 204 204 ))) 205 -|(% style="width: 97px" %)(((208 +|(% style="width:106px" %)((( 206 206 **Value** 207 -)))|(% style="width: 39px" %)(((208 -[[BAT>> ||anchor="H2.4.2BAT-BatteryInfo"]]209 -)))|(% style="width:10 0px" %)(((210 +)))|(% style="width:46px" %)((( 211 +[[BAT>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.2BAT-BatteryInfo]] 212 +)))|(% style="width:104px" %)((( 210 210 ((( 211 -[[Built-In >>||anchor="H2.4.3Built-inTemperature"]]214 +[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 212 212 ))) 213 - )))|(% style="width:77px" %)(((216 + 214 214 ((( 215 -[[ Built-in>>||anchor="H2.4.4Built-inHumidity"]]218 +[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 216 216 ))) 220 +)))|(% style="width:80px" %)((( 221 +((( 222 +[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 223 +))) 217 217 218 218 ((( 219 -[[Humidity>> ||anchor="H2.4.4Built-inHumidity"]]226 +[[Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 220 220 ))) 221 -)))|(% style="width:47px" %)((( 222 -[[Ext>>||anchor="H2.4.5Ext23"]] # 223 223 )))|(% style="width:51px" %)((( 224 -[[Ext value>>||anchor="H2.4.6Extvalue"]] 229 +[[Ext>>path:#Extension_Sensor]] # 230 +)))|(% style="width:35px" %)((( 231 +[[Ext value>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 225 225 ))) 226 226 227 227 * The First 6 bytes: has fix meanings for every LHT65N. ... ... @@ -242,8 +242,40 @@ 242 242 243 243 These two bytes of BAT include the battery state and the actually voltage 244 244 245 -[[image:image-20220523152839-18.png]] 252 +(% border="1" style="background-color:#ffffcc; color:green; width:502px" %) 253 +|(% style="width:75px" %)((( 254 +Bit(bit) 255 +)))|(% style="width:259px" %)((( 256 +[15:14] 257 +)))|(% style="width:164px" %)((( 258 +[13:0] 259 +))) 260 +|(% style="width:75px" %)((( 261 +Value 262 +)))|(% style="width:259px" %)((( 263 +((( 264 +BAT Status 265 +))) 246 246 267 +((( 268 +00(b): Ultra Low ( BAT <= 2.50v) 269 +))) 270 + 271 +((( 272 +01(b): Low (2.50v <=BAT <= 2.55v) 273 +))) 274 + 275 +((( 276 +10(b): OK (2.55v <= BAT <=2.65v) 277 +))) 278 + 279 +((( 280 +11(b): Good (BAT >= 2.65v) 281 +))) 282 +)))|(% style="width:164px" %)((( 283 +Actually BAT voltage 284 +))) 285 + 247 247 [[image:image-20220522235639-1.png||height="139" width="727"]] 248 248 249 249 Check the battery voltage for LHT65N. ... ... @@ -271,7 +271,10 @@ 271 271 272 272 Bytes for External Sensor: 273 273 274 -[[image:image-20220523152822-17.png]] 313 +(% border="1" style="background-color:#ffffcc; color:green; width:473px" %) 314 +|(% style="width:139px" %)**EXT # Value**|(% style="width:331px" %)**External Sensor Type** 315 +|(% style="width:139px" %)0x01|(% style="width:331px" %)Sensor E3, Temperature Sensor 316 +|(% style="width:139px" %)0x09|(% style="width:331px" %)Sensor E3, Temperature Sensor, Datalog Mod 275 275 276 276 === 2.4.6 Ext value === 277 277 ... ... @@ -300,47 +300,21 @@ 300 300 301 301 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: 302 302 303 -(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 304 -|(% style="width:96px" %)((( 305 -**Size(bytes)** 306 -)))|(% style="width:71px" %)((( 307 -**2** 308 -)))|(% style="width:99px" %)((( 309 -**2** 310 -)))|(% style="width:132px" %)((( 311 -**2** 312 -)))|(% style="width:54px" %)((( 313 -**1** 314 -)))|(% style="width:64px" %)((( 315 -**4** 316 -))) 317 -|(% style="width:96px" %)((( 318 -**Value** 319 -)))|(% style="width:71px" %)((( 320 -[[External temperature>>||anchor="H4.2SetExternalSensorMode"]] 321 -)))|(% style="width:99px" %)((( 322 -((( 323 -[[Built-In>>||anchor="H2.4.3Built-inTemperature"]] 324 -))) 345 +(% border="1" style="background-color:#ffffcc; color:green; width:541px" %) 346 +|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:69px" %)**2**|(% style="width:88px" %)**2**|(% style="width:69px" %)**1**|(% style="width:85px" %)**4** 347 +|(% style="width:96px" %)**Value**|(% style="width:71px" %)[[External temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.2SetExternalSensorMode]]|(% style="width:69px" %)((( 348 +[[Built-In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 325 325 326 -((( 327 -[[Temperature>>||anchor="H2.4.3Built-inTemperature"]] 328 -))) 329 -)))|(% style="width:132px" %)((( 330 -((( 350 +[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 351 +)))|(% style="width:88px" %)((( 331 331 BAT Status & 332 -))) 333 333 334 -((( 335 -[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]] 354 +[[Built-in>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 355 + 356 +[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 357 +)))|(% style="width:69px" %)Status & Ext|(% style="width:85px" %)((( 358 +[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H4.1SetTransmitIntervalTime]] 336 336 ))) 337 -)))|(% style="width:54px" %)((( 338 -Status & Ext 339 -)))|(% style="width:64px" %)((( 340 -((( 341 -[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 342 -))) 343 -))) 344 344 345 345 * **Battery status & (% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)Built-in Humidity(%%)** 346 346 ... ... @@ -357,7 +357,7 @@ 357 357 358 358 11(b): Good (BAT >= 2.65v) 359 359 )))|(% style="width:134px" %)((( 360 -[[Built-in Humidity>> ||anchor="H2.4.4Built-inHumidity"]]376 +[[Built-in Humidity>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 361 361 362 362 363 363 ))) ... ... @@ -364,7 +364,11 @@ 364 364 365 365 * **Status & Ext Byte** 366 366 367 -[[image:image-20220523152434-16.png]] 383 +(% border="1" style="background-color:#ffffcc; color:green; width:587px" %) 384 +|(% style="width:109px" %)**Bits**|(% style="width:105px" %)**7**|(% style="width:105px" %)**6**|(% style="width:82px" %)**5**|(% style="width:84px" %)**4**|(% style="width:97px" %)**[3:0]** 385 +|(% style="width:109px" %)**Status & Ext**|(% style="width:105px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:82px" %)Sync time OK|(% style="width:84px" %)Unix Time Request|(% style="width:97px" %)((( 386 +Ext:0b(1001) 387 +))) 368 368 369 369 * Poll Message Flag: 1: This message is a poll message reply, 0: means this is a normal uplink. 370 370 * 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. ... ... @@ -401,17 +401,10 @@ 401 401 402 402 == 2.6 Datalog Feature == 403 403 404 - DatalogFeature istoensureIoTServer cangetallsamplingdatafromSensor even iftheLoRaWANnetworkis down.For eachsampling,LHT65Nwill store thereading for futureretrievingpurposes. Therearetwo ways forIoT serversto getdatalog from LHT65N.424 +This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot. 405 405 406 -=== 2.6.1 Waysto getdatalogvia LoRaWAN===426 +=== 2.6.1 Unix TimeStamp === 407 407 408 -There are two methods: 409 - 410 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 411 -1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover. 412 - 413 -=== 2.6.2 Unix TimeStamp === 414 - 415 415 LHT65N uses Unix TimeStamp format based on 416 416 417 417 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -429,7 +429,7 @@ 429 429 430 430 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 431 431 432 -=== 2.6. 3Set Device Time ===445 +=== 2.6.2 Set Device Time === 433 433 434 434 ((( 435 435 There are two ways to set device’s time: ... ... @@ -463,18 +463,21 @@ 463 463 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 464 464 ))) 465 465 466 -=== 2.6. 4Poll sensor value ===479 +=== 2.6.3 Poll sensor value === 467 467 468 468 User can poll sensor value based on timestamps from the server. Below is the downlink command. 469 469 470 -[[image:image-20220523152302-15.png]] 471 471 484 +(% border="1" style="background-color:#ffffcc; color:green; width:427px" %) 485 +|(% style="width:61px" %)1byte|(% style="width:126px" %)4bytes|(% style="width:120px" %)4bytes|(% style="width:115px" %)1byte 486 +|(% style="width:61px" %)31|(% style="width:126px" %)Timestamp start|(% style="width:120px" %)Timestamp end|(% style="width:115px" %)Uplink Interval 487 + 472 472 ((( 473 473 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. 474 474 ))) 475 475 476 476 ((( 477 -For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**493 +For example, downlink command **31 5FC5F350 5FC6 0160 05** 478 478 ))) 479 479 480 480 ((( ... ... @@ -486,7 +486,7 @@ 486 486 ))) 487 487 488 488 489 -=== 2.6. 5Datalog Uplink payload ===505 +=== 2.6.4 Datalog Uplink payload === 490 490 491 491 The Datalog poll reply uplink will use below payload format. 492 492 ... ... @@ -494,138 +494,100 @@ 494 494 **Retrieval data payload** 495 495 ))) 496 496 497 -(% border="1" style="background-color:#ffffcc; color:green; width:5 10px" %)513 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 498 498 |(% style="width:93px" %)((( 499 -((( 500 500 **Size(bytes)** 501 -))) 502 502 )))|(% style="width:71px" %)((( 503 -((( 504 504 **2** 505 -))) 506 506 )))|(% style="width:102px" %)((( 507 -((( 508 508 **2** 509 -))) 510 510 )))|(% style="width:86px" %)((( 511 -((( 512 512 **2** 513 -))) 514 -)))|(% style="width:86px" %)((( 515 -((( 522 +)))|(% style="width:90px" %)((( 516 516 **1** 517 -))) 518 -)))|(% style="width:48px" %)((( 519 -((( 524 +)))|(% style="width:85px" %)((( 520 520 **4** 521 521 ))) 522 -))) 523 523 |(% style="width:93px" %)((( 524 -((( 525 525 **Value** 526 -))) 527 527 )))|(% style="width:71px" %)((( 528 -((( 529 -[[External sensor data>>||anchor="H2.4.6Extvalue"]] 530 -))) 530 +[[External sensor data>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.6Extvalue]] 531 531 )))|(% style="width:102px" %)((( 532 532 ((( 533 -((( 534 -[[Built In>>||anchor="H2.4.3Built-inTemperature"]] 533 +[[Built In>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 535 535 ))) 536 -))) 537 537 538 538 ((( 539 -((( 540 -[[Temperature>>||anchor="H2.4.3Built-inTemperature"]] 537 +[[Temperature>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.3Built-inTemperature]] 541 541 ))) 542 -))) 543 543 )))|(% style="width:86px" %)((( 544 544 ((( 545 -((( 546 -[[Built-in>>||anchor="H2.4.4Built-inHumidity"]] 541 +[[Built-in>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 547 547 ))) 548 -))) 549 549 550 550 ((( 551 -((( 552 -[[Humidity>>||anchor="H2.4.4Built-inHumidity"]] 545 +[[Humidity>>http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.4Built-inHumidity]] 553 553 ))) 554 -))) 555 -)))|(% style="width:86px" %)((( 547 +)))|(% style="width:90px" %)((( 548 +[[Poll message flag & Ext>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.4DatalogUplinkpayload]] 549 +)))|(% style="width:85px" %)((( 556 556 ((( 557 - Pollmessageflag &Ext551 +[[Unix Time Stamp>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.6.1UnixTimeStamp]] 558 558 ))) 559 -)))|(% style="width:48px" %)((( 560 -((( 561 -((( 562 -[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 563 -))) 564 -))) 565 565 566 566 ((( 567 -((( 568 568 569 569 ))) 570 570 ))) 571 -))) 572 572 573 573 **Poll message flag & Ext** 574 574 575 -[[image:image-20220523152208-14.png]] 561 +(% border="1" style="background-color:#ffffcc; color:green; width:540px" %) 562 +|(% style="width:81px" %)**Bits**|(% style="width:100px" %)**7**|(% style="width:105px" %)**6**|(% style="width:84px" %)**5**|(% style="width:85px" %)**4**|(% style="width:79px" %)**[3:0]** 563 +|(% style="width:81px" %)**Status & Ext**|(% style="width:100px" %)Not Defined|(% style="width:105px" %)Poll Message Flag|(% style="width:84px" %)Sync time OK|(% style="width:85px" %)Unix Time Request|(% style="width:79px" %)((( 564 +((( 565 +Ext: 566 +))) 576 576 577 577 ((( 569 +0b(1001) 570 +))) 571 +))) 572 + 578 578 ((( 579 579 Poll Message Flag: 1: This message is a poll message reply. 580 580 ))) 581 -))) 582 582 583 583 * ((( 584 -((( 585 585 Poll Message Flag is set to 1. 586 586 ))) 587 -))) 588 588 * ((( 589 -((( 590 590 Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 591 591 ))) 592 -))) 593 593 594 594 ((( 595 -((( 596 596 For example, in US915 band, the max payload for different DR is: 597 597 ))) 598 -))) 599 599 600 600 ((( 601 -((( 602 602 a) DR0: max is 11 bytes so one entry of data 603 603 ))) 604 -))) 605 605 606 606 ((( 607 -((( 608 608 b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 609 609 ))) 610 -))) 611 611 612 612 ((( 613 -((( 614 614 c) DR2: total payload includes 11 entries of data 615 615 ))) 616 -))) 617 617 618 618 ((( 619 -((( 620 620 d) DR3: total payload includes 22 entries of data. 621 621 ))) 622 -))) 623 623 624 624 ((( 625 -((( 626 626 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 627 627 ))) 628 -))) 629 629 630 630 631 631 **Example:** ... ... @@ -634,25 +634,14 @@ 634 634 635 635 [[image:image-20220523144455-1.png||height="335" width="735"]] 636 636 637 -((( 638 638 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 639 -))) 640 640 641 -((( 642 642 Where : Start time: 60065F97 = time 21/1/19 04:27:03 643 -))) 644 644 645 -((( 646 646 Stop time 60066DA7= time 21/1/19 05:27:03 647 -))) 648 648 649 -((( 650 - 651 -))) 652 652 653 -((( 654 654 LHT65N will uplink this payload. 655 -))) 656 656 657 657 [[image:image-20220523001219-13.png||height="421" width="727"]] 658 658 ... ... @@ -672,32 +672,24 @@ 672 672 673 673 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 674 674 675 - 676 676 == 2.7 Alarm Mode == 677 677 678 678 Alarm mode feature is added since firmware v1.5. When device is in Alarm mode, it will check the built-in sensor temperature in a short interval. If the temperature exceeds the pre-configure range, it will send an uplink immediately. 679 679 680 -((( 681 681 (% style="color:red" %)Note: Alarm mode will increase a little big the power consumption, we recommend extending the normal reading time when enabling this feature. 682 -))) 683 683 684 684 **AT Commands for Alarm mode:** 685 685 686 686 (% class="box infomessage" %) 687 687 ((( 688 -**~ AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 652 +**AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 653 +))) 689 689 690 -(% class="box infomessage" %)**AT**(%%)**+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 691 - 692 -(% class="box infomessage" %)**AT+ARTEMP:**(%%) Get or set the internal Temperature sensor alarm range 693 - 694 -(% class="box infomessage" %)**AT+ARTEMP=?**(%%):Get the internal Temperatuere sensor alarm range 695 - 696 -(% class="box infomessage" %)**AT+**(% class="box infomessage box infomessage" %)**ARTEMP=45,105**(%%) :Set the internal Temperatuere sensor alarm range 45 to 105. 655 +(% class="box infomessage" %) 656 +((( 657 +**AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 697 697 ))) 698 698 699 -== == 700 - 701 701 == 2.8 LED Indicator == 702 702 703 703 ((( ... ... @@ -749,55 +749,29 @@ 749 749 750 750 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 751 751 752 -((( 753 753 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 754 -))) 755 755 756 -* ((( 757 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 758 -))) 759 -* ((( 760 -LoRaWAN Downlink instruction for different platforms: 761 -))) 713 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 714 +* LoRaWAN Downlink instruction for different platforms: 762 762 763 -((( 764 764 [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 765 -))) 766 766 767 -((( 768 768 There are two kinds of commands to configure LHT65N, they are: 769 -))) 770 770 771 -((( 772 772 (% style="color:#4f81bd" %)* **General Commands**. 773 -))) 774 774 775 -((( 776 776 These commands are to configure: 777 -))) 778 778 779 -* ((( 780 -General system settings like: uplink interval. 781 -))) 782 -* ((( 783 -LoRaWAN protocol & radio-related commands. 784 -))) 724 +* General system settings like: uplink interval. 725 +* LoRaWAN protocol & radio-related commands. 785 785 786 -((( 787 787 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 788 -))) 789 789 790 -((( 791 791 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 792 -))) 793 793 794 -((( 795 795 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 796 -))) 797 797 798 -((( 799 799 These commands are only valid for LHT65N, as below: 800 -))) 801 801 802 802 == 4.1 Set Transmit Interval Time == 803 803 ... ... @@ -807,24 +807,14 @@ 807 807 808 808 [[image:image-20220523150701-2.png]] 809 809 810 -((( 811 811 **Downlink Command: 0x01** 812 -))) 813 813 814 -((( 815 815 Format: Command Code (0x01) followed by 3 bytes time value. 816 -))) 817 817 818 -((( 819 819 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 820 -))) 821 821 822 -* ((( 823 -**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 824 -))) 825 -* ((( 826 -**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 827 -))) 749 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 750 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 828 828 829 829 == 4.2 Set External Sensor Mode == 830 830 ... ... @@ -834,27 +834,15 @@ 834 834 835 835 [[image:image-20220523150759-3.png]] 836 836 837 -((( 838 838 **Downlink Command: 0xA2** 839 -))) 840 840 841 -((( 842 842 Total bytes: 2 ~~ 5 bytes 843 -))) 844 844 845 -((( 846 846 **Example:** 847 -))) 848 848 849 -* ((( 850 -0xA201: Set external sensor type to E1 851 -))) 852 -* ((( 853 -0xA209: Same as AT+EXT=9 854 -))) 855 -* ((( 856 -0xA20702003c,Same as AT+SETCNT=60 857 -))) 766 +* 0xA201: Set external sensor type to E1 767 +* 0xA209: Same as AT+EXT=9 768 +* 0xA20702003c,Same as AT+SETCNT=60 858 858 859 859 == 4.3 Enable/Disable uplink Temperature probe ID == 860 860 ... ... @@ -882,13 +882,9 @@ 882 882 883 883 [[image:image-20220523151052-5.png]] 884 884 885 -((( 886 886 **Downlink Command:** 887 -))) 888 888 889 -((( 890 890 No downlink command for this feature. 891 -))) 892 892 893 893 == 4.5 Quit AT Command == 894 894 ... ... @@ -916,7 +916,7 @@ 916 916 917 917 == 4.7 Set system time == 918 918 919 -Feature: Set system time, unix format. [[See here for format detail.>> ||anchor="H2.6.2UnixTimeStamp"]]826 +Feature: Set system time, unix format. [[See here for format detail.>>path:#TimeStamp]] 920 920 921 921 **AT Command:** 922 922 ... ... @@ -928,17 +928,12 @@ 928 928 929 929 == 4.8 Set Time Sync Mode == 930 930 931 -((( 932 932 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 933 -))) 934 934 935 -((( 936 936 SYNCMOD is set to 1 by default. If user want to set a different time from LoRaWAN server, user need to set this to 0. 937 -))) 938 938 939 - (((842 + 940 940 **AT Command:** 941 -))) 942 942 943 943 [[image:image-20220523151336-9.png]] 944 944 ... ... @@ -954,7 +954,9 @@ 954 954 955 955 **AT Command:** 956 956 957 -[[image:image-20220523151411-10.png]] 859 +(% border="1" %) 860 +|**Command Example**|**Function** 861 +|AT+SYNCTDC=0x0A|Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 958 958 959 959 **Downlink Command:** 960 960 ... ... @@ -966,8 +966,51 @@ 966 966 967 967 **AT Command: AT+PDTA** 968 968 969 -[[image:image-20220523151450-11.png]] 873 +(% border="1" %) 874 +|**Command Example**|**Response** 875 +|((( 876 +AT+PDTA=1,3 970 970 878 + 879 + 880 +Print page 1 to 3 881 +)))|((( 882 +8019500 19/6/26 16:48 1 2992 sht_temp=28.21 sht_hum=71.5 ds_temp=27.31 883 + 884 +8019510 19/6/26 16:53 1 2994 sht_temp=27.64 sht_hum=69.3 ds_temp=26.93 885 + 886 +8019520 19/6/26 16:58 1 2996 sht_temp=28.39 sht_hum=72.0 ds_temp=27.06 887 + 888 +8019530 19/6/26 17:03 1 2996 sht_temp=27.97 sht_hum=70.4 ds_temp=27.12 889 + 890 +8019540 19/6/26 17:08 1 2996 sht_temp=27.80 sht_hum=72.9 ds_temp=27.06 891 + 892 +8019550 19/6/26 17:13 1 2998 sht_temp=27.30 sht_hum=72.4 ds_temp=26.68 893 + 894 +8019560 19/6/26 17:22 1 2992 sht_temp=26.27 sht_hum=62.3 ds_temp=26.56 895 + 896 +8019570 897 + 898 +8019580 899 + 900 +8019590 901 + 902 +80195A0 903 + 904 +80195B0 905 + 906 +80195C0 907 + 908 +80195D0 909 + 910 +80195E0 911 + 912 +80195F0 913 + 914 + 915 +OK 916 +))) 917 + 971 971 **Downlink Command:** 972 972 973 973 No downlink commands for feature ... ... @@ -978,41 +978,54 @@ 978 978 979 979 **AT Command: AT+PLDTA** 980 980 981 -[[image:image-20220523151524-12.png]] 928 +(% border="1" %) 929 +|**Command Example**|**Response** 930 +|((( 931 +AT+PLDTA=5 982 982 983 -**Downlink Command:** 984 984 985 -No downlink commands for feature 986 986 987 -== 4.12 Clear Flash Record == 935 +Print last 5 entries 936 +)))|((( 937 +Stop Tx and RTP events when read sensor data 988 988 989 - Feature:Clearflash storagefordata log feature.939 +1 19/6/26 13:59 1 3005 sht_temp=27.09 sht_hum=79.5 ds_temp=26.75 990 990 991 - **ATCommand:AT+CLRDTA**941 +2 19/6/26 14:04 1 3007 sht_temp=26.65 sht_hum=74.8 ds_temp=26.43 992 992 993 - [[image:image-20220523151556-13.png]]943 +3 19/6/26 14:09 1 3007 sht_temp=26.91 sht_hum=77.9 ds_temp=26.56 994 994 995 - **DownlinkCommand: 0xA3**945 +4 19/6/26 14:15 1 3007 sht_temp=26.93 sht_hum=76.7 ds_temp=26.75 996 996 997 - *Example:0xA301~/~/SameasAT+CLRDTA947 +5 19/6/26 14:20 1 3007 sht_temp=26.78 sht_hum=76.6 ds_temp=26.43 998 998 999 - == 4.13 AutoSendNone-ACKmessages==949 +Start Tx and RTP events 1000 1000 1001 -Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message. 951 +OK 952 +))) 1002 1002 954 +**Downlink Command:** 1003 1003 1004 - **ATCommand:AT+PNACKMD**956 +No downlink commands for feature 1005 1005 1006 - Thedefaultfactorysetting is 0958 +== 4.12 Clear Flash Record == 1007 1007 1008 -(% border="1" style="background-color:#ffffcc; color:green; width:450px" %) 1009 -|=(% style="width: 171px;" %)**Command Example**|=(% style="width: 219px;" %)**Function**|=(% style="width: 119px;" %)**Response** 1010 -|(% style="width:171px" %)AT+PNACKMD=1|(% style="width:219px" %)Poll None-ACK message|(% style="width:119px" %)OK 960 +Feature: Clear flash storage for data log feature. 1011 1011 1012 -** DownlinkCommand:0x34**962 +**AT Command: AT+CLRDTA** 1013 1013 1014 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 964 +(% border="1" %) 965 +|**Command Example**|**Function**|**Response** 966 +|AT+CLRDTA|Clear date record|((( 967 +Clear all stored sensor data… 1015 1015 969 +OK 970 +))) 971 + 972 +**Downlink Command: 0xA3** 973 + 974 +* Example: 0xA301 ~/~/Same as AT+CLRDTA 975 + 1016 1016 = 5. Battery & How to replace = 1017 1017 1018 1018 == 5.1 Battery Type == ... ... @@ -1019,15 +1019,11 @@ 1019 1019 1020 1020 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 1021 1021 1022 -((( 1023 1023 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1024 1024 [[image:image-20220515075034-1.png||height="208" width="644"]] 1025 -))) 1026 1026 1027 -((( 1028 1028 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1029 1029 1030 -))) 1031 1031 1032 1032 == 5.2 Replace Battery == 1033 1033 ... ... @@ -1037,97 +1037,47 @@ 1037 1037 1038 1038 == 5.3 Battery Life Analyze == 1039 1039 1040 -((( 1041 1041 Dragino battery-powered products are all run in Low Power mode. User can check the guideline from this link to calculate the estimated battery life: 1042 1042 https:~/~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf 1043 -))) 1044 1044 1045 1045 = 6. Order Info = 1046 1046 1047 -((( 1048 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 1049 -))) 1001 +Part Number: (% class="mark" %)**LHT65N-XX** 1050 1050 1051 -((( 1052 -(% style="color:#4f81bd" %)**XX **(%%): The default frequency band 1053 -))) 1003 +**XX**: The default frequency band 1054 1054 1055 -* ((( 1056 -(% style="color:#4f81bd" %)** AS923**(%%): LoRaWAN AS923 band 1057 -))) 1058 -* ((( 1059 -(% style="color:#4f81bd" %)** AU915**(%%): LoRaWAN AU915 band 1060 -))) 1061 -* ((( 1062 -(% style="color:#4f81bd" %)** EU433**(%%): LoRaWAN EU433 band 1063 -))) 1064 -* ((( 1065 -(% style="color:#4f81bd" %)** EU868**(%%): LoRaWAN EU868 band 1066 -))) 1067 -* ((( 1068 -(% style="color:#4f81bd" %)** KR920**(%%): LoRaWAN KR920 band 1069 -))) 1070 -* ((( 1071 -(% style="color:#4f81bd" %)** US915**(%%): LoRaWAN US915 band 1072 -))) 1073 -* ((( 1074 -(% style="color:#4f81bd" %)** IN865**(%%): LoRaWAN IN865 band 1075 -))) 1076 -* ((( 1077 -(% style="color:#4f81bd" %)** CN470**(%%): LoRaWAN CN470 band 1078 -))) 1005 +* **AS923**: LoRaWAN AS923 band 1006 +* **AU915**: LoRaWAN AU915 band 1007 +* **EU433**: LoRaWAN EU433 band 1008 +* **EU868**: LoRaWAN EU868 band 1009 +* **KR920**: LoRaWAN KR920 band 1010 +* **US915**: LoRaWAN US915 band 1011 +* **IN865**: LoRaWAN IN865 band 1012 +* **CN470**: LoRaWAN CN470 band 1079 1079 1080 -((( 1081 -(% style="color:#4f81bd" %)**YY**(%%): Sensor Accessories 1082 -))) 1014 +**YY**: Sensor Accessories 1083 1083 1084 -* ((( 1085 -(% style="color:#4f81bd" %)**E3**(%%): External Temperature Probe 1086 -))) 1016 +* **E3**: External Temperature Probe 1087 1087 1088 1088 = 7. Packing Info = 1089 1089 1090 -((( 1091 1091 **Package Includes**: 1092 -))) 1093 1093 1094 -* ((( 1095 -LHT65N Temperature & Humidity Sensor x 1 1096 -))) 1097 -* ((( 1098 -Program cable x 1 1099 -))) 1100 -* ((( 1101 -Optional external sensor 1102 -))) 1022 +* LHT65N Temperature & Humidity Sensor x 1 1023 +* Program cable x 1 1024 +* Optional external sensor 1103 1103 1104 -((( 1105 1105 **Dimension and weight**: 1106 -))) 1107 1107 1108 -* ((( 1109 -Device Size: 13.5 x 7 x 3 cm 1110 -))) 1111 -* ((( 1112 -Device Weight: 105g 1113 -))) 1114 -* ((( 1115 -Package Size / pcs : 14.5 x 8 x 5 cm 1116 -))) 1117 -* ((( 1118 -Weight / pcs : 170g 1119 -))) 1028 +* Device Size: 13.5 x 7 x 3 cm 1029 +* Device Weight: 105g 1030 +* Package Size / pcs : 14.5 x 8 x 5 cm 1031 +* Weight / pcs : 170g 1120 1120 1121 1121 = 8. FCC Warning = 1122 1122 1123 -((( 1124 1124 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: 1125 -))) 1126 1126 1127 -((( 1128 1128 (1) This device may not cause harmful interference; 1129 -))) 1130 1130 1131 -((( 1132 1132 (2) this device must accept any interference received, including interference that may cause undesired operation. 1133 -)))
- image-20220523151556-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.7 KB - Content
- image-20220523152208-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.2 KB - Content
- image-20220523152302-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.3 KB - Content
- image-20220523152434-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.3 KB - Content
- image-20220523152822-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.4 KB - Content
- image-20220523152839-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.7 KB - Content
- image-20220523153201-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -27.9 KB - Content
- image-20220525110512-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.7 KB - Content
- image-20220525110604-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.0 KB - Content
- image-20220525113731-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.9 KB - Content