Last modified by Xiaoling on 2023/07/18 10:12

From version 234.19
edited by Xiaoling
on 2023/04/26 15:24
Change comment: There is no comment for this version
To version 237.3
edited by Xiaoling
on 2023/04/26 17:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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" %)
489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
490 490  |(% style="width:101px" %)(((
491 -AT+EXT=4,1
492 -)))|(% style="width:373px" %)(((
493 -Sent uplink packet in both rising and falling interrupt
491 +**AT+EXT=4,1**
492 +)))|(% style="width:395px" %)(((
493 +**Sent uplink packet in both rising and falling interrupt**
494 494  )))
495 495  |(% style="width:101px" %)(((
496 -AT+EXT=4,2
497 -)))|(% style="width:373px" %)(((
498 -Sent uplink packet only in falling interrupt
496 +**AT+EXT=4,2**
497 +)))|(% style="width:395px" %)(((
498 +**Sent uplink packet only in falling interrupt**
499 499  )))
500 500  |(% style="width:101px" %)(((
501 -AT+EXT=4,3
502 -)))|(% style="width:373px" %)(((
503 -Sent uplink packet only in rising interrupt
501 +**AT+EXT=4,3**
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="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
536 -|(% style="width:138px" %)(((
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:138px" %)(((
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:138px" %)(((
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"]]
... ... @@ -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"]]
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
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:#ffffcc; color:green; width:480px" %)
723 -|=(% style="width: 60px;" %)(((
717 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
718 +|=(% 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**
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**
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,6 +754,10 @@
754 754  
755 755  If LHT65N has below data inside Flash:
756 756  
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 +
757 757  [[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
758 758  
759 759  
... ... @@ -1092,7 +1092,10 @@
1092 1092  
1093 1093  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1094 1094  
1095 -[[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
1096 1096  
1097 1097  
1098 1098  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
... ... @@ -1113,9 +1113,14 @@
1113 1113  
1114 1114  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1115 1115  
1116 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1117 1117  
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
1118 1118  
1125 +
1119 1119  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1120 1120  
1121 1121  Total bytes: 2 ~~ 5 bytes
... ... @@ -1150,9 +1150,12 @@
1150 1150  
1151 1151  (% style="color:#4f81bd" %)**AT Command:**
1152 1152  
1153 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1154 1154  
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
1155 1155  
1165 +
1156 1156  (% style="color:#4f81bd" %)**Downlink Command:**
1157 1157  
1158 1158  * **0xA800**  **~-~->** AT+PID=0
... ... @@ -1166,9 +1166,17 @@
1166 1166  
1167 1167  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1168 1168  
1169 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1170 1170  
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
1171 1171  
1185 +OK
1186 +)))
1187 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1188 +
1189 +
1172 1172  (% style="color:#4f81bd" %)**Downlink Command:**
1173 1173  
1174 1174  No downlink command for this feature.
... ... @@ -1182,9 +1182,12 @@
1182 1182  
1183 1183  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1184 1184  
1185 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1186 1186  
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
1187 1187  
1208 +
1188 1188  (% style="color:#4f81bd" %)**Downlink Command:**
1189 1189  
1190 1190  No downlink command for this feature.
... ... @@ -1200,9 +1200,15 @@
1200 1200  
1201 1201  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1202 1202  
1203 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1204 1204  
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…
1205 1205  
1230 +OK
1231 +)))
1232 +
1206 1206  (% style="color:#4f81bd" %)**Downlink Command:**
1207 1207  
1208 1208  * There is no downlink command to set to Sleep mode.
... ... @@ -1215,9 +1215,16 @@
1215 1215  
1216 1216  (% style="color:#4f81bd" %)**AT Command:**
1217 1217  
1218 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1219 1219  
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
1220 1220  
1251 +Set System time to 2021-01-20 00:59:12
1252 +)))
1253 +
1254 +
1221 1221  (% style="color:#4f81bd" %)**Downlink Command:**
1222 1222  
1223 1223  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -1238,9 +1238,12 @@
1238 1238  
1239 1239  (% style="color:#4f81bd" %)**AT Command:**
1240 1240  
1241 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1242 1242  
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)
1243 1243  
1280 +
1244 1244  (% style="color:#4f81bd" %)**Downlink Command:**
1245 1245  
1246 1246  0x28 01  ~/~/  Same As AT+SYNCMOD=1
... ... @@ -1255,9 +1255,12 @@
1255 1255  
1256 1256  (% style="color:#4f81bd" %)**AT Command:**
1257 1257  
1258 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1259 1259  
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.
1260 1260  
1300 +
1261 1261  (% style="color:#4f81bd" %)**Downlink Command:**
1262 1262  
1263 1263  **0x29 0A**  ~/~/ Same as AT+SYNCTDC=0x0A
... ... @@ -1271,9 +1271,11 @@
1271 1271  
1272 1272  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1273 1273  
1274 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1314 +[[image:image-20230426164330-2.png]]
1275 1275  
1276 1276  
1317 +
1318 +
1277 1277  (% style="color:#4f81bd" %)**Downlink Command:**
1278 1278  
1279 1279  No downlink commands for feature
... ... @@ -1287,9 +1287,11 @@
1287 1287  
1288 1288  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1289 1289  
1290 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1332 +[[image:image-20230426164932-3.png]]
1291 1291  
1292 1292  
1335 +
1336 +
1293 1293  (% style="color:#4f81bd" %)**Downlink Command:**
1294 1294  
1295 1295  No downlink commands for feature
... ... @@ -1303,9 +1303,16 @@
1303 1303  
1304 1304  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1305 1305  
1306 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1307 1307  
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…
1308 1308  
1356 +OK
1357 +)))
1358 +
1359 +
1309 1309  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1310 1310  
1311 1311  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
... ... @@ -1320,8 +1320,8 @@
1320 1320  
1321 1321  The default factory setting is 0
1322 1322  
1323 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1324 -|=(% 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**
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:#ffffcc; color:green; width:500px" %)
1337 -|=(% 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**
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**
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