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

From version 234.18
edited by Xiaoling
on 2023/04/26 15:19
Change comment: There is no comment for this version
To version 238.3
edited by Xiaoling
on 2023/04/26 17:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -312,7 +312,6 @@
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  
315 -
316 316  === 2.4.6 Ext value ===
317 317  
318 318  ==== 2.4.6.1 Ext~=1, E3 Temperature Sensor ====
... ... @@ -382,7 +382,7 @@
382 382  
383 383  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:461px" %)
384 384  |=(% style="width: 69px;background-color:#D9E2F3;color:#0070C0" %)Bit(bit)|=(% style="width: 258px;background-color:#D9E2F3;color:#0070C0" %)[15:14]|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)[11:0]
385 -|(% style="width:67px" %)Value|(% style="width:256px" %)(((
384 +|(% style="width:67px" %)**Value**|(% style="width:256px" %)(((
386 386  BAT Status
387 387  00(b): Ultra Low ( BAT <= 2.50v)
388 388  01(b): Low  (2.50v <=BAT <= 2.55v)
... ... @@ -395,7 +395,7 @@
395 395  * **Status & Ext Byte**
396 396  
397 397  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
398 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**7**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**6**|(% style="width:90px;background-color:#D9E2F3;color:#0070C0" %)**5**|(% style="width:100px;background-color:#D9E2F3;color:#0070C0" %)**4**|(% style="width:60px;background-color:#D9E2F3;color:#0070C0" %)**[3:0]**
397 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Bits**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**7**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**5**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**[3:0]**
399 399  |=(% style="width: 96px;" %)**Status&Ext**|(% style="width:124px" %)None-ACK Flag|(% style="width:146px" %)Poll Message FLAG|(% style="width:109px" %)Sync time OK|(% style="width:143px" %)Unix Time Request|(% style="width:106px" %)Ext: 0b(1001)
400 400  
401 401  * (% style="color:blue" %)**Poll Message Flag**:(%%)  1: This message is a poll message reply, 0: means this is a normal uplink.
... ... @@ -487,21 +487,21 @@
487 487  
488 488  Ext=4,Interrupt Sensor:
489 489  
490 -(% border="1.5" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:478px" %)
489 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %)
491 491  |(% style="width:101px" %)(((
492 -AT+EXT=4,1
493 -)))|(% style="width:373px" %)(((
494 -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**
495 495  )))
496 496  |(% style="width:101px" %)(((
497 -AT+EXT=4,2
498 -)))|(% style="width:373px" %)(((
499 -Sent uplink packet only in falling interrupt
496 +**AT+EXT=4,2**
497 +)))|(% style="width:395px" %)(((
498 +**Sent uplink packet only in falling interrupt**
500 500  )))
501 501  |(% style="width:101px" %)(((
502 -AT+EXT=4,3
503 -)))|(% style="width:373px" %)(((
504 -Sent uplink packet only in rising interrupt
501 +**AT+EXT=4,3**
502 +)))|(% style="width:395px" %)(((
503 +**Sent uplink packet only in rising interrupt**
505 505  )))
506 506  
507 507  Trigger by falling edge:
... ... @@ -533,21 +533,21 @@
533 533  
534 534  Ext=8, Counting Sensor ( 4 bytes):
535 535  
536 -(% border="2" cellpadding="4" cellspacing="4" style="background-color:#ffffcc; color:green; height:6px; width:381px" %)
537 -|(% style="width:138px" %)(((
538 -AT+EXT=8,0
539 -)))|(% style="width:240px" %)(((
540 -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**
541 541  )))
542 -|(% style="width:138px" %)(((
543 -AT+EXT=8,1
544 -)))|(% style="width:240px" %)(((
545 -Count at rising interrupt
541 +|(% style="width:131px" %)(((
542 +**AT+EXT=8,1**
543 +)))|(% style="width:195px" %)(((
544 +**Count at rising interrupt**
546 546  )))
547 -|(% style="width:138px" %)(((
548 -AT+SETCNT=60
549 -)))|(% style="width:240px" %)(((
550 -Sent current count to 60
546 +|(% style="width:131px" %)(((
547 +**AT+SETCNT=60**
548 +)))|(% style="width:195px" %)(((
549 +**Sent current count to 60**
551 551  )))
552 552  
553 553  [[image:image-20220906101320-6.png||_mstalt="428064"]]
... ... @@ -573,9 +573,6 @@
573 573  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:
574 574  )))
575 575  
576 -(((
577 -
578 -)))
579 579  
580 580  (((
581 581  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
... ... @@ -585,9 +585,6 @@
585 585  (% 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.
586 586  )))
587 587  
588 -(((
589 -
590 -)))
591 591  
592 592  (((
593 593  Add Datacake:
... ... @@ -701,9 +701,10 @@
701 701  
702 702  User can poll sensor value based on timestamps from the server. Below is the downlink command.
703 703  
704 -[[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
705 705  
706 -
707 707  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.
708 708  
709 709  For example, downlink command (% _mstmutation="1" %)**31 5FC5F350 5FC6 0160 05**(%%)
... ... @@ -720,10 +720,10 @@
720 720  
721 721  **Retrieval data payload:**
722 722  
723 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %)
724 -|=(% style="width: 60px;" %)(((
717 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:480px" %)
718 +|=(% style="width: 60px;background-color:#D9E2F3" %)(((
725 725  **Size(bytes)**
726 -)))|=(% 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**
727 727  |(% 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"]]
728 728  
729 729  **Poll message flag & Ext:**
... ... @@ -755,9 +755,10 @@
755 755  
756 756  If LHT65N has below data inside Flash:
757 757  
758 -[[image:image-20220523144455-1.png||_mstalt="430040" height="335" width="735"]]
752 +[[image:image-20230426171833-4.png]]
759 759  
760 760  
755 +
761 761  If user sends below downlink command: (% style="background-color:yellow" %)3160065F9760066DA705
762 762  
763 763  Where : Start time: 60065F97 = time 21/1/19 04:27:03
... ... @@ -1093,9 +1093,11 @@
1093 1093  
1094 1094  (% style="color:#4f81bd" %)**AT Command: AT+TDC**
1095 1095  
1096 -[[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
1097 1097  
1098 -
1099 1099  (% style="color:#4f81bd" %)**Downlink Command: 0x01**
1100 1100  
1101 1101  Format: Command Code (0x01) followed by 3 bytes time value.
... ... @@ -1114,8 +1114,12 @@
1114 1114  
1115 1115  (% style="color:#4f81bd" %)**AT Command: AT+EXT**
1116 1116  
1117 -[[image:image-20220523150759-3.png||_mstalt="432146"]]
1118 1118  
1115 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:468px" %)
1116 +|(% 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**
1117 +|(% style="width:155px" %)AT+EXT?|(% style="width:151px" %)Get current external sensor mode|(% style="width:158px" %)1 OK External Sensor mode =1
1118 +|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:309px" %)Set external sensor mode to 1
1119 +|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:309px" %)Set to external DS18B20 with timestamp
1119 1119  
1120 1120  (% style="color:#4f81bd" %)**Downlink Command: 0xA2**
1121 1121  
... ... @@ -1151,8 +1151,10 @@
1151 1151  
1152 1152  (% style="color:#4f81bd" %)**AT Command:**
1153 1153  
1154 -[[image:image-20220523150928-4.png||_mstalt="431821"]]
1155 1155  
1156 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:381px" %)
1157 +|(% 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**
1158 +|(% style="width:155px" %)AT+PID=1|(% style="width:136px" %)Enable PID uplink|(% style="width:86px" %)OK
1156 1156  
1157 1157  (% style="color:#4f81bd" %)**Downlink Command:**
1158 1158  
... ... @@ -1167,9 +1167,16 @@
1167 1167  
1168 1168  (% style="color:#4f81bd" %)**AT Command: AT+PWORD**
1169 1169  
1170 -[[image:image-20220523151052-5.png||_mstalt="428623"]]
1171 1171  
1174 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:372px" %)
1175 +|(% 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**
1176 +|(% style="width:155px" %)AT+PWORD=?|(% style="width:124px" %)Show password|(% style="width:86px" %)(((
1177 +123456
1172 1172  
1179 +OK
1180 +)))
1181 +|(% style="width:155px" %)AT+PWORD=999999|(% style="width:124px" %)Set password|(% style="width:86px" %)OK
1182 +
1173 1173  (% style="color:#4f81bd" %)**Downlink Command:**
1174 1174  
1175 1175  No downlink command for this feature.
... ... @@ -1183,8 +1183,10 @@
1183 1183  
1184 1184  (% style="color:#4f81bd" %)**AT Command: AT+DISAT**
1185 1185  
1186 -[[image:image-20220523151132-6.png||_mstalt="428649"]]
1187 1187  
1197 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %)
1198 +|(% 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**
1199 +|(% style="width:155px" %)AT+DISAT|(% style="width:191px" %)Quit AT Commands mode|(% style="width:86px" %)OK
1188 1188  
1189 1189  (% style="color:#4f81bd" %)**Downlink Command:**
1190 1190  
... ... @@ -1201,9 +1201,15 @@
1201 1201  
1202 1202  (% style="color:#4f81bd" %)**AT Command: AT+SLEEP**
1203 1203  
1204 -[[image:image-20220523151218-7.png||_mstalt="430703"]]
1205 1205  
1217 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:513px" %)
1218 +|(% 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**
1219 +|(% style="width:155px" %)AT+SLEEP|(% style="width:139px" %)Set to sleep mode|(% style="width:213px" %)(((
1220 +Clear all stored sensor data…
1206 1206  
1222 +OK
1223 +)))
1224 +
1207 1207  (% style="color:#4f81bd" %)**Downlink Command:**
1208 1208  
1209 1209  * There is no downlink command to set to Sleep mode.
... ... @@ -1216,9 +1216,15 @@
1216 1216  
1217 1217  (% style="color:#4f81bd" %)**AT Command:**
1218 1218  
1219 -[[image:image-20220523151253-8.png||_mstalt="430677"]]
1220 1220  
1238 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:506px" %)
1239 +|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:285px" %)**Function**
1240 +|(% style="width:154px" %)AT+TIMESTAMP=1611104352|(% style="width:285px" %)(((
1241 +OK
1221 1221  
1243 +Set System time to 2021-01-20 00:59:12
1244 +)))
1245 +
1222 1222  (% style="color:#4f81bd" %)**Downlink Command:**
1223 1223  
1224 1224  0x306007806000  ~/~/  Set timestamp to 0x(6007806000),Same as AT+TIMESTAMP=1611104352
... ... @@ -1239,8 +1239,10 @@
1239 1239  
1240 1240  (% style="color:#4f81bd" %)**AT Command:**
1241 1241  
1242 -[[image:image-20220523151336-9.png||_mstalt="431717"]]
1243 1243  
1267 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:475px" %)
1268 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:315px" %)**Function**
1269 +|(% style="width:156px" %)AT+SYNCMOD=1|(% style="width:315px" %)Enable Sync system time via LoRaWAN MAC Command (DeviceTimeReq)
1244 1244  
1245 1245  (% style="color:#4f81bd" %)**Downlink Command:**
1246 1246  
... ... @@ -1256,8 +1256,10 @@
1256 1256  
1257 1257  (% style="color:#4f81bd" %)**AT Command:**
1258 1258  
1259 -[[image:image-20220523151411-10.png||_mstalt="449696"]]
1260 1260  
1286 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
1287 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:311px" %)**Function**
1288 +|(% style="width:156px" %)AT+SYNCTDC=0x0A |(% style="width:311px" %)Set SYNCTDC to 10 (0x0A), so the sync time is 10 days.
1261 1261  
1262 1262  (% style="color:#4f81bd" %)**Downlink Command:**
1263 1263  
... ... @@ -1272,9 +1272,11 @@
1272 1272  
1273 1273  (% style="color:#4f81bd" %)**AT Command: AT+PDTA**
1274 1274  
1275 -[[image:image-20220523151450-11.png||_mstalt="451035"]]
1303 +[[image:image-20230426164330-2.png]]
1276 1276  
1277 1277  
1306 +
1307 +
1278 1278  (% style="color:#4f81bd" %)**Downlink Command:**
1279 1279  
1280 1280  No downlink commands for feature
... ... @@ -1288,9 +1288,11 @@
1288 1288  
1289 1289  (% style="color:#4f81bd" %)**AT Command: AT+PLDTA**
1290 1290  
1291 -[[image:image-20220523151524-12.png||_mstalt="452101"]]
1321 +[[image:image-20230426164932-3.png]]
1292 1292  
1293 1293  
1324 +
1325 +
1294 1294  (% style="color:#4f81bd" %)**Downlink Command:**
1295 1295  
1296 1296  No downlink commands for feature
... ... @@ -1304,9 +1304,15 @@
1304 1304  
1305 1305  (% style="color:#4f81bd" %)**AT Command: AT+CLRDTA**
1306 1306  
1307 -[[image:image-20220523151556-13.png||_mstalt="454129"]]
1308 1308  
1340 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:503px" %)
1341 +|(% 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**
1342 +|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)(((
1343 +Clear all stored sensor data…
1309 1309  
1345 +OK
1346 +)))
1347 +
1310 1310  (% style="color:#4f81bd" %)**Downlink Command: 0xA3**
1311 1311  
1312 1312  * Example: 0xA301  ~/~/  Same as AT+CLRDTA
... ... @@ -1321,8 +1321,8 @@
1321 1321  
1322 1322  The default factory setting is 0
1323 1323  
1324 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:367px" %)
1325 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 118px;" %)**Function**|=(% style="width: 87px;" %)**Response**
1362 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:367px" %)
1363 +|=(% 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**
1326 1326  |(% style="width:158px" %)AT+PNACKMD=1|(% style="width:118px" %)Poll None-ACK message|(% style="width:87px" %)OK
1327 1327  
1328 1328  (% style="color:#4f81bd" %)**Downlink Command: 0x34**
... ... @@ -1334,8 +1334,8 @@
1334 1334  
1335 1335  Feature: Set internal and external temperature sensor alarms.
1336 1336  
1337 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:500px" %)
1338 -|=(% style="width: 250px;" %)**Command Example**|=(% style="width: 200px;" %)**Function**|=(% style="width: 50px;" %)**Response**
1375 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
1376 +|=(% 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**
1339 1339  |(% style="width:268px" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|(% style="width:255px" %)Set internal and external temperature sensor alarms|(% style="width:181px" %)OK
1340 1340  
1341 1341  (% 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
image-20230426171833-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +33.0 KB
Content