Changes for page LHT65N-PIR Temperature/Humidity/PIR Motion Sensor User Manual
Last modified by Xiaoling on 2025/06/10 09:17
From version 16.1
edited by Edwin Chen
on 2023/04/09 09:09
on 2023/04/09 09:09
Change comment:
There is no comment for this version
To version 14.1
edited by Edwin Chen
on 2023/04/09 08:54
on 2023/04/09 08:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -466,6 +466,8 @@ 466 466 467 467 * There is no downlink command to set to Sleep mode. 468 468 469 + 470 + 469 469 = 5. Battery & Power Consumption = 470 470 471 471 LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace. ... ... @@ -473,11 +473,6 @@ 473 473 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 474 474 475 475 476 -= 6. OTA firmware update = 477 - 478 -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/]] 479 - 480 - 481 481 = 6. FAQ = 482 482 483 483 == 6.1 How to use AT Command? == ... ... @@ -486,25 +486,157 @@ 486 486 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. 487 487 488 488 489 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]]486 +[[image:image-20220615153355-1.png||_mstalt="430222"]] 490 490 491 491 492 492 493 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]490 +[[image:1655802313617-381.png||_mstalt="293917"]] 494 494 495 495 493 + 494 +((( 496 496 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. 496 +))) 497 497 498 -[[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"]]498 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 499 499 500 +AT Command List is as below: 500 500 502 +AT+<CMD>? : Help on <CMD> 501 501 504 +AT+<CMD> : Run <CMD> 505 + 506 +AT+<CMD>=<value> : Set the value 507 + 508 +AT+<CMD>=? : Get the value 509 + 510 +AT+DEBUG: Set more info output 511 + 512 +ATZ: Trig a reset of the MCU 513 + 514 +AT+FDR: Reset Parameters to Factory Default, Keys Reserve 515 + 516 +AT+DEUI: Get or Set the Device EUI 517 + 518 +AT+DADDR: Get or Set the Device Address 519 + 520 +AT+APPKEY: Get or Set the Application Key 521 + 522 +AT+NWKSKEY: Get or Set the Network Session Key 523 + 524 +AT+APPSKEY: Get or Set the Application Session Key 525 + 526 +AT+APPEUI: Get or Set the Application EUI 527 + 528 +AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on) 529 + 530 +AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec) 531 + 532 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 533 + 534 +AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing 535 + 536 +AT+PNM: Get or Set the public network mode. (0: off, 1: on) 537 + 538 +AT+RX2FQ: Get or Set the Rx2 window frequency 539 + 540 +AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X) 541 + 542 +AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms 543 + 544 +AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms 545 + 546 +AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms 547 + 548 +AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms 549 + 550 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 551 + 552 +AT+NWKID: Get or Set the Network ID 553 + 554 +AT+FCU: Get or Set the Frame Counter Uplink 555 + 556 +AT+FCD: Get or Set the Frame Counter Downlink 557 + 558 +AT+CLASS: Get or Set the Device Class 559 + 560 +AT+JOIN: Join network 561 + 562 +AT+NJS: Get the join status 563 + 564 +AT+SENDB: Send hexadecimal data along with the application port 565 + 566 +AT+SEND: Send text data along with the application port 567 + 568 +AT+RECVB: Print last received data in binary format (with hexadecimal values) 569 + 570 +AT+RECV: Print last received data in raw format 571 + 572 +AT+VER: Get current image version and Frequency Band 573 + 574 +AT+CFM: Get or Set the confirmation mode (0-1) 575 + 576 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 577 + 578 +AT+SNR: Get the SNR of the last received packet 579 + 580 +AT+RSSI: Get the RSSI of the last received packet 581 + 582 +AT+TDC: Get or set the application data transmission interval in ms 583 + 584 +AT+PORT: Get or set the application port 585 + 586 +AT+DISAT: Disable AT commands 587 + 588 +AT+PWORD: Set password, max 9 digits 589 + 590 +AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode 591 + 592 +AT+CHE: Get or Set eight channels mode,Only for US915,AU915,CN470 593 + 594 +AT+PDTA: Print the sector data from start page to stop page 595 + 596 +AT+PLDTA: Print the last few sets of data 597 + 598 +AT+CLRDTA: Clear the storage, record position back to 1st 599 + 600 +AT+SLEEP: Set sleep mode 601 + 602 +AT+EXT: Get or Set external sensor model 603 + 604 +AT+BAT: Get the current battery voltage in mV 605 + 606 +AT+CFG: Print all configurations 607 + 608 +AT+WMOD: Get or Set Work Mode 609 + 610 +AT+ARTEMP: Get or set the internal Temperature sensor alarm range 611 + 612 +AT+CITEMP: Get or set the internal Temperature sensor collection interval in min 613 + 614 +AT+SETCNT: Set the count at present 615 + 616 +AT+RJTDC: Get or set the ReJoin data transmission interval in min 617 + 618 +AT+RPL: Get or set response level 619 + 620 +AT+TIMESTAMP: Get or Set UNIX timestamp in second 621 + 622 +AT+LEAPSEC: Get or Set Leap Second 623 + 624 +AT+SYNCMOD: Get or Set time synchronization method 625 + 626 +AT+SYNCTDC: Get or set time synchronization interval in day 627 + 628 +AT+PID: Get or set the PID 629 + 630 + 502 502 == 6.2 Where to use AT commands and Downlink commands == 503 503 504 504 505 505 **AT commands:** 506 506 507 -[[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"]]636 +[[image:image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]] 508 508 509 509 510 510 **Downlink commands:** ... ... @@ -513,13 +513,13 @@ 513 513 514 514 (% style="color:blue" %)**TTN:** 515 515 516 -[[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"]]645 +[[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]] 517 517 518 518 519 519 520 520 (% style="color:blue" %)**Helium:** 521 521 522 -[[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"]]651 +[[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]] 523 523 524 524 525 525 ... ... @@ -526,49 +526,56 @@ 526 526 (% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed** 527 527 528 528 529 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615094850-6.png||_mstalt="433082"]]658 +[[image:image-20220615094850-6.png||_mstalt="433082"]] 530 530 531 531 532 -[[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"]]661 +[[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]] 533 533 534 534 535 535 536 536 (% style="color:blue" %)**Aws:** 537 537 538 -[[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"]]667 +[[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]] 539 539 540 540 541 541 == 6.3 How to change the uplink interval? == 542 542 672 + 543 543 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);"]] 544 544 545 -[[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"]] 546 546 547 547 677 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 678 + 679 + 548 548 == 6.4 How to use TTL-USB to connect PC to upgrade firmware? == 549 549 550 -[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615153355-1.png||_mstalt="430222"]] 551 551 683 +[[image:image-20220615153355-1.png||_mstalt="430222"]] 684 + 685 + 552 552 (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer first. 553 553 554 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615170542-5.png||_mstalt="430638"]]688 +[[image:image-20220615170542-5.png||_mstalt="430638"]] 555 555 690 + 691 + 556 556 (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %) 557 557 558 558 First connect the four lines;(% style="display:none" %) 559 559 560 -[[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" %)696 +[[image:image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %) 561 561 562 562 563 563 Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode. 564 564 565 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220621170938-2.png||_mstalt="431704"]]701 +[[image:image-20220621170938-2.png||_mstalt="431704"]] 566 566 567 567 568 568 569 569 (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded. 570 570 571 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220615171334-6.png||_mstalt="431028"]]707 +[[image:image-20220615171334-6.png||_mstalt="431028"]] 572 572 573 573 574 574 Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade. ... ... @@ -576,7 +576,7 @@ 576 576 577 577 When this interface appears, it indicates that the download has been completed. 578 578 579 -[[image: Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@image-20220620160723-8.png||_mstalt="430703"]]715 +[[image:image-20220620160723-8.png||_mstalt="430703"]] 580 580 581 581 582 582 Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device. ... ... @@ -583,7 +583,7 @@ 583 583 584 584 585 585 586 -[[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"]]722 +[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]] 587 587 588 588 589 589 = 7. Order Info =