Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 9 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -417,7 +417,7 @@ 417 417 418 418 [[image:image-20220523000825-9.png||height="366" width="392"]] 419 419 420 -[[image:image-20220523000825-10.png||height="43 2" width="762"]]420 +[[image:image-20220523000825-10.png||height="413" width="728"]] 421 421 422 422 == 2.6 Datalog Feature == 423 423 ... ... @@ -481,18 +481,25 @@ 481 481 User can poll sensor value based on timestamps from the server. Below is the downlink command. 482 482 483 483 484 -(% border="1" style="width:4 54px" %)485 -|(% style="width:6 9px" %)1byte|(% style="width:129px" %)4bytes|(% style="width:134px" %)4bytes|(% style="width:119px" %)1byte486 -|(% style="width:6 9px" %)31|(% style="width:129px" %)Timestamp start|(% style="width:134px" %)Timestamp end|(% style="width:119px" %)Uplink Interval484 +(% 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 487 488 +((( 488 488 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. 490 +))) 489 489 492 +((( 493 +For example, downlink command **31 5FC5F350 5FC6 0160 05** 494 +))) 490 490 491 -For example, downlink command 31 5FC5F350 5FC6 0160 05 492 - 496 +((( 493 493 Is to check 2020/12/1 07:40:00 to 2020/12/1 08:40:00’s data 498 +))) 494 494 500 +((( 495 495 Uplink Internal =5s,means LHT65N will send one packet every 5s. range 5~~255s. 502 +))) 496 496 497 497 498 498 === 2.6.4 Datalog Uplink payload === ... ... @@ -499,52 +499,104 @@ 499 499 500 500 The Datalog poll reply uplink will use below payload format. 501 501 509 +((( 510 +**Retrieval data payload** 511 +))) 502 502 503 -Retrieval data payload 513 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 514 +|(% style="width:93px" %)((( 515 +**Size(bytes)** 516 +)))|(% style="width:71px" %)((( 517 +**2** 518 +)))|(% style="width:102px" %)((( 519 +**2** 520 +)))|(% style="width:86px" %)((( 521 +**2** 522 +)))|(% style="width:90px" %)((( 523 +**1** 524 +)))|(% style="width:85px" %)((( 525 +**4** 526 +))) 527 +|(% style="width:93px" %)((( 528 +**Value** 529 +)))|(% style="width:71px" %)((( 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 +)))|(% style="width:102px" %)((( 532 +((( 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]] 534 +))) 504 504 505 -(% border="1" %) 506 -|**Size(bytes)**|**2**|**2**|**2**|**1**|**4** 507 -|**Value**|[[External sensor data>>path:#Extension_sensor_value]]|((( 508 -[[Built-In>>path:#SHT20_Temperature]] 536 +((( 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]] 538 +))) 539 +)))|(% style="width:86px" %)((( 540 +((( 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]] 542 +))) 509 509 510 -[[Temperature>>path:#SHT20_Temperature]] 511 -)))|((( 512 -[[Built-in>>path:#SHT20_Humidity]] 544 +((( 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]] 546 +))) 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" %)((( 550 +((( 551 +[[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]] 552 +))) 513 513 514 -[[Humidity>>path:#SHT20_Humidity]] 515 -)))|[[Poll message flag & Ext>>path:#Poll_EXT]]|((( 516 -[[Unix Time Stamp>>path:#Unix_Time_Stamp]] 517 - 554 +((( 518 518 519 519 ))) 557 +))) 520 520 521 -Poll message flag & Ext 559 +**Poll message flag & Ext** 522 522 523 - 524 -(% border="1" %)525 -|** Bits**|**7**|**6**|**5**|**4**|**[3:0]**526 - |**Status & Ext**|Not Defined|Poll Message Flag|Sync time OK|Unix Time Request|(((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 +((( 527 527 Ext: 566 +))) 528 528 568 +((( 529 529 0b(1001) 530 530 ))) 571 +))) 531 531 573 +((( 532 532 Poll Message Flag: 1: This message is a poll message reply. 575 +))) 533 533 534 -* Poll Message Flag is set to 1. 535 -* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 577 +* ((( 578 +Poll Message Flag is set to 1. 579 +))) 580 +* ((( 581 +Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 582 +))) 536 536 584 +((( 537 537 For example, in US915 band, the max payload for different DR is: 586 +))) 538 538 539 -a) DR0: max is 11 bytes so one entry of data 588 +((( 589 +a) DR0: max is 11 bytes so one entry of data 590 +))) 540 540 541 -b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 592 +((( 593 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 594 +))) 542 542 543 -c) DR2: total payload includes 11 entries of data 596 +((( 597 +c) DR2: total payload includes 11 entries of data 598 +))) 544 544 545 -d) DR3: total payload includes 22 entries of data. 600 +((( 601 +d) DR3: total payload includes 22 entries of data. 602 +))) 546 546 604 +((( 547 547 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 606 +))) 548 548 549 549 550 550 **Example:** ... ... @@ -551,29 +551,10 @@ 551 551 552 552 If LHT65N has below data inside Flash: 553 553 554 - Flash Addr |Unix Time| Ext | BAT voltage|Value613 +[[image:image-20220523144455-1.png||height="335" width="735"]] 555 555 556 - 80196E021/1/1904:27:0313145sht_temp=22.00 sht_hum=32.6ds_temp=327.67615 +If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 557 557 558 -80196F0 21/1/19 04:28:57 1 3145 sht_temp=21.90 sht_hum=33.1 ds_temp=327.67 559 - 560 -8019700 21/1/19 04:30:30 1 3145 sht_temp=21.81 sht_hum=33.4 ds_temp=327.67 561 - 562 -8019710 21/1/19 04:40:30 1 3145 sht_temp=21.65 sht_hum=33.7 ds_temp=327.67 563 - 564 -8019720 21/1/19 04:50:30 1 3147 sht_temp=21.55 sht_hum=34.1 ds_temp=327.67 565 - 566 -8019730 21/1/19 05:00:30 1 3149 sht_temp=21.50 sht_hum=34.1 ds_temp=327.67 567 - 568 -8019740 21/1/19 05:10:30 1 3149 sht_temp=21.43 sht_hum=34.6 ds_temp=327.67 569 - 570 -8019750 21/1/19 05:20:30 1 3151 sht_temp=21.35 sht_hum=34.9 ds_temp=327.67 571 - 572 - 573 -If user sends below downlink command: 574 - 575 -3160065F9760066DA705 576 - 577 577 Where : Start time: 60065F97 = time 21/1/19 04:27:03 578 578 579 579 Stop time 60066DA7= time 21/1/19 05:27:03 ... ... @@ -599,35 +599,50 @@ 599 599 600 600 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 601 601 602 - 603 603 == 2.7 Alarm Mode == 604 604 605 605 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. 606 606 646 +(% 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. 607 607 608 - Note:Alarmmode will increase a little big the power consumption, we recommendextending the normalreadingtimewhen enabling this feature.648 +**AT Commands for Alarm mode:** 609 609 610 - 611 -AT Commands for Alarm mode: 612 - 650 +(% class="box infomessage" %) 651 +((( 613 613 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 653 +))) 614 614 655 +(% class="box infomessage" %) 656 +((( 615 615 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 658 +))) 616 616 617 - 618 - 619 619 == 2.8 LED Indicator == 620 620 662 +((( 621 621 The LHT65N has a triple color LED which for easy shows different stage. 664 +))) 622 622 666 +((( 623 623 While pressing ACT button, the LED will work as per LED status with ACT button. 668 +))) 624 624 670 +((( 625 625 In a normal working state: 672 +))) 626 626 627 -* For each uplink, the BLUE LED or RED LED will blink once. 628 -* BLUE LED when an external sensor is connected 629 -* RED LED when an external sensor is not connected 630 -* For each success downlink, the PURPLE LED will blink once 674 +* ((( 675 +For each uplink, the BLUE LED or RED LED will blink once. 676 +))) 677 +* ((( 678 +BLUE LED when an external sensor is connected 679 +))) 680 +* ((( 681 +RED LED when an external sensor is not connected 682 +))) 683 +* ((( 684 +For each success downlink, the PURPLE LED will blink once 685 +))) 631 631 632 632 ---- 633 633 ... ... @@ -662,7 +662,7 @@ 662 662 663 663 There are two kinds of commands to configure LHT65N, they are: 664 664 665 -* **General Commands**. 720 +(% style="color:#4f81bd" %)* **General Commands**. 666 666 667 667 These commands are to configure: 668 668 ... ... @@ -673,7 +673,7 @@ 673 673 674 674 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 675 675 676 -* **Commands special design for LHT65N** 731 +(% style="color:#4f81bd" %)* **Commands special design for LHT65N** 677 677 678 678 These commands are only valid for LHT65N, as below: 679 679 ... ... @@ -683,21 +683,8 @@ 683 683 684 684 **AT Command: AT+TDC** 685 685 686 -(% border="1" %) 687 -|**Command Example**|**Function**|**Response** 688 -|AT+TDC?|Show current transmit Interval|((( 689 -30000 741 +[[image:image-20220523150701-2.png]] 690 690 691 -OK 692 - 693 -the interval is 30000ms = 30s 694 -))) 695 -|AT+TDC=60000|Set Transmit Interval|((( 696 -OK 697 - 698 -Set transmit interval to 60000ms = 60 seconds 699 -))) 700 - 701 701 **Downlink Command: 0x01** 702 702 703 703 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -704,8 +704,8 @@ 704 704 705 705 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 706 706 707 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 708 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 749 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 750 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 709 709 710 710 == 4.2 Set External Sensor Mode == 711 711 ... ... @@ -713,23 +713,13 @@ 713 713 714 714 **AT Command: AT+EXT** 715 715 716 -(% border="1" %) 717 -|**Command Example**|**Function**|**Response** 718 -|AT+EXT?|Get current external sensor mode|((( 719 -1 758 +[[image:image-20220523150759-3.png]] 720 720 721 -OK 722 - 723 -External Sensor mode =1 724 -))) 725 -|AT+EXT=1|(% colspan="2" %)Set external sensor mode to 1 726 -|AT+EXT=9|(% colspan="2" %)Set to external DS18B20 with timestamp 727 - 728 728 **Downlink Command: 0xA2** 729 729 730 730 Total bytes: 2 ~~ 5 bytes 731 731 732 -Example: 764 +**Example:** 733 733 734 734 * 0xA201: Set external sensor type to E1 735 735 * 0xA209: Same as AT+EXT=9 ... ... @@ -744,17 +744,14 @@ 744 744 745 745 PID is default set to disable (0) 746 746 747 - 748 748 **AT Command:** 749 749 750 -(% border="1" %) 751 -|**Command Example**|**Function**|**Response** 752 -|AT+PID=1|Enable PID uplink|OK 781 +[[image:image-20220523150928-4.png]] 753 753 754 754 **Downlink Command:** 755 755 756 -* 0xA800 àAT+PID=0757 -* 0xA801 àAT+PID=1785 +* 0xA800 **~-~->** AT+PID=0 786 +* 0xA801 **~-~->** AT+PID=1 758 758 759 759 == 4.4 Set Password == 760 760 ... ... @@ -762,16 +762,8 @@ 762 762 763 763 **AT Command: AT+PWORD** 764 764 765 -(% border="1" %) 766 -|**Command Example**|**Function**|**Response** 767 -|AT+PWORD=?|Show password|((( 768 -123456 794 +[[image:image-20220523151052-5.png]] 769 769 770 - 771 -OK 772 -))) 773 -|AT+PWORD=999999|Set password|OK 774 - 775 775 **Downlink Command:** 776 776 777 777 No downlink command for this feature. ... ... @@ -782,15 +782,12 @@ 782 782 783 783 **AT Command: AT+DISAT** 784 784 785 -(% border="1" %) 786 -|**Command Example**|**Function**|**Response** 787 -|AT+DISAT|Quit AT Commands mode|OK 806 +[[image:image-20220523151132-6.png]] 788 788 789 789 **Downlink Command:** 790 790 791 791 No downlink command for this feature. 792 792 793 - 794 794 == 4.6 Set to sleep mode == 795 795 796 796 Feature: Set device to sleep mode ... ... @@ -797,15 +797,8 @@ 797 797 798 798 **AT Command: AT+SLEEP** 799 799 800 -(% border="1" %) 801 -| | | 802 -|**Command Example**|**Function**|**Response** 803 -|AT+SLEEP|Set to sleep mode|((( 804 -Clear all stored sensor data… 818 +[[image:image-20220523151218-7.png]] 805 805 806 -OK 807 -))) 808 - 809 809 **Downlink Command:** 810 810 811 811 * There is no downlink command to set to Sleep mode. ... ... @@ -816,14 +816,8 @@ 816 816 817 817 **AT Command:** 818 818 819 -(% border="1" %) 820 -|**Command Example**|**Function** 821 -|AT+TIMESTAMP=1611104352|((( 822 -OK 830 +[[image:image-20220523151253-8.png]] 823 823 824 -Set System time to 2021-01-20 00:59:12 825 -))) 826 - 827 827 **Downlink Command:** 828 828 829 829 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 ... ... @@ -837,8 +837,7 @@ 837 837 838 838 **AT Command:** 839 839 840 -|**Command Example**|**Function** 841 -|AT+SYNCMOD=1|Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 845 +[[image:image-20220523151336-9.png]] 842 842 843 843 **Downlink Command:** 844 844
- image-20220523144455-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.4 KB - Content
- image-20220523150701-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.3 KB - Content
- image-20220523150759-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.2 KB - Content
- image-20220523150928-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.1 KB - Content
- image-20220523151052-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +8.6 KB - Content
- image-20220523151132-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.6 KB - Content
- image-20220523151218-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.8 KB - Content
- image-20220523151253-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.5 KB - Content
- image-20220523151336-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.6 KB - Content