Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 234.20
edited by Xiaoling
on 2023/04/26 15:27
on 2023/04/26 15:27
Change comment:
There is no comment for this version
To version 242.1
edited by Ellie Zhang
on 2023/05/08 11:29
on 2023/05/08 11:29
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 6 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Ellie - Content
-
... ... @@ -43,6 +43,7 @@ 43 43 ))) 44 44 45 45 46 + 46 46 == 1.2 Features == 47 47 48 48 ... ... @@ -366,7 +366,7 @@ 366 366 |(% style="width:110px" %)((( 367 367 **Value** 368 368 )))|(% style="width:71px" %)((( 369 - [[External temperature>>||anchor="H4.2SetExternalSensorMode"]]370 +External temperature 370 370 )))|(% style="width:99px" %)((( 371 371 [[Built-In Temperature>>||anchor="H2.4.3Built-inTemperature"]] 372 372 )))|(% style="width:132px" %)((( ... ... @@ -486,21 +486,21 @@ 486 486 487 487 Ext=4,Interrupt Sensor: 488 488 489 -(% border="1 .5" cellspacing="4" style="background-color:#f2f2f2;height:6px;width:478px" %)490 +(% 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 493 +)))|(% style="width:395px" %)((( 494 +**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 498 +)))|(% style="width:395px" %)((( 499 +**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 503 +)))|(% style="width:395px" %)((( 504 +**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=" 2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc;color:green; height:6px;width:381px" %)536 -|(% style="width:13 8px" %)(((537 -AT+EXT=8,0 538 -)))|(% style="width: 240px" %)(((539 -Count at falling interrupt 536 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:330px" %) 537 +|(% style="width:131px" %)((( 538 +**AT+EXT=8,0** 539 +)))|(% style="width:195px" %)((( 540 +**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 542 +|(% style="width:131px" %)((( 543 +**AT+EXT=8,1** 544 +)))|(% style="width:195px" %)((( 545 +**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 547 +|(% style="width:131px" %)((( 548 +**AT+SETCNT=60** 549 +)))|(% style="width:195px" %)((( 550 +**Sent current count to 60** 550 550 ))) 551 551 552 552 [[image:image-20220906101320-6.png||_mstalt="428064"]] ... ... @@ -572,9 +572,6 @@ 572 572 Datacake IoT platform provides a human-friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 573 573 ))) 574 574 575 -((( 576 - 577 -))) 578 578 579 579 ((( 580 580 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -584,9 +584,6 @@ 584 584 (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 585 585 ))) 586 586 587 -((( 588 - 589 -))) 590 590 591 591 ((( 592 592 Add Datacake: ... ... @@ -700,9 +700,10 @@ 700 700 701 701 User can poll sensor value based on timestamps from the server. Below is the downlink command. 702 702 703 -[[image:image-20220523152302-15.png||_mstalt="451581"]] 698 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:428px" %) 699 +|(% style="width:58px" %)1byte|(% style="width:128px" %)4bytes|(% style="width:123px" %)4bytes|(% style="width:116px" %)1byte 700 +|(% style="width:58px" %)31|(% style="width:128px" %)Timestamp start|(% style="width:123px" %)Timestamp end|(% style="width:116px" %)Uplink Interval 704 704 705 - 706 706 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. 707 707 708 708 For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%) ... ... @@ -719,10 +719,10 @@ 719 719 720 720 **Retrieval data payload:** 721 721 722 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:480px" %)723 -|=(% style="width: 60px;" %)((( 718 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %) 719 +|=(% style="width: 60px;background-color:#D9E2F3" %)((( 724 724 **Size(bytes)** 725 -)))|=(% 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** 726 726 |(% 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"]] 727 727 728 728 **Poll message flag & Ext:** ... ... @@ -754,7 +754,7 @@ 754 754 755 755 If LHT65N has below data inside Flash: 756 756 757 -[[image:image-202 20523144455-1.png||_mstalt="430040" height="335" width="735"]]753 +[[image:image-20230426171833-4.png]] 758 758 759 759 760 760 If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705 ... ... @@ -1037,6 +1037,20 @@ 1037 1037 * Operating Range: -40 ~~ 125 °C 1038 1038 * Working voltage 2.35v ~~ 5v 1039 1039 1036 +== 3.3 E31F Temperature Probe == 1037 + 1038 + 1039 +[[image:65N-E31F-1.jpg||height="161" width="162"]] [[image:65N-E31F.jpg||height="192" width="194"]] 1040 + 1041 + 1042 +Temperature sensor with 1 meters cable long 1043 + 1044 +* Resolution: 0.01 °C 1045 +* Accuracy Tolerance : Typical ±0.3 °C 1046 +* Long Term Drift: < 0.02 °C/yr 1047 +* Operating Range: -40 ~~ 125 °C 1048 +* Working voltage 2.35v ~~ 5v 1049 + 1040 1040 = 4. Configure LHT65N via AT command or LoRaWAN downlink = 1041 1041 1042 1042 ... ... @@ -1092,9 +1092,11 @@ 1092 1092 1093 1093 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1094 1094 1095 -[[image:image-20220523150701-2.png||_mstalt="427453"]] 1105 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1106 +|(% 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** 1107 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)30000 OK the interval is 30000ms = 30s 1108 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)OK Set transmit interval to 60000ms = 60 seconds 1096 1096 1097 - 1098 1098 (% style="color:#4f81bd" %)**Downlink Command: 0x01** 1099 1099 1100 1100 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -1113,8 +1113,12 @@ 1113 1113 1114 1114 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1115 1115 1116 -[[image:image-20220523150759-3.png||_mstalt="432146"]] 1117 1117 1129 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %) 1130 +|(% 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** 1131 +|(% style="width:155px" %)AT+EXT=?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1 1132 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1 1133 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp 1118 1118 1119 1119 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1120 1120 ... ... @@ -1150,9 +1150,10 @@ 1150 1150 1151 1151 (% style="color:#4f81bd" %)**AT Command:** 1152 1152 1153 -[[image:image-20220523150928-4.png||_mstalt="431821"]] 1169 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %) 1170 +|(% 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** 1171 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK 1154 1154 1155 - 1156 1156 (% style="color:#4f81bd" %)**Downlink Command:** 1157 1157 1158 1158 * **0xA800** **~-~->** AT+PID=0 ... ... @@ -1163,11 +1163,16 @@ 1163 1163 1164 1164 Feature: Set device password, max 9 digits 1165 1165 1166 - 1167 1167 (% style="color:#4f81bd" %)**AT Command: AT+PWORD** 1168 1168 1169 -[[image:image-20220523151052-5.png||_mstalt="428623"]] 1185 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %) 1186 +|(% 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** 1187 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)((( 1188 +123456 1170 1170 1190 +OK 1191 +))) 1192 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK 1171 1171 1172 1172 (% style="color:#4f81bd" %)**Downlink Command:** 1173 1173 ... ... @@ -1179,12 +1179,12 @@ 1179 1179 1180 1180 Feature: Quit AT Command mode, so user needs to input password again before use AT Commands. 1181 1181 1182 - 1183 1183 (% style="color:#4f81bd" %)**AT Command: AT+DISAT** 1184 1184 1185 -[[image:image-20220523151132-6.png||_mstalt="428649"]] 1206 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 1207 +|(% 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** 1208 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK 1186 1186 1187 - 1188 1188 (% style="color:#4f81bd" %)**Downlink Command:** 1189 1189 1190 1190 No downlink command for this feature. ... ... @@ -1200,8 +1200,13 @@ 1200 1200 1201 1201 (% style="color:#4f81bd" %)**AT Command: AT+SLEEP** 1202 1202 1203 -[[image:image-20220523151218-7.png||_mstalt="430703"]] 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:140px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:218px" %)**Response** 1227 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)((( 1228 +Clear all stored sensor data… 1204 1204 1230 +OK 1231 +))) 1205 1205 1206 1206 (% style="color:#4f81bd" %)**Downlink Command:** 1207 1207 ... ... @@ -1212,11 +1212,15 @@ 1212 1212 1213 1213 Feature: Set system time, unix format. [[See here for format detail.>>||anchor="H2.6.2UnixTimeStamp"]] 1214 1214 1215 - 1216 1216 (% style="color:#4f81bd" %)**AT Command:** 1217 1217 1218 -[[image:image-20220523151253-8.png||_mstalt="430677"]] 1244 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %) 1245 +|(% style="background-color:#d9e2f3; color:#0070c0; width:188px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:318px" %)**Function** 1246 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)((( 1247 +OK 1219 1219 1249 +Set System time to 2021-01-20 00:59:12 1250 +))) 1220 1220 1221 1221 (% style="color:#4f81bd" %)**Downlink Command:** 1222 1222 ... ... @@ -1232,15 +1232,14 @@ 1232 1232 1233 1233 ((( 1234 1234 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. 1235 - 1236 - 1237 1237 ))) 1238 1238 1239 1239 (% style="color:#4f81bd" %)**AT Command:** 1240 1240 1241 -[[image:image-20220523151336-9.png||_mstalt="431717"]] 1270 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %) 1271 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function** 1272 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq) 1242 1242 1243 - 1244 1244 (% style="color:#4f81bd" %)**Downlink Command:** 1245 1245 1246 1246 0x28 01 ~/~/ Same As AT+SYNCMOD=1 ... ... @@ -1252,12 +1252,12 @@ 1252 1252 1253 1253 Feature: Define System time sync interval. SYNCTDC default value: 10 days. 1254 1254 1255 - 1256 1256 (% style="color:#4f81bd" %)**AT Command:** 1257 1257 1258 -[[image:image-20220523151411-10.png||_mstalt="449696"]] 1287 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %) 1288 +|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:314px" %)**Function** 1289 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days. 1259 1259 1260 - 1261 1261 (% style="color:#4f81bd" %)**Downlink Command:** 1262 1262 1263 1263 **0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A ... ... @@ -1268,10 +1268,9 @@ 1268 1268 1269 1269 Feature: Print the sector data from start page to stop page (max is 416 pages). 1270 1270 1271 - 1272 1272 (% style="color:#4f81bd" %)**AT Command: AT+PDTA** 1273 1273 1274 -[[image:image-202 20523151450-11.png||_mstalt="451035"]]1303 +[[image:image-20230426164330-2.png]] 1275 1275 1276 1276 1277 1277 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1284,10 +1284,9 @@ 1284 1284 1285 1285 Feature: Print the last few data entries 1286 1286 1287 - 1288 1288 (% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 1289 1289 1290 -[[image:image-202 20523151524-12.png||_mstalt="452101"]]1318 +[[image:image-20230426164932-3.png]] 1291 1291 1292 1292 1293 1293 (% style="color:#4f81bd" %)**Downlink Command:** ... ... @@ -1303,9 +1303,15 @@ 1303 1303 1304 1304 (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 1305 1305 1306 -[[image:image-20220523151556-13.png||_mstalt="454129"]] 1307 1307 1335 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %) 1336 +|(% 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** 1337 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 1338 +Clear all stored sensor data… 1308 1308 1340 +OK 1341 +))) 1342 + 1309 1309 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1310 1310 1311 1311 * Example: 0xA301 ~/~/ Same as AT+CLRDTA ... ... @@ -1315,13 +1315,12 @@ 1315 1315 1316 1316 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. 1317 1317 1318 - 1319 1319 (% style="color:#4f81bd" %)**AT Command: AT+PNACKMD** 1320 1320 1321 1321 The default factory setting is 0 1322 1322 1323 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:367px" %)1324 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 1 18px;" %)**Function**|=(% style="width: 87px;" %)**Response**1356 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %) 1357 +|=(% 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** 1325 1325 |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK 1326 1326 1327 1327 (% style="color:#4f81bd" %)**Downlink Command: 0x34** ... ... @@ -1333,8 +1333,8 @@ 1333 1333 1334 1334 Feature: Set internal and external temperature sensor alarms. 1335 1335 1336 -(% border="1" cellspacing="4" style="background-color:#fff fcc;color:green;width:500px" %)1337 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response** 1369 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 1370 +|=(% 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** 1338 1338 |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK 1339 1339 1340 1340 (% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4**
- 65N-E31F-1.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Ellie - Size
-
... ... @@ -1,0 +1,1 @@ 1 +43.5 KB - Content
- 65N-E31F.jpg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Ellie - Size
-
... ... @@ -1,0 +1,1 @@ 1 +51.2 KB - Content
- 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