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
-
... ... @@ -486,21 +486,21 @@ 486 486 487 487 Ext=4,Interrupt Sensor: 488 488 489 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:4 78px" %)489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %) 490 490 |(% style="width:101px" %)((( 491 491 **AT+EXT=4,1** 492 -)))|(% style="width:3 73px" %)(((493 -Sent uplink packet in both rising and falling interrupt 492 +)))|(% style="width:395px" %)((( 493 +**Sent uplink packet in both rising and falling interrupt** 494 494 ))) 495 495 |(% style="width:101px" %)((( 496 496 **AT+EXT=4,2** 497 -)))|(% style="width:3 73px" %)(((498 -Sent uplink packet only in falling interrupt 497 +)))|(% style="width:395px" %)((( 498 +**Sent uplink packet only in falling interrupt** 499 499 ))) 500 500 |(% style="width:101px" %)((( 501 501 **AT+EXT=4,3** 502 -)))|(% style="width:3 73px" %)(((503 -Sent uplink packet only in rising interrupt 502 +)))|(% style="width:395px" %)((( 503 +**Sent uplink packet only in rising interrupt** 504 504 ))) 505 505 506 506 Trigger by falling edge: ... ... @@ -532,21 +532,21 @@ 532 532 533 533 Ext=8, Counting Sensor ( 4 bytes): 534 534 535 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:3 81px" %)536 -|(% style="width:13 8px" %)(((537 -AT+EXT=8,0 538 -)))|(% style="width: 240px" %)(((539 -Count at falling interrupt 535 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %) 536 +|(% style="width:131px" %)((( 537 +**AT+EXT=8,0** 538 +)))|(% style="width:195px" %)((( 539 +**Count at falling interrupt** 540 540 ))) 541 -|(% style="width:13 8px" %)(((542 -AT+EXT=8,1 543 -)))|(% style="width: 240px" %)(((544 -Count at rising interrupt 541 +|(% style="width:131px" %)((( 542 +**AT+EXT=8,1** 543 +)))|(% style="width:195px" %)((( 544 +**Count at rising interrupt** 545 545 ))) 546 -|(% style="width:13 8px" %)(((547 -AT+SETCNT=60 548 -)))|(% style="width: 240px" %)(((549 -Sent current count to 60 546 +|(% style="width:131px" %)((( 547 +**AT+SETCNT=60** 548 +)))|(% style="width:195px" %)((( 549 +**Sent current count to 60** 550 550 ))) 551 551 552 552 [[image:image-20220906101320-6.png||_mstalt="428064"]] ... ... @@ -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"]] 697 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 698 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 699 +|(% 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;" %)((( 717 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 718 +|=(% 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** 720 +)))|=(% 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,6 +748,10 @@ 748 748 749 749 If LHT65N has below data inside Flash: 750 750 752 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:717px" %) 753 +|=(% style="width: 92px; background-color:#D9E2F3;color:#0070C0" %)Flash Add|=(% style="width: 126px; background-color:#D9E2F3;color:#0070C0" %)**Unix Time**|=(% style="width: 50px; background-color:#D9E2F3;color:#0070C0" %)**Ext**|=(% style="width: 104px;background-color:#D9E2F3;color:#0070C0" %)**BAT voltage**|=(% style="width: 341px; background-color:#D9E2F3;color:#0070C0" %)**Value** 754 +|(% style="width:92px" %)80196E0|(% style="width:126px" %)21/1/19 04:27:03|(% style="width:50px" %)1|(% style="width:104px" %)3145|(% style="width:341px" %)sht_temp=22.00 sht_hum=32.6 ds_temp=327.67 755 + 751 751 [[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]] 752 752 753 753 ... ... @@ -1086,7 +1086,10 @@ 1086 1086 1087 1087 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1088 1088 1089 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 1094 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1095 +|(% 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** 1096 +|(% style="width:155px" %)AT+TDC?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1097 +|(% 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 1091 1092 1092 (% style="color:#4f81bd" %)**Downlink Command: 0x01** ... ... @@ -1107,9 +1107,14 @@ 1107 1107 1108 1108 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1109 1109 1110 -[[image:image-20220523150759-3.png||_mstalt="432146"]] 1111 1111 1119 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1120 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:151px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Response** 1121 +|(% style="width:155px" %)AT+EXT?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1122 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1123 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1112 1112 1125 + 1113 1113 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1114 1114 1115 1115 Total bytes: 2 ~~ 5 bytes ... ... @@ -1144,9 +1144,12 @@ 1144 1144 1145 1145 (% style="color:#4f81bd" %)**AT Command:** 1146 1146 1147 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1148 1148 1161 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1162 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:136px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 1163 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1149 1149 1165 + 1150 1150 (% style="color:#4f81bd" %)**Downlink Command:** 1151 1151 1152 1152 * **0xA800** **~-~->** AT+PID=0 ... ... @@ -1160,9 +1160,17 @@ 1160 1160 1161 1161 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1162 1162 1163 -[[image:image-20220523151052-5.png||_mstalt="428623"]] 1164 1164 1180 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1181 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:124px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:86px" %)**Response** 1182 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1183 +123456 1165 1165 1185 +OK 1186 +))) 1187 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1188 + 1189 + 1166 1166 (% style="color:#4f81bd" %)**Downlink Command:** 1167 1167 1168 1168 No downlink command for this feature. ... ... @@ -1176,9 +1176,12 @@ 1176 1176 1177 1177 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1178 1178 1179 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1180 1180 1204 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1205 +|(% 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** 1206 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1181 1181 1208 + 1182 1182 (% style="color:#4f81bd" %)**Downlink Command:** 1183 1183 1184 1184 No downlink command for this feature. ... ... @@ -1194,9 +1194,15 @@ 1194 1194 1195 1195 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1196 1196 1197 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 1198 1198 1225 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1226 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:139px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:213px" %)**Response** 1227 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1228 +Clear all stored sensor data… 1199 1199 1230 +OK 1231 +))) 1232 + 1200 1200 (% style="color:#4f81bd" %)**Downlink Command:** 1201 1201 1202 1202 * There is no downlink command to set to Sleep mode. ... ... @@ -1209,9 +1209,16 @@ 1209 1209 1210 1210 (% style="color:#4f81bd" %)**AT Command:** 1211 1211 1212 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1213 1213 1246 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1247 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:285px" %)**Function** 1248 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1249 +OK 1214 1214 1251 +Set System time to 2021-01-20 00:59:12 1252 +))) 1253 + 1254 + 1215 1215 (% style="color:#4f81bd" %)**Downlink Command:** 1216 1216 1217 1217 0x306007806000 ~/~/ Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352 ... ... @@ -1232,9 +1232,12 @@ 1232 1232 1233 1233 (% style="color:#4f81bd" %)**AT Command:** 1234 1234 1235 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1236 1236 1276 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1277 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1278 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1237 1237 1280 + 1238 1238 (% style="color:#4f81bd" %)**Downlink Command:** 1239 1239 1240 1240 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1249,9 +1249,12 @@ 1249 1249 1250 1250 (% style="color:#4f81bd" %)**AT Command:** 1251 1251 1252 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1253 1253 1296 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1297 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:311px" %)**Function** 1298 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1254 1254 1300 + 1255 1255 (% style="color:#4f81bd" %)**Downlink Command:** 1256 1256 1257 1257 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A ... ... @@ -1265,9 +1265,11 @@ 1265 1265 1266 1266 (% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1267 1267 1268 -[[image:image-202 20523151450-11.png||_mstalt="451035"]]1314 +[[image:image-20230426164330-2.png]] 1269 1269 1270 1270 1317 + 1318 + 1271 1271 (% style="color:#4f81bd" %)**Downlink Command:** 1272 1272 1273 1273 No downlink commands for feature ... ... @@ -1281,9 +1281,11 @@ 1281 1281 1282 1282 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1283 1283 1284 -[[image:image-202 20523151524-12.png||_mstalt="452101"]]1332 +[[image:image-20230426164932-3.png]] 1285 1285 1286 1286 1335 + 1336 + 1287 1287 (% style="color:#4f81bd" %)**Downlink Command:** 1288 1288 1289 1289 No downlink commands for feature ... ... @@ -1297,9 +1297,16 @@ 1297 1297 1298 1298 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1299 1299 1300 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1301 1301 1351 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1352 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:134px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:209px" %)**Response** 1353 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1354 +Clear all stored sensor data… 1302 1302 1356 +OK 1357 +))) 1358 + 1359 + 1303 1303 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1304 1304 1305 1305 * Example: 0xA301 ~/~/ Same as AT+CLRDTA ... ... @@ -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: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response** 1374 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1375 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 118px;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** ... ... @@ -1327,8 +1327,8 @@ 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** 1387 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1388 +|=(% 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**
- 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