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, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -57,6 +57,8 @@ 57 57 * Tri-color LED to indicate working status 58 58 * Datalog feature (Max 3328 records) 59 59 60 + 61 + 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 86 + 87 + 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 134 + 135 + 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 251 + 252 + 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 295 + 296 + 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 308 + 309 + 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 317 + 318 + 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 329 + 330 + 315 315 === 2.4.6 Ext value === 316 316 317 317 ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ==== ... ... @@ -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 420 + 421 + 404 404 ==== 2.4.6.3 Ext~=6, ADC Sensor (use with E2 Cable) ==== 405 405 406 406 ... ... @@ -694,9 +694,10 @@ 694 694 695 695 User can poll sensor value based on timestamps from the server. Below is the downlink command. 696 696 697 -[[image:image-20220523152302-15.png||_mstalt="451581"]] 715 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 716 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 717 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 698 698 699 - 700 700 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. 701 701 702 702 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) ... ... @@ -713,10 +713,10 @@ 713 713 714 714 **Retrieval data payload:** 715 715 716 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)717 -|=(% style="width: 60px;" %)((( 735 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 736 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 718 718 **Size(bytes)** 719 -)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4** 738 +)))|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**2**|=(% style="width: 70px;background-color:#D9E2F3" %)**2**|=(% style="width: 100px;background-color:#D9E2F3" %)**1**|=(% style="width: 70px;background-color:#D9E2F3" %)**4** 720 720 |(% style="width:97px" %)**Value**|(% style="width:123px" %)[[External sensor data>>||anchor="H2.4.6Extvalue"]]|(% style="width:108px" %)[[Built In Temperature>>||anchor="H2.4.3Built-inTemperature"]]|(% style="width:133px" %)[[Built-in Humidity>>||anchor="H2.4.4Built-inHumidity"]]|(% style="width:159px" %)Poll message flag & Ext|(% style="width:80px" %)[[Unix Time Stamp>>||anchor="H2.6.2UnixTimeStamp"]] 721 721 722 722 **Poll message flag & Ext:** ... ... @@ -748,7 +748,7 @@ 748 748 749 749 If LHT65N has below data inside Flash: 750 750 751 -[[image:image-202 20523144455-1.png||_mstalt="430040" height="335" width="735"]]770 +[[image:image-20230426171833-4.png]] 752 752 753 753 754 754 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 ... ... @@ -979,6 +979,8 @@ 979 979 * RED LED when external sensor is not connected 980 980 * For each success downlink, the PURPLE LED will blink once 981 981 1001 + 1002 + 982 982 == 2.9 installation == 983 983 984 984 ... ... @@ -1031,6 +1031,8 @@ 1031 1031 * Operating Range: -40 ~~ 125 °C 1032 1032 * Working voltage 2.35v ~~ 5v 1033 1033 1055 + 1056 + 1034 1034 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1035 1035 1036 1036 ... ... @@ -1086,9 +1086,11 @@ 1086 1086 1087 1087 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1088 1088 1089 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 1112 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1113 +|(% 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** 1114 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1115 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 1090 1090 1091 - 1092 1092 (% style="color:#4f81bd" %)**Downlink Command: 0x01** 1093 1093 1094 1094 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -1099,6 +1099,8 @@ 1099 1099 1100 1100 * **Example 2**: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1101 1101 1127 + 1128 + 1102 1102 == 4.2 Set External Sensor Mode == 1103 1103 1104 1104 ... ... @@ -1107,8 +1107,12 @@ 1107 1107 1108 1108 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1109 1109 1110 -[[image:image-20220523150759-3.png||_mstalt="432146"]] 1111 1111 1138 +(% 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 1112 1112 1113 1113 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1114 1114 ... ... @@ -1122,6 +1122,8 @@ 1122 1122 1123 1123 * 0xA20702003c: Same as AT+SETCNT=60 1124 1124 1156 + 1157 + 1125 1125 == 4.3 Enable/Disable uplink Temperature probe ID == 1126 1126 1127 1127 ... ... @@ -1144,8 +1144,10 @@ 1144 1144 1145 1145 (% style="color:#4f81bd" %)**AT Command:** 1146 1146 1147 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1148 1148 1181 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1182 +|(% 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** 1183 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1149 1149 1150 1150 (% style="color:#4f81bd" %)**Downlink Command:** 1151 1151 ... ... @@ -1152,6 +1152,8 @@ 1152 1152 * **0xA800** **~-~->** AT+PID=0 1153 1153 * **0xA801** **~-~->** AT+PID=1 1154 1154 1190 + 1191 + 1155 1155 == 4.4 Set Password == 1156 1156 1157 1157 ... ... @@ -1160,9 +1160,16 @@ 1160 1160 1161 1161 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1162 1162 1163 -[[image:image-20220523151052-5.png||_mstalt="428623"]] 1164 1164 1201 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1202 +|(% 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** 1203 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1204 +123456 1165 1165 1206 +OK 1207 +))) 1208 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1209 + 1166 1166 (% style="color:#4f81bd" %)**Downlink Command:** 1167 1167 1168 1168 No downlink command for this feature. ... ... @@ -1176,8 +1176,10 @@ 1176 1176 1177 1177 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1178 1178 1179 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1180 1180 1224 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1225 +|(% 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** 1226 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1181 1181 1182 1182 (% style="color:#4f81bd" %)**Downlink Command:** 1183 1183 ... ... @@ -1194,13 +1194,21 @@ 1194 1194 1195 1195 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1196 1196 1197 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 1198 1198 1244 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1245 +|(% 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** 1246 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1247 +Clear all stored sensor data… 1199 1199 1249 +OK 1250 +))) 1251 + 1200 1200 (% style="color:#4f81bd" %)**Downlink Command:** 1201 1201 1202 1202 * There is no downlink command to set to Sleep mode. 1203 1203 1256 + 1257 + 1204 1204 == 4.7 Set system time == 1205 1205 1206 1206 ... ... @@ -1209,9 +1209,15 @@ 1209 1209 1210 1210 (% style="color:#4f81bd" %)**AT Command:** 1211 1211 1212 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1213 1213 1267 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1268 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function** 1269 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1270 +OK 1214 1214 1272 +Set System time to 2021-01-20 00:59:12 1273 +))) 1274 + 1215 1215 (% style="color:#4f81bd" %)**Downlink Command:** 1216 1216 1217 1217 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 ... ... @@ -1232,8 +1232,10 @@ 1232 1232 1233 1233 (% style="color:#4f81bd" %)**AT Command:** 1234 1234 1235 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1236 1236 1296 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1297 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1298 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1237 1237 1238 1238 (% style="color:#4f81bd" %)**Downlink Command:** 1239 1239 ... ... @@ -1249,8 +1249,10 @@ 1249 1249 1250 1250 (% style="color:#4f81bd" %)**AT Command:** 1251 1251 1252 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1253 1253 1315 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1316 +|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function** 1317 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1254 1254 1255 1255 (% style="color:#4f81bd" %)**Downlink Command:** 1256 1256 ... ... @@ -1265,7 +1265,7 @@ 1265 1265 1266 1266 (% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1267 1267 1268 -[[image:image-202 20523151450-11.png||_mstalt="451035"]]1332 +[[image:image-20230426164330-2.png]] 1269 1269 1270 1270 1271 1271 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1281,7 +1281,7 @@ 1281 1281 1282 1282 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1283 1283 1284 -[[image:image-202 20523151524-12.png||_mstalt="452101"]]1348 +[[image:image-20230426164932-3.png]] 1285 1285 1286 1286 1287 1287 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1297,13 +1297,21 @@ 1297 1297 1298 1298 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1299 1299 1300 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1301 1301 1365 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1366 +|(% 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** 1367 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1368 +Clear all stored sensor data… 1302 1302 1370 +OK 1371 +))) 1372 + 1303 1303 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1304 1304 1305 1305 * Example: 0xA301 ~/~/ Same as AT+CLRDTA 1306 1306 1377 + 1378 + 1307 1307 == 4.13 Auto Send None-ACK messages == 1308 1308 1309 1309 ... ... @@ -1314,8 +1314,8 @@ 1314 1314 1315 1315 The default factory setting is 0 1316 1316 1317 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:367px" %)1318 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 1 18px;" %)**Function**|=(% style="width: 87px;" %)**Response**1389 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1390 +|=(% 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** 1319 1319 |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK 1320 1320 1321 1321 (% style="color:#4f81bd" %)**Downlink Command: 0x34** ... ... @@ -1322,13 +1322,15 @@ 1322 1322 1323 1323 * Example: 0x3401 ~/~/ Same as AT+PNACKMD=1 1324 1324 1397 + 1398 + 1325 1325 == 4.14 Modified WMOD command for external sensor TMP117 or DS18B20 temperature alarm(Since firmware 1.3.0) == 1326 1326 1327 1327 1328 1328 Feature: Set internal and external temperature sensor alarms. 1329 1329 1330 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)1331 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response** 1404 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1405 +|=(% 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** 1332 1332 |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK 1333 1333 1334 1334 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** ... ... @@ -1766,6 +1766,8 @@ 1766 1766 1767 1767 * (% style="color:red" %)**E3**(%%): External Temperature Probe 1768 1768 1843 + 1844 + 1769 1769 = 8. Packing Info = 1770 1770 1771 1771 ... ... @@ -1779,11 +1779,15 @@ 1779 1779 * Device Size: 10 x 10 x 3.5 mm 1780 1780 * Device Weight: 120.5g 1781 1781 1858 + 1859 + 1782 1782 = 9. Reference material = 1783 1783 1784 1784 1785 1785 * [[Datasheet, photos, decoder, firmware>>https://www.dropbox.com/sh/una19zsni308dme/AACOKp6J2RF5TMlKWT5zU3RTa?dl=0]] 1786 1786 1865 + 1866 + 1787 1787 = 10. FCC Warning = 1788 1788 1789 1789
- image-20230426155837-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +2.4 KB - Content
- 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