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,30 +18,17 @@ 18 18 19 19 == 1.1 What is LHT65N Temperature & Humidity Sensor == 20 20 21 - 22 -((( 23 23 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 -))) 25 25 26 -((( 27 27 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 -))) 29 29 30 -((( 31 31 LHT65N has a built-in 2400mAh non-chargeable battery which can be used for up to 10 years*. 32 -))) 33 33 34 -((( 35 35 LHT65N is full compatible with LoRaWAN v1.0.3 Class A protocol, it can work with a standard LoRaWAN gateway. 36 -))) 37 37 38 -((( 39 39 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 -))) 41 41 42 -((( 43 43 *The actual battery life depends on how often to send data, please see the battery analyzer chapter. 44 -))) 45 45 46 46 47 47 == 1.2 Features == ... ... @@ -88,31 +88,19 @@ 88 88 89 89 == 2.1 How does LHT65N work? == 90 90 91 -((( 92 92 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 -))) 94 94 95 -((( 96 96 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 -))) 98 98 99 99 100 100 == 2.2 How to Activate LHT65N? == 101 101 102 -((( 103 103 The LHT65N has two working modes: 104 -))) 105 105 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 -))) 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. 112 112 113 -((( 114 114 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 115 -))) 116 116 117 117 118 118 [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]] ... ... @@ -302,7 +302,6 @@ 302 302 303 303 304 304 305 - 306 306 === 2.4.3 Built-in Temperature === 307 307 308 308 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -315,8 +315,6 @@ 315 315 316 316 317 317 318 - 319 - 320 320 === 2.4.4 Built-in Humidity === 321 321 322 322 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -325,8 +325,6 @@ 325 325 326 326 327 327 328 - 329 - 330 330 === 2.4.5 Ext # === 331 331 332 332 Bytes for External Sensor: ... ... @@ -441,6 +441,7 @@ 441 441 ))) 442 442 ))) 443 443 414 + 444 444 (% _mstvisible="1" %) 445 445 * (% _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** 446 446 ... ... @@ -471,6 +471,7 @@ 471 471 472 472 ))) 473 473 445 + 474 474 * (% _msthash="504956" _msttexthash="245037" _mstvisible="4" %)**Status & Ext Byte** 475 475 476 476 [[image:image-20220523152434-16.png||_mstalt="453921" _mstvisible="3"]] ... ... @@ -482,7 +482,6 @@ 482 482 483 483 484 484 485 - 486 486 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 487 487 488 488 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -558,9 +558,6 @@ 558 558 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. 559 559 560 560 561 - 562 - 563 - 564 564 === 2.6.2 Unix TimeStamp === 565 565 566 566 ... ... @@ -583,37 +583,20 @@ 583 583 584 584 === 2.6.3 Set Device Time === 585 585 586 -((( 587 587 There are two ways to set device's time: 588 -))) 589 589 590 -((( 591 591 **~1. Through LoRaWAN MAC Command (Default settings)** 592 -))) 593 593 594 -((( 595 595 User need to set SYNCMOD=1 to enable sync time via MAC command. 596 -))) 597 597 598 -((( 599 599 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 -))) 601 601 602 -((( 603 603 (% 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 -))) 605 605 606 -((( 607 - 608 -))) 609 609 610 -((( 611 611 **2. Manually Set Time** 612 -))) 613 613 614 -((( 615 615 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 -))) 617 617 618 618 619 619 ... ... @@ -780,11 +780,9 @@ 780 780 (% _mstvisible="2" %) 781 781 ((( 782 782 (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %) 783 -((( 784 784 Poll Message Flag: 1: This message is a poll message reply. 785 785 ))) 786 786 ))) 787 -))) 788 788 789 789 (% _mstvisible="1" %) 790 790 * (% _mstvisible="3" %) ... ... @@ -792,21 +792,17 @@ 792 792 (% _mstvisible="4" %) 793 793 ((( 794 794 (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %) 795 -((( 796 796 Poll Message Flag is set to 1. 797 797 ))) 798 798 ))) 799 -))) 800 800 * (% _mstvisible="3" %) 801 801 ((( 802 802 (% _mstvisible="4" %) 803 803 ((( 804 804 (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %) 805 -((( 806 806 Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands. 807 807 ))) 808 808 ))) 809 -))) 810 810 811 811 (% _mstvisible="1" %) 812 812 ((( ... ... @@ -813,16 +813,12 @@ 813 813 (% _mstvisible="2" %) 814 814 ((( 815 815 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 816 -((( 817 817 818 -))) 819 819 820 820 (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %) 821 -((( 822 822 For example, in US915 band, the max payload for different DR is: 823 823 ))) 824 824 ))) 825 -))) 826 826 827 827 (% _mstvisible="1" %) 828 828 ((( ... ... @@ -829,11 +829,9 @@ 829 829 (% _mstvisible="2" %) 830 830 ((( 831 831 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 832 -((( 833 833 a) DR0: max is 11 bytes so one entry of data 834 834 ))) 835 835 ))) 836 -))) 837 837 838 838 (% _mstvisible="1" %) 839 839 ((( ... ... @@ -840,11 +840,9 @@ 840 840 (% _mstvisible="2" %) 841 841 ((( 842 842 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 843 -((( 844 844 b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 845 845 ))) 846 846 ))) 847 -))) 848 848 849 849 (% _mstvisible="1" %) 850 850 ((( ... ... @@ -851,11 +851,9 @@ 851 851 (% _mstvisible="2" %) 852 852 ((( 853 853 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 854 -((( 855 855 c) DR2: total payload includes 11 entries of data 856 856 ))) 857 857 ))) 858 -))) 859 859 860 860 (% _mstvisible="1" %) 861 861 ((( ... ... @@ -862,11 +862,9 @@ 862 862 (% _mstvisible="2" %) 863 863 ((( 864 864 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 865 -((( 866 866 d) DR3: total payload includes 22 entries of data. 867 867 ))) 868 868 ))) 869 -))) 870 870 871 871 (% _mstvisible="1" %) 872 872 ((( ... ... @@ -873,11 +873,9 @@ 873 873 (% _mstvisible="2" %) 874 874 ((( 875 875 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 876 -((( 877 877 If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 878 878 ))) 879 879 ))) 880 -))) 881 881 882 882 883 883 (% _mstvisible="1" style="text-align: left;" %) ... ... @@ -923,115 +923,119 @@ 923 923 [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]] 924 924 925 925 (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %) 926 -((( 927 927 7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 928 -))) 929 929 930 930 (% _msthash="315237" _msttexthash="1385839" %) 931 -((( 932 932 Where the first 11 bytes is for the first entry: 933 -))) 934 934 935 935 (% _msthash="315238" _msttexthash="274846" %) 936 -((( 937 937 7FFF089801464160065F97 938 -))) 939 939 940 940 (% _msthash="315239" _msttexthash="617435" %) 941 -((( 942 942 Ext sensor data=0x7FFF/100=327.67 943 -))) 944 944 945 945 (% _msthash="315240" _msttexthash="270543" %) 946 -((( 947 947 Temp=0x0898/100=22.00 948 -))) 949 949 950 950 (% _msthash="315241" _msttexthash="211783" %) 951 -((( 952 952 Hum=0x0146/10=32.6 953 -))) 954 954 955 955 (% _msthash="315242" _msttexthash="1569776" %) 956 -((( 957 957 poll message flag & Ext=0x41,means reply data,Ext=1 958 -))) 959 959 960 960 (% _msthash="315243" _msttexthash="1120509" %) 961 -((( 962 962 Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03 963 -))) 964 964 965 965 881 +(% _mstvisible="1" style="text-align: left;" %) 882 +== (% _msthash="244504" _msttexthash="177736" _mstvisible="3" %)2.7 Alarm Mode(%%) == 966 966 967 -== 2.7 Alarm Mode == 968 - 969 -((( 884 +(% _msthash="315279" _msttexthash="16493308" _mstvisible="1" style="text-align: left;" %) 970 970 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 -))) 972 972 887 +(% _mstvisible="1" %) 973 973 ((( 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. 889 +(% _mstvisible="2" style="text-align: left;" %) 890 +(% _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. 975 975 ))) 976 976 977 -((( 978 -**AT COMMAND FOR ALARM MODE:** 979 -))) 893 +(% _mstvisible="1" style="text-align: left;" %) 894 +(% _msthash="315280" _msttexthash="363480" _mstvisible="3" %)**AT COMMAND FOR ALARM MODE:** 980 980 981 981 (% _mstvisible="1" class="box infomessage" %) 982 982 ((( 983 -((( 984 -**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 985 -))) 898 +(% _msthash="506086" _msttexthash="2193529" _mstvisible="2" style="text-align: left;" %) 899 +(% _istranslated="1" _mstmutation="1" _mstvisible="4" %)**AT+WMOD=1**(%%): Enable/disable alarm mode. (0: Disabled, 1: Enabled) 986 986 987 -((( 988 -**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 989 -))) 901 +(% _msthash="506087" _msttexthash="3671265" _mstvisible="2" style="text-align: left;" %) 902 +(% _istranslated="1" _mstvisible="4" %)**AT+CITEMP=1**(%%): The interval between checking the alarm temperature. (In minutes) 990 990 991 -((( 992 -**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 993 -))) 904 +(% _msthash="506088" _msttexthash="3310437" _mstvisible="2" style="text-align: left;" %) 905 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP**(%%): Gets or sets the alarm range of the internal temperature sensor 994 994 995 -((( 996 -**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 997 -))) 907 +(% _mstvisible="2" style="text-align: left;" %) 908 +(% _istranslated="1" _mstmutation="1" %)**AT+ARTEMP=? **(%%): Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 998 998 999 -( ((1000 -**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 910 +(% _msthash="506089" _msttexthash="3590067" _mstvisible="2" style="text-align: left;" %) 911 +(% _istranslated="1" _mstvisible="4" %)**AT+ARTEMP=45,105**(%%): Set the internal temperature sensor alarm range from 45 to 105. 1001 1001 ))) 1002 -))) 1003 1003 1004 1004 1005 1005 916 +(% _msthash="72514" _msttexthash="253149" _mstvisible="1" style="text-align: left;" %) 917 +== (% _istranslated="1" _msthash="168103" _msttexthash="59969" _mstvisible="3" %)2.8 (%%)LED Indicator == 1006 1006 1007 -== 2.8 LED Indicator == 1008 - 919 +(% _mstvisible="1" %) 920 +((( 921 +(% _msthash="197769" _msttexthash="2924142" style="text-align: left;" %) 1009 1009 The LHT65 has a triple color LED which for easy showing different stage . 1010 1010 924 +(% _msthash="289211" _msttexthash="3402659" style="text-align: left;" %) 1011 1011 While user press ACT button, the LED will work as per LED status with ACT button. 926 +))) 1012 1012 928 +(% _mstvisible="1" %) 929 +((( 930 +(% _msthash="506092" _msttexthash="521573" _mstvisible="2" style="text-align: left;" %) 1013 1013 In a normal working state: 932 +))) 1014 1014 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 934 +(% _mstvisible="1" %) 935 +* (% _mstvisible="3" %) 936 +((( 937 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="4" %) 938 +For each uplink, the BLUE LED or RED LED will blink (% _msthash="903005" _msttexthash="46254" _mstvisible="3" %)once(%%).(% style="display:none" %) 1019 1019 940 +(% _msthash="197771" _msttexthash="1202526" %) 941 +(% _msthash="903005" _msttexthash="1647204" _mstvisible="3" %)BLUE LED when external sensor is connected 942 +))) 943 +* (% _mstvisible="3" %) 944 +((( 945 +(% _msthash="903007" _msttexthash="1334749" _mstvisible="4" %) 946 +RED LED when external sensor is not connected 947 +))) 948 +* (% _mstvisible="3" %) 949 +((( 950 +(% _msthash="903008" _msttexthash="1875640" _mstvisible="4" %) 951 +For each success downlink, the PURPLE LED will blink once 1020 1020 1021 1021 954 + 955 +))) 1022 1022 957 +(% _mstvisible="1" style="text-align: left;" %) 958 +== (% _msthash="112034" _msttexthash="277511" _mstvisible="3" %)2.9 installation(%%) == 1023 1023 1024 -== 2.9 installation == 1025 - 1026 1026 (% _mstvisible="1" %) 1027 1027 [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]] 1028 1028 1029 1029 964 +(% _msthash="604150" _msttexthash="563212" _mstvisible="1" style="text-align: left;" %) 965 += (% _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(%%) = 1030 1030 1031 -= 3. Sensors and Accessories = 967 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 968 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.1(% _msthash="487110" _msttexthash="455390" %) E2 Extension Cable(%%) == 1032 1032 1033 -== 3.1 E2 Extension Cable == 1034 - 1035 1035 [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]] 1036 1036 1037 1037 1m long breakout cable for LHT65N ... ... @@ -1040,15 +1040,17 @@ 1040 1040 1041 1041 1042 1042 978 +(% _msthidden="1" _mstvisible="1" style="text-align: left;" %) 979 +== (% _msthash="903005" _msttexthash="1647204" _mstvisible="2" %)3.2(% _msthash="487110" _msttexthash="455390" %) E3 Temperature Probe(%%) == 1043 1043 1044 -== 3.2 E3 Temperature Probe == 1045 - 1046 - 981 +(% _mstvisible="1" %) 1047 1047 [[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"]] 1048 1048 1049 1049 985 +(% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %) 1050 1050 Temperature sensor with 2 meters cable long 1051 1051 988 +(% _mstvisible="1" %) 1052 1052 * Resolution: 0.0625 °C 1053 1053 * ±0.5°C accuracy from -10°C to +85°C 1054 1054 * ±2°C accuracy from -55°C to +125°C ... ... @@ -1055,221 +1055,405 @@ 1055 1055 * Operating Range: -40 ~~ 125 °C 1056 1056 * Working voltage 2.35v ~~ 5v 1057 1057 1058 -= 4. Configure LHT65N via AT command or LoRaWAN downlink = 995 +(% _mstvisible="1" style="text-align: left;" %) 996 += (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) = 1059 1059 998 +(% _mstvisible="1" %) 999 +((( 1000 +(% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %) 1060 1060 Use can configure LHT65N via AT Command or LoRaWAN Downlink. 1002 +))) 1061 1061 1062 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1004 +(% _mstvisible="1" %) 1005 +* (% _mstvisible="3" %) 1006 +((( 1007 +(% _msthash="903318" _msttexthash="635544" _mstvisible="4" %) 1008 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]]. 1009 +))) 1010 +* (% _mstvisible="3" %) 1011 +((( 1012 +(% _msthash="903319" _msttexthash="3225859" _mstvisible="4" %) 1013 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1014 +))) 1063 1063 1064 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]] 1016 +(% _mstvisible="1" %) 1017 +((( 1018 +(% _mstvisible="2" style="text-align: left;" %) 1019 + 1020 +))) 1065 1065 1022 +(% _mstvisible="1" %) 1023 +((( 1024 +(% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %) 1066 1066 There are two kinds of commands to configure LHT65N, they are: 1026 +))) 1067 1067 1068 -* (% style="color:#4f81bd" %)**General Commands**. 1028 +(% _mstvisible="1" %) 1029 +((( 1030 +(% _mstvisible="2" style="text-align: left;" %) 1031 +(% _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" %). 1032 +))) 1069 1069 1034 +(% _mstvisible="1" %) 1035 +((( 1036 +(% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %) 1070 1070 These commands are to configure: 1038 +))) 1071 1071 1072 -1. General system settings like: uplink interval. 1073 -1. LoRaWAN protocol & radio-related commands. 1040 +(% _mstvisible="1" %) 1041 +* (% _mstvisible="3" %) 1042 +((( 1043 +(% _msthash="903320" _msttexthash="1503580" _mstvisible="4" %) 1044 +General system settings like: uplink interval. 1045 +))) 1046 +* (% _mstvisible="3" %) 1047 +((( 1048 +(% _msthash="903321" _msttexthash="1244334" _mstvisible="4" %) 1049 +LoRaWAN protocol & radio-related commands. 1050 +))) 1074 1074 1052 +(% _mstvisible="1" %) 1053 +((( 1054 +(% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %) 1075 1075 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]] 1056 +))) 1076 1076 1077 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N** 1058 +(% _mstvisible="1" %) 1059 +((( 1060 +(% _mstvisible="2" style="text-align: left;" %) 1061 + 1062 +))) 1078 1078 1064 +(% _mstvisible="1" %) 1065 +((( 1066 +(% _mstvisible="2" style="text-align: left;" %) 1067 +(% _mstvisible="3" style="color:#4f81bd" %)* (% _msthash="506249" _mstmutation="1" _msttexthash="317850" _mstvisible="4" style="color:#4f81bd" %)**Commands special design for LHT65N** 1068 +))) 1069 + 1070 +(% _mstvisible="1" %) 1071 +((( 1072 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 1079 1079 These commands are only valid for LHT65N, as below: 1080 1080 1081 1081 1082 -== 4.1 Set Transmit Interval Time == 1076 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %) 1077 + 1078 +))) 1083 1083 1080 +(% _mstvisible="1" style="text-align: left;" %) 1081 +== (% _msthash="708253" _msttexthash="668772" _mstvisible="3" %)4.1 Set Transmit Interval Time(%%) == 1082 + 1083 +(% _msthash="315355" _msttexthash="1659268" _mstvisible="1" style="text-align: left;" %) 1084 1084 Feature: Change LoRaWAN End Node Transmit Interval. 1085 1085 1086 -(% style="color:#4f81bd" %)**AT Command: AT+TDC** 1086 +(% _mstvisible="1" style="text-align: left;" %) 1087 +(% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC** 1087 1087 1089 +(% _mstvisible="1" %) 1088 1088 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]] 1089 1089 1092 +(% _mstvisible="1" %) 1093 +((( 1094 +(% _mstvisible="2" style="text-align: left;" %) 1095 + 1090 1090 1091 -(% style="color:#4f81bd" %)**Downlink Command: 0x01** 1097 +(% _mstvisible="2" style="text-align: left;" %) 1098 +(% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01** 1099 +))) 1092 1092 1101 +(% _mstvisible="1" %) 1102 +((( 1103 +(% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %) 1093 1093 Format: Command Code (0x01) followed by 3 bytes time value. 1105 +))) 1094 1094 1107 +(% _mstvisible="1" %) 1108 +((( 1109 +(% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %) 1095 1095 If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1111 +))) 1096 1096 1097 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1113 +(% _mstvisible="1" %) 1114 +* (% _mstvisible="3" %) 1115 +((( 1116 +(% _msthash="903322" _msttexthash="3250546" _mstvisible="4" %) 1117 +(% _mstvisible="5" %)**Example 1**(%%): Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1118 +))) 1119 +* (% _mstvisible="3" %) 1120 +((( 1121 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1122 +(% _mstvisible="5" %)**Example 2**(%%): Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1098 1098 1099 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1100 1100 1101 -== 4.2 Set External Sensor Mode == 1125 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %) 1126 + 1127 +))) 1102 1102 1129 +(% _mstvisible="1" style="text-align: left;" %) 1130 +== (% _msthash="614770" _msttexthash="578240" _mstvisible="3" %)4.2 Set External Sensor Mode(%%) == 1131 + 1132 +(% _msthash="315357" _msttexthash="975117" _mstvisible="1" style="text-align: left;" %) 1103 1103 Feature: Change External Sensor Mode. 1104 1104 1105 -(% style="color:#4f81bd" %)**AT Command: AT+EXT** 1135 +(% _mstvisible="1" style="text-align: left;" %) 1136 +(% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT** 1106 1106 1138 +(% _mstvisible="1" %) 1107 1107 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]] 1108 1108 1141 +(% _mstvisible="1" %) 1142 +((( 1143 +(% _mstvisible="2" style="text-align: left;" %) 1144 + 1109 1109 1110 -(% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1146 +(% _mstvisible="2" style="text-align: left;" %) 1147 +(% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2** 1148 +))) 1111 1111 1150 +(% _mstvisible="1" %) 1151 +((( 1152 +(% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %) 1112 1112 Total bytes: 2 ~~ 5 bytes 1154 +))) 1113 1113 1114 -**Example:** 1156 +(% _mstvisible="1" %) 1157 +((( 1158 +(% _mstvisible="2" %) 1159 +(% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:** 1160 +))) 1115 1115 1116 -* 0xA201: Set external sensor type to E1 1162 +(% _mstvisible="1" %) 1163 +* (% _mstvisible="3" %) 1164 +((( 1165 +(% _msthash="903324" _msttexthash="934973" _mstvisible="4" %) 1166 +0xA201: Set external sensor type to E1 1167 +))) 1168 +* (% _mstvisible="3" %) 1169 +((( 1170 +(% _msthash="903325" _msttexthash="354770" _mstvisible="4" %) 1171 +0xA209: Same as AT+EXT=9 1172 +))) 1173 +* (% _mstvisible="3" %) 1174 +((( 1175 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1176 +0xA20702003c,Same as AT+SETCNT=60 1117 1117 1118 -* 0xA209: Same as AT+EXT=9 1119 1119 1120 -* 0xA20702003c: Same as AT+SETCNT=60 1179 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %) 1180 + 1181 +))) 1121 1121 1122 -== 4.3 Enable/Disable uplink Temperature probe ID == 1183 +(% _mstvisible="1" style="text-align: left;" %) 1184 +== (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) == 1123 1123 1124 -( ((1186 +(% _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %) 1125 1125 Feature: If PID is enabled, device will send the temperature probe ID on: 1126 -))) 1127 1127 1128 -* ((( 1129 -First Packet after OTAA Join 1130 -))) 1131 -* ((( 1132 -Every 24 hours since the first packet. 1133 -))) 1189 +(% _mstvisible="1" %) 1190 +* First Packet after OTAA Join 1191 +* Every 24 hours since the first packet. 1134 1134 1135 -( ((1193 +(% _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %) 1136 1136 PID is default set to disable (0) 1137 -))) 1138 1138 1139 -(% style="color:#4f81bd" %)**AT Command:** 1196 +(% _mstvisible="1" style="text-align: left;" %) 1197 +(% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1140 1140 1199 +(% _mstvisible="1" %) 1141 1141 [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]] 1142 1142 1143 1143 1144 -(% style="color:#4f81bd" %)**Downlink Command:** 1203 +(% _mstvisible="1" style="text-align: left;" %) 1204 +(% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1145 1145 1146 -* **0xA800** **~-~->** AT+PID=0 1147 -* **0xA801** **~-~->** AT+PID=1 1206 +(% _mstvisible="1" %) 1207 +* 0xA800 **~-~->** AT+PID=0 1208 +* 0xA801 **~-~->** AT+PID=1 1148 1148 1149 -== 4.4 Set Password == 1210 +(% _mstvisible="1" style="text-align: left;" %) 1211 +== (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) == 1150 1150 1213 +(% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %) 1151 1151 Feature: Set device password, max 9 digits 1152 1152 1153 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1216 +(% _mstvisible="1" style="text-align: left;" %) 1217 +(% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD** 1154 1154 1219 +(% _mstvisible="1" %) 1155 1155 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]] 1156 1156 1222 +(% _mstvisible="1" %) 1223 +((( 1224 +(% _mstvisible="2" style="text-align: left;" %) 1225 + 1157 1157 1158 -(% style="color:#4f81bd" %)**Downlink Command:** 1227 +(% _mstvisible="2" style="text-align: left;" %) 1228 +(% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1229 +))) 1159 1159 1231 +(% _mstvisible="1" %) 1232 +((( 1233 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1160 1160 No downlink command for this feature. 1161 1161 1236 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %) 1237 + 1238 +))) 1162 1162 1240 +(% _mstvisible="1" style="text-align: left;" %) 1241 +== (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) == 1163 1163 1164 -== 4.5 Quit AT Command == 1165 - 1243 +(% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %) 1166 1166 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1167 1167 1168 -(% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1246 +(% _mstvisible="1" style="text-align: left;" %) 1247 +(% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT** 1169 1169 1249 +(% _mstvisible="1" %) 1170 1170 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]] 1171 1171 1172 1172 1173 -(% style="color:#4f81bd" %)**Downlink Command:** 1253 +(% _mstvisible="1" style="text-align: left;" %) 1254 +(% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1174 1174 1256 +(% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %) 1175 1175 No downlink command for this feature. 1176 1176 1177 1177 1260 +(% _mstvisible="1" style="text-align: left;" %) 1261 +== (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) == 1178 1178 1179 -== 4.6 Set to sleep mode == 1180 - 1263 +(% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %) 1181 1181 Feature: Set device to sleep mode 1182 1182 1183 -* **AT+Sleep=0**: Normal working mode, device will sleep and use lower power when there is no LoRa message1184 -* **AT+Sleep=1**:1266 +* AT+Sleep=0 : Normal working mode, device will sleep and use lower power when there is no LoRa message 1267 +* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping. 1185 1185 1269 +(% _mstvisible="1" style="text-align: left;" %) 1186 1186 (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1187 1187 1272 +(% _mstvisible="1" %) 1188 1188 [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]] 1189 1189 1190 1190 1276 +(% _mstvisible="1" %) 1191 1191 (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1192 1192 1279 +(% _mstvisible="1" %) 1193 1193 * There is no downlink command to set to Sleep mode. 1194 1194 1195 -== 4.7 Set system time == 1282 +(% _mstvisible="1" %) 1283 +== (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) == 1196 1196 1285 +(% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %) 1197 1197 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1198 1198 1288 +(% _mstvisible="1" %) 1199 1199 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1200 1200 1291 +(% _mstvisible="1" %) 1201 1201 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]] 1202 1202 1203 1203 1295 +(% _mstvisible="1" %) 1204 1204 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1205 1205 1298 +(% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %) 1206 1206 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1207 1207 1208 1208 1302 +(% _mstvisible="1" %) 1303 +== (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) == 1209 1209 1210 -== 4.8 Set Time Sync Mode == 1211 - 1305 +(% _mstvisible="1" %) 1212 1212 ((( 1307 +(% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %) 1213 1213 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1214 1214 ))) 1215 1215 1311 +(% _mstvisible="1" %) 1216 1216 ((( 1313 +(% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %) 1217 1217 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. 1218 1218 ))) 1219 1219 1317 +(% _mstvisible="1" %) 1318 +((( 1319 +(% _mstvisible="2" %) 1220 1220 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1321 +))) 1221 1221 1323 +(% _mstvisible="1" %) 1222 1222 [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]] 1223 1223 1224 1224 1225 -(% style="color:#4f81bd" %)**Downlink Command:** 1327 +(% _mstvisible="1" %) 1328 +(% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1226 1226 1330 +(% _msthash="315377" _msttexthash="479648" _mstvisible="1" %) 1227 1227 0x28 01 ~/~/ Same As AT+SYNCMOD=1 1332 + 1333 +(% _msthash="315378" _msttexthash="479076" _mstvisible="1" %) 1228 1228 0x28 00 ~/~/ Same As AT+SYNCMOD=0 1229 1229 1230 1230 1337 +(% _mstvisible="1" %) 1338 +== (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) == 1231 1231 1232 -== 4.9 Set Time Sync Interval == 1233 - 1340 +(% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %) 1234 1234 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1235 1235 1343 +(% _mstvisible="1" %) 1236 1236 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1237 1237 1346 +(% _mstvisible="1" %) 1238 1238 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]] 1239 1239 1240 1240 1350 +(% _mstvisible="1" %) 1241 1241 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1242 1242 1243 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1353 +(% _msthash="315382" _msttexthash="590044" _mstvisible="1" %) 1354 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A 1244 1244 1245 1245 1357 +(% _mstvisible="1" %) 1358 +== (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) == 1246 1246 1247 -== 4.10 Print data entries base on page. == 1248 - 1360 +(% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %) 1249 1249 Feature: Print the sector data from start page to stop page (max is 416 pages). 1250 1250 1363 +(% _mstvisible="1" %) 1251 1251 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA** 1252 1252 1366 +(% _mstvisible="1" %) 1253 1253 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]] 1254 1254 1255 1255 1370 +(% _mstvisible="1" %) 1256 1256 (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1257 1257 1373 +(% _msthash="315386" _msttexthash="799539" _mstvisible="1" %) 1258 1258 No downlink commands for feature 1259 1259 1260 1260 1377 +(% _mstvisible="1" %) 1378 +== (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) == 1261 1261 1262 -== 4.11 Print last few data entries. == 1263 - 1380 +(% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %) 1264 1264 Feature: Print the last few data entries 1265 1265 1383 +(% _mstvisible="1" %) 1266 1266 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1267 1267 1386 +(% _mstvisible="1" %) 1268 1268 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]] 1269 1269 1270 1270 1390 +(% _mstvisible="1" %) 1271 1271 (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1272 1272 1393 +(% _msthash="315390" _msttexthash="799539" _mstvisible="1" %) 1273 1273 No downlink commands for feature 1274 1274 1275 1275 ... ... @@ -1311,10 +1311,8 @@ 1311 1311 == 5.1 Battery Type == 1312 1312 1313 1313 ((( 1314 -((( 1315 1315 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. 1316 1316 ))) 1317 -))) 1318 1318 1319 1319 ((( 1320 1320 ... ... @@ -1321,11 +1321,9 @@ 1321 1321 ))) 1322 1322 1323 1323 ((( 1324 -((( 1325 1325 The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance. 1326 1326 [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]] 1327 1327 ))) 1328 -))) 1329 1329 1330 1330 The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery. 1331 1331 ... ... @@ -1353,7 +1353,6 @@ 1353 1353 ))) 1354 1354 1355 1355 1356 - 1357 1357 = 6. FAQ = 1358 1358 1359 1359 == 6.1 How to use AT Command? == ... ... @@ -1717,11 +1717,14 @@ 1717 1717 **Package Includes**: 1718 1718 1719 1719 * LHT65N Temperature & Humidity Sensor x 1 1720 -* Optional external sensor 1721 1721 1837 +*Optional external sensor 1838 + 1839 + 1722 1722 **Dimension and weight**: 1723 1723 1724 1724 * Device Size: 10 x 10 x 3.5 cm 1843 + 1725 1725 * Device Weight: 120.5g 1726 1726 1727 1727 = 9. Reference material =