Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -18,17 +18,30 @@ 18 18 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 + 22 +((( 21 21 The Dragino LHT65N Temperature & Humidity sensor is a Long Range LoRaWAN Sensor. It includes a (% style="color:#4f81bd" %)**built-in Temperature & Humidity sensor**(%%) and has an external sensor connector to connect to an external (% style="color:#4f81bd" %)**Temperature Sensor.** 24 +))) 22 22 26 +((( 23 23 The LHT65N allows users to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on. 28 +))) 24 24 30 +((( 25 25 LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. 32 +))) 26 26 34 +((( 27 27 LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. 36 +))) 28 28 38 +((( 29 29 LHT65N supports (% style="color:#4f81bd" %)**Datalog Feature**(%%). It will record the data when there is no network coverage and users can retrieve the sensor value later to ensure no miss for every sensor reading. 40 +))) 30 30 42 +((( 31 31 *The actual battery life depends on how often to send data, please see the battery analyzer chapter. 44 +))) 32 32 33 33 34 34 == 1.2 Features == ... ... @@ -75,19 +75,31 @@ 75 75 76 76 == 2.1 How does LHT65N work? == 77 77 91 +((( 78 78 LHT65N is configured as LoRaWAN OTAA Class A mode by default. Each LHT65N is shipped with a worldwide unique set of OTAA keys. To use LHT65N in a LoRaWAN network, first, we need to put the OTAA keys in LoRaWAN Network Server and then activate LHT65N. 93 +))) 79 79 95 +((( 80 80 If LHT65N is under the coverage of this LoRaWAN network. LHT65N can join the LoRaWAN network automatically. After successfully joining, LHT65N will start to measure environment temperature and humidity, and start to transmit sensor data to the LoRaWAN server. The default period for each uplink is 20 minutes. 97 +))) 81 81 82 82 83 83 == 2.2 How to Activate LHT65N? == 84 84 102 +((( 85 85 The LHT65N has two working modes: 104 +))) 86 86 87 -* (% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 88 -* (% style="color:blue" %)**Working Mode**(%%): In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 106 +* ((( 107 +(% style="color:blue" %)**Deep Sleep Mode**(%%): LHT65N doesn’t have any LoRaWAN activation. This mode is used for storage and shipping to save battery life. 108 +))) 109 +* ((( 110 +(% style="color:blue" %)**Working Mode**(%%): In this mode, LHT65N works as LoRaWAN Sensor mode to Join LoRaWAN network and send out the sensor data to the server. Between each sampling/tx/rx periodically, LHT65N will be in STOP mode (IDLE mode), in STOP mode, LHT65N has the same power consumption as Deep Sleep mode. 111 +))) 89 89 113 +((( 90 90 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 115 +))) 91 91 92 92 93 93 [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]] ... ... @@ -277,6 +277,7 @@ 277 277 278 278 279 279 305 + 280 280 === 2.4.3 Built-in Temperature === 281 281 282 282 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -289,6 +289,8 @@ 289 289 290 290 291 291 318 + 319 + 292 292 === 2.4.4 Built-in Humidity === 293 293 294 294 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -297,6 +297,8 @@ 297 297 298 298 299 299 328 + 329 + 300 300 === 2.4.5 Ext # === 301 301 302 302 Bytes for External Sensor: ... ... @@ -411,7 +411,6 @@ 411 411 ))) 412 412 ))) 413 413 414 - 415 415 (% _mstvisible="1" %) 416 416 * (% _msthash="2539669" _msttexthash="857922" _mstvisible="3" %)**Battery status & **(% class="wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink wikiinternallink" %)**Built-in Humidity** 417 417 ... ... @@ -442,7 +442,6 @@ 442 442 443 443 ))) 444 444 445 - 446 446 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 447 447 448 448 [[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] ... ... @@ -454,6 +454,7 @@ 454 454 455 455 456 456 485 + 457 457 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 458 458 459 459 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -529,6 +529,9 @@ 529 529 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. 530 530 531 531 561 + 562 + 563 + 532 532 === 2.6.2 Unix TimeStamp === 533 533 534 534 ... ... @@ -551,21 +551,37 @@ 551 551 552 552 === 2.6.3 Set Device Time === 553 553 586 +((( 554 554 There are two ways to set device's time: 588 +))) 555 555 590 +((( 556 556 **~1. Through LoRaWAN MAC Command (Default settings)** 592 +))) 557 557 594 +((( 558 558 User need to set SYNCMOD=1 to enable sync time via MAC command. 596 +))) 559 559 598 +((( 560 560 Once LHT65N Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to LHT65N. If LHT65N fails to get the time from the server, LHT65N will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 600 +))) 561 561 602 +((( 562 562 (% style="color:red" %)Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn’t support. If server doesn’t support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1. 604 +))) 563 563 606 +((( 607 + 608 +))) 564 564 565 - 610 +((( 566 566 **2. Manually Set Time** 612 +))) 567 567 614 +((( 568 568 User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server. 616 +))) 569 569 570 570 571 571 ... ... @@ -732,9 +732,11 @@ 732 732 (% _mstvisible="2" %) 733 733 ((( 734 734 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 783 +((( 735 735 Poll Message Flag: 1: This message is a poll message reply. 736 736 ))) 737 737 ))) 787 +))) 738 738 739 739 (% _mstvisible="1" %) 740 740 * (% _mstvisible="3" %) ... ... @@ -742,17 +742,21 @@ 742 742 (% _mstvisible="4" %) 743 743 ((( 744 744 (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %) 795 +((( 745 745 Poll Message Flag is set to 1. 746 746 ))) 747 747 ))) 799 +))) 748 748 * (% _mstvisible="3" %) 749 749 ((( 750 750 (% _mstvisible="4" %) 751 751 ((( 752 752 (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %) 805 +((( 753 753 Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 754 754 ))) 755 755 ))) 809 +))) 756 756 757 757 (% _mstvisible="1" %) 758 758 ((( ... ... @@ -759,12 +759,16 @@ 759 759 (% _mstvisible="2" %) 760 760 ((( 761 761 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 816 +((( 762 762 818 +))) 763 763 764 764 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 821 +((( 765 765 For example, in US915 band, the max payload for different DR is: 766 766 ))) 767 767 ))) 825 +))) 768 768 769 769 (% _mstvisible="1" %) 770 770 ((( ... ... @@ -771,9 +771,11 @@ 771 771 (% _mstvisible="2" %) 772 772 ((( 773 773 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 832 +((( 774 774 a) DR0: max is 11 bytes so one entry of data 775 775 ))) 776 776 ))) 836 +))) 777 777 778 778 (% _mstvisible="1" %) 779 779 ((( ... ... @@ -780,9 +780,11 @@ 780 780 (% _mstvisible="2" %) 781 781 ((( 782 782 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 843 +((( 783 783 b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 784 784 ))) 785 785 ))) 847 +))) 786 786 787 787 (% _mstvisible="1" %) 788 788 ((( ... ... @@ -789,9 +789,11 @@ 789 789 (% _mstvisible="2" %) 790 790 ((( 791 791 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 854 +((( 792 792 c) DR2: total payload includes 11 entries of data 793 793 ))) 794 794 ))) 858 +))) 795 795 796 796 (% _mstvisible="1" %) 797 797 ((( ... ... @@ -798,9 +798,11 @@ 798 798 (% _mstvisible="2" %) 799 799 ((( 800 800 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 865 +((( 801 801 d) DR3: total payload includes 22 entries of data. 802 802 ))) 803 803 ))) 869 +))) 804 804 805 805 (% _mstvisible="1" %) 806 806 ((( ... ... @@ -807,9 +807,11 @@ 807 807 (% _mstvisible="2" %) 808 808 ((( 809 809 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 876 +((( 810 810 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 811 811 ))) 812 812 ))) 880 +))) 813 813 814 814 815 815 (% _mstvisible="1" style="text-align: left;" %) ... ... @@ -855,119 +855,111 @@ 855 855 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 856 856 857 857 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 926 +((( 858 858 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 928 +))) 859 859 860 860 (% _msthash="315237" _msttexthash="1385839" %) 931 +((( 861 861 Where the first 11 bytes is for the first entry: 933 +))) 862 862 863 863 (% _msthash="315238" _msttexthash="274846" %) 936 +((( 864 864 7FFF089801464160065F97 938 +))) 865 865 866 866 (% _msthash="315239" _msttexthash="617435" %) 941 +((( 867 867 Ext sensor data=0x7FFF/100=327.67 943 +))) 868 868 869 869 (% _msthash="315240" _msttexthash="270543" %) 946 +((( 870 870 Temp=0x0898/100=22.00 948 +))) 871 871 872 872 (% _msthash="315241" _msttexthash="211783" %) 951 +((( 873 873 Hum=0x0146/10=32.6 953 +))) 874 874 875 875 (% _msthash="315242" _msttexthash="1569776" %) 956 +((( 876 876 poll message flag & Ext=0x41,means reply data,Ext=1 958 +))) 877 877 878 878 (% _msthash="315243" _msttexthash="1120509" %) 961 +((( 879 879 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 963 +))) 880 880 881 881 882 -(% _mstvisible="1" style="text-align: left;" %) 883 -== (% _msthash="244504" _msttexthash="177736" _mstvisible="3" %)2.7 Alarm Mode(%%) == 884 884 885 -(% _msthash="315279" _msttexthash="16493308" _mstvisible="1" style="text-align: left;" %) 967 +== 2.7 Alarm Mode == 968 + 969 +((( 886 886 when the device is in alarm mode, it checks the built-in sensor temperature for a short time. if the temperature exceeds the preconfigured range, it sends an uplink immediately. 971 +))) 887 887 888 -(% _mstvisible="1" %) 889 889 ((( 890 -(% _mstvisible="2" style="text-align: left;" %) 891 -(% _msthash="506085" _msttexthash="8782189" _mstvisible="3" style="color:red" %)note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 974 +(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled. 892 892 ))) 893 893 894 -(% _mstvisible="1" style="text-align: left;" %) 895 -(% _msthash="315280" _msttexthash="363480" _mstvisible="3" %)**AT COMMAND FOR ALARM MODE:** 977 +((( 978 +**AT COMMAND FOR ALARM MODE:** 979 +))) 896 896 897 897 (% _mstvisible="1" class="box infomessage" %) 898 898 ((( 899 -(% _msthash="506086" _msttexthash="2193529" _mstvisible="2" style="text-align: left;" %) 900 -(% _istranslated="1" _mstmutation="1" _mstvisible="4" %)**AT+WMOD=1**(%%): Enable/disable alarm mode. (0: Disabled, 1: Enabled) 983 +((( 984 +**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 985 +))) 901 901 902 -(% _msthash="506087" _msttexthash="3671265" _mstvisible="2" style="text-align: left;" %) 903 -(% _istranslated="1" _mstvisible="4" %)**AT+CITEMP=1**(%%): The interval between checking the alarm temperature. (In minutes) 987 +((( 988 +**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 989 +))) 904 904 905 -(% _msthash="506088" _msttexthash="3310437" _mstvisible="2" style="text-align: left;" %) 906 -(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP**(%%): Gets or sets the alarm range of the internal temperature sensor 991 +((( 992 +**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 993 +))) 907 907 908 -(% _mstvisible="2" style="text-align: left;" %) 909 -(% _istranslated="1" _mstmutation="1" %)**AT+ARTEMP=? **(%%): Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 995 +((( 996 +**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 997 +))) 910 910 911 -( % _msthash="506089" _msttexthash="3590067" _mstvisible="2" style="text-align: left;" %)912 - (% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP=45,105**(%%): Set the internal temperature sensor alarm range from 45 to 105.999 +((( 1000 +**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 913 913 ))) 1002 +))) 914 914 915 915 916 916 917 -(% _msthash="72514" _msttexthash="253149" _mstvisible="1" style="text-align: left;" %) 918 -== (% _istranslated="1" _msthash="168103" _msttexthash="59969" _mstvisible="3" %)2.8 (%%)LED Indicator == 919 919 920 -(% _mstvisible="1" %) 921 -((( 922 -(% _msthash="197769" _msttexthash="2924142" style="text-align: left;" %) 1007 +== 2.8 LED Indicator == 1008 + 923 923 The LHT65 has a triple color LED which for easy showing different stage . 924 924 925 -(% _msthash="289211" _msttexthash="3402659" style="text-align: left;" %) 926 926 While user press ACT button, the LED will work as per LED status with ACT button. 927 -))) 928 928 929 -(% _mstvisible="1" %) 930 -((( 931 -(% _msthash="506092" _msttexthash="521573" _mstvisible="2" style="text-align: left;" %) 932 932 In a normal working state: 933 -))) 934 934 935 -(% _mstvisible="1" %) 936 -* (% _mstvisible="3" %) 937 -((( 938 -(% _msthash="903005" _msttexthash="1647204" _mstvisible="4" %) 939 -For each uplink, the BLUE LED or RED LED will blink (% _msthash="903005" _msttexthash="46254" _mstvisible="3" %)once(%%).(% style="display:none" %) 1015 +* For each uplink, the BLUE LED or RED LED will blink once. 1016 + BLUE LED when external sensor is connected. 1017 +* RED LED when external sensor is not connected 1018 +* For each success downlink, the PURPLE LED will blink once 940 940 941 -(% _msthash="197771" _msttexthash="1202526" %) 942 -(% _msthash="903005" _msttexthash="1647204" _mstvisible="3" %)BLUE LED when external sensor is connected 943 -))) 944 -* (% _mstvisible="3" %) 945 -((( 946 -(% _msthash="903007" _msttexthash="1334749" _mstvisible="4" %) 947 -RED LED when external sensor is not connected 948 -))) 949 -* (% _mstvisible="3" %) 950 -((( 951 -(% _msthash="903008" _msttexthash="1875640" _mstvisible="4" %) 952 -For each success downlink, the PURPLE LED will blink once 1020 +== 2.9 installation == 953 953 954 - 955 - 956 -))) 957 - 958 -(% _mstvisible="1" style="text-align: left;" %) 959 -== (% _msthash="112034" _msttexthash="277511" _mstvisible="3" %)2.9 installation(%%) == 960 - 961 961 (% _mstvisible="1" %) 962 962 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 963 963 964 964 965 -(% _msthash="604150" _msttexthash="563212" _mstvisible="1" style="text-align: left;" %) 966 -= (% _msthash="401388" _msttexthash="566956" _mstvisible="3" %)3. S(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ensors(% _msthash="401388" _msttexthash="40417" _mstvisible="3" %) and A(% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)ccessories(%%) = 967 967 968 -(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 969 -== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.1(% _msthash="487110" _msttexthash="455390" %) E2 Extension Cable(%%) == 1027 += 3. Sensors and Accessories = 970 970 1029 +== 3.1 E2 Extension Cable == 1030 + 971 971 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 972 972 973 973 1m long breakout cable for LHT65N ... ... @@ -976,17 +976,15 @@ 976 976 977 977 978 978 979 -(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 980 -== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.2(% _msthash="487110" _msttexthash="455390" %) E3 Temperature Probe(%%) == 981 981 982 -(% _mstvisible="1" %) 1040 +== 3.2 E3 Temperature Probe == 1041 + 1042 + 983 983 [[image:image-20220515080154-4.png||_mstalt="434681" _mstvisible="3" alt="photo-20220515080154-4.png" height="182" width="161"]] [[image:image-20220515080330-5.png||_mstalt="428792" _mstvisible="3" height="201" width="195"]] 984 984 985 985 986 -(% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %) 987 987 Temperature sensor with 2 meters cable long 988 988 989 -(% _mstvisible="1" %) 990 990 * Resolution: 0.0625 °C 991 991 * ±0.5°C accuracy from -10°C to +85°C 992 992 * ±2°C accuracy from -55°C to +125°C ... ... @@ -993,405 +993,221 @@ 993 993 * Operating Range: -40 ~~ 125 °C 994 994 * Working voltage 2.35v ~~ 5v 995 995 996 -(% _mstvisible="1" style="text-align: left;" %) 997 -= (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) = 1054 += 4. Configure LHT65N via AT command or LoRaWAN downlink = 998 998 999 -(% _mstvisible="1" %) 1000 -((( 1001 -(% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %) 1002 1002 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1003 -))) 1004 1004 1005 -(% _mstvisible="1" %) 1006 -* (% _mstvisible="3" %) 1007 -((( 1008 -(% _msthash="903318" _msttexthash="635544" _mstvisible="4" %) 1009 -AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1010 -))) 1011 -* (% _mstvisible="3" %) 1012 -((( 1013 -(% _msthash="903319" _msttexthash="3225859" _mstvisible="4" %) 1014 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1015 -))) 1058 +* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1016 1016 1017 -(% _mstvisible="1" %) 1018 -((( 1019 -(% _mstvisible="2" style="text-align: left;" %) 1020 - 1021 -))) 1060 +* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1022 1022 1023 -(% _mstvisible="1" %) 1024 -((( 1025 -(% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %) 1026 1026 There are two kinds of commands to configure LHT65N, they are: 1027 -))) 1028 1028 1029 -(% _mstvisible="1" %) 1030 -((( 1031 -(% _mstvisible="2" style="text-align: left;" %) 1032 -(% _msthash="506249" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**General Commands**(% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="3" style="color:#4f81bd" %). 1033 -))) 1064 +* (% style="color:#4f81bd" %)**General Commands**. 1034 1034 1035 -(% _mstvisible="1" %) 1036 -((( 1037 -(% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %) 1038 1038 These commands are to configure: 1039 -))) 1040 1040 1041 -(% _mstvisible="1" %) 1042 -* (% _mstvisible="3" %) 1043 -((( 1044 -(% _msthash="903320" _msttexthash="1503580" _mstvisible="4" %) 1045 -General system settings like: uplink interval. 1046 -))) 1047 -* (% _mstvisible="3" %) 1048 -((( 1049 -(% _msthash="903321" _msttexthash="1244334" _mstvisible="4" %) 1050 -LoRaWAN protocol & radio-related commands. 1051 -))) 1068 +1. General system settings like: uplink interval. 1069 +1. LoRaWAN protocol & radio-related commands. 1052 1052 1053 -(% _mstvisible="1" %) 1054 -((( 1055 -(% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %) 1056 1056 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]] 1057 -))) 1058 1058 1059 -(% _mstvisible="1" %) 1060 -((( 1061 -(% _mstvisible="2" style="text-align: left;" %) 1062 - 1063 -))) 1073 +* (% style="color:#4f81bd" %)**Commands special design for LHT65N** 1064 1064 1065 -(% _mstvisible="1" %) 1066 -((( 1067 -(% _mstvisible="2" style="text-align: left;" %) 1068 -(% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**Commands special design for LHT65N** 1069 -))) 1070 - 1071 -(% _mstvisible="1" %) 1072 -((( 1073 -(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 1074 1074 These commands are only valid for LHT65N, as below: 1075 1075 1076 1076 1077 -(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 1078 - 1079 -))) 1078 +== 4.1 Set Transmit Interval Time == 1080 1080 1081 -(% _mstvisible="1" style="text-align: left;" %) 1082 -== (% _msthash="708253" _msttexthash="668772" _mstvisible="3" %)4.1 Set Transmit Interval Time(%%) == 1083 - 1084 -(% _msthash="315355" _msttexthash="1659268" _mstvisible="1" style="text-align: left;" %) 1085 1085 Feature: Change LoRaWAN End Node Transmit Interval. 1086 1086 1087 -(% _mstvisible="1" style="text-align: left;" %) 1088 -(% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC** 1082 +(% style="color:#4f81bd" %)**AT Command: AT+TDC** 1089 1089 1090 -(% _mstvisible="1" %) 1091 1091 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]] 1092 1092 1093 -(% _mstvisible="1" %) 1094 -((( 1095 -(% _mstvisible="2" style="text-align: left;" %) 1096 - 1097 1097 1098 -(% _mstvisible="2" style="text-align: left;" %) 1099 -(% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01** 1100 -))) 1087 +(% style="color:#4f81bd" %)**Downlink Command: 0x01** 1101 1101 1102 -(% _mstvisible="1" %) 1103 -((( 1104 -(% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %) 1105 1105 Format: Command Code (0x01) followed by 3 bytes time value. 1106 -))) 1107 1107 1108 -(% _mstvisible="1" %) 1109 -((( 1110 -(% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %) 1111 1111 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1112 -))) 1113 1113 1114 -(% _mstvisible="1" %) 1115 -* (% _mstvisible="3" %) 1116 -((( 1117 -(% _msthash="903322" _msttexthash="3250546" _mstvisible="4" %) 1118 -(% _mstvisible="5" %)**Example 1**(%%): Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1119 -))) 1120 -* (% _mstvisible="3" %) 1121 -((( 1122 -(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1123 -(% _mstvisible="5" %)**Example 2**(%%): Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1093 +* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1124 1124 1095 +* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1125 1125 1126 -(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1127 - 1128 -))) 1097 +== 4.2 Set External Sensor Mode == 1129 1129 1130 -(% _mstvisible="1" style="text-align: left;" %) 1131 -== (% _msthash="614770" _msttexthash="578240" _mstvisible="3" %)4.2 Set External Sensor Mode(%%) == 1132 - 1133 -(% _msthash="315357" _msttexthash="975117" _mstvisible="1" style="text-align: left;" %) 1134 1134 Feature: Change External Sensor Mode. 1135 1135 1136 -(% _mstvisible="1" style="text-align: left;" %) 1137 -(% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT** 1101 +(% style="color:#4f81bd" %)**AT Command: AT+EXT** 1138 1138 1139 -(% _mstvisible="1" %) 1140 1140 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]] 1141 1141 1142 -(% _mstvisible="1" %) 1143 -((( 1144 -(% _mstvisible="2" style="text-align: left;" %) 1145 - 1146 1146 1147 -(% _mstvisible="2" style="text-align: left;" %) 1148 -(% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2** 1149 -))) 1106 +(% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1150 1150 1151 -(% _mstvisible="1" %) 1152 -((( 1153 -(% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %) 1154 1154 Total bytes: 2 ~~ 5 bytes 1155 -))) 1156 1156 1157 -(% _mstvisible="1" %) 1158 -((( 1159 -(% _mstvisible="2" %) 1160 -(% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:** 1161 -))) 1110 +**Example:** 1162 1162 1163 -(% _mstvisible="1" %) 1164 -* (% _mstvisible="3" %) 1165 -((( 1166 -(% _msthash="903324" _msttexthash="934973" _mstvisible="4" %) 1167 -0xA201: Set external sensor type to E1 1168 -))) 1169 -* (% _mstvisible="3" %) 1170 -((( 1171 -(% _msthash="903325" _msttexthash="354770" _mstvisible="4" %) 1172 -0xA209: Same as AT+EXT=9 1173 -))) 1174 -* (% _mstvisible="3" %) 1175 -((( 1176 -(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1177 -0xA20702003c,Same as AT+SETCNT=60 1112 +* 0xA201: Set external sensor type to E1 1178 1178 1114 +* 0xA209: Same as AT+EXT=9 1179 1179 1180 -(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1181 - 1182 -))) 1116 +* 0xA20702003c: Same as AT+SETCNT=60 1183 1183 1184 -(% _mstvisible="1" style="text-align: left;" %) 1185 -== (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) == 1118 +== 4.3 Enable/Disable uplink Temperature probe ID == 1186 1186 1187 -( % _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %)1120 +((( 1188 1188 Feature: If PID is enabled, device will send the temperature probe ID on: 1122 +))) 1189 1189 1190 -(% _mstvisible="1" %) 1191 -* First Packet after OTAA Join 1192 -* Every 24 hours since the first packet. 1124 +* ((( 1125 +First Packet after OTAA Join 1126 +))) 1127 +* ((( 1128 +Every 24 hours since the first packet. 1129 +))) 1193 1193 1194 -( % _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %)1131 +((( 1195 1195 PID is default set to disable (0) 1133 +))) 1196 1196 1197 -(% _mstvisible="1" style="text-align: left;" %) 1198 -(% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1135 +(% style="color:#4f81bd" %)**AT Command:** 1199 1199 1200 -(% _mstvisible="1" %) 1201 1201 [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]] 1202 1202 1203 1203 1204 -(% _mstvisible="1" style="text-align: left;" %) 1205 -(% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1140 +(% style="color:#4f81bd" %)**Downlink Command:** 1206 1206 1207 -(% _mstvisible="1" %) 1208 -* 0xA800 **~-~->** AT+PID=0 1209 -* 0xA801 **~-~->** AT+PID=1 1142 +* **0xA800** **~-~->** AT+PID=0 1143 +* **0xA801** **~-~->** AT+PID=1 1210 1210 1211 -(% _mstvisible="1" style="text-align: left;" %) 1212 -== (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) == 1145 +== 4.4 Set Password == 1213 1213 1214 -(% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %) 1215 1215 Feature: Set device password, max 9 digits 1216 1216 1217 -(% _mstvisible="1" style="text-align: left;" %) 1218 -(% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD** 1149 +(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1219 1219 1220 -(% _mstvisible="1" %) 1221 1221 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]] 1222 1222 1223 -(% _mstvisible="1" %) 1224 -((( 1225 -(% _mstvisible="2" style="text-align: left;" %) 1226 - 1227 1227 1228 -(% _mstvisible="2" style="text-align: left;" %) 1229 -(% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1230 -))) 1154 +(% style="color:#4f81bd" %)**Downlink Command:** 1231 1231 1232 -(% _mstvisible="1" %) 1233 -((( 1234 -(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1235 1235 No downlink command for this feature. 1236 1236 1237 -(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1238 - 1239 -))) 1240 1240 1241 -(% _mstvisible="1" style="text-align: left;" %) 1242 -== (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) == 1243 1243 1244 -(% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %) 1160 +== 4.5 Quit AT Command == 1161 + 1245 1245 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1246 1246 1247 -(% _mstvisible="1" style="text-align: left;" %) 1248 -(% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT** 1164 +(% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1249 1249 1250 -(% _mstvisible="1" %) 1251 1251 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]] 1252 1252 1253 1253 1254 -(% _mstvisible="1" style="text-align: left;" %) 1255 -(% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1169 +(% style="color:#4f81bd" %)**Downlink Command:** 1256 1256 1257 -(% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %) 1258 1258 No downlink command for this feature. 1259 1259 1260 1260 1261 -(% _mstvisible="1" style="text-align: left;" %) 1262 -== (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) == 1263 1263 1264 -(% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %) 1175 +== 4.6 Set to sleep mode == 1176 + 1265 1265 Feature: Set device to sleep mode 1266 1266 1267 -* AT+Sleep=0 : Normal working mode, device will sleep and use lower power when there is no LoRa message 1268 -* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 1179 +* **AT+Sleep=0** : Normal working mode, device will sleep and use lower power when there is no LoRa message 1180 +* **AT+Sleep=1** : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 1269 1269 1270 -(% _mstvisible="1" style="text-align: left;" %) 1271 1271 (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1272 1272 1273 -(% _mstvisible="1" %) 1274 1274 [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]] 1275 1275 1276 1276 1277 -(% _mstvisible="1" %) 1278 1278 (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1279 1279 1280 -(% _mstvisible="1" %) 1281 1281 * There is no downlink command to set to Sleep mode. 1282 1282 1283 -(% _mstvisible="1" %) 1284 -== (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) == 1191 +== 4.7 Set system time == 1285 1285 1286 -(% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %) 1287 1287 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1288 1288 1289 -(% _mstvisible="1" %) 1290 1290 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1291 1291 1292 -(% _mstvisible="1" %) 1293 1293 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]] 1294 1294 1295 1295 1296 -(% _mstvisible="1" %) 1297 1297 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1298 1298 1299 -(% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %) 1300 1300 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1301 1301 1302 1302 1303 -(% _mstvisible="1" %) 1304 -== (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) == 1305 1305 1306 -(% _mstvisible="1" %) 1206 +== 4.8 Set Time Sync Mode == 1207 + 1307 1307 ((( 1308 -(% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %) 1309 1309 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1310 1310 ))) 1311 1311 1312 -(% _mstvisible="1" %) 1313 1313 ((( 1314 -(% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %) 1315 1315 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. 1316 1316 ))) 1317 1317 1318 -(% _mstvisible="1" %) 1319 -((( 1320 -(% _mstvisible="2" %) 1321 1321 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1322 -))) 1323 1323 1324 -(% _mstvisible="1" %) 1325 1325 [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]] 1326 1326 1327 1327 1328 -(% _mstvisible="1" %) 1329 -(% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1221 +(% style="color:#4f81bd" %)**Downlink Command:** 1330 1330 1331 -(% _msthash="315377" _msttexthash="479648" _mstvisible="1" %) 1332 1332 0x28 01 ~/~/ Same As AT+SYNCMOD=1 1333 - 1334 -(% _msthash="315378" _msttexthash="479076" _mstvisible="1" %) 1335 1335 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1336 1336 1337 1337 1338 -(% _mstvisible="1" %) 1339 -== (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) == 1340 1340 1341 -(% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %) 1228 +== 4.9 Set Time Sync Interval == 1229 + 1342 1342 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1343 1343 1344 -(% _mstvisible="1" %) 1345 1345 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1346 1346 1347 -(% _mstvisible="1" %) 1348 1348 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]] 1349 1349 1350 1350 1351 -(% _mstvisible="1" %) 1352 1352 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1353 1353 1354 -(% _msthash="315382" _msttexthash="590044" _mstvisible="1" %) 1355 -0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A 1239 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1356 1356 1357 1357 1358 -(% _mstvisible="1" %) 1359 -== (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) == 1360 1360 1361 -(% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %) 1243 +== 4.10 Print data entries base on page. == 1244 + 1362 1362 Feature: Print the sector data from start page to stop page (max is 416 pages). 1363 1363 1364 -(% _mstvisible="1" %) 1365 1365 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA** 1366 1366 1367 -(% _mstvisible="1" %) 1368 1368 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]] 1369 1369 1370 1370 1371 -(% _mstvisible="1" %) 1372 1372 (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1373 1373 1374 -(% _msthash="315386" _msttexthash="799539" _mstvisible="1" %) 1375 1375 No downlink commands for feature 1376 1376 1377 1377 1378 -(% _mstvisible="1" %) 1379 -== (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) == 1380 1380 1381 -(% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %) 1258 +== 4.11 Print last few data entries. == 1259 + 1382 1382 Feature: Print the last few data entries 1383 1383 1384 -(% _mstvisible="1" %) 1385 1385 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1386 1386 1387 -(% _mstvisible="1" %) 1388 1388 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]] 1389 1389 1390 1390 1391 -(% _mstvisible="1" %) 1392 1392 (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1393 1393 1394 -(% _msthash="315390" _msttexthash="799539" _mstvisible="1" %) 1395 1395 No downlink commands for feature 1396 1396 1397 1397 ... ... @@ -1433,8 +1433,10 @@ 1433 1433 == 5.1 Battery Type == 1434 1434 1435 1435 ((( 1310 +((( 1436 1436 LHT65N is equipped with a 2400mAH Li-MnO2 (CR17505) battery . The battery is an un-rechargeable battery with low discharge rate targeting for up to 8~~10 years use. This type of battery is commonly used in IoT devices for long-term running, such as water meters. 1437 1437 ))) 1313 +))) 1438 1438 1439 1439 ((( 1440 1440 ... ... @@ -1441,9 +1441,11 @@ 1441 1441 ))) 1442 1442 1443 1443 ((( 1320 +((( 1444 1444 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1445 1445 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1446 1446 ))) 1324 +))) 1447 1447 1448 1448 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1449 1449 ... ... @@ -1471,6 +1471,7 @@ 1471 1471 ))) 1472 1472 1473 1473 1352 + 1474 1474 = 6. FAQ = 1475 1475 1476 1476 == 6.1 How to use AT Command? == ... ... @@ -1834,14 +1834,11 @@ 1834 1834 **Package Includes**: 1835 1835 1836 1836 * LHT65N Temperature & Humidity Sensor x 1 1716 +* Optional external sensor 1837 1837 1838 -*Optional external sensor 1839 - 1840 - 1841 1841 **Dimension and weight**: 1842 1842 1843 1843 * Device Size: 10 x 10 x 3.5 cm 1844 - 1845 1845 * Device Weight: 120.5g 1846 1846 1847 1847 = 9. Reference material =