Last modified by Xiaoling on 2023/07/18 10:12

From version 170.31
edited by Xiaoling
on 2022/06/22 11:23
Change comment: There is no comment for this version
To version 170.18
edited by Xiaoling
on 2022/06/22 10:31
Change comment: There is no comment for this version

Summary

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,21 @@
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 -(((
565 +
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,111 +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  
882 +(% _mstvisible="1" style="text-align: left;" %)
883 +== (% _msthash="244504" _msttexthash="177736" _mstvisible="3" %)2.7 Alarm Mode(%%) ==
966 966  
967 -== 2.7 Alarm Mode ==
968 -
969 -(((
885 +(% _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  
888 +(% _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.
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.
975 975  )))
976 976  
977 -(((
978 -**AT COMMAND FOR ALARM MODE:**
979 -)))
894 +(% _mstvisible="1" style="text-align: left;" %)
895 +(% _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 -)))
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)
986 986  
987 -(((
988 -**AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
989 -)))
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)
990 990  
991 -(((
992 -**AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
993 -)))
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
994 994  
995 -(((
996 -**AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
997 -)))
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" %)
998 998  
999 -(((
1000 -**AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
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.
1001 1001  )))
1002 -)))
1003 1003  
1004 1004  
1005 1005  
917 +(% _msthash="72514" _msttexthash="253149" _mstvisible="1" style="text-align: left;" %)
918 +== (% _istranslated="1" _msthash="168103" _msttexthash="59969" _mstvisible="3" %)2.8 (%%)LED Indicator ==
1006 1006  
1007 -== 2.8 LED Indicator ==
1008 -
920 +(% _mstvisible="1" %)
921 +(((
922 +(% _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  
925 +(% _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.
927 +)))
1012 1012  
929 +(% _mstvisible="1" %)
930 +(((
931 +(% _msthash="506092" _msttexthash="521573" _mstvisible="2" style="text-align: left;" %)
1013 1013  In a normal working state:
933 +)))
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
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" %)
1019 1019  
1020 -== 2.9 installation ==
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
1021 1021  
954 +
955 +
956 +)))
957 +
958 +(% _mstvisible="1" style="text-align: left;" %)
959 +== (% _msthash="112034" _msttexthash="277511" _mstvisible="3" %)2.9 installation(%%) ==
960 +
1022 1022  (% _mstvisible="1" %)
1023 1023  [[image:image-20220516231650-1.png||_mstalt="428597" _mstvisible="3" height="436" width="428"]]
1024 1024  
1025 1025  
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(%%) =
1026 1026  
1027 -= 3. Sensors and Accessories =
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(%%) ==
1028 1028  
1029 -== 3.1 E2 Extension Cable ==
1030 -
1031 1031  [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
1032 1032  
1033 1033  1m long breakout cable for LHT65N
... ... @@ -1036,15 +1036,17 @@
1036 1036  
1037 1037  
1038 1038  
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(%%) ==
1039 1039  
1040 -== 3.2 E3 Temperature Probe ==
1041 -
1042 -
982 +(% _mstvisible="1" %)
1043 1043  [[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"]]
1044 1044  
1045 1045  
986 +(% _msthash="315354" _msttexthash="1270971" _mstvisible="1" style="text-align: left;" %)
1046 1046  Temperature sensor with 2 meters cable long
1047 1047  
989 +(% _mstvisible="1" %)
1048 1048  * Resolution: 0.0625 °C
1049 1049  * ±0.5°C accuracy from -10°C to +85°C
1050 1050  * ±2°C accuracy from -55°C to +125°C
... ... @@ -1051,221 +1051,405 @@
1051 1051  * Operating Range: -40 ~~ 125 °C
1052 1052  * Working voltage 2.35v ~~ 5v
1053 1053  
1054 -= 4. Configure LHT65N via AT command or LoRaWAN downlink =
996 +(% _mstvisible="1" style="text-align: left;" %)
997 += (% _msthash="1940107" _msttexthash="1714063" _mstvisible="3" %)4. Configure LHT65N via AT command or LoRaWAN downlink(%%) =
1055 1055  
999 +(% _mstvisible="1" %)
1000 +(((
1001 +(% _msthash="506246" _msttexthash="2005926" _mstvisible="2" style="text-align: left;" %)
1056 1056  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1003 +)))
1057 1057  
1058 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
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 +)))
1059 1059  
1060 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1017 +(% _mstvisible="1" %)
1018 +(((
1019 +(% _mstvisible="2" style="text-align: left;" %)
1020 +
1021 +)))
1061 1061  
1023 +(% _mstvisible="1" %)
1024 +(((
1025 +(% _msthash="506248" _msttexthash="2144051" _mstvisible="2" style="text-align: left;" %)
1062 1062  There are two kinds of commands to configure LHT65N, they are:
1027 +)))
1063 1063  
1064 -* (% style="color:#4f81bd" %)**General Commands**.
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 +)))
1065 1065  
1035 +(% _mstvisible="1" %)
1036 +(((
1037 +(% _msthash="506250" _msttexthash="774527" _mstvisible="2" style="text-align: left;" %)
1066 1066  These commands are to configure:
1039 +)))
1067 1067  
1068 -1. General system settings like: uplink interval.
1069 -1. LoRaWAN protocol & radio-related commands.
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 +)))
1070 1070  
1053 +(% _mstvisible="1" %)
1054 +(((
1055 +(% _msthash="506251" _msttexthash="12349142" _mstvisible="2" style="text-align: left;" %)
1071 1071  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 +)))
1072 1072  
1073 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N**
1059 +(% _mstvisible="1" %)
1060 +(((
1061 +(% _mstvisible="2" style="text-align: left;" %)
1062 +
1063 +)))
1074 1074  
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;" %)
1075 1075  These commands are only valid for LHT65N, as below:
1076 1076  
1077 1077  
1078 -== 4.1 Set Transmit Interval Time ==
1077 +(% _msthash="506254" _msttexthash="1501357" _mstvisible="2" style="text-align: left;" %)
1078 +
1079 +)))
1079 1079  
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;" %)
1080 1080  Feature: Change LoRaWAN End Node Transmit Interval.
1081 1081  
1082 -(% style="color:#4f81bd" %)**AT Command: AT+TDC**
1087 +(% _mstvisible="1" style="text-align: left;" %)
1088 +(% _msthash="315244" _msttexthash="241696" style="color:#4f81bd" %)**AT Command: AT+TDC**
1083 1083  
1090 +(% _mstvisible="1" %)
1084 1084  [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
1085 1085  
1093 +(% _mstvisible="1" %)
1094 +(((
1095 +(% _mstvisible="2" style="text-align: left;" %)
1096 +
1086 1086  
1087 -(% style="color:#4f81bd" %)**Downlink Command: 0x01**
1098 +(% _mstvisible="2" style="text-align: left;" %)
1099 +(% _msthash="506055" _msttexthash="381992" style="color:#4f81bd" %)**Downlink Command: 0x01**
1100 +)))
1088 1088  
1102 +(% _mstvisible="1" %)
1103 +(((
1104 +(% _msthash="506256" _msttexthash="1996592" _mstvisible="2" style="text-align: left;" %)
1089 1089  Format: Command Code (0x01) followed by 3 bytes time value.
1106 +)))
1090 1090  
1108 +(% _mstvisible="1" %)
1109 +(((
1110 +(% _msthash="506257" _msttexthash="12934649" _mstvisible="2" style="text-align: left;" %)
1091 1091  If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01.
1112 +)))
1092 1092  
1093 -* **Example 1**: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
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
1094 1094  
1095 -* **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1096 1096  
1097 -== 4.2 Set External Sensor Mode ==
1126 +(% _msthash="903323" _msttexthash="3253315" _mstvisible="4" %)
1127 +
1128 +)))
1098 1098  
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;" %)
1099 1099  Feature: Change External Sensor Mode.
1100 1100  
1101 -(% style="color:#4f81bd" %)**AT Command: AT+EXT**
1136 +(% _mstvisible="1" style="text-align: left;" %)
1137 +(% _msthash="315245" _msttexthash="248118" style="color:#4f81bd" %)**AT Command: AT+EXT**
1102 1102  
1139 +(% _mstvisible="1" %)
1103 1103  [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
1104 1104  
1142 +(% _mstvisible="1" %)
1143 +(((
1144 +(% _mstvisible="2" style="text-align: left;" %)
1145 +
1105 1105  
1106 -(% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1147 +(% _mstvisible="2" style="text-align: left;" %)
1148 +(% _msthash="506056" _msttexthash="387855" style="color:#4f81bd" %)**Downlink Command: 0xA2**
1149 +)))
1107 1107  
1151 +(% _mstvisible="1" %)
1152 +(((
1153 +(% _msthash="506259" _msttexthash="395629" _mstvisible="2" style="text-align: left;" %)
1108 1108  Total bytes: 2 ~~ 5 bytes
1155 +)))
1109 1109  
1110 -**Example:**
1157 +(% _mstvisible="1" %)
1158 +(((
1159 +(% _mstvisible="2" %)
1160 +(% _msthash="506260" _msttexthash="104767" _mstvisible="4" %)**Example:**
1161 +)))
1111 1111  
1112 -* 0xA201: Set external sensor type to E1
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
1113 1113  
1114 -* 0xA209: Same as AT+EXT=9
1115 1115  
1116 -* 0xA20702003c: Same as AT+SETCNT=60
1180 +(% _msthash="903326" _msttexthash="639067" _mstvisible="4" %)
1181 +
1182 +)))
1117 1117  
1118 -== 4.3 Enable/Disable uplink Temperature probe ID ==
1184 +(% _mstvisible="1" style="text-align: left;" %)
1185 +== (% _msthash="1562483" _msttexthash="1445717" _mstvisible="3" %)4.3 Enable/Disable uplink Temperature probe ID(%%) ==
1119 1119  
1120 -(((
1187 +(% _msthash="315359" _msttexthash="2977572" _mstvisible="1" style="text-align: left;" %)
1121 1121  Feature: If PID is enabled, device will send the temperature probe ID on:
1122 -)))
1123 1123  
1124 -* (((
1125 -First Packet after OTAA Join
1126 -)))
1127 -* (((
1128 -Every 24 hours since the first packet.
1129 -)))
1190 +(% _mstvisible="1" %)
1191 +* First Packet after OTAA Join
1192 +* Every 24 hours since the first packet.
1130 1130  
1131 -(((
1194 +(% _msthash="315360" _msttexthash="658814" _mstvisible="1" style="text-align: left;" %)
1132 1132  PID is default set to disable (0)
1133 -)))
1134 1134  
1135 -(% style="color:#4f81bd" %)**AT Command:**
1197 +(% _mstvisible="1" style="text-align: left;" %)
1198 +(% _msthash="315246" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1136 1136  
1200 +(% _mstvisible="1" %)
1137 1137  [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
1138 1138  
1139 1139  
1140 -(% style="color:#4f81bd" %)**Downlink Command:**
1204 +(% _mstvisible="1" style="text-align: left;" %)
1205 +(% _msthash="315247" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1141 1141  
1142 -* **0xA800**  **~-~->** AT+PID=0
1143 -* **0xA801**     **~-~->** AT+PID=1
1207 +(% _mstvisible="1" %)
1208 +* 0xA800  **~-~->** AT+PID=0
1209 +* 0xA801     **~-~->** AT+PID=1
1144 1144  
1145 -== 4.4 Set Password ==
1211 +(% _mstvisible="1" style="text-align: left;" %)
1212 +== (% _msthash="266344" _msttexthash="242879" _mstvisible="3" %)4.4 Set Password(%%) ==
1146 1146  
1214 +(% _msthash="315363" _msttexthash="1170728" _mstvisible="1" style="text-align: left;" %)
1147 1147  Feature: Set device password, max 9 digits
1148 1148  
1149 -(% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1217 +(% _mstvisible="1" style="text-align: left;" %)
1218 +(% _msthash="315248" _msttexthash="295009" style="color:#4f81bd" %)**AT Command: AT+PWORD**
1150 1150  
1220 +(% _mstvisible="1" %)
1151 1151  [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
1152 1152  
1223 +(% _mstvisible="1" %)
1224 +(((
1225 +(% _mstvisible="2" style="text-align: left;" %)
1226 +
1153 1153  
1154 -(% style="color:#4f81bd" %)**Downlink Command:**
1228 +(% _mstvisible="2" style="text-align: left;" %)
1229 +(% _msthash="506057" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1230 +)))
1155 1155  
1232 +(% _mstvisible="1" %)
1233 +(((
1234 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
1156 1156  No downlink command for this feature.
1157 1157  
1237 +(% _msthash="506262" _msttexthash="974311" _mstvisible="2" style="text-align: left;" %)
1238 +
1239 +)))
1158 1158  
1241 +(% _mstvisible="1" style="text-align: left;" %)
1242 +== (% _msthash="306956" _msttexthash="281918" _mstvisible="3" %)4.5 Quit AT Command(%%) ==
1159 1159  
1160 -== 4.5 Quit AT Command ==
1161 -
1244 +(% _msthash="315365" _msttexthash="4616456" _mstvisible="1" style="text-align: left;" %)
1162 1162  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1163 1163  
1164 -(% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1247 +(% _mstvisible="1" style="text-align: left;" %)
1248 +(% _msthash="315249" _msttexthash="289120" style="color:#4f81bd" %)**AT Command: AT+DISAT**
1165 1165  
1250 +(% _mstvisible="1" %)
1166 1166  [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
1167 1167  
1168 1168  
1169 -(% style="color:#4f81bd" %)**Downlink Command:**
1254 +(% _mstvisible="1" style="text-align: left;" %)
1255 +(% _msthash="315250" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1170 1170  
1257 +(% _msthash="315368" _msttexthash="974311" _mstvisible="1" style="text-align: left;" %)
1171 1171  No downlink command for this feature.
1172 1172  
1173 1173  
1261 +(% _mstvisible="1" style="text-align: left;" %)
1262 +== (% _msthash="362752" _msttexthash="334919" _mstvisible="3" %)4.6 Set to sleep mode(%%) ==
1174 1174  
1175 -== 4.6 Set to sleep mode ==
1176 -
1264 +(% _msthash="315369" _msttexthash="779688" _mstvisible="1" style="text-align: left;" %)
1177 1177  Feature: Set device to sleep mode
1178 1178  
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.
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.
1181 1181  
1270 +(% _mstvisible="1" style="text-align: left;" %)
1182 1182  (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1183 1183  
1273 +(% _mstvisible="1" %)
1184 1184  [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
1185 1185  
1186 1186  
1277 +(% _mstvisible="1" %)
1187 1187  (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1188 1188  
1280 +(% _mstvisible="1" %)
1189 1189  * There is no downlink command to set to Sleep mode.
1190 1190  
1191 -== 4.7 Set system time ==
1283 +(% _mstvisible="1" %)
1284 +== (% _msthash="336557" _msttexthash="309712" _mstvisible="3" %)4.7 Set system time(%%) ==
1192 1192  
1286 +(% _msthash="315372" _msttexthash="2565524" _mstvisible="1" %)
1193 1193  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1194 1194  
1289 +(% _mstvisible="1" %)
1195 1195  (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1196 1196  
1292 +(% _mstvisible="1" %)
1197 1197  [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
1198 1198  
1199 1199  
1296 +(% _mstvisible="1" %)
1200 1200  (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1201 1201  
1299 +(% _msthash="315375" _msttexthash="2898571" _mstvisible="1" %)
1202 1202  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1203 1203  
1204 1204  
1303 +(% _mstvisible="1" %)
1304 +== (% _msthash="376779" _msttexthash="348712" _mstvisible="3" %)4.8 Set Time Sync Mode(%%) ==
1205 1205  
1206 -== 4.8 Set Time Sync Mode ==
1207 -
1306 +(% _mstvisible="1" %)
1208 1208  (((
1308 +(% _msthash="506263" _msttexthash="11748321" _mstvisible="2" %)
1209 1209  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
1210 1210  )))
1211 1211  
1312 +(% _mstvisible="1" %)
1212 1212  (((
1314 +(% _msthash="506264" _msttexthash="6530264" _mstvisible="2" %)
1213 1213  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.
1214 1214  )))
1215 1215  
1318 +(% _mstvisible="1" %)
1319 +(((
1320 +(% _mstvisible="2" %)
1216 1216  (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1322 +)))
1217 1217  
1324 +(% _mstvisible="1" %)
1218 1218  [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
1219 1219  
1220 1220  
1221 -(% style="color:#4f81bd" %)**Downlink Command:**
1328 +(% _mstvisible="1" %)
1329 +(% _msthash="315255" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1222 1222  
1331 +(% _msthash="315377" _msttexthash="479648" _mstvisible="1" %)
1223 1223  0x28 01 ~/~/ Same As AT+SYNCMOD=1
1333 +
1334 +(% _msthash="315378" _msttexthash="479076" _mstvisible="1" %)
1224 1224  0x28 00 ~/~/ Same As AT+SYNCMOD=0
1225 1225  
1226 1226  
1338 +(% _mstvisible="1" %)
1339 +== (% _msthash="536432" _msttexthash="502528" _mstvisible="3" %)4.9 Set Time Sync Interval(%%) ==
1227 1227  
1228 -== 4.9 Set Time Sync Interval ==
1229 -
1341 +(% _msthash="315379" _msttexthash="3065777" _mstvisible="1" %)
1230 1230  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1231 1231  
1344 +(% _mstvisible="1" %)
1232 1232  (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1233 1233  
1347 +(% _mstvisible="1" %)
1234 1234  [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1235 1235  
1236 1236  
1351 +(% _mstvisible="1" %)
1237 1237  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1238 1238  
1239 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1354 +(% _msthash="315382" _msttexthash="590044" _mstvisible="1" %)
1355 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A
1240 1240  
1241 1241  
1358 +(% _mstvisible="1" %)
1359 +== (% _msthash="927901" _msttexthash="882570" _mstvisible="3" %)4.10 Print data entries base on page.(%%) ==
1242 1242  
1243 -== 4.10 Print data entries base on page. ==
1244 -
1361 +(% _msthash="315383" _msttexthash="3233334" _mstvisible="1" %)
1245 1245  Feature: Print the sector data from start page to stop page (max is 416 pages).
1246 1246  
1364 +(% _mstvisible="1" %)
1247 1247  (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1248 1248  
1367 +(% _mstvisible="1" %)
1249 1249  [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1250 1250  
1251 1251  
1371 +(% _mstvisible="1" %)
1252 1252  (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1253 1253  
1374 +(% _msthash="315386" _msttexthash="799539" _mstvisible="1" %)
1254 1254  No downlink commands for feature
1255 1255  
1256 1256  
1378 +(% _mstvisible="1" %)
1379 +== (% _msthash="788762" _msttexthash="747149" _mstvisible="3" %)4.11 Print last few data entries.(%%) ==
1257 1257  
1258 -== 4.11 Print last few data entries. ==
1259 -
1381 +(% _msthash="315387" _msttexthash="1101009" _mstvisible="1" %)
1260 1260  Feature: Print the last few data entries
1261 1261  
1384 +(% _mstvisible="1" %)
1262 1262  (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1263 1263  
1387 +(% _mstvisible="1" %)
1264 1264  [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1265 1265  
1266 1266  
1391 +(% _mstvisible="1" %)
1267 1267  (% _msthash="315261" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1268 1268  
1394 +(% _msthash="315390" _msttexthash="799539" _mstvisible="1" %)
1269 1269  No downlink commands for feature
1270 1270  
1271 1271  
... ... @@ -1307,10 +1307,8 @@
1307 1307  == 5.1 Battery Type ==
1308 1308  
1309 1309  (((
1310 -(((
1311 1311  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.
1312 1312  )))
1313 -)))
1314 1314  
1315 1315  (((
1316 1316  
... ... @@ -1317,11 +1317,9 @@
1317 1317  )))
1318 1318  
1319 1319  (((
1320 -(((
1321 1321  The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1322 1322  [[image:image-20220515075034-1.png||_mstalt="428961" _mstvisible="4" height="208" width="644"]]
1323 1323  )))
1324 -)))
1325 1325  
1326 1326  The minimum Working Voltage for the LHT65N is ~~ 2.5v. When battery is lower than 2.6v, it is time to change the battery.
1327 1327  
... ... @@ -1349,7 +1349,6 @@
1349 1349  )))
1350 1350  
1351 1351  
1352 -
1353 1353  = 6. FAQ =
1354 1354  
1355 1355  == 6.1 How to use AT Command? ==
... ... @@ -1713,11 +1713,14 @@
1713 1713  **Package Includes**:
1714 1714  
1715 1715  * LHT65N Temperature & Humidity Sensor x 1
1716 -* Optional external sensor
1717 1717  
1838 +*Optional external sensor
1839 +
1840 +
1718 1718  **Dimension and weight**:
1719 1719  
1720 1720  * Device Size:  10 x 10 x 3.5 cm
1844 +
1721 1721  * Device Weight: 120.5g
1722 1722  
1723 1723  = 9. Reference material =