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

From version 170.20
edited by Xiaoling
on 2022/06/22 11:01
Change comment: There is no comment for this version
To version 179.1
edited by Bei Jinggeng
on 2022/06/28 15:05
Change comment: Uploaded new attachment "image-20220628150542-2.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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 ==
... ... @@ -45,6 +45,8 @@
45 45  * Tri-color LED to indicate working status
46 46  * Datalog feature
47 47  
61 +
62 +
48 48  == 1.3 Specification ==
49 49  
50 50  
... ... @@ -69,23 +69,37 @@
69 69  * ±2°C accuracy from -55°C to +125°C
70 70  * Operating Range: -55 °C ~~ 125 °C
71 71  
87 +
88 +
72 72  = 2. Connect LHT65N to IoT Server =
73 73  
74 74  == 2.1 How does LHT65N work? ==
75 75  
93 +(((
76 76  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.
95 +)))
77 77  
97 +(((
78 78  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.
99 +)))
79 79  
80 80  
81 81  == 2.2 How to Activate LHT65N? ==
82 82  
104 +(((
83 83  The LHT65N has two working modes:
106 +)))
84 84  
85 -* (% 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.
86 -* (% 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. 
108 +* (((
109 +(% 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.
110 +)))
111 +* (((
112 +(% 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. 
113 +)))
87 87  
115 +(((
88 88  The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes:
117 +)))
89 89  
90 90  
91 91  [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]]
... ... @@ -239,8 +239,6 @@
239 239  * The 8(% _msthash="734578" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) ~~ 11(% _msthash="734579" _msttexthash="21372" _mstvisible="4" %)^^th^^(%%) byte: the value for external sensor value. The definition is based on external sensor type. (If EXT=0, there won’t be these four bytes.)
240 240  
241 241  
242 -
243 -
244 244  === 2.4.1 Decoder in TTN V3 ===
245 245  
246 246  When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading.
... ... @@ -272,7 +272,6 @@
272 272  * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV
273 273  
274 274  
275 -
276 276  === 2.4.3 Built-in Temperature ===
277 277  
278 278  [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]]
... ... @@ -444,7 +444,6 @@
444 444  * Unix Time Request:  1: Request server downlink Unix time, 0 : N/A. In this mode, LHT65N will set this bit to 1 every 10 days to request a time SYNC. (AT+SYNCMOD to set this)
445 445  
446 446  
447 -
448 448  ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ====
449 449  
450 450  In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can
... ... @@ -519,6 +519,7 @@
519 519  1. IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specify time range.
520 520  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.
521 521  
547 +
522 522  === 2.6.2 Unix TimeStamp ===
523 523  
524 524  
... ... @@ -541,20 +541,37 @@
541 541  
542 542  === 2.6.3 Set Device Time ===
543 543  
570 +(((
544 544  There are two ways to set device's time:
572 +)))
545 545  
574 +(((
546 546  **~1. Through LoRaWAN MAC Command (Default settings)**
576 +)))
547 547  
578 +(((
548 548  User need to set SYNCMOD=1 to enable sync time via MAC command.
580 +)))
549 549  
582 +(((
550 550  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).
584 +)))
551 551  
586 +(((
552 552  (% 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.
588 +)))
553 553  
590 +(((
591 +
592 +)))
554 554  
594 +(((
555 555  **2. Manually Set Time**
596 +)))
556 556  
598 +(((
557 557  User needs to set SYNCMOD=0 to manual time, otherwise, the user set time will be overwritten by the time set by the server.
600 +)))
558 558  
559 559  
560 560  
... ... @@ -721,9 +721,11 @@
721 721  (% _mstvisible="2" %)
722 722  (((
723 723  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
767 +(((
724 724  Poll Message Flag: 1: This message is a poll message reply.
725 725  )))
726 726  )))
771 +)))
727 727  
728 728  (% _mstvisible="1" %)
729 729  * (% _mstvisible="3" %)
... ... @@ -731,17 +731,21 @@
731 731  (% _mstvisible="4" %)
732 732  (((
733 733  (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %)
779 +(((
734 734  Poll Message Flag is set to 1.
735 735  )))
736 736  )))
783 +)))
737 737  * (% _mstvisible="3" %)
738 738  (((
739 739  (% _mstvisible="4" %)
740 740  (((
741 741  (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %)
789 +(((
742 742  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
743 743  )))
744 744  )))
793 +)))
745 745  
746 746  (% _mstvisible="1" %)
747 747  (((
... ... @@ -748,12 +748,16 @@
748 748  (% _mstvisible="2" %)
749 749  (((
750 750  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
800 +(((
751 751  
802 +)))
752 752  
753 753  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
805 +(((
754 754  For example, in US915 band, the max payload for different DR is:
755 755  )))
756 756  )))
809 +)))
757 757  
758 758  (% _mstvisible="1" %)
759 759  (((
... ... @@ -760,9 +760,11 @@
760 760  (% _mstvisible="2" %)
761 761  (((
762 762  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
816 +(((
763 763  a) DR0: max is 11 bytes so one entry of data
764 764  )))
765 765  )))
820 +)))
766 766  
767 767  (% _mstvisible="1" %)
768 768  (((
... ... @@ -769,9 +769,11 @@
769 769  (% _mstvisible="2" %)
770 770  (((
771 771  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
827 +(((
772 772  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
773 773  )))
774 774  )))
831 +)))
775 775  
776 776  (% _mstvisible="1" %)
777 777  (((
... ... @@ -778,9 +778,11 @@
778 778  (% _mstvisible="2" %)
779 779  (((
780 780  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
838 +(((
781 781  c) DR2: total payload includes 11 entries of data
782 782  )))
783 783  )))
842 +)))
784 784  
785 785  (% _mstvisible="1" %)
786 786  (((
... ... @@ -787,9 +787,11 @@
787 787  (% _mstvisible="2" %)
788 788  (((
789 789  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
849 +(((
790 790  d) DR3: total payload includes 22 entries of data.
791 791  )))
792 792  )))
853 +)))
793 793  
794 794  (% _mstvisible="1" %)
795 795  (((
... ... @@ -796,9 +796,11 @@
796 796  (% _mstvisible="2" %)
797 797  (((
798 798  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
860 +(((
799 799  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
800 800  )))
801 801  )))
864 +)))
802 802  
803 803  
804 804  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -844,55 +844,86 @@
844 844  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
845 845  
846 846  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
910 +(((
847 847  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
912 +)))
848 848  
849 849  (% _msthash="315237" _msttexthash="1385839" %)
915 +(((
850 850  Where the first 11 bytes is for the first entry:
917 +)))
851 851  
852 852  (% _msthash="315238" _msttexthash="274846" %)
920 +(((
853 853  7FFF089801464160065F97
922 +)))
854 854  
855 855  (% _msthash="315239" _msttexthash="617435" %)
925 +(((
856 856  Ext sensor data=0x7FFF/100=327.67
927 +)))
857 857  
858 858  (% _msthash="315240" _msttexthash="270543" %)
930 +(((
859 859  Temp=0x0898/100=22.00
932 +)))
860 860  
861 861  (% _msthash="315241" _msttexthash="211783" %)
935 +(((
862 862  Hum=0x0146/10=32.6
937 +)))
863 863  
864 864  (% _msthash="315242" _msttexthash="1569776" %)
940 +(((
865 865  poll message flag & Ext=0x41,means reply data,Ext=1
942 +)))
866 866  
867 867  (% _msthash="315243" _msttexthash="1120509" %)
945 +(((
868 868  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
947 +)))
869 869  
870 870  
871 871  
872 872  == 2.7 Alarm Mode ==
873 873  
953 +(((
874 874  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.
955 +)))
875 875  
876 -(% style="color:red" %)note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
957 +(((
958 +(% style="color:red" %)Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.
959 +)))
877 877  
961 +(((
878 878  **AT COMMAND FOR ALARM MODE:**
963 +)))
879 879  
880 880  (% _mstvisible="1" class="box infomessage" %)
881 881  (((
967 +(((
882 882  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
969 +)))
883 883  
971 +(((
884 884  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
973 +)))
885 885  
975 +(((
886 886  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
977 +)))
887 887  
979 +(((
888 888  **AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
981 +)))
889 889  
983 +(((
890 890  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
891 891  )))
986 +)))
892 892  
893 893  
894 894  
895 -
896 896  == 2.8 LED Indicator ==
897 897  
898 898  The LHT65 has a triple color LED which for easy showing different stage .
... ... @@ -902,13 +902,11 @@
902 902  In a normal working state:
903 903  
904 904  * For each uplink, the BLUE LED or RED LED will blink once.
905 - BLUE LED when external sensor is connected.
999 +BLUE LED when external sensor is connected.
906 906  * RED LED when external sensor is not connected
907 907  * For each success downlink, the PURPLE LED will blink once
908 908  
909 909  
910 -
911 -
912 912  == 2.9 installation ==
913 913  
914 914  (% _mstvisible="1" %)
... ... @@ -922,8 +922,24 @@
922 922  
923 923  [[image:image-20220619092222-1.png||height="182" width="188"]][[image:image-20220619092313-2.png||height="182" width="173"]]
924 924  
925 -1m long breakout cable for LHT65N
1017 +**1m long breakout cable for LHT65N. Features:**
926 926  
1019 +* (((
1020 +Use for AT Command, works for both LHT52/LHT65N
1021 +)))
1022 +* (((
1023 +Update firmware for LHT65N, works for both LHT52/LHT65N
1024 +)))
1025 +* (((
1026 +Supports ADC mode to monitor external ADC
1027 +)))
1028 +* (((
1029 +Supports Interrupt mode
1030 +)))
1031 +* (((
1032 +Exposed All pins from the LHT65N Type-C connector.
1033 +)))
1034 +
927 927  [[image:image-20220619092421-3.png||height="371" width="529"]]
928 928  
929 929  
... ... @@ -937,7 +937,6 @@
937 937  
938 938  Temperature sensor with 2 meters cable long
939 939  
940 -
941 941  * Resolution: 0.0625 °C
942 942  * ±0.5°C accuracy from -10°C to +85°C
943 943  * ±2°C accuracy from -55°C to +125°C
... ... @@ -944,29 +944,51 @@
944 944  * Operating Range: -40 ~~ 125 °C
945 945  * Working voltage 2.35v ~~ 5v
946 946  
1054 +
947 947  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
948 948  
1057 +(((
949 949  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1059 +)))
950 950  
951 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1061 +* (((
1062 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1063 +)))
952 952  
953 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1065 +* (((
1066 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1067 +)))
954 954  
1069 +(((
955 955  There are two kinds of commands to configure LHT65N, they are:
1071 +)))
956 956  
957 -* (% style="color:#4f81bd" %)**General Commands**.
1073 +* (((
1074 +(% style="color:#4f81bd" %)**General Commands**.
1075 +)))
958 958  
1077 +(((
959 959  These commands are to configure:
1079 +)))
960 960  
961 -* General system settings like: uplink interval.
1081 +1. (((
1082 +General system settings like: uplink interval.
1083 +)))
1084 +1. (((
1085 +LoRaWAN protocol & radio-related commands.
1086 +)))
962 962  
963 -* LoRaWAN protocol & radio-related commands.
964 -
1088 +(((
965 965  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]]
1090 +)))
966 966  
967 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N**
1092 +* (((
1093 +(% style="color:#4f81bd" %)**Commands special design for LHT65N**
1094 +)))
968 968  
1096 +(((
969 969  These commands are only valid for LHT65N, as below:
1098 +)))
970 970  
971 971  
972 972  == 4.1 Set Transmit Interval Time ==
... ... @@ -973,10 +973,8 @@
973 973  
974 974  Feature: Change LoRaWAN End Node Transmit Interval.
975 975  
976 -
977 977  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
978 978  
979 -
980 980  [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]]
981 981  
982 982  
... ... @@ -999,6 +999,7 @@
999 999  
1000 1000  [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]]
1001 1001  
1129 +
1002 1002  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1003 1003  
1004 1004  Total bytes: 2 ~~ 5 bytes
... ... @@ -1009,34 +1009,37 @@
1009 1009  
1010 1010  * 0xA209: Same as AT+EXT=9
1011 1011  
1012 -* 0xA20702003c,Same as AT+SETCNT=60
1140 +* 0xA20702003c: Same as AT+SETCNT=60
1013 1013  
1014 1014  
1015 -
1016 1016  == 4.3 Enable/Disable uplink Temperature probe ID ==
1017 1017  
1145 +(((
1018 1018  Feature: If PID is enabled, device will send the temperature probe ID on:
1147 +)))
1019 1019  
1020 -* First Packet after OTAA Join
1021 -* Every 24 hours since the first packet.
1149 +* (((
1150 +First Packet after OTAA Join
1151 +)))
1152 +* (((
1153 +Every 24 hours since the first packet.
1154 +)))
1022 1022  
1156 +(((
1023 1023  PID is default set to disable (0)
1158 +)))
1024 1024  
1025 -
1026 1026  (% style="color:#4f81bd" %)**AT Command:**
1027 1027  
1028 -
1029 1029  [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]]
1030 1030  
1031 1031  
1032 1032  (% style="color:#4f81bd" %)**Downlink Command:**
1033 1033  
1167 +* **0xA800**  **~-~->** AT+PID=0
1168 +* **0xA801**     **~-~->** AT+PID=1
1034 1034  
1035 -* 0xA800  **~-~->** AT+PID=0
1036 -* 0xA801     **~-~->** AT+PID=1
1037 1037  
1038 -
1039 -
1040 1040  == 4.4 Set Password ==
1041 1041  
1042 1042  Feature: Set device password, max 9 digits
... ... @@ -1043,11 +1043,9 @@
1043 1043  
1044 1044  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1045 1045  
1046 -
1047 1047  [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]]
1048 1048  
1049 1049  
1050 -
1051 1051  (% style="color:#4f81bd" %)**Downlink Command:**
1052 1052  
1053 1053  No downlink command for this feature.
... ... @@ -1056,17 +1056,13 @@
1056 1056  
1057 1057  == 4.5 Quit AT Command ==
1058 1058  
1059 -
1060 1060  Feature: Quit AT Command mode, so user needs to input password again before use AT Commands.
1061 1061  
1062 -
1063 1063  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1064 1064  
1065 -
1066 1066  [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]]
1067 1067  
1068 1068  
1069 -
1070 1070  (% style="color:#4f81bd" %)**Downlink Command:**
1071 1071  
1072 1072  No downlink command for this feature.
... ... @@ -1075,40 +1075,32 @@
1075 1075  
1076 1076  == 4.6 Set to sleep mode ==
1077 1077  
1078 -
1079 1079  Feature: Set device to sleep mode
1080 1080  
1081 -* AT+Sleep=0  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1082 -* AT+Sleep=1 : Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1205 +* **AT+Sleep=0**  : Normal working mode, device will sleep and use lower power when there is no LoRa message
1206 +* **AT+Sleep=1** :  Device is in deep sleep mode, no LoRa activation happen, used for storage or shipping.
1083 1083  
1084 1084  (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1085 1085  
1086 -
1087 1087  [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]]
1088 1088  
1089 1089  
1090 -
1091 1091  (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1092 1092  
1093 -
1094 1094  * There is no downlink command to set to Sleep mode.
1095 1095  
1217 +
1096 1096  == 4.7 Set system time ==
1097 1097  
1098 -
1099 1099  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
1100 1100  
1101 -
1102 1102  (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1103 1103  
1104 -
1105 1105  [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]]
1106 1106  
1107 1107  
1108 -
1109 1109  (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1110 1110  
1111 -
1112 1112  0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
1113 1113  
1114 1114  
... ... @@ -1115,10 +1115,13 @@
1115 1115  
1116 1116  == 4.8 Set Time Sync Mode ==
1117 1117  
1118 -
1235 +(((
1119 1119  Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command.
1237 +)))
1120 1120  
1239 +(((
1121 1121  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.
1241 +)))
1122 1122  
1123 1123  (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1124 1124  
... ... @@ -1125,7 +1125,6 @@
1125 1125  [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]]
1126 1126  
1127 1127  
1128 -
1129 1129  (% style="color:#4f81bd" %)**Downlink Command:**
1130 1130  
1131 1131  0x28 01 ~/~/ Same As AT+SYNCMOD=1
... ... @@ -1135,39 +1135,30 @@
1135 1135  
1136 1136  == 4.9 Set Time Sync Interval ==
1137 1137  
1138 -
1139 1139  Feature: Define System time sync interval. SYNCTDC default value: 10 days.
1140 1140  
1141 -
1142 1142  (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:**
1143 1143  
1144 -
1145 1145  [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]]
1146 1146  
1147 1147  
1148 -
1149 1149  (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1150 1150  
1266 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A
1151 1151  
1152 -0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A
1153 1153  
1154 1154  
1155 -
1156 1156  == 4.10 Print data entries base on page. ==
1157 1157  
1158 1158  Feature: Print the sector data from start page to stop page (max is 416 pages).
1159 1159  
1160 -
1161 1161  (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA**
1162 1162  
1163 -
1164 1164  [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]]
1165 1165  
1166 1166  
1167 -
1168 1168  (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:**
1169 1169  
1170 -
1171 1171  No downlink commands for feature
1172 1172  
1173 1173  
... ... @@ -1176,10 +1176,8 @@
1176 1176  
1177 1177  Feature: Print the last few data entries
1178 1178  
1179 -
1180 1180  (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1181 1181  
1182 -
1183 1183  [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]]
1184 1184  
1185 1185  
... ... @@ -1204,8 +1204,6 @@
1204 1204  * Example: 0xA301 ~/~/Same as AT+CLRDTA
1205 1205  
1206 1206  
1207 -
1208 -
1209 1209  == 4.13 Auto Send None-ACK messages ==
1210 1210  
1211 1211  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
... ... @@ -1225,7 +1225,6 @@
1225 1225  * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1226 1226  
1227 1227  
1228 -
1229 1229  = 5. Battery & How to replace =
1230 1230  
1231 1231  == 5.1 Battery Type ==
... ... @@ -1285,16 +1285,11 @@
1285 1285  
1286 1286  (% _msthash="506061" _msttexthash="170755" %)**Connection:**
1287 1287  
1288 -(% _msthash="506062" _msttexthash="1187732" %)
1289 -**✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)**
1393 +* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND**
1394 +* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1395 +* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1396 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1290 1290  
1291 -(% _msthash="506063" _msttexthash="1158313" %)**✓  **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1292 -
1293 -(% _msthash="506064" _msttexthash="1175629" %)**✓  **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1294 -
1295 -(% _msthash="506065" _msttexthash="1164696" %)**✓  **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1296 -
1297 -
1298 1298  (((
1299 1299  In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**) (%%)to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
1300 1300  )))
... ... @@ -1603,7 +1603,59 @@
1603 1603  Finally, unplug the DuPont cable on port4, and then use the DuPont cable to short circuit port3 and port1 to reset the device.
1604 1604  
1605 1605  
1706 +== 6.6 Using USB-TYPE-C to connect to the computer using the AT command ==
1606 1606  
1708 +[[image:image-20220623110706-1.png]]
1709 +
1710 +
1711 +[[image:image-20220623112117-4.png||height="459" width="343"]]
1712 +
1713 +(((
1714 +In PC, User needs to set serial tool(such as [[**putty**>>https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600** (%%)to access to access serial console for LHT65N. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**(% style="color:red" %))(%%) to active it. Timeout to input AT Command is 5 min, after 5-minute, user need to input password again. User can use AT+DISAT command to disable AT command before timeout.
1715 +)))
1716 +
1717 +
1718 +Input password and ATZ to activate LHT65N,As shown below:
1719 +
1720 +[[image:image-20220615154519-3.png||height="672" width="807"]]
1721 +
1722 +
1723 +== 6.6 How to use  USB-TYPE-C to connect PC to upgrade firmware? ==
1724 +
1725 +[[image:image-20220623110706-1.png]]
1726 +
1727 +(% style="color:blue" %)**Step1**(%%): Install TremoProgrammer  first.
1728 +
1729 +[[image:image-20220615170542-5.png]]
1730 +
1731 +
1732 +(% style="color:blue" %)**Step2**(%%):wiring method.(% style="display:none" %)
1733 +
1734 +(% _msthash="506146" _msttexthash="52173160" %)
1735 +First connect the four lines;
1736 +
1737 +(% _msthash="506146" _msttexthash="52173160" %)
1738 +[[image:image-20220623113959-5.png||height="528" width="397"]]
1739 +
1740 +(% _msthash="506146" _msttexthash="52173160" %)
1741 +Press and hold the start key to restart and enter  (% _mstvisible="1" %)bootlaod(%%) mode.
1742 +
1743 +(% style="color:blue" %)**Step3:**(%%)Select the device port to be connected, baud rate and bin file to be downloaded.
1744 +
1745 +[[image:image-20220615171334-6.png]]
1746 +
1747 +
1748 +Click the (% style="color:blue" %)**start**(%%) button to start the firmware upgrade.
1749 +
1750 +
1751 +When this interface appears, it indicates that the download has been completed.
1752 +
1753 +[[image:image-20220620160723-8.png]]
1754 +
1755 +
1756 +Finally,restart reset device again
1757 +
1758 +
1607 1607  = 7. Order Info =
1608 1608  
1609 1609  
... ... @@ -1632,8 +1632,6 @@
1632 1632  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1633 1633  
1634 1634  
1635 -
1636 -
1637 1637  = 8. Packing Info =
1638 1638  
1639 1639  
... ... @@ -1640,18 +1640,14 @@
1640 1640  **Package Includes**:
1641 1641  
1642 1642  * LHT65N Temperature & Humidity Sensor x 1
1793 +* Optional external sensor
1643 1643  
1644 -*Optional external sensor
1645 -
1646 -
1647 1647  **Dimension and weight**:
1648 1648  
1649 1649  * Device Size:  10 x 10 x 3.5 cm
1650 -
1651 1651  * Device Weight: 120.5g
1652 1652  
1653 1653  
1654 -
1655 1655  = 9. Reference material =
1656 1656  
1657 1657  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
image-20220623110706-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +689.7 KB
Content
image-20220623110723-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +501.5 KB
Content
image-20220623111949-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +1.6 MB
Content
image-20220623112117-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +513.9 KB
Content
image-20220623113959-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +834.2 KB
Content
image-20220628150112-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +220.3 KB
Content
image-20220628150542-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +45.6 KB
Content