Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
From version 17.1
edited by Edwin Chen
on 2023/04/09 09:32
on 2023/04/09 09:32
Change comment:
There is no comment for this version
To version 12.1
edited by Edwin Chen
on 2023/04/09 08:41
on 2023/04/09 08:41
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -329,18 +329,16 @@ 329 329 330 330 == 2.9 installation == 331 331 332 -~1. Don't install LHT65N-PIR outdoor or place where will get wet 333 333 334 -2. Towardshe PIR probetotheplace where needtomonitor activity.333 +[[image:image-20220516231650-1.png||_mstalt="428597" height="436" width="428"]] 335 335 336 336 337 - 338 338 = 3. Sensors and Accessories = 339 339 340 340 == 3.1 E2 Extension Cable == 341 341 342 342 343 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]]341 +[[image:image-20220619092222-1.png||_mstalt="429533" height="182" width="188"]][[image:image-20220619092313-2.png||_mstalt="430222" height="182" width="173"]] 344 344 345 345 346 346 **1m long breakout cable for LHT65N-E5. Features:** ... ... @@ -352,42 +352,59 @@ 352 352 Update firmware for LHT65N-PIR 353 353 ))) 354 354 355 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]]353 +[[image:image-20220619092421-3.png||_mstalt="430547" height="371" width="529"]] 356 356 357 357 358 -= 4. Configure LHT65N-PIR = 356 += 4. Configure LHT65N-PIR via AT command or LoRaWAN downlink = 359 359 360 -== 4.1 Configure Methods: == 361 361 359 +((( 360 +Use can configure LHT65N-E5 via AT Command or LoRaWAN Downlink. 361 +))) 362 362 363 -LHT65N-PIR supports below configure method: 363 +* ((( 364 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 365 +))) 364 364 365 -* AT Command via UART Connection : See [[FAQ>>path:#H7.FAQ]]. 366 -* LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 367 +* ((( 368 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 369 +))) 367 367 371 +((( 372 +There are two kinds of commands to configure LHT65N-E5, they are: 373 +))) 368 368 369 -== 4.2 General Commands == 375 +* ((( 376 +(% style="color:#4f81bd" %)**General Commands**. 377 +))) 370 370 371 - 379 +((( 372 372 These commands are to configure: 381 +))) 373 373 374 -* General system settings like: uplink interval. 375 -* LoRaWAN protocol & radio related command. 383 +1. ((( 384 +General system settings like: uplink interval. 385 +))) 386 +1. ((( 387 +LoRaWAN protocol & radio-related commands. 388 +))) 376 376 377 -They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 390 +((( 391 +They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 392 +))) 378 378 379 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 394 +* ((( 395 +(% style="color:#4f81bd" %)**Commands special design for LHT65N-E5** 396 +))) 380 380 398 +((( 399 +These commands are only valid for LHT65N-E5, as below: 400 +))) 381 381 382 -== 4.3 Commands special design for LHT65N-PIR == 383 383 403 +== 4.1 Set Transmit Interval Time == 384 384 385 -These commands only valid for LHT65N-PIR, as below: 386 386 387 - 388 -=== 4.3.1 Set Transmit Interval Time === 389 - 390 - 391 391 Feature: Change LoRaWAN End Node Transmit Interval. 392 392 393 393 ... ... @@ -396,7 +396,7 @@ 396 396 [[image:image-20220523150701-2.png||_mstalt="427453"]] 397 397 398 398 399 -(% style="color:#4f81bd" %)**Downlink Payload: 0x01**414 +(% style="color:#4f81bd" %)**Downlink Command: 0x01** 400 400 401 401 Format: Command Code (0x01) followed by 3 bytes time value. 402 402 ... ... @@ -406,19 +406,9 @@ 406 406 407 407 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 408 408 424 +== 4.2 Currently only supports E5 == 409 409 410 -=== 4.3.2 Get Device Status === 411 411 412 -Send a LoRaWAN downlink to ask device send Alarm settings. 413 - 414 -* (% style="color:#4f81bd" %)**Downlink Payload**(%%)**: **0x26 01 415 - 416 -Sensor will upload Device Status via FPORT=5. See payload section for detail. 417 - 418 - 419 -=== 4.3.3 Set Password === 420 - 421 - 422 422 Feature: Set device password, max 9 digits 423 423 424 424 ... ... @@ -442,10 +442,9 @@ 442 442 443 443 * 0xA205: Set external sensor type to E5 444 444 450 +== 4.3 Set to sleep mode == 445 445 446 -=== 4.3.4 Set to sleep mode === 447 447 448 - 449 449 Feature: Set device to sleep mode 450 450 451 451 * **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message ... ... @@ -460,33 +460,47 @@ 460 460 461 461 * There is no downlink command to set to Sleep mode. 462 462 467 += 5. Battery & How to replace = 463 463 464 -== =4.3.5SetUOA (Uplink on Activity)===469 +== 5.1 Battery Type == 465 465 466 -Feature: Enable / Disable Uplink on Activity 467 467 468 -* **AT+UOA=0** : Disable UoA 469 -* **AT+UOA=1,2** : Enable UoA , Calm Down Time: 2 minutes. If device already send a uplink on activity, it will not send another uplink on activiy in 2 minutes, even detect activity. 472 +((( 473 +LHT65N-E5 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. 474 +))) 470 470 476 +((( 477 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 471 471 472 -(% style="color:#4f81bd" %)**AT Command: AT+UOA** 473 473 480 +[[image:image-20220515075034-1.png||_mstalt="428961" height="208" width="644"]] 481 +))) 474 474 475 -(% style="color:#4f81bd" %)**Downlink Command: (% class="mark" %)xxxxxxx(%%)** 483 +The minimum Working Voltage for the LHT65N-E5 is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 484 + 476 476 486 +== 5.2 Replace Battery == 477 477 478 -= 5. Battery & Power Consumption = 479 479 480 -LHT65N- PIRuse**CR17450**batterypack.Seebelowlinkfor detailinformationaboutthe batteryinfoand howto replace.489 +LHT65N-E5 has two screws on the back, Unscrew them, and changing the battery inside is ok. The battery is a general CR17450 battery (3.0v). Any brand should be ok. 481 481 482 -[[ **Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].491 +[[image:image-20220515075440-2.png||_mstalt="429546" height="338" width="272"]][[image:image-20220515075625-3.png||_mstalt="431574" height="193" width="257"]] 483 483 484 484 485 -= 6.OTA firmwareupdate =494 +== 5.3 Battery Life Analyze == 486 486 487 -Please see this link for how to do OTA firmware update: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 488 488 497 +((( 498 +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: 499 +[[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf>>https://www.dragino.com/downloads/downloads/LoRa_End_Node/Battery_Analyze/DRAGINO_Battery_Life_Guide.pdf]] 500 +))) 489 489 502 + 503 +((( 504 +A full detail test report for LHT65N-E5 on different frequency can be found at : [[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0>>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0]] 505 +))) 506 + 507 + 490 490 = 6. FAQ = 491 491 492 492 == 6.1 How to use AT Command? == ... ... @@ -495,25 +495,157 @@ 495 495 LHT65N-E5 supports AT Command set.User can use a USB to TTL adapter plus the Program Cable to connect to LHT65 for using AT command, as below. 496 496 497 497 498 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]516 +[[image:image-20220615153355-1.png||_mstalt="430222"]] 499 499 500 500 501 501 502 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]520 +[[image:1655802313617-381.png||_mstalt="293917"]] 503 503 504 504 523 + 524 +((( 505 505 In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N-E5. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout. 526 +))) 506 506 507 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]528 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 508 508 530 +AT Command List is as below: 509 509 532 +AT+<CMD>? : Help on <CMD> 510 510 534 +AT+<CMD> : Run <CMD> 535 + 536 +AT+<CMD>=<value> : Set the value 537 + 538 +AT+<CMD>=? : Get the value 539 + 540 +AT+DEBUG: Set more info output 541 + 542 +ATZ: Trig a reset of the MCU 543 + 544 +AT+FDR: Reset Parameters to Factory Default, Keys Reserve 545 + 546 +AT+DEUI: Get or Set the Device EUI 547 + 548 +AT+DADDR: Get or Set the Device Address 549 + 550 +AT+APPKEY: Get or Set the Application Key 551 + 552 +AT+NWKSKEY: Get or Set the Network Session Key 553 + 554 +AT+APPSKEY: Get or Set the Application Session Key 555 + 556 +AT+APPEUI: Get or Set the Application EUI 557 + 558 +AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on) 559 + 560 +AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec) 561 + 562 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 563 + 564 +AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 565 + 566 +AT+PNM: Get or Set the public network mode. (0: off, 1: on) 567 + 568 +AT+RX2FQ: Get or Set the Rx2 window frequency 569 + 570 +AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) 571 + 572 +AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms 573 + 574 +AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 575 + 576 +AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 577 + 578 +AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 579 + 580 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 581 + 582 +AT+NWKID: Get or Set the Network ID 583 + 584 +AT+FCU: Get or Set the Frame Counter Uplink 585 + 586 +AT+FCD: Get or Set the Frame Counter Downlink 587 + 588 +AT+CLASS: Get or Set the Device Class 589 + 590 +AT+JOIN: Join network 591 + 592 +AT+NJS: Get the join status 593 + 594 +AT+SENDB: Send hexadecimal data along with the application port 595 + 596 +AT+SEND: Send text data along with the application port 597 + 598 +AT+RECVB: Print last received data in binary format (with hexadecimal values) 599 + 600 +AT+RECV: Print last received data in raw format 601 + 602 +AT+VER: Get current image version and Frequency Band 603 + 604 +AT+CFM: Get or Set the confirmation mode (0-1) 605 + 606 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 607 + 608 +AT+SNR: Get the SNR of the last received packet 609 + 610 +AT+RSSI: Get the RSSI of the last received packet 611 + 612 +AT+TDC: Get or set the application data transmission interval in ms 613 + 614 +AT+PORT: Get or set the application port 615 + 616 +AT+DISAT: Disable AT commands 617 + 618 +AT+PWORD: Set password, max 9 digits 619 + 620 +AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode 621 + 622 +AT+CHE: Get or Set eight channels mode,Only for US915,AU915,CN470 623 + 624 +AT+PDTA: Print the sector data from start page to stop page 625 + 626 +AT+PLDTA: Print the last few sets of data 627 + 628 +AT+CLRDTA: Clear the storage, record position back to 1st 629 + 630 +AT+SLEEP: Set sleep mode 631 + 632 +AT+EXT: Get or Set external sensor model 633 + 634 +AT+BAT: Get the current battery voltage in mV 635 + 636 +AT+CFG: Print all configurations 637 + 638 +AT+WMOD: Get or Set Work Mode 639 + 640 +AT+ARTEMP: Get or set the internal Temperature sensor alarm range 641 + 642 +AT+CITEMP: Get or set the internal Temperature sensor collection interval in min 643 + 644 +AT+SETCNT: Set the count at present 645 + 646 +AT+RJTDC: Get or set the ReJoin data transmission interval in min 647 + 648 +AT+RPL: Get or set response level 649 + 650 +AT+TIMESTAMP: Get or Set UNIX timestamp in second 651 + 652 +AT+LEAPSEC: Get or Set Leap Second 653 + 654 +AT+SYNCMOD: Get or Set time synchronization method 655 + 656 +AT+SYNCTDC: Get or set time synchronization interval in day 657 + 658 +AT+PID: Get or set the PID 659 + 660 + 511 511 == 6.2 Where to use AT commands and Downlink commands == 512 512 513 513 514 514 **AT commands:** 515 515 516 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]]666 +[[image:image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]] 517 517 518 518 519 519 **Downlink commands:** ... ... @@ -522,13 +522,13 @@ 522 522 523 523 (% style="color:blue" %)**TTN:** 524 524 525 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]675 +[[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] 526 526 527 527 528 528 529 529 (% style="color:blue" %)**Helium:** 530 530 531 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]]681 +[[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]] 532 532 533 533 534 534 ... ... @@ -535,49 +535,56 @@ 535 535 (% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed** 536 536 537 537 538 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615094850-6.png||_mstalt="433082"]]688 +[[image:image-20220615094850-6.png||_mstalt="433082"]] 539 539 540 540 541 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]]691 +[[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]] 542 542 543 543 544 544 545 545 (% style="color:blue" %)**Aws:** 546 546 547 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]697 +[[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 548 548 549 549 550 550 == 6.3 How to change the uplink interval? == 551 551 702 + 552 552 Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/||_mstmutation="1" style="background-color: rgb(255, 255, 255);"]] 553 553 554 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 555 555 556 556 707 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 708 + 709 + 557 557 == 6.4 How to use TTL-USB to connect PC to upgrade firmware? == 558 558 559 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 560 560 713 +[[image:image-20220615153355-1.png||_mstalt="430222"]] 714 + 715 + 561 561 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 562 562 563 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]718 +[[image:image-20220615170542-5.png||_mstalt="430638"]] 564 564 720 + 721 + 565 565 (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 566 566 567 567 First connect the four lines;(% style="display:none" %) 568 568 569 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %)726 +[[image:image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %) 570 570 571 571 572 572 Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode. 573 573 574 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]731 +[[image:image-20220621170938-2.png||_mstalt="431704"]] 575 575 576 576 577 577 578 578 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 579 579 580 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]737 +[[image:image-20220615171334-6.png||_mstalt="431028"]] 581 581 582 582 583 583 Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade. ... ... @@ -585,7 +585,7 @@ 585 585 586 586 When this interface appears, it indicates that the download has been completed. 587 587 588 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620160723-8.png||_mstalt="430703"]]745 +[[image:image-20220620160723-8.png||_mstalt="430703"]] 589 589 590 590 591 591 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. ... ... @@ -592,7 +592,7 @@ 592 592 593 593 594 594 595 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]752 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 596 596 597 597 598 598 = 7. Order Info =