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, 0 added, 1 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: 504px" %)489 +(% border="1.5" cellspacing="4" style="background-color:#f2f2f2; height:6px; width:478px" %) 490 490 |(% style="width:101px" %)((( 491 491 **AT+EXT=4,1** 492 -)))|(% style="width:3 95px" %)(((493 - **Sent uplink packet in both rising and falling interrupt**492 +)))|(% style="width:373px" %)((( 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 95px" %)(((498 - **Sent uplink packet only in falling interrupt**497 +)))|(% style="width:373px" %)((( 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 95px" %)(((503 - **Sent uplink packet only in rising interrupt**502 +)))|(% style="width:373px" %)((( 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:330px" %)536 -|(% style="width:13 1px" %)(((537 - **AT+EXT=8,0**538 -)))|(% style="width: 195px" %)(((539 - **Count at falling interrupt**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 540 540 ))) 541 -|(% style="width:13 1px" %)(((542 - **AT+EXT=8,1**543 -)))|(% style="width: 195px" %)(((544 - **Count at rising interrupt**541 +|(% style="width:138px" %)((( 542 +AT+EXT=8,1 543 +)))|(% style="width:240px" %)((( 544 +Count at rising interrupt 545 545 ))) 546 -|(% style="width:13 1px" %)(((547 - **AT+SETCNT=60**548 -)))|(% style="width: 195px" %)(((549 - **Sent current count to 60**546 +|(% style="width:138px" %)((( 547 +AT+SETCNT=60 548 +)))|(% style="width:240px" %)((( 549 +Sent current count to 60 550 550 ))) 551 551 552 552 [[image:image-20220906101320-6.png||_mstalt="428064"]] ... ... @@ -572,6 +572,9 @@ 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 +))) 575 575 576 576 ((( 577 577 (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. ... ... @@ -581,6 +581,9 @@ 581 581 (% 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. 582 582 ))) 583 583 587 +((( 588 + 589 +))) 584 584 585 585 ((( 586 586 Add Datacake: ... ... @@ -694,9 +694,7 @@ 694 694 695 695 User can poll sensor value based on timestamps from the server. Below is the downlink command. 696 696 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 703 +[[image:image-20220523152302-15.png||_mstalt="451581"]] 700 700 701 701 702 702 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. ... ... @@ -715,10 +715,10 @@ 715 715 716 716 **Retrieval data payload:** 717 717 718 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:480px" %)719 -|=(% style="width: 60px; background-color:#D9E2F3" %)(((722 +(% border="1" cellspacing="4" style="background-color:#ffffcc; color:green; width:480px" %) 723 +|=(% style="width: 60px;" %)((( 720 720 **Size(bytes)** 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**725 +)))|=(% style="width: 90px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 70px;" %)**2**|=(% style="width: 100px;" %)**1**|=(% style="width: 70px;" %)**4** 722 722 |(% 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"]] 723 723 724 724 **Poll message flag & Ext:** ... ... @@ -1088,13 +1088,9 @@ 1088 1088 1089 1089 (% style="color:#4f81bd" %)**AT Command: AT+TDC** 1090 1090 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 1095 +[[image:image-20220523150701-2.png||_mstalt="427453"]] 1095 1095 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,15 +1113,9 @@ 1113 1113 1114 1114 (% style="color:#4f81bd" %)**AT Command: AT+EXT** 1115 1115 1116 +[[image:image-20220523150759-3.png||_mstalt="432146"]] 1116 1116 1117 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 1118 -|(% 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** 1119 -|(% style="width:155px" %)AT+EXT?|(% style="width:162px" %)Get current external sensor mode|(% style="width:177px" %)1 OK External Sensor mode =1 1120 -|(% style="width:155px" %)AT+EXT=1|(% colspan="2" rowspan="1" style="width:162px" %)Set external sensor mode to 1 1121 -|(% style="width:155px" %)AT+EXT=9|(% colspan="2" rowspan="1" style="width:162px" %)Set to external DS18B20 with timestamp 1122 1122 1123 - 1124 - 1125 1125 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1126 1126 1127 1127 Total bytes: 2 ~~ 5 bytes
- image-20230426155837-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -2.4 KB - Content