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, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20220523115324-1.jpeg||height=" 317" width="317"]]2 +[[image:image-20220523115324-1.jpeg||height="500" width="500"]] 3 3 4 4 5 5 **LHT65N LoRaWAN Temperature & Humidity Sensor Manual** ... ... @@ -6,7 +6,6 @@ 6 6 7 7 8 8 9 - 10 10 **Table of Contents:** 11 11 12 12 {{toc/}} ... ... @@ -13,9 +13,8 @@ 13 13 14 14 15 15 15 += 1.Introduction = 16 16 17 -= 1. Introduction = 18 - 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 21 ((( ... ... @@ -134,14 +134,8 @@ 134 134 135 135 [[image:image-20220515123819-1.png||height="379" width="317"]] 136 136 137 -[[image:image-20220523153201-19.png||height="1 80" width="818"]]135 +[[image:image-20220523153201-19.png||height="163" width="739"]] 138 138 139 -(% border="1" style="background-color:#ffffcc; color:green; width:878px" %) 140 -|=**Behavior on ACT**|=**Function**|=(% style="width: 561px;" %)**Action** 141 -|**Pressing ACT between 1s < time < 3s**|Test uplink status|(% style="width:561px" %)If LHT65N is already Joined to the LoRaWAN network, LHT65N will send an uplink packet, if LHT65N has an external sensor connected, blue led will blink once. If LHT65N has no external sensor, red led will blink once. 142 -|**Pressing ACT for more than 3s**|Active Device|(% style="width:561px" %)green led will fast blink 5 times, LHT65N will enter working mode and start to JOIN LoRaWAN network. green led will solid turn on for 5 seconds after join in network. 143 -|**Fast press ACT 5 times**|Deactivate Device|(% style="width:561px" %)red led will solid on for 5 seconds. This means LHT65N is in Deep Sleep Mode. 144 - 145 145 == 2.3 Example to join LoRaWAN network == 146 146 147 147 (% class="wikigeneratedid" %) ... ... @@ -211,10 +211,10 @@ 211 211 |(% style="width:97px" %)((( 212 212 **Value** 213 213 )))|(% style="width:39px" %)((( 214 -[[BAT>> ||anchor="H2.4.2BAT-BatteryInfo"]]206 +[[BAT>>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.2BAT-BatteryInfo]] 215 215 )))|(% style="width:100px" %)((( 216 216 ((( 217 -[[Built-In Temperature>> ||anchor="H2.4.3Built-inTemperature"]]209 +[[Built-In 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]] 218 218 ))) 219 219 )))|(% style="width:77px" %)((( 220 220 ((( ... ... @@ -225,7 +225,7 @@ 225 225 [[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]] 226 226 ))) 227 227 )))|(% style="width:47px" %)((( 228 -[[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]] #220 +[[Ext>>path:#Extension_Sensor]] # 229 229 )))|(% style="width:51px" %)((( 230 230 [[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]] 231 231 ))) ... ... @@ -306,7 +306,7 @@ 306 306 307 307 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: 308 308 309 -(% border="1" style="background-color:#ffffcc; color:green; width: 510px" %)301 +(% border="1" style="background-color:#ffffcc; color:green; width:468px" %) 310 310 |(% style="width:96px" %)((( 311 311 **Size(bytes)** 312 312 )))|(% style="width:71px" %)((( ... ... @@ -407,17 +407,10 @@ 407 407 408 408 == 2.6 Datalog Feature == 409 409 410 - DatalogFeature istoensureIoTServer cangetallsamplingdatafromSensor even iftheLoRaWANnetworkis down.For eachsampling,LHT65Nwill store thereading for futureretrievingpurposes. Therearetwo ways forIoT serversto getdatalog from LHT65N.402 +This feature is always enabled. When user wants to retrieve the sensor value, he can send a poll command from the IoT platform to ask LHT65N to send the value in the required time slot. 411 411 412 -=== 2.6.1 Waysto getdatalogvia LoRaWAN===404 +=== 2.6.1 Unix TimeStamp === 413 413 414 -There are two methods: 415 - 416 -1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 417 -1. Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will store the sensor data, and it will send all messages after network recover. 418 - 419 -=== 2.6.2 Unix TimeStamp === 420 - 421 421 LHT65N uses Unix TimeStamp format based on 422 422 423 423 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -435,7 +435,7 @@ 435 435 436 436 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 437 437 438 -=== 2.6. 3Set Device Time ===423 +=== 2.6.2 Set Device Time === 439 439 440 440 ((( 441 441 There are two ways to set device’s time: ... ... @@ -469,7 +469,7 @@ 469 469 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 470 470 ))) 471 471 472 -=== 2.6. 4Poll sensor value ===457 +=== 2.6.3 Poll sensor value === 473 473 474 474 User can poll sensor value based on timestamps from the server. Below is the downlink command. 475 475 ... ... @@ -480,7 +480,7 @@ 480 480 ))) 481 481 482 482 ((( 483 -For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05**468 +For example, downlink command **31 5FC5F350 5FC6 0160 05** 484 484 ))) 485 485 486 486 ((( ... ... @@ -492,7 +492,7 @@ 492 492 ))) 493 493 494 494 495 -=== 2.6. 5Datalog Uplink payload ===480 +=== 2.6.4 Datalog Uplink payload === 496 496 497 497 The Datalog poll reply uplink will use below payload format. 498 498 ... ... @@ -500,81 +500,51 @@ 500 500 **Retrieval data payload** 501 501 ))) 502 502 503 -(% border="1" style="background-color:#ffffcc; color:green; width:5 10px" %)488 +(% border="1" style="background-color:#ffffcc; color:green; width:545px" %) 504 504 |(% style="width:93px" %)((( 505 -((( 506 506 **Size(bytes)** 507 -))) 508 508 )))|(% style="width:71px" %)((( 509 -((( 510 510 **2** 511 -))) 512 512 )))|(% style="width:102px" %)((( 513 -((( 514 514 **2** 515 -))) 516 516 )))|(% style="width:86px" %)((( 517 -((( 518 518 **2** 519 -))) 520 -)))|(% style="width:86px" %)((( 521 -((( 497 +)))|(% style="width:90px" %)((( 522 522 **1** 523 -))) 524 -)))|(% style="width:48px" %)((( 525 -((( 499 +)))|(% style="width:85px" %)((( 526 526 **4** 527 527 ))) 528 -))) 529 529 |(% style="width:93px" %)((( 530 -((( 531 531 **Value** 532 -))) 533 533 )))|(% style="width:71px" %)((( 534 -((( 535 535 [[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]] 536 -))) 537 537 )))|(% style="width:102px" %)((( 538 538 ((( 539 -((( 540 540 [[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]] 541 541 ))) 542 -))) 543 543 544 544 ((( 545 -((( 546 546 [[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]] 547 547 ))) 548 -))) 549 549 )))|(% style="width:86px" %)((( 550 550 ((( 551 -((( 552 552 [[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]] 553 553 ))) 554 -))) 555 555 556 556 ((( 557 -((( 558 558 [[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]] 559 559 ))) 560 -))) 561 -)))|(% style="width:86px" %)((( 562 -((( 522 +)))|(% style="width:90px" %)((( 563 563 [[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]] 564 -))) 565 -)))|(% style="width:48px" %)((( 524 +)))|(% style="width:85px" %)((( 566 566 ((( 567 -((( 568 568 [[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]] 569 569 ))) 570 -))) 571 571 572 572 ((( 573 -((( 574 574 575 575 ))) 576 576 ))) 577 -))) 578 578 579 579 **Poll message flag & Ext** 580 580 ... ... @@ -640,25 +640,14 @@ 640 640 641 641 [[image:image-20220523144455-1.png||height="335" width="735"]] 642 642 643 -((( 644 644 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 645 -))) 646 646 647 -((( 648 648 Where : Start time: 60065F97 = time 21/1/19 04:27:03 649 -))) 650 650 651 -((( 652 652 Stop time 60066DA7= time 21/1/19 05:27:03 653 -))) 654 654 655 -((( 656 - 657 -))) 658 658 659 -((( 660 660 LHT65N will uplink this payload. 661 -))) 662 662 663 663 [[image:image-20220523001219-13.png||height="421" width="727"]] 664 664 ... ... @@ -682,27 +682,19 @@ 682 682 683 683 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. 684 684 685 -((( 686 686 (% 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. 687 -))) 688 688 689 -((( 690 690 **AT Commands for Alarm mode:** 691 -))) 692 692 693 693 (% class="box infomessage" %) 694 694 ((( 695 -((( 696 696 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 697 697 ))) 698 -))) 699 699 700 700 (% class="box infomessage" %) 701 701 ((( 702 -((( 703 703 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 704 704 ))) 705 -))) 706 706 707 707 == 2.8 LED Indicator == 708 708 ... ... @@ -755,55 +755,29 @@ 755 755 756 756 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 757 757 758 -((( 759 759 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 760 -))) 761 761 762 -* ((( 763 -AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 764 -))) 765 -* ((( 766 -LoRaWAN Downlink instruction for different platforms: 767 -))) 696 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 697 +* LoRaWAN Downlink instruction for different platforms: 768 768 769 -((( 770 770 [[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]] 771 -))) 772 772 773 -((( 774 774 There are two kinds of commands to configure LHT65N, they are: 775 -))) 776 776 777 -((( 778 778 (% style="color:#4f81bd" %)* **General Commands**. 779 -))) 780 780 781 -((( 782 782 These commands are to configure: 783 -))) 784 784 785 -* ((( 786 -General system settings like: uplink interval. 787 -))) 788 -* ((( 789 -LoRaWAN protocol & radio-related commands. 790 -))) 707 +* General system settings like: uplink interval. 708 +* LoRaWAN protocol & radio-related commands. 791 791 792 -((( 793 793 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 794 -))) 795 795 796 -((( 797 797 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 798 -))) 799 799 800 -((( 801 801 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 802 -))) 803 803 804 -((( 805 805 These commands are only valid for LHT65N, as below: 806 -))) 807 807 808 808 == 4.1 Set Transmit Interval Time == 809 809 ... ... @@ -813,24 +813,14 @@ 813 813 814 814 [[image:image-20220523150701-2.png]] 815 815 816 -((( 817 817 **Downlink Command: 0x01** 818 -))) 819 819 820 -((( 821 821 Format: Command Code (0x01) followed by 3 bytes time value. 822 -))) 823 823 824 -((( 825 825 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 826 -))) 827 827 828 -* ((( 829 -**Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 830 -))) 831 -* ((( 832 -**Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 833 -))) 732 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 733 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 834 834 835 835 == 4.2 Set External Sensor Mode == 836 836 ... ... @@ -840,27 +840,15 @@ 840 840 841 841 [[image:image-20220523150759-3.png]] 842 842 843 -((( 844 844 **Downlink Command: 0xA2** 845 -))) 846 846 847 -((( 848 848 Total bytes: 2 ~~ 5 bytes 849 -))) 850 850 851 -((( 852 852 **Example:** 853 -))) 854 854 855 -* ((( 856 -0xA201: Set external sensor type to E1 857 -))) 858 -* ((( 859 -0xA209: Same as AT+EXT=9 860 -))) 861 -* ((( 862 -0xA20702003c,Same as AT+SETCNT=60 863 -))) 749 +* 0xA201: Set external sensor type to E1 750 +* 0xA209: Same as AT+EXT=9 751 +* 0xA20702003c,Same as AT+SETCNT=60 864 864 865 865 == 4.3 Enable/Disable uplink Temperature probe ID == 866 866 ... ... @@ -888,13 +888,9 @@ 888 888 889 889 [[image:image-20220523151052-5.png]] 890 890 891 -((( 892 892 **Downlink Command:** 893 -))) 894 894 895 -((( 896 896 No downlink command for this feature. 897 -))) 898 898 899 899 == 4.5 Quit AT Command == 900 900 ... ... @@ -934,17 +934,11 @@ 934 934 935 935 == 4.8 Set Time Sync Mode == 936 936 937 -((( 938 938 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 939 -))) 940 940 941 -((( 942 942 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. 943 -))) 944 944 945 -((( 946 946 **AT Command:** 947 -))) 948 948 949 949 [[image:image-20220523151336-9.png]] 950 950 ... ... @@ -1002,22 +1002,6 @@ 1002 1002 1003 1003 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1004 1004 1005 -== 4.13 Auto Send None-ACK messages == 1006 - 1007 -Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message. 1008 - 1009 - 1010 -**AT Command: AT+PNACKMD** 1011 - 1012 -The default factory setting is 0 1013 - 1014 -|**Command Example**|**Function**|**Response** 1015 -|AT+PNACKMD=1|Poll None-ACK message|OK 1016 - 1017 -**Downlink Command: 0x34** 1018 - 1019 -* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1020 - 1021 1021 = 5. Battery & How to replace = 1022 1022 1023 1023 == 5.1 Battery Type == ... ... @@ -1050,7 +1050,7 @@ 1050 1050 = 6. Order Info = 1051 1051 1052 1052 ((( 1053 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX -YY**915 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 1054 1054 ))) 1055 1055 1056 1056 (((
- image-20220525110512-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.7 KB - Content
- image-20220525110604-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -28.0 KB - Content