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 == ... ... @@ -58,8 +58,6 @@ 58 58 * Tri-color LED to indicate working status 59 59 * Datalog feature 60 60 61 - 62 - 63 63 == 1.3 Specification == 64 64 65 65 ... ... @@ -84,37 +84,23 @@ 84 84 * ±2°C accuracy from -55°C to +125°C 85 85 * Operating Range: -55 °C ~~ 125 °C 86 86 87 - 88 - 89 89 = 2. Connect LHT65N to IoT Server = 90 90 91 91 == 2.1 How does LHT65N work? == 92 92 93 -((( 94 94 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 -))) 96 96 97 -((( 98 98 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 -))) 100 100 101 101 102 102 == 2.2 How to Activate LHT65N? == 103 103 104 -((( 105 105 The LHT65N has two working modes: 106 -))) 107 107 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 -))) 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. 114 114 115 -((( 116 116 The LHT65N is set in deep sleep mode by default; The ACT button on the front is to switch to different modes: 117 -))) 118 118 119 119 120 120 [[image:image-20220515123819-1.png||_mstalt="430742" _mstvisible="3" height="379" width="317"]] ... ... @@ -267,6 +267,9 @@ 267 267 * The 7th byte (EXT #): defines the external sensor model. 268 268 * 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.) 269 269 241 + 242 + 243 + 270 270 === 2.4.1 Decoder in TTN V3 === 271 271 272 272 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. ... ... @@ -297,6 +297,8 @@ 297 297 * BAT status=(0Xcba4>>14)&0xFF=11(B),very good 298 298 * Battery Voltage =0xCBF6&0x3FFF=0x0BA4=2980mV 299 299 274 + 275 + 300 300 === 2.4.3 Built-in Temperature === 301 301 302 302 [[image:image-20220522235639-2.png||_mstalt="431756" _mstvisible="3" height="138" width="722"]] ... ... @@ -307,6 +307,7 @@ 307 307 308 308 * Temperature: (0xF5C6-65536)/100=-26.18℃ 309 309 286 + 310 310 === 2.4.4 Built-in Humidity === 311 311 312 312 [[image:image-20220522235639-4.png||_mstalt="432484" _mstvisible="3" height="138" width="722"]] ... ... @@ -313,6 +313,7 @@ 313 313 314 314 * Humidity: 0x025C/10=60.4% 315 315 293 + 316 316 === 2.4.5 Ext # === 317 317 318 318 Bytes for External Sensor: ... ... @@ -465,6 +465,8 @@ 465 465 * Sync time OK: 1: Set time ok,0: N/A. After time SYNC request is sent, LHT65N will set this bit to 0 until got the time stamp from the application server. 466 466 * 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) 467 467 446 + 447 + 468 468 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 469 469 470 470 In this mode, user can connect external ADC sensor to check ADC value. The 3V3_OUT can ... ... @@ -893,7 +893,7 @@ 893 893 894 894 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. 895 895 896 -(% style="color:red" %) Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.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. 897 897 898 898 **AT COMMAND FOR ALARM MODE:** 899 899 ... ... @@ -926,6 +926,9 @@ 926 926 * RED LED when external sensor is not connected 927 927 * For each success downlink, the PURPLE LED will blink once 928 928 909 + 910 + 911 + 929 929 == 2.9 installation == 930 930 931 931 (% _mstvisible="1" %) ... ... @@ -954,6 +954,7 @@ 954 954 955 955 Temperature sensor with 2 meters cable long 956 956 940 + 957 957 * Resolution: 0.0625 °C 958 958 * ±0.5°C accuracy from -10°C to +85°C 959 959 * ±2°C accuracy from -55°C to +125°C ... ... @@ -974,9 +974,10 @@ 974 974 975 975 These commands are to configure: 976 976 977 -1. General system settings like: uplink interval. 978 -1. LoRaWAN protocol & radio-related commands. 961 +* General system settings like: uplink interval. 979 979 963 +* LoRaWAN protocol & radio-related commands. 964 + 980 980 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]] 981 981 982 982 * (% style="color:#4f81bd" %)**Commands special design for LHT65N** ... ... @@ -988,8 +988,10 @@ 988 988 989 989 Feature: Change LoRaWAN End Node Transmit Interval. 990 990 976 + 991 991 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 992 992 979 + 993 993 [[image:image-20220523150701-2.png||_mstalt="427453" _mstvisible="3"]] 994 994 995 995 ... ... @@ -1003,6 +1003,7 @@ 1003 1003 1004 1004 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1005 1005 993 + 1006 1006 == 4.2 Set External Sensor Mode == 1007 1007 1008 1008 Feature: Change External Sensor Mode. ... ... @@ -1011,7 +1011,6 @@ 1011 1011 1012 1012 [[image:image-20220523150759-3.png||_mstalt="432146" _mstvisible="3"]] 1013 1013 1014 - 1015 1015 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1016 1016 1017 1017 Total bytes: 2 ~~ 5 bytes ... ... @@ -1022,35 +1022,34 @@ 1022 1022 1023 1023 * 0xA209: Same as AT+EXT=9 1024 1024 1025 -* 0xA20702003c :Same as AT+SETCNT=601012 +* 0xA20702003c,Same as AT+SETCNT=60 1026 1026 1014 + 1015 + 1027 1027 == 4.3 Enable/Disable uplink Temperature probe ID == 1028 1028 1029 -((( 1030 1030 Feature: If PID is enabled, device will send the temperature probe ID on: 1031 -))) 1032 1032 1033 -* ((( 1034 -First Packet after OTAA Join 1035 -))) 1036 -* ((( 1037 -Every 24 hours since the first packet. 1038 -))) 1020 +* First Packet after OTAA Join 1021 +* Every 24 hours since the first packet. 1039 1039 1040 -((( 1041 1041 PID is default set to disable (0) 1042 -))) 1043 1043 1025 + 1044 1044 (% style="color:#4f81bd" %)**AT Command:** 1045 1045 1028 + 1046 1046 [[image:image-20220523150928-4.png||_mstalt="431821" _mstvisible="3"]] 1047 1047 1048 1048 1049 1049 (% style="color:#4f81bd" %)**Downlink Command:** 1050 1050 1051 -* **0xA800** **~-~->** AT+PID=0 1052 -* **0xA801** **~-~->** AT+PID=1 1053 1053 1035 +* 0xA800 **~-~->** AT+PID=0 1036 +* 0xA801 **~-~->** AT+PID=1 1037 + 1038 + 1039 + 1054 1054 == 4.4 Set Password == 1055 1055 1056 1056 Feature: Set device password, max 9 digits ... ... @@ -1057,9 +1057,11 @@ 1057 1057 1058 1058 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1059 1059 1046 + 1060 1060 [[image:image-20220523151052-5.png||_mstalt="428623" _mstvisible="3"]] 1061 1061 1062 1062 1050 + 1063 1063 (% style="color:#4f81bd" %)**Downlink Command:** 1064 1064 1065 1065 No downlink command for this feature. ... ... @@ -1068,13 +1068,17 @@ 1068 1068 1069 1069 == 4.5 Quit AT Command == 1070 1070 1059 + 1071 1071 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1072 1072 1062 + 1073 1073 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1074 1074 1065 + 1075 1075 [[image:image-20220523151132-6.png||_mstalt="428649" _mstvisible="3"]] 1076 1076 1077 1077 1069 + 1078 1078 (% style="color:#4f81bd" %)**Downlink Command:** 1079 1079 1080 1080 No downlink command for this feature. ... ... @@ -1083,31 +1083,40 @@ 1083 1083 1084 1084 == 4.6 Set to sleep mode == 1085 1085 1078 + 1086 1086 Feature: Set device to sleep mode 1087 1087 1088 -* **AT+Sleep=0**: Normal working mode, device will sleep and use lower power when there is no LoRa message1089 -* **AT+Sleep=1**: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. 1090 1090 1091 1091 (% _msthash="315251" _msttexthash="289783" style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1092 1092 1086 + 1093 1093 [[image:image-20220523151218-7.png||_mstalt="430703" _mstvisible="3"]] 1094 1094 1095 1095 1090 + 1096 1096 (% _msthash="315252" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1097 1097 1093 + 1098 1098 * There is no downlink command to set to Sleep mode. 1099 1099 1100 1100 == 4.7 Set system time == 1101 1101 1098 + 1102 1102 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1103 1103 1101 + 1104 1104 (% _msthash="315253" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1105 1105 1104 + 1106 1106 [[image:image-20220523151253-8.png||_mstalt="430677" _mstvisible="3"]] 1107 1107 1108 1108 1108 + 1109 1109 (% _msthash="315254" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1110 1110 1111 + 1111 1111 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 1112 1112 1113 1113 ... ... @@ -1114,13 +1114,10 @@ 1114 1114 1115 1115 == 4.8 Set Time Sync Mode == 1116 1116 1117 - (((1118 + 1118 1118 Feature: Enable/Disable Sync system time via LoRaWAN MAC Command (DeviceTimeReq), LoRaWAN server must support v1.0.3 protocol to reply this command. 1119 -))) 1120 1120 1121 -((( 1122 1122 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. 1123 -))) 1124 1124 1125 1125 (% _msthash="506058" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1126 1126 ... ... @@ -1127,6 +1127,7 @@ 1127 1127 [[image:image-20220523151336-9.png||_mstalt="431717" _mstvisible="3"]] 1128 1128 1129 1129 1128 + 1130 1130 (% style="color:#4f81bd" %)**Downlink Command:** 1131 1131 1132 1132 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1136,30 +1136,39 @@ 1136 1136 1137 1137 == 4.9 Set Time Sync Interval == 1138 1138 1138 + 1139 1139 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1140 1140 1141 + 1141 1141 (% _msthash="315256" _msttexthash="137488" style="color:#4f81bd" %)**AT Command:** 1142 1142 1144 + 1143 1143 [[image:image-20220523151411-10.png||_mstalt="449696" _mstvisible="3"]] 1144 1144 1145 1145 1148 + 1146 1146 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1147 1147 1148 -**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1149 1149 1152 +0x29 0A ~/~/ Same as AT+SYNCTDC=0x0A 1150 1150 1151 1151 1155 + 1152 1152 == 4.10 Print data entries base on page. == 1153 1153 1154 1154 Feature: Print the sector data from start page to stop page (max is 416 pages). 1155 1155 1160 + 1156 1156 (% _msthash="315258" _msttexthash="264953" style="color:#4f81bd" %)**AT Command: AT+PDTA** 1157 1157 1163 + 1158 1158 [[image:image-20220523151450-11.png||_mstalt="451035" _mstvisible="3"]] 1159 1159 1160 1160 1167 + 1161 1161 (% _msthash="315259" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1162 1162 1170 + 1163 1163 No downlink commands for feature 1164 1164 1165 1165 ... ... @@ -1168,8 +1168,10 @@ 1168 1168 1169 1169 Feature: Print the last few data entries 1170 1170 1179 + 1171 1171 (% _msthash="315260" _msttexthash="288522" style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1172 1172 1182 + 1173 1173 [[image:image-20220523151524-12.png||_mstalt="452101" _mstvisible="3"]] 1174 1174 1175 1175 ... ... @@ -1193,6 +1193,9 @@ 1193 1193 1194 1194 * Example: 0xA301 ~/~/Same as AT+CLRDTA 1195 1195 1206 + 1207 + 1208 + 1196 1196 == 4.13 Auto Send None-ACK messages == 1197 1197 1198 1198 (% _msthash="315394" _msttexthash="51837149" _mstvisible="1" %) ... ... @@ -1211,6 +1211,8 @@ 1211 1211 1212 1212 * Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1213 1213 1227 + 1228 + 1214 1214 = 5. Battery & How to replace = 1215 1215 1216 1216 == 5.1 Battery Type == ... ... @@ -1616,6 +1616,9 @@ 1616 1616 1617 1617 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1618 1618 1634 + 1635 + 1636 + 1619 1619 = 8. Packing Info = 1620 1620 1621 1621 ... ... @@ -1622,17 +1622,23 @@ 1622 1622 **Package Includes**: 1623 1623 1624 1624 * LHT65N Temperature & Humidity Sensor x 1 1625 -* Optional external sensor 1626 1626 1644 +*Optional external sensor 1645 + 1646 + 1627 1627 **Dimension and weight**: 1628 1628 1629 1629 * Device Size: 10 x 10 x 3.5 cm 1650 + 1630 1630 * Device Weight: 120.5g 1631 1631 1653 + 1654 + 1632 1632 = 9. Reference material = 1633 1633 1634 1634 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0||_msthash="504975" _msttexthash="51420512"]] 1635 1635 1659 + 1636 1636 = 10. FCC Warning = 1637 1637 1638 1638 This device complies with part 15 of the FCC Rules.Operation is subject to the following two conditions: