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
-
... ... @@ -694,7 +694,9 @@ 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 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. ... ... @@ -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;" %)((( 718 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 719 +|=(% 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** 721 +)))|=(% 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:** ... ... @@ -1086,9 +1086,13 @@ 1086 1086 1087 1087 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1088 1088 1089 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 1091 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 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 1094 +|(% 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 1097 + 1092 1092 (% style="color:#4f81bd" %)**Downlink Command: 0x01** 1093 1093 1094 1094 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -1107,9 +1107,15 @@ 1107 1107 1108 1108 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1109 1109 1110 -[[image:image-20220523150759-3.png||_mstalt="432146"]] 1111 1111 1117 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1118 +|(% 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** 1119 +|(% style="width:155px" %)AT+EXT?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1120 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1121 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1112 1112 1123 + 1124 + 1113 1113 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1114 1114 1115 1115 Total bytes: 2 ~~ 5 bytes ... ... @@ -1144,9 +1144,13 @@ 1144 1144 1145 1145 (% style="color:#4f81bd" %)**AT Command:** 1146 1146 1147 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1148 1148 1160 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1161 +|(% 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** 1162 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1149 1149 1164 + 1165 + 1150 1150 (% style="color:#4f81bd" %)**Downlink Command:** 1151 1151 1152 1152 * **0xA800** **~-~->** AT+PID=0 ... ... @@ -1160,9 +1160,18 @@ 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 + 1190 + 1166 1166 (% style="color:#4f81bd" %)**Downlink Command:** 1167 1167 1168 1168 No downlink command for this feature. ... ... @@ -1176,9 +1176,13 @@ 1176 1176 1177 1177 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1178 1178 1179 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1180 1180 1205 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1206 +|(% 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** 1207 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1181 1181 1209 + 1210 + 1182 1182 (% style="color:#4f81bd" %)**Downlink Command:** 1183 1183 1184 1184 No downlink command for this feature. ... ... @@ -1194,9 +1194,16 @@ 1194 1194 1195 1195 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1196 1196 1197 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 1198 1198 1227 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %) 1228 +|(% 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** 1229 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1230 +Clear all stored sensor data… 1199 1199 1232 +OK 1233 +))) 1234 + 1235 + 1200 1200 (% style="color:#4f81bd" %)**Downlink Command:** 1201 1201 1202 1202 * There is no downlink command to set to Sleep mode. ... ... @@ -1209,9 +1209,17 @@ 1209 1209 1210 1210 (% style="color:#4f81bd" %)**AT Command:** 1211 1211 1212 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1213 1213 1249 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1250 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:285px" %)**Function** 1251 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1252 +OK 1214 1214 1254 +Set System time to 2021-01-20 00:59:12 1255 +))) 1256 + 1257 + 1258 + 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,13 @@ 1232 1232 1233 1233 (% style="color:#4f81bd" %)**AT Command:** 1234 1234 1235 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1236 1236 1280 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1281 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1282 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1237 1237 1284 + 1285 + 1238 1238 (% style="color:#4f81bd" %)**Downlink Command:** 1239 1239 1240 1240 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1249,9 +1249,13 @@ 1249 1249 1250 1250 (% style="color:#4f81bd" %)**AT Command:** 1251 1251 1252 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1253 1253 1301 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1302 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:311px" %)**Function** 1303 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1254 1254 1305 + 1306 + 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"]]1320 +[[image:image-20230426164330-2.png]] 1269 1269 1270 1270 1323 + 1324 + 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"]]1338 +[[image:image-20230426164932-3.png]] 1285 1285 1286 1286 1341 + 1342 + 1287 1287 (% style="color:#4f81bd" %)**Downlink Command:** 1288 1288 1289 1289 No downlink commands for feature ... ... @@ -1297,9 +1297,17 @@ 1297 1297 1298 1298 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1299 1299 1300 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1301 1301 1357 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1358 +|(% 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** 1359 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1360 +Clear all stored sensor data… 1302 1302 1362 +OK 1363 +))) 1364 + 1365 + 1366 + 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** 1381 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1382 +|=(% 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** 1394 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1395 +|=(% 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