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,7 +298,7 @@ 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:5 68px" %)303 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 302 302 |(% style="width:96px" %)((( 303 303 **Size(bytes)** 304 304 )))|(% style="width:71px" %)((( ... ... @@ -399,10 +399,17 @@ 399 399 400 400 == 2.6 Datalog Feature == 401 401 402 - 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. 403 403 404 -=== 2.6.1 UnixTimeStamp===406 +=== 2.6.1 Ways to get datalog via LoRaWAN === 405 405 408 +There are two methods: 409 + 410 +1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range. 411 +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 sent all messages after network recover. 412 + 413 +=== 2.6.2 Unix TimeStamp === 414 + 406 406 LHT65N uses Unix TimeStamp format based on 407 407 408 408 [[image:image-20220523001219-11.png||height="97" width="627"]] ... ... @@ -420,7 +420,7 @@ 420 420 421 421 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 422 422 423 -=== 2.6. 2Set Device Time ===432 +=== 2.6.3 Set Device Time === 424 424 425 425 ((( 426 426 There are two ways to set device’s time: ... ... @@ -454,7 +454,7 @@ 454 454 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 455 455 ))) 456 456 457 -=== 2.6. 3Poll sensor value ===466 +=== 2.6.4 Poll sensor value === 458 458 459 459 User can poll sensor value based on timestamps from the server. Below is the downlink command. 460 460 ... ... @@ -465,7 +465,7 @@ 465 465 ))) 466 466 467 467 ((( 468 -For example, downlink command **31 5FC5F350 5FC6 0160 05** 477 +For example, downlink command (% style="display:none" %) (%%)**31 5FC5F350 5FC6 0160 05** 469 469 ))) 470 470 471 471 ((( ... ... @@ -477,7 +477,7 @@ 477 477 ))) 478 478 479 479 480 -=== 2.6. 4Datalog Uplink payload ===489 +=== 2.6.5 Datalog Uplink payload === 481 481 482 482 The Datalog poll reply uplink will use below payload format. 483 483 ... ... @@ -485,51 +485,81 @@ 485 485 **Retrieval data payload** 486 486 ))) 487 487 488 -(% border="1" style="background-color:#ffffcc; color:green; width:5 45px" %)497 +(% border="1" style="background-color:#ffffcc; color:green; width:510px" %) 489 489 |(% style="width:93px" %)((( 499 +((( 490 490 **Size(bytes)** 501 +))) 491 491 )))|(% style="width:71px" %)((( 503 +((( 492 492 **2** 505 +))) 493 493 )))|(% style="width:102px" %)((( 507 +((( 494 494 **2** 509 +))) 495 495 )))|(% style="width:86px" %)((( 511 +((( 496 496 **2** 497 -)))|(% style="width:90px" %)((( 513 +))) 514 +)))|(% style="width:86px" %)((( 515 +((( 498 498 **1** 499 -)))|(% style="width:85px" %)((( 517 +))) 518 +)))|(% style="width:48px" %)((( 519 +((( 500 500 **4** 501 501 ))) 522 +))) 502 502 |(% style="width:93px" %)((( 524 +((( 503 503 **Value** 526 +))) 504 504 )))|(% style="width:71px" %)((( 528 +((( 505 505 [[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 +))) 506 506 )))|(% style="width:102px" %)((( 507 507 ((( 533 +((( 508 508 [[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]] 509 509 ))) 536 +))) 510 510 511 511 ((( 539 +((( 512 512 [[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]] 513 513 ))) 542 +))) 514 514 )))|(% style="width:86px" %)((( 515 515 ((( 545 +((( 516 516 [[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]] 517 517 ))) 548 +))) 518 518 519 519 ((( 551 +((( 520 520 [[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]] 521 521 ))) 522 -)))|(% style="width:90px" %)((( 554 +))) 555 +)))|(% style="width:86px" %)((( 556 +((( 523 523 [[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]] 524 -)))|(% style="width:85px" %)((( 558 +))) 559 +)))|(% style="width:48px" %)((( 525 525 ((( 561 +((( 526 526 [[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]] 527 527 ))) 564 +))) 528 528 529 529 ((( 567 +((( 530 530 531 531 ))) 532 532 ))) 571 +))) 533 533 534 534 **Poll message flag & Ext** 535 535 ... ... @@ -595,14 +595,25 @@ 595 595 596 596 [[image:image-20220523144455-1.png||height="335" width="735"]] 597 597 637 +((( 598 598 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 639 +))) 599 599 641 +((( 600 600 Where : Start time: 60065F97 = time 21/1/19 04:27:03 643 +))) 601 601 645 +((( 602 602 Stop time 60066DA7= time 21/1/19 05:27:03 647 +))) 603 603 649 +((( 650 + 651 +))) 604 604 653 +((( 605 605 LHT65N will uplink this payload. 655 +))) 606 606 607 607 [[image:image-20220523001219-13.png||height="421" width="727"]] 608 608 ... ... @@ -626,19 +626,27 @@ 626 626 627 627 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. 628 628 679 +((( 629 629 (% 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 +))) 630 630 683 +((( 631 631 **AT Commands for Alarm mode:** 685 +))) 632 632 633 633 (% class="box infomessage" %) 634 634 ((( 689 +((( 635 635 **AT+WMOD=1**: Enable/Disable Alarm Mode. (0:Disable, 1: Enable) 636 636 ))) 692 +))) 637 637 638 638 (% class="box infomessage" %) 639 639 ((( 696 +((( 640 640 **AT+CITEMP=1**: The interval to check the temperature for Alarm. (Unit: minute) 641 641 ))) 699 +))) 642 642 643 643 == 2.8 LED Indicator == 644 644 ... ... @@ -691,29 +691,55 @@ 691 691 692 692 = 4. Configure LHT65N via AT Command or LoRaWAN Downlink = 693 693 752 +((( 694 694 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 754 +))) 695 695 696 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 697 -* 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 +))) 698 698 763 +((( 699 699 [[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 +))) 700 700 767 +((( 701 701 There are two kinds of commands to configure LHT65N, they are: 769 +))) 702 702 771 +((( 703 703 (% style="color:#4f81bd" %)* **General Commands**. 773 +))) 704 704 775 +((( 705 705 These commands are to configure: 777 +))) 706 706 707 -* General system settings like: uplink interval. 708 -* LoRaWAN protocol & radio-related commands. 779 +* ((( 780 +General system settings like: uplink interval. 781 +))) 782 +* ((( 783 +LoRaWAN protocol & radio-related commands. 784 +))) 709 709 786 +((( 710 710 They are the same for all Dragino Devices which supports DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 788 +))) 711 711 790 +((( 712 712 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 792 +))) 713 713 794 +((( 714 714 (% style="color:#4f81bd" %)* **Commands special design for LHT65N** 796 +))) 715 715 798 +((( 716 716 These commands are only valid for LHT65N, as below: 800 +))) 717 717 718 718 == 4.1 Set Transmit Interval Time == 719 719 ... ... @@ -723,14 +723,24 @@ 723 723 724 724 [[image:image-20220523150701-2.png]] 725 725 810 +((( 726 726 **Downlink Command: 0x01** 812 +))) 727 727 814 +((( 728 728 Format: Command Code (0x01) followed by 3 bytes time value. 816 +))) 729 729 818 +((( 730 730 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 820 +))) 731 731 732 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 733 -* **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 +))) 734 734 735 735 == 4.2 Set External Sensor Mode == 736 736 ... ... @@ -740,15 +740,27 @@ 740 740 741 741 [[image:image-20220523150759-3.png]] 742 742 837 +((( 743 743 **Downlink Command: 0xA2** 839 +))) 744 744 841 +((( 745 745 Total bytes: 2 ~~ 5 bytes 843 +))) 746 746 845 +((( 747 747 **Example:** 847 +))) 748 748 749 -* 0xA201: Set external sensor type to E1 750 -* 0xA209: Same as AT+EXT=9 751 -* 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 +))) 752 752 753 753 == 4.3 Enable/Disable uplink Temperature probe ID == 754 754 ... ... @@ -776,9 +776,13 @@ 776 776 777 777 [[image:image-20220523151052-5.png]] 778 778 885 +((( 779 779 **Downlink Command:** 887 +))) 780 780 889 +((( 781 781 No downlink command for this feature. 891 +))) 782 782 783 783 == 4.5 Quit AT Command == 784 784 ... ... @@ -818,11 +818,17 @@ 818 818 819 819 == 4.8 Set Time Sync Mode == 820 820 931 +((( 821 821 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 933 +))) 822 822 935 +((( 823 823 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 +))) 824 824 939 +((( 825 825 **AT Command:** 941 +))) 826 826 827 827 [[image:image-20220523151336-9.png]] 828 828 ... ... @@ -880,6 +880,22 @@ 880 880 881 881 * Example: 0xA301 ~/~/Same as AT+CLRDTA 882 882 999 +== 4.13 Auto Send None-ACK messages == 1000 + 1001 +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. 1002 + 1003 + 1004 +**AT Command: AT+PNACKMD** 1005 + 1006 +The default factory setting is 0 1007 + 1008 +|**Command Example**|**Function**|**Response** 1009 +|AT+PNACKMD=1|Poll None-ACK message|OK 1010 + 1011 +**Downlink Command: 0x34** 1012 + 1013 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1014 + 883 883 = 5. Battery & How to replace = 884 884 885 885 == 5.1 Battery Type == ... ... @@ -912,7 +912,7 @@ 912 912 = 6. Order Info = 913 913 914 914 ((( 915 -Part Number: (% style="color:#4f81bd" %)** LHT65N-XX** 1047 +Part Number: (% style="color:#4f81bd" %)** LHT65N-XX-YY** 916 916 ))) 917 917 918 918 (((