Changes for page LHT52 - LoRaWAN Temperature & Humidity Sensor User Manual
Last modified by Mengting Qiu on 2024/04/30 14:27
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523115324-1.jpeg||height=" 500" width="500"]]2 +[[image:image-20220523115324-1.jpeg||height="317" width="317"]] 3 3 4 4 5 5 **LHT65N LoRaWAN Temperature & Humidity Sensor Manual** ... ... @@ -6,6 +6,7 @@ 6 6 7 7 8 8 9 + 9 9 **Table of Contents:** 10 10 11 11 {{toc/}} ... ... @@ -12,8 +12,9 @@ 12 12 13 13 14 14 15 -= 1.Introduction = 16 16 17 += 1. Introduction = 18 + 17 17 == 1.1 What is LHT65N Temperature & Humidity Sensor == 18 18 19 19 ((( ... ... @@ -132,7 +132,7 @@ 132 132 133 133 [[image:image-20220515123819-1.png||height="379" width="317"]] 134 134 135 -[[image:image-20220523153201-19.png||height="1 63" width="739"]]137 +[[image:image-20220523153201-19.png||height="180" width="818"]] 136 136 137 137 == 2.3 Example to join LoRaWAN network == 138 138 ... ... @@ -217,7 +217,7 @@ 217 217 [[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]] 218 218 ))) 219 219 )))|(% style="width:47px" %)((( 220 -[[Ext>>path: #Extension_Sensor]] #222 +[[Ext>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/#H2.4.5Ext23]] # 221 221 )))|(% style="width:51px" %)((( 222 222 [[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]] 223 223 ))) ... ... @@ -298,9 +298,21 @@ 298 298 299 299 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: 300 300 301 -(% border="1" style="background-color:#ffffcc; color:green; width:568px" %) 302 -|(% style="width:96px" %)**Size(bytes)**|(% style="width:71px" %)**2**|(% style="width:99px" %)**2**|(% style="width:132px" %)**2**|(% style="width:54px" %)**1**|(% style="width:64px" %)**4** 303 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 303 303 |(% 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" %)((( 304 304 **Value** 305 305 )))|(% style="width:71px" %)((( 306 306 [[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]] ... ... @@ -387,10 +387,17 @@ 387 387 388 388 == 2.6 Datalog Feature == 389 389 390 - Thisfeature isalwaysenabled. When userwants toretrievethe sensorvalue, hecansendapollcommand from theIoT platformto askLHT65Ntosendthevalue inthe requiredtimeslot.404 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N. 391 391 392 -=== 2.6.1 UnixTimeStamp===406 +=== 2.6.1 Ways to get datalog via LoRaWAN === 393 393 408 +There are two methods: 409 + 410 +1. IoT Server sends a downlink LoRaWAN command to [poll the value>>PollSensorValue]. 411 +1. 412 + 413 +=== 2.6.2 Unix TimeStamp === 414 + 394 394 LHT65N uses Unix TimeStamp format based on 395 395 396 396 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -408,7 +408,7 @@ 408 408 409 409 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 410 410 411 -=== 2.6. 2Set Device Time ===432 +=== 2.6.3 Set Device Time === 412 412 413 413 ((( 414 414 There are two ways to set device’s time: ... ... @@ -442,7 +442,7 @@ 442 442 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 443 443 ))) 444 444 445 -=== 2.6. 3Poll sensor value ===466 +=== [[2.6.4 Poll sensor value>>2.6.4 Poll sensor value||anchor="PollSensorValue"]] === 446 446 447 447 User can poll sensor value based on timestamps from the server. Below is the downlink command. 448 448 ... ... @@ -453,7 +453,7 @@ 453 453 ))) 454 454 455 455 ((( 456 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 477 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05** 457 457 ))) 458 458 459 459 ((( ... ... @@ -465,7 +465,7 @@ 465 465 ))) 466 466 467 467 468 -=== 2.6. 4Datalog Uplink payload ===489 +=== 2.6.5 Datalog Uplink payload === 469 469 470 470 The Datalog poll reply uplink will use below payload format. 471 471 ... ... @@ -473,51 +473,81 @@ 473 473 **Retrieval data payload** 474 474 ))) 475 475 476 -(% border="1" style="background-color:#ffffcc; color:green; width:5 45px" %)497 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 477 477 |(% style="width:93px" %)((( 499 +((( 478 478 **Size(bytes)** 501 +))) 479 479 )))|(% style="width:71px" %)((( 503 +((( 480 480 **2** 505 +))) 481 481 )))|(% style="width:102px" %)((( 507 +((( 482 482 **2** 509 +))) 483 483 )))|(% style="width:86px" %)((( 511 +((( 484 484 **2** 485 -)))|(% style="width:90px" %)((( 513 +))) 514 +)))|(% style="width:86px" %)((( 515 +((( 486 486 **1** 487 -)))|(% style="width:85px" %)((( 517 +))) 518 +)))|(% style="width:48px" %)((( 519 +((( 488 488 **4** 489 489 ))) 522 +))) 490 490 |(% style="width:93px" %)((( 524 +((( 491 491 **Value** 526 +))) 492 492 )))|(% style="width:71px" %)((( 528 +((( 493 493 [[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]] 530 +))) 494 494 )))|(% style="width:102px" %)((( 495 495 ((( 533 +((( 496 496 [[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]] 497 497 ))) 536 +))) 498 498 499 499 ((( 539 +((( 500 500 [[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]] 501 501 ))) 542 +))) 502 502 )))|(% style="width:86px" %)((( 503 503 ((( 545 +((( 504 504 [[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]] 505 505 ))) 548 +))) 506 506 507 507 ((( 551 +((( 508 508 [[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]] 509 509 ))) 510 -)))|(% style="width:90px" %)((( 554 +))) 555 +)))|(% style="width:86px" %)((( 556 +((( 511 511 [[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]] 512 -)))|(% style="width:85px" %)((( 558 +))) 559 +)))|(% style="width:48px" %)((( 513 513 ((( 561 +((( 514 514 [[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]] 515 515 ))) 564 +))) 516 516 517 517 ((( 567 +((( 518 518 519 519 ))) 520 520 ))) 571 +))) 521 521 522 522 **Poll message flag & Ext** 523 523 ... ... @@ -583,14 +583,25 @@ 583 583 584 584 [[image:image-20220523144455-1.png||height="335" width="735"]] 585 585 637 +((( 586 586 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 639 +))) 587 587 641 +((( 588 588 Where : Start time: 60065F97 = time 21/1/19 04:27:03 643 +))) 589 589 645 +((( 590 590 Stop time 60066DA7= time 21/1/19 05:27:03 647 +))) 591 591 649 +((( 650 + 651 +))) 592 592 653 +((( 593 593 LHT65N will uplink this payload. 655 +))) 594 594 595 595 [[image:image-20220523001219-13.png||height="421" width="727"]] 596 596 ... ... @@ -614,19 +614,27 @@ 614 614 615 615 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. 616 616 679 +((( 617 617 (% 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. 681 +))) 618 618 683 +((( 619 619 **AT Commands for Alarm mode:** 685 +))) 620 620 621 621 (% class="box infomessage" %) 622 622 ((( 689 +((( 623 623 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 624 624 ))) 692 +))) 625 625 626 626 (% class="box infomessage" %) 627 627 ((( 696 +((( 628 628 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 629 629 ))) 699 +))) 630 630 631 631 == 2.8 LED Indicator == 632 632 ... ... @@ -679,29 +679,55 @@ 679 679 680 680 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 681 681 752 +((( 682 682 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 754 +))) 683 683 684 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 685 -* LoRaWAN Downlink instruction for different platforms: 756 +* ((( 757 +AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 758 +))) 759 +* ((( 760 +LoRaWAN Downlink instruction for different platforms: 761 +))) 686 686 763 +((( 687 687 [[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 +))) 688 688 767 +((( 689 689 There are two kinds of commands to configure LHT65N, they are: 769 +))) 690 690 771 +((( 691 691 (% style="color:#4f81bd" %)* **General Commands**. 773 +))) 692 692 775 +((( 693 693 These commands are to configure: 777 +))) 694 694 695 -* General system settings like: uplink interval. 696 -* LoRaWAN protocol & radio-related commands. 779 +* ((( 780 +General system settings like: uplink interval. 781 +))) 782 +* ((( 783 +LoRaWAN protocol & radio-related commands. 784 +))) 697 697 786 +((( 698 698 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 788 +))) 699 699 790 +((( 700 700 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 792 +))) 701 701 794 +((( 702 702 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 796 +))) 703 703 798 +((( 704 704 These commands are only valid for LHT65N, as below: 800 +))) 705 705 706 706 == 4.1 Set Transmit Interval Time == 707 707 ... ... @@ -711,14 +711,24 @@ 711 711 712 712 [[image:image-20220523150701-2.png]] 713 713 810 +((( 714 714 **Downlink Command: 0x01** 812 +))) 715 715 814 +((( 716 716 Format: Command Code (0x01) followed by 3 bytes time value. 816 +))) 717 717 818 +((( 718 718 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 820 +))) 719 719 720 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 721 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 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 +))) 722 722 723 723 == 4.2 Set External Sensor Mode == 724 724 ... ... @@ -728,15 +728,27 @@ 728 728 729 729 [[image:image-20220523150759-3.png]] 730 730 837 +((( 731 731 **Downlink Command: 0xA2** 839 +))) 732 732 841 +((( 733 733 Total bytes: 2 ~~ 5 bytes 843 +))) 734 734 845 +((( 735 735 **Example:** 847 +))) 736 736 737 -* 0xA201: Set external sensor type to E1 738 -* 0xA209: Same as AT+EXT=9 739 -* 0xA20702003c,Same as AT+SETCNT=60 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 +))) 740 740 741 741 == 4.3 Enable/Disable uplink Temperature probe ID == 742 742 ... ... @@ -764,9 +764,13 @@ 764 764 765 765 [[image:image-20220523151052-5.png]] 766 766 885 +((( 767 767 **Downlink Command:** 887 +))) 768 768 889 +((( 769 769 No downlink command for this feature. 891 +))) 770 770 771 771 == 4.5 Quit AT Command == 772 772 ... ... @@ -806,11 +806,17 @@ 806 806 807 807 == 4.8 Set Time Sync Mode == 808 808 931 +((( 809 809 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 933 +))) 810 810 935 +((( 811 811 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 +))) 812 812 939 +((( 813 813 **AT Command:** 941 +))) 814 814 815 815 [[image:image-20220523151336-9.png]] 816 816 ... ... @@ -900,7 +900,7 @@ 900 900 = 6. Order Info = 901 901 902 902 ((( 903 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 1031 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 904 904 ))) 905 905 906 906 (((