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)
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: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 1112 1112 1123 + 1124 + 1113 1113 (% style="color:#4f81bd" %)**Downlink Command: 0xA2** 1114 1114 1115 1115 Total bytes: 2 ~~ 5 bytes