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

From version 170.29
edited by Xiaoling
on 2022/06/22 11:21
Change comment: There is no comment for this version
To version 171.1
edited by Bei Jinggeng
on 2022/06/23 11:07
Change comment: Uploaded new attachment "image-20220623110706-1.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -59,6 +59,9 @@
59 59  * Datalog feature
60 60  
61 61  
62 +
63 +
64 +
62 62  == 1.3 Specification ==
63 63  
64 64  
... ... @@ -84,6 +84,9 @@
84 84  * Operating Range: -55 °C ~~ 125 °C
85 85  
86 86  
90 +
91 +
92 +
87 87  = 2. Connect LHT65N to IoT Server =
88 88  
89 89  == 2.1 How does LHT65N work? ==
... ... @@ -268,7 +268,6 @@
268 268  
269 269  
270 270  
271 -
272 272  === 2.4.1 Decoder in TTN V3 ===
273 273  
274 274  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.
... ... @@ -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"]]
... ... @@ -316,7 +316,6 @@
316 316  
317 317  
318 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"]]
... ... @@ -326,7 +326,6 @@
326 326  
327 327  
328 328  
329 -
330 330  === 2.4.5 Ext # ===
331 331  
332 332  Bytes for External Sensor:
... ... @@ -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
... ... @@ -560,7 +560,6 @@
560 560  
561 561  
562 562  
563 -
564 564  === 2.6.2 Unix TimeStamp ===
565 565  
566 566  
... ... @@ -780,9 +780,11 @@
780 780  (% _mstvisible="2" %)
781 781  (((
782 782  (% _msthash="736723" _msttexthash="2005003" _mstvisible="3" %)
783 +(((
783 783  Poll Message Flag: 1: This message is a poll message reply.
784 784  )))
785 785  )))
787 +)))
786 786  
787 787  (% _mstvisible="1" %)
788 788  * (% _mstvisible="3" %)
... ... @@ -790,17 +790,21 @@
790 790  (% _mstvisible="4" %)
791 791  (((
792 792  (% _msthash="1197157" _msttexthash="561548" _mstvisible="5" %)
795 +(((
793 793  Poll Message Flag is set to 1.
794 794  )))
795 795  )))
799 +)))
796 796  * (% _mstvisible="3" %)
797 797  (((
798 798  (% _mstvisible="4" %)
799 799  (((
800 800  (% _msthash="1197158" _msttexthash="9284964" _mstvisible="5" %)
805 +(((
801 801  Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
802 802  )))
803 803  )))
809 +)))
804 804  
805 805  (% _mstvisible="1" %)
806 806  (((
... ... @@ -807,12 +807,16 @@
807 807  (% _mstvisible="2" %)
808 808  (((
809 809  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
816 +(((
810 810  
818 +)))
811 811  
812 812  (% _msthash="736724" _msttexthash="2242344" _mstvisible="3" %)
821 +(((
813 813  For example, in US915 band, the max payload for different DR is:
814 814  )))
815 815  )))
825 +)))
816 816  
817 817  (% _mstvisible="1" %)
818 818  (((
... ... @@ -819,9 +819,11 @@
819 819  (% _mstvisible="2" %)
820 820  (((
821 821  (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %)
832 +(((
822 822  a) DR0: max is 11 bytes so one entry of data
823 823  )))
824 824  )))
836 +)))
825 825  
826 826  (% _mstvisible="1" %)
827 827  (((
... ... @@ -828,9 +828,11 @@
828 828  (% _mstvisible="2" %)
829 829  (((
830 830  (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %)
843 +(((
831 831  b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
832 832  )))
833 833  )))
847 +)))
834 834  
835 835  (% _mstvisible="1" %)
836 836  (((
... ... @@ -837,9 +837,11 @@
837 837  (% _mstvisible="2" %)
838 838  (((
839 839  (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %)
854 +(((
840 840  c) DR2: total payload includes 11 entries of data
841 841  )))
842 842  )))
858 +)))
843 843  
844 844  (% _mstvisible="1" %)
845 845  (((
... ... @@ -846,9 +846,11 @@
846 846  (% _mstvisible="2" %)
847 847  (((
848 848  (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %)
865 +(((
849 849  d) DR3: total payload includes 22 entries of data.
850 850  )))
851 851  )))
869 +)))
852 852  
853 853  (% _mstvisible="1" %)
854 854  (((
... ... @@ -855,9 +855,11 @@
855 855  (% _mstvisible="2" %)
856 856  (((
857 857  (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %)
876 +(((
858 858  If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0   
859 859  )))
860 860  )))
880 +)))
861 861  
862 862  
863 863  (% _mstvisible="1" style="text-align: left;" %)
... ... @@ -903,55 +903,86 @@
903 903  [[image:image-20220523001219-13.png||_mstalt="451204" _mstvisible="3" height="421" style="text-align:left" width="727"]]
904 904  
905 905  (% _msthash="315271" _msttexthash="12012546" _mstvisible="1" style="text-align: left;" %)
926 +(((
906 906  7FFF089801464160065F977FFF088E014B41600660097FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E
928 +)))
907 907  
908 908  (% _msthash="315237" _msttexthash="1385839" %)
931 +(((
909 909  Where the first 11 bytes is for the first entry:
933 +)))
910 910  
911 911  (% _msthash="315238" _msttexthash="274846" %)
936 +(((
912 912  7FFF089801464160065F97
938 +)))
913 913  
914 914  (% _msthash="315239" _msttexthash="617435" %)
941 +(((
915 915  Ext sensor data=0x7FFF/100=327.67
943 +)))
916 916  
917 917  (% _msthash="315240" _msttexthash="270543" %)
946 +(((
918 918  Temp=0x0898/100=22.00
948 +)))
919 919  
920 920  (% _msthash="315241" _msttexthash="211783" %)
951 +(((
921 921  Hum=0x0146/10=32.6
953 +)))
922 922  
923 923  (% _msthash="315242" _msttexthash="1569776" %)
956 +(((
924 924  poll message flag & Ext=0x41,means reply data,Ext=1
958 +)))
925 925  
926 926  (% _msthash="315243" _msttexthash="1120509" %)
961 +(((
927 927  Unix time is 0x60065F97=1611030423s=21/1/19 04:27:03
963 +)))
928 928  
929 929  
930 930  
931 931  == 2.7 Alarm Mode ==
932 932  
969 +(((
933 933  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 +)))
934 934  
973 +(((
935 935  (% 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 +)))
936 936  
977 +(((
937 937  **AT COMMAND FOR ALARM MODE:**
979 +)))
938 938  
939 939  (% _mstvisible="1" class="box infomessage" %)
940 940  (((
983 +(((
941 941  **AT+WMOD=1**:  Enable/disable alarm mode. (0: Disabled, 1: Enabled)
985 +)))
942 942  
987 +(((
943 943  **AT+CITEMP=1**:  The interval between checking the alarm temperature. (In minutes)
989 +)))
944 944  
991 +(((
945 945  **AT+ARTEMP**:  Gets or sets the alarm range of the internal temperature sensor
993 +)))
946 946  
995 +(((
947 947  **AT+ARTEMP=? **:  Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %)
997 +)))
948 948  
999 +(((
949 949  **AT+ARTEMP=45,105**:  Set the internal temperature sensor alarm range from 45 to 105.
950 950  )))
1002 +)))
951 951  
952 952  
953 953  
954 -
955 955  == 2.8 LED Indicator ==
956 956  
957 957  The LHT65 has a triple color LED which for easy showing different stage .
... ... @@ -961,10 +961,13 @@
961 961  In a normal working state:
962 962  
963 963  * For each uplink, the BLUE LED or RED LED will blink once.
964 - BLUE LED when external sensor is connected.
1015 +BLUE LED when external sensor is connected.
965 965  * RED LED when external sensor is not connected
966 966  * For each success downlink, the PURPLE LED will blink once
967 967  
1019 +
1020 +
1021 +
968 968  == 2.9 installation ==
969 969  
970 970  (% _mstvisible="1" %)
... ... @@ -999,28 +999,53 @@
999 999  * Operating Range: -40 ~~ 125 °C
1000 1000  * Working voltage 2.35v ~~ 5v
1001 1001  
1056 +
1057 +
1058 +
1002 1002  = 4. Configure LHT65N via AT command or LoRaWAN downlink =
1003 1003  
1061 +(((
1004 1004  Use can configure LHT65N via AT Command or LoRaWAN Downlink.
1063 +)))
1005 1005  
1006 -* AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1065 +* (((
1066 +AT Command Connection: See [[FAQ>>||anchor="H6.FAQ"]].
1067 +)))
1007 1007  
1008 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1069 +* (((
1070 +LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1071 +)))
1009 1009  
1073 +(((
1010 1010  There are two kinds of commands to configure LHT65N, they are:
1075 +)))
1011 1011  
1012 -* (% style="color:#4f81bd" %)**General Commands**.
1077 +* (((
1078 +(% style="color:#4f81bd" %)**General Commands**.
1079 +)))
1013 1013  
1081 +(((
1014 1014  These commands are to configure:
1083 +)))
1015 1015  
1016 -1. General system settings like: uplink interval.
1017 -1. LoRaWAN protocol & radio-related commands.
1085 +1. (((
1086 +General system settings like: uplink interval.
1087 +)))
1088 +1. (((
1089 +LoRaWAN protocol & radio-related commands.
1090 +)))
1018 1018  
1092 +(((
1019 1019  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]]
1094 +)))
1020 1020  
1021 -* (% style="color:#4f81bd" %)**Commands special design for LHT65N**
1096 +* (((
1097 +(% style="color:#4f81bd" %)**Commands special design for LHT65N**
1098 +)))
1022 1022  
1100 +(((
1023 1023  These commands are only valid for LHT65N, as below:
1102 +)))
1024 1024  
1025 1025  
1026 1026  == 4.1 Set Transmit Interval Time ==
... ... @@ -1042,6 +1042,9 @@
1042 1042  
1043 1043  * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1044 1044  
1124 +
1125 +
1126 +
1045 1045  == 4.2 Set External Sensor Mode ==
1046 1046  
1047 1047  Feature: Change External Sensor Mode.
... ... @@ -1063,6 +1063,9 @@
1063 1063  
1064 1064  * 0xA20702003c: Same as AT+SETCNT=60
1065 1065  
1148 +
1149 +
1150 +
1066 1066  == 4.3 Enable/Disable uplink Temperature probe ID ==
1067 1067  
1068 1068  (((
... ... @@ -1090,6 +1090,9 @@
1090 1090  * **0xA800**  **~-~->** AT+PID=0
1091 1091  * **0xA801**     **~-~->** AT+PID=1
1092 1092  
1178 +
1179 +
1180 +
1093 1093  == 4.4 Set Password ==
1094 1094  
1095 1095  Feature: Set device password, max 9 digits
... ... @@ -1136,6 +1136,9 @@
1136 1136  
1137 1137  * There is no downlink command to set to Sleep mode.
1138 1138  
1227 +
1228 +
1229 +
1139 1139  == 4.7 Set system time ==
1140 1140  
1141 1141  Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]]
... ... @@ -1232,6 +1232,9 @@
1232 1232  
1233 1233  * Example: 0xA301 ~/~/Same as AT+CLRDTA
1234 1234  
1326 +
1327 +
1328 +
1235 1235  == 4.13 Auto Send None-ACK messages ==
1236 1236  
1237 1237  (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %)
... ... @@ -1250,6 +1250,9 @@
1250 1250  
1251 1251  * Example: 0x3401 ~/~/Same as AT+PNACKMD=1
1252 1252  
1347 +
1348 +
1349 +
1253 1253  = 5. Battery & How to replace =
1254 1254  
1255 1255  == 5.1 Battery Type ==
... ... @@ -1309,16 +1309,11 @@
1309 1309  
1310 1310  (% _msthash="506061" _msttexthash="170755" %)**Connection:**
1311 1311  
1312 -(% _msthash="506062" _msttexthash="1187732" %)
1313 -**✓ (% style="background-color:yellow" %)USB to TTL GND <~-~->GND(%%)**
1409 +* (% style="background-color:yellow" %)**USB to TTL GND <~-~->GND**
1410 +* (% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1411 +* (% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1412 +* (% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1314 1314  
1315 -(% _msthash="506063" _msttexthash="1158313" %)**✓  **(% style="background-color:yellow" %)**USB to TTL RXD <~-~-> D+**
1316 -
1317 -(% _msthash="506064" _msttexthash="1175629" %)**✓  **(% style="background-color:yellow" %)**USB to TTL TXD <~-~-> A11**
1318 -
1319 -(% _msthash="506065" _msttexthash="1164696" %)**✓  **(% style="background-color:yellow" %)**USB to TTL 3.3V <~-~-> D-**
1320 -
1321 -
1322 1322  (((
1323 1323  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.
1324 1324  )))
... ... @@ -1655,6 +1655,9 @@
1655 1655  
1656 1656  * (% style="color:red" %)**E3**(%%): External Temperature Probe
1657 1657  
1750 +
1751 +
1752 +
1658 1658  = 8. Packing Info =
1659 1659  
1660 1660  
... ... @@ -1668,10 +1668,16 @@
1668 1668  * Device Size:  10 x 10 x 3.5 cm
1669 1669  * Device Weight: 120.5g
1670 1670  
1766 +
1767 +
1768 +
1671 1671  = 9. Reference material =
1672 1672  
1673 1673  * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]]
1674 1674  
1773 +
1774 +
1775 +
1675 1675  = 10. FCC Warning =
1676 1676  
1677 1677  This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions:
image-20220623110706-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +689.7 KB
Content