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)
-
Attachments (0 modified, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -43,6 +43,7 @@ 43 43 ))) 44 44 45 45 46 + 46 46 == 1.2 Features == 47 47 48 48 ... ... @@ -57,6 +57,8 @@ 57 57 * Tri-color LED to indicate working status 58 58 * Datalog feature (Max 3328 records) 59 59 61 + 62 + 60 60 == 1.3 Specification == 61 61 62 62 ... ... @@ -81,6 +81,8 @@ 81 81 * ±2°C accuracy from -55°C to +125°C 82 82 * Operating Range: -55 °C ~~ 125 °C 83 83 87 + 88 + 84 84 = 2. Connect LHT65N to IoT Server = 85 85 86 86 == 2.1 How does LHT65N work? == ... ... @@ -127,6 +127,8 @@ 127 127 ))) 128 128 |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means LHT65N is in Deep Sleep Mode. 129 129 135 + 136 + 130 130 == 2.3 Example to join LoRaWAN network == 131 131 132 132 ... ... @@ -242,6 +242,8 @@ 242 242 243 243 * The 8^^th^^ ~~ 11^^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.) 244 244 252 + 253 + 245 245 === 2.4.1 Decoder in TTN V3 === 246 246 247 247 ... ... @@ -284,6 +284,8 @@ 284 284 285 285 * Battery Voltage =0xCBA4&0x3FFF=0x0BA4=2980mV 286 286 296 + 297 + 287 287 === 2.4.3 Built-in Temperature === 288 288 289 289 ... ... @@ -295,6 +295,8 @@ 295 295 296 296 * Temperature: (0xF5C6-65536)/100=-26.18℃ 297 297 309 + 310 + 298 298 === 2.4.4 Built-in Humidity === 299 299 300 300 ... ... @@ -302,6 +302,8 @@ 302 302 303 303 * Humidity: 0x025C/10=60.4% 304 304 318 + 319 + 305 305 === 2.4.5 Ext # === 306 306 307 307 ... ... @@ -312,6 +312,8 @@ 312 312 |(% style="width:102px" %)0x01|(% style="width:319px" %)Sensor E3, Temperature Sensor 313 313 |(% style="width:102px" %)0x09|(% style="width:319px" %)Sensor E3, Temperature Sensor, Datalog Mod 314 314 330 + 331 + 315 315 === 2.4.6 Ext value === 316 316 317 317 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== ... ... @@ -366,7 +366,7 @@ 366 366 |(% style="width:110px" %)((( 367 367 **Value** 368 368 )))|(% style="width:71px" %)((( 369 - [[External temperature>>||anchor="H4.2SetExternalSensorMode"]]386 +External temperature 370 370 )))|(% style="width:99px" %)((( 371 371 [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 372 372 )))|(% style="width:132px" %)((( ... ... @@ -401,6 +401,8 @@ 401 401 * (% style="color:blue" %)**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. 402 402 * (% style="color:blue" %)**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) 403 403 421 + 422 + 404 404 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 405 405 406 406 ... ... @@ -698,7 +698,6 @@ 698 698 |(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 699 699 |(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 700 700 701 - 702 702 Timestamp start and Timestamp end use Unix TimeStamp format as mentioned above. Devices will reply with all data log during this time period, use the uplink interval. 703 703 704 704 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) ... ... @@ -750,7 +750,7 @@ 750 750 751 751 If LHT65N has below data inside Flash: 752 752 753 -[[image:image-202 20523144455-1.png||_mstalt="430040" height="335" width="735"]]771 +[[image:image-20230426171833-4.png]] 754 754 755 755 756 756 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 ... ... @@ -981,6 +981,7 @@ 981 981 * RED LED when external sensor is not connected 982 982 * For each success downlink, the PURPLE LED will blink once 983 983 1002 + 984 984 == 2.9 installation == 985 985 986 986 ... ... @@ -1033,6 +1033,8 @@ 1033 1033 * Operating Range: -40 ~~ 125 °C 1034 1034 * Working voltage 2.35v ~~ 5v 1035 1035 1055 + 1056 + 1036 1036 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1037 1037 1038 1038 ... ... @@ -1090,11 +1090,9 @@ 1090 1090 1091 1091 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1092 1092 |(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response** 1093 -|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1114 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1094 1094 |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 1095 1095 1096 - 1097 - 1098 1098 (% style="color:#4f81bd" %)**Downlink Command: 0x01** 1099 1099 1100 1100 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -1105,6 +1105,8 @@ 1105 1105 1106 1106 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1107 1107 1127 + 1128 + 1108 1108 == 4.2 Set External Sensor Mode == 1109 1109 1110 1110 ... ... @@ -1114,14 +1114,12 @@ 1114 1114 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1115 1115 1116 1116 1117 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 501px" %)1118 -|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:1 66px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response**1119 -|(% style="width:155px" %)AT+EXT?|(% style="width:1 62px" %)Get current external sensor mode|(% style="width:177px" %)1 OK External Sensor mode =11120 -|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width: 162px" %)Set external sensor mode to 11121 -|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width: 162px" %)Set to external DS18B20 with timestamp1138 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1139 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:153px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:160px" %)**Response** 1140 +|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1141 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1142 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1122 1122 1123 - 1124 - 1125 1125 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1126 1126 1127 1127 Total bytes: 2 ~~ 5 bytes ... ... @@ -1134,6 +1134,8 @@ 1134 1134 1135 1135 * 0xA20702003c: Same as AT+SETCNT=60 1136 1136 1156 + 1157 + 1137 1137 == 4.3 Enable/Disable uplink Temperature probe ID == 1138 1138 1139 1139 ... ... @@ -1156,24 +1156,32 @@ 1156 1156 1157 1157 (% style="color:#4f81bd" %)**AT Command:** 1158 1158 1159 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1180 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:138px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:88px" %)**Response** 1182 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1160 1160 1161 - 1162 1162 (% style="color:#4f81bd" %)**Downlink Command:** 1163 1163 1164 1164 * **0xA800** **~-~->** AT+PID=0 1165 1165 * **0xA801** **~-~->** AT+PID=1 1166 1166 1189 + 1190 + 1167 1167 == 4.4 Set Password == 1168 1168 1169 1169 1170 1170 Feature: Set device password, max 9 digits 1171 1171 1172 - 1173 1173 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1174 1174 1175 -[[image:image-20220523151052-5.png||_mstalt="428623"]] 1198 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1199 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:128px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response** 1200 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1201 +123456 1176 1176 1203 +OK 1204 +))) 1205 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1177 1177 1178 1178 (% style="color:#4f81bd" %)**Downlink Command:** 1179 1179 ... ... @@ -1185,12 +1185,12 @@ 1185 1185 1186 1186 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1187 1187 1188 - 1189 1189 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1190 1190 1191 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1219 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1220 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:191px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 1221 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1192 1192 1193 - 1194 1194 (% style="color:#4f81bd" %)**Downlink Command:** 1195 1195 1196 1196 No downlink command for this feature. ... ... @@ -1206,23 +1206,34 @@ 1206 1206 1207 1207 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1208 1208 1209 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 1238 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1239 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response** 1240 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1241 +Clear all stored sensor data… 1210 1210 1243 +OK 1244 +))) 1211 1211 1212 1212 (% style="color:#4f81bd" %)**Downlink Command:** 1213 1213 1214 1214 * There is no downlink command to set to Sleep mode. 1215 1215 1250 + 1251 + 1216 1216 == 4.7 Set system time == 1217 1217 1218 1218 1219 1219 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1220 1220 1221 - 1222 1222 (% style="color:#4f81bd" %)**AT Command:** 1223 1223 1224 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1259 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1260 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function** 1261 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1262 +OK 1225 1225 1264 +Set System time to 2021-01-20 00:59:12 1265 +))) 1226 1226 1227 1227 (% style="color:#4f81bd" %)**Downlink Command:** 1228 1228 ... ... @@ -1238,15 +1238,14 @@ 1238 1238 1239 1239 ((( 1240 1240 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 - 1242 - 1243 1243 ))) 1244 1244 1245 1245 (% style="color:#4f81bd" %)**AT Command:** 1246 1246 1247 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1285 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1286 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1287 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1248 1248 1249 - 1250 1250 (% style="color:#4f81bd" %)**Downlink Command:** 1251 1251 1252 1252 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1258,12 +1258,12 @@ 1258 1258 1259 1259 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1260 1260 1261 - 1262 1262 (% style="color:#4f81bd" %)**AT Command:** 1263 1263 1264 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1302 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1303 +|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function** 1304 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1265 1265 1266 - 1267 1267 (% style="color:#4f81bd" %)**Downlink Command:** 1268 1268 1269 1269 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A ... ... @@ -1274,10 +1274,9 @@ 1274 1274 1275 1275 Feature: Print the sector data from start page to stop page (max is 416 pages). 1276 1276 1277 - 1278 1278 (% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1279 1279 1280 -[[image:image-202 20523151450-11.png||_mstalt="451035"]]1318 +[[image:image-20230426164330-2.png]] 1281 1281 1282 1282 1283 1283 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1290,10 +1290,9 @@ 1290 1290 1291 1291 Feature: Print the last few data entries 1292 1292 1293 - 1294 1294 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1295 1295 1296 -[[image:image-202 20523151524-12.png||_mstalt="452101"]]1333 +[[image:image-20230426164932-3.png]] 1297 1297 1298 1298 1299 1299 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1309,25 +1309,32 @@ 1309 1309 1310 1310 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1311 1311 1312 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1313 1313 1350 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1351 +|(% style="background-color:#d9e2f3; color:#0070c0; width:157px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:137px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response** 1352 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1353 +Clear all stored sensor data… 1314 1314 1355 +OK 1356 +))) 1357 + 1315 1315 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1316 1316 1317 1317 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1318 1318 1362 + 1363 + 1319 1319 == 4.13 Auto Send None-ACK messages == 1320 1320 1321 1321 1322 1322 Feature: LHT65N will wait for ACK for each uplink, If LHT65N doesn't get ACK from the IoT server, it will consider the message doesn't arrive server and store it. LHT65N keeps sending messages in normal periodically. Once LHT65N gets ACK from a server, it will consider the network is ok and start to send the not-arrive message. 1323 1323 1324 - 1325 1325 (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD** 1326 1326 1327 1327 The default factory setting is 0 1328 1328 1329 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:367px" %)1330 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 1 18px;" %)**Function**|=(% style="width: 87px;" %)**Response**1373 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1374 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 87px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1331 1331 |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK 1332 1332 1333 1333 (% style="color:#4f81bd" %)**Downlink Command: 0x34** ... ... @@ -1334,13 +1334,15 @@ 1334 1334 1335 1335 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1336 1336 1381 + 1382 + 1337 1337 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1338 1338 1339 1339 1340 1340 Feature: Set internal and external temperature sensor alarms. 1341 1341 1342 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)1343 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response** 1388 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1389 +|=(% style="width: 250px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1344 1344 |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK 1345 1345 1346 1346 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** ... ... @@ -1778,6 +1778,8 @@ 1778 1778 1779 1779 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1780 1780 1827 + 1828 + 1781 1781 = 8. Packing Info = 1782 1782 1783 1783 ... ... @@ -1791,11 +1791,15 @@ 1791 1791 * Device Size: 10 x 10 x 3.5 mm 1792 1792 * Device Weight: 120.5g 1793 1793 1842 + 1843 + 1794 1794 = 9. Reference material = 1795 1795 1796 1796 1797 1797 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1798 1798 1849 + 1850 + 1799 1799 = 10. FCC Warning = 1800 1800 1801 1801
- image-20230426164330-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.6 KB - Content
- image-20230426164932-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.2 KB - Content
- image-20230426171833-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.0 KB - Content