<
From version < 15.1 >
edited by Edwin Chen
on 2023/04/09 09:02
To version < 17.1 >
edited by Edwin Chen
on 2023/04/09 09:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -355,56 +355,39 @@
355 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"]]
356 356  
357 357  
358 -= 4. Configure LHT65N-PIR via AT command or LoRaWAN downlink =
358 += 4. Configure LHT65N-PIR =
359 359  
360 +== 4.1 Configure Methods: ==
360 360  
361 -(((
362 -Use can configure LHT65N-E5 via AT Command or LoRaWAN Downlink.
363 -)))
364 364  
365 -* (((
366 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
367 -)))
363 +LHT65N-PIR supports below configure method:
368 368  
369 -* (((
370 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
371 -)))
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.
372 372  
373 -(((
374 -There are two kinds of commands to configure LHT65N-E5, they are:
375 -)))
376 376  
377 -* (((
378 -(% style="color:#4f81bd" %)**General Commands**.
379 -)))
369 +== 4.2 General Commands ==
380 380  
381 -(((
371 +
382 382  These commands are to configure:
383 -)))
384 384  
385 -1. (((
386 -General system settings like: uplink interval.
387 -)))
388 -1. (((
389 -LoRaWAN protocol & radio-related commands.
390 -)))
374 +* General system settings like: uplink interval.
375 +* LoRaWAN protocol & radio related command.
391 391  
392 -(((
393 -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]]
394 -)))
377 +They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
395 395  
396 -* (((
397 -(% style="color:#4f81bd" %)**Commands special design for LHT65N-E5**
398 -)))
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/]]
399 399  
400 -(((
401 -These commands are only valid for LHT65N-E5, as below:
402 -)))
403 403  
382 +== 4.3 Commands special design for LHT65N-PIR ==
404 404  
405 -== 4.1 Set Transmit Interval Time ==
406 406  
385 +These commands only valid for LHT65N-PIR, as below:
407 407  
387 +
388 +=== 4.3.1 Set Transmit Interval Time ===
389 +
390 +
408 408  Feature: Change LoRaWAN End Node Transmit Interval.
409 409  
410 410  
... ... @@ -413,7 +413,7 @@
413 413  [[image:image-20220523150701-2.png||_mstalt="427453"]]
414 414  
415 415  
416 -(% style="color:#4f81bd" %)**Downlink Command: 0x01**
399 +(% style="color:#4f81bd" %)**Downlink Payload: 0x01**
417 417  
418 418  Format: Command Code (0x01) followed by 3 bytes time value.
419 419  
... ... @@ -423,9 +423,19 @@
423 423  
424 424  * **Example 2**: Downlink Payload: 0100003C  ~/~/ Set Transmit Interval (TDC) = 60 seconds
425 425  
426 -== 4.2 Currently only supports E5 ==
427 427  
410 +=== 4.3.2 Get Device Status ===
428 428  
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 +
429 429  Feature: Set device password, max 9 digits
430 430  
431 431  
... ... @@ -449,9 +449,10 @@
449 449  
450 450  * 0xA205: Set external sensor type to E5
451 451  
452 -== 4.3 Set to sleep mode ==
453 453  
446 +=== 4.3.4 Set to sleep mode ===
454 454  
448 +
455 455  Feature: Set device to sleep mode
456 456  
457 457  * **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
... ... @@ -467,6 +467,20 @@
467 467  * There is no downlink command to set to Sleep mode.
468 468  
469 469  
464 +=== 4.3.5 Set UOA (Uplink on Activity) ===
465 +
466 +Feature: Enable / Disable Uplink on Activity
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.
470 +
471 +
472 +(% style="color:#4f81bd" %)**AT Command: AT+UOA**
473 +
474 +
475 +(% style="color:#4f81bd" %)**Downlink Command:  (% class="mark" %)xxxxxxx(%%)**
476 +
477 +
470 470  = 5. Battery & Power Consumption =
471 471  
472 472  LHT65N-PIR use **CR17450** battery pack. See below link for detail information about the battery info and how to replace.
... ... @@ -487,157 +487,25 @@
487 487  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.
488 488  
489 489  
490 -[[image:image-20220615153355-1.png||_mstalt="430222"]]
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"]]
491 491  
492 492  
493 493  
494 -[[image:1655802313617-381.png||_mstalt="293917"]]
502 +[[image:Main.User Manual for LoRaWAN End Nodes.LHT65N-E5 LoRaWAN Temperature_Humidity & Illuminance Sensor User Manual.WebHome@1655802313617-381.png||_mstalt="293917"]]
495 495  
496 496  
497 -
498 -(((
499 499  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.
500 -)))
501 501  
502 -[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
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"]]
503 503  
504 -AT Command List is as below:
505 505  
506 -AT+<CMD>? :  Help on <CMD>
507 507  
508 -AT+<CMD> :  Run <CMD>
509 -
510 -AT+<CMD>=<value> :  Set the value
511 -
512 -AT+<CMD>=? :  Get the value
513 -
514 -AT+DEBUG:  Set more info output
515 -
516 -ATZ:  Trig a reset of the MCU
517 -
518 -AT+FDR:  Reset Parameters to Factory Default, Keys Reserve
519 -
520 -AT+DEUI:  Get or Set the Device EUI
521 -
522 -AT+DADDR:  Get or Set the Device Address
523 -
524 -AT+APPKEY:  Get or Set the Application Key
525 -
526 -AT+NWKSKEY:  Get or Set the Network Session Key
527 -
528 -AT+APPSKEY:  Get or Set the Application Session Key
529 -
530 -AT+APPEUI:  Get or Set the Application EUI
531 -
532 -AT+ADR:  Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
533 -
534 -AT+TXP:  Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
535 -
536 -AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)
537 -
538 -AT+DCS:  Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
539 -
540 -AT+PNM:  Get or Set the public network mode. (0: off, 1: on)
541 -
542 -AT+RX2FQ:  Get or Set the Rx2 window frequency
543 -
544 -AT+RX2DR:  Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
545 -
546 -AT+RX1DL:  Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
547 -
548 -AT+RX2DL:  Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
549 -
550 -AT+JN1DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
551 -
552 -AT+JN2DL:  Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
553 -
554 -AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
555 -
556 -AT+NWKID:  Get or Set the Network ID
557 -
558 -AT+FCU:  Get or Set the Frame Counter Uplink
559 -
560 -AT+FCD:  Get or Set the Frame Counter Downlink
561 -
562 -AT+CLASS:  Get or Set the Device Class
563 -
564 -AT+JOIN:  Join network
565 -
566 -AT+NJS:  Get the join status
567 -
568 -AT+SENDB:  Send hexadecimal data along with the application port
569 -
570 -AT+SEND:  Send text data along with the application port
571 -
572 -AT+RECVB:  Print last received data in binary format (with hexadecimal values)
573 -
574 -AT+RECV:  Print last received data in raw format
575 -
576 -AT+VER:  Get current image version and Frequency Band
577 -
578 -AT+CFM:  Get or Set the confirmation mode (0-1)
579 -
580 -AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
581 -
582 -AT+SNR:  Get the SNR of the last received packet
583 -
584 -AT+RSSI:  Get the RSSI of the last received packet
585 -
586 -AT+TDC:  Get or set the application data transmission interval in ms
587 -
588 -AT+PORT:  Get or set the application port
589 -
590 -AT+DISAT:  Disable AT commands
591 -
592 -AT+PWORD: Set password, max 9 digits
593 -
594 -AT+CHS:  Get or Set Frequency (Unit: Hz) for Single Channel Mode
595 -
596 -AT+CHE:  Get or Set eight channels mode,Only for US915,AU915,CN470
597 -
598 -AT+PDTA:  Print the sector data from start page to stop page
599 -
600 -AT+PLDTA:  Print the last few sets of data
601 -
602 -AT+CLRDTA:  Clear the storage, record position back to 1st
603 -
604 -AT+SLEEP:  Set sleep mode
605 -
606 -AT+EXT:  Get or Set external sensor model
607 -
608 -AT+BAT:  Get the current battery voltage in mV
609 -
610 -AT+CFG:  Print all configurations
611 -
612 -AT+WMOD:  Get or Set Work Mode
613 -
614 -AT+ARTEMP:  Get or set the internal Temperature sensor alarm range
615 -
616 -AT+CITEMP:  Get or set the internal Temperature sensor collection interval in min
617 -
618 -AT+SETCNT:  Set the count at present
619 -
620 -AT+RJTDC:  Get or set the ReJoin data transmission interval in min
621 -
622 -AT+RPL:  Get or set response level
623 -
624 -AT+TIMESTAMP:  Get or Set UNIX timestamp in second
625 -
626 -AT+LEAPSEC:  Get or Set Leap Second
627 -
628 -AT+SYNCMOD:  Get or Set time synchronization method
629 -
630 -AT+SYNCTDC:  Get or set time synchronization interval in day
631 -
632 -AT+PID:  Get or set the PID
633 -
634 -
635 635  == 6.2 Where to use AT commands and Downlink commands ==
636 636  
637 637  
638 638  **AT commands:**
639 639  
640 -[[image:image-20220620153708-1.png||_mstalt="429806" height="603" width="723"]]
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"]]
641 641  
642 642  
643 643  **Downlink commands:**
... ... @@ -646,13 +646,13 @@
646 646  
647 647  (% style="color:blue" %)**TTN:**
648 648  
649 -[[image:image-20220615092124-2.png||_mstalt="429221" height="649" width="688"]]
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"]]
650 650  
651 651  
652 652  
653 653  (% style="color:blue" %)**Helium:**
654 654  
655 -[[image:image-20220615092551-3.png||_mstalt="430794" height="423" width="835"]]
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"]]
656 656  
657 657  
658 658  
... ... @@ -659,56 +659,49 @@
659 659  (% style="color:blue" %)**Chirpstack: The downlink window will not be displayed until the network is accessed**
660 660  
661 661  
662 -[[image:image-20220615094850-6.png||_mstalt="433082"]]
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"]]
663 663  
664 664  
665 -[[image:image-20220615094904-7.png||_mstalt="433485" height="281" width="911"]]
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"]]
666 666  
667 667  
668 668  
669 669  (% style="color:blue" %)**Aws:**
670 670  
671 -[[image:image-20220615092939-4.png||_mstalt="434460" height="448" width="894"]]
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"]]
672 672  
673 673  
674 674  == 6.3 How to change the uplink interval? ==
675 675  
676 -
677 677  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);"]]
678 678  
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"]]
679 679  
680 680  
681 -[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
682 -
683 -
684 684  == 6.4 How to use TTL-USB to connect PC to upgrade firmware? ==
685 685  
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"]]
686 686  
687 -[[image:image-20220615153355-1.png||_mstalt="430222"]]
688 -
689 -
690 690  (% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
691 691  
692 -[[image:image-20220615170542-5.png||_mstalt="430638"]]
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"]]
693 693  
694 -
695 -
696 696  (% _mstmutation="1" style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
697 697  
698 698  First connect the four lines;(% style="display:none" %)
699 699  
700 -[[image:image-20220621170938-1.png||_mstalt="431340" height="413" width="419"]],(% style="display:none" %)
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" %)
701 701  
702 702  
703 703  Then use DuPont cable to short circuit port3 and port1, and then release them, so that the device enters bootlaod mode.
704 704  
705 -[[image:image-20220621170938-2.png||_mstalt="431704"]]
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"]]
706 706  
707 707  
708 708  
709 709  (% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
710 710  
711 -[[image:image-20220615171334-6.png||_mstalt="431028"]]
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"]]
712 712  
713 713  
714 714  Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
... ... @@ -716,7 +716,7 @@
716 716  
717 717  When this interface appears, it indicates that the download has been completed.
718 718  
719 -[[image:image-20220620160723-8.png||_mstalt="430703"]]
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"]]
720 720  
721 721  
722 722  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
... ... @@ -723,7 +723,7 @@
723 723  
724 724  
725 725  
726 -[[image:image-20220615154519-3.png||_mstalt="431925" height="672" width="807"]]
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"]]
727 727  
728 728  
729 729  = 7. Order Info =
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0