Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 209.1
edited by Bei Jinggeng
on 2022/10/18 10:47
on 2022/10/18 10:47
Change comment:
There is no comment for this version
To version 205.1
edited by Edwin Chen
on 2022/10/11 18:16
on 2022/10/11 18:16
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Edwin - Content
-
... ... @@ -197,7 +197,7 @@ 197 197 198 198 199 199 200 -== 2.4 Uplink Payload ( Fport~=2)==200 +== 2.4 Uplink Payload == 201 201 202 202 203 203 ((( ... ... @@ -281,9 +281,12 @@ 281 281 282 282 When the uplink payload arrives TTNv3, it shows HEX format and not friendly to read. We can add LHT65N decoder in TTNv3 for friendly reading. 283 283 284 -Below is the position to put the decoder and LHT65N decoder can be download from here: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]284 +Below is the position to put the decoder and LHT65N decoder can be download from here: 285 285 286 286 287 +[[https:~~/~~/www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0 >>https://www.dropbox.com/sh/r2i3zlhsyrpavla/AAB1sZw3mdT0K7XjpHCITt13a?dl=0||_msthash="315253" _msttexthash="3509064" _mstvisible="2"]] 288 + 289 + 287 287 [[image:image-20220522234118-10.png||_mstalt="451464" _mstvisible="3" height="353" width="729"]] 288 288 289 289 ... ... @@ -994,9 +994,9 @@ 994 994 ((( 995 995 [[image:image-20221006192726-1.png||height="112" width="754"]] 996 996 997 -(% class="mark" %) **No ACK Message**(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature)1000 +(% class="mark" %)No ACK Message(%%): 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]] feature) 998 998 999 -(% class="mark" %) **Poll Message Flag**(%%): 1: This message is a poll message reply.1002 +(% class="mark" %)Poll Message Flag(%%): 1: This message is a poll message reply. 1000 1000 1001 1001 1002 1002 ))) ... ... @@ -1047,7 +1047,7 @@ 1047 1047 ((( 1048 1048 (% _msthash="736725" _msttexthash="1065532" _mstvisible="3" %) 1049 1049 ((( 1050 - **a) DR0:**max is 11 bytes so one entry of data1053 +a) DR0: max is 11 bytes so one entry of data 1051 1051 ))) 1052 1052 ))) 1053 1053 ))) ... ... @@ -1058,7 +1058,7 @@ 1058 1058 ((( 1059 1059 (% _msthash="736726" _msttexthash="3265665" _mstvisible="3" %) 1060 1060 ((( 1061 - **b) DR1:**max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)1064 +b) DR1: max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 1062 1062 ))) 1063 1063 ))) 1064 1064 ))) ... ... @@ -1069,7 +1069,7 @@ 1069 1069 ((( 1070 1070 (% _msthash="736727" _msttexthash="1454115" _mstvisible="3" style="text-align: left;" %) 1071 1071 ((( 1072 - **c) DR2:**total payload includes 11 entries of data1075 +c) DR2: total payload includes 11 entries of data 1073 1073 ))) 1074 1074 ))) 1075 1075 ))) ... ... @@ -1080,7 +1080,7 @@ 1080 1080 ((( 1081 1081 (% _msthash="736728" _msttexthash="1483924" _mstvisible="3" style="text-align: left;" %) 1082 1082 ((( 1083 - **d) DR3:**total payload includes 22 entries of data.1086 +d) DR3: total payload includes 22 entries of data. 1084 1084 ))) 1085 1085 ))) 1086 1086 ))) ... ... @@ -1091,7 +1091,7 @@ 1091 1091 ((( 1092 1092 (% _msthash="736729" _msttexthash="5848349" _mstvisible="3" style="text-align: left;" %) 1093 1093 ((( 1094 -If devise doesn 't have any data in the polling time. Device will uplink 11 bytes of 01097 +If devise doesn’t have any data in the polling time. Device will uplink 11 bytes of 0 1095 1095 ))) 1096 1096 ))) 1097 1097 ))) ... ... @@ -1192,37 +1192,17 @@ 1192 1192 ((( 1193 1193 (% style="color:red" %)**Note: alarm mode adds a little power consumption, and we recommend extending the normal read time when this feature is enabled.** 1194 1194 1195 -=== **2.7.1 ALARM MODE ( Since v1.3.1 firmware)** === 1196 - 1197 -((( 1198 -(% class="box infomessage" %) 1199 -((( 1200 -**AT+WMOD=3,**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor) 1201 - 1202 -**AT+CITEMP=1**: The interval between checking the alarm temperature. (In minutes) 1203 - 1204 -**AT+ARTEMP**: Gets or sets the alarm range of the internal temperature sensor 1205 - 1206 -**AT+ARTEMP=? **: Gets the alarm range of the internal temperature sensor(% _mstvisible="3" style="display:none" %) 1207 - 1208 -**AT+ARTEMP=45,105**: Set the internal temperature sensor alarm range from 45 to 105. 1209 - 1210 -**AT+LEDALARM=1** : Enable LED visual Alarm. 1211 -))) 1212 -))) 1213 - 1214 - 1215 1215 1216 1216 ))) 1217 1217 1218 1218 ((( 1219 - ===**2.7.2ALARM MODE( Before v1.3.1 firmware)**===1202 +**AT COMMAND FOR ALARM MODE:** 1220 1220 ))) 1221 1221 1222 1222 (% _mstvisible="1" class="box infomessage" %) 1223 1223 ((( 1224 1224 ((( 1225 -**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled Temperature Alarm for onboard temperature sensor)1208 +**AT+WMOD=1**: Enable/disable alarm mode. (0: Disabled, 1: Enabled) 1226 1226 ))) 1227 1227 1228 1228 ((( ... ... @@ -1557,7 +1557,7 @@ 1557 1557 1558 1558 (% _msthash="315257" _msttexthash="298038" style="color:#4f81bd" %)**Downlink Command:** 1559 1559 1560 -**0x29 0A** 1543 +**0x29 0A** ~/~/ Same as AT+SYNCTDC=0x0A 1561 1561 1562 1562 1563 1563 ... ... @@ -1608,7 +1608,7 @@ 1608 1608 1609 1609 (% style="color:#4f81bd" %)**Downlink Command: 0xA3** 1610 1610 1611 -* Example: 0xA301 1594 +* Example: 0xA301 ~/~/Same as AT+CLRDTA 1612 1612 1613 1613 == 4.13 Auto Send None-ACK messages == 1614 1614 ... ... @@ -1628,57 +1628,8 @@ 1628 1628 1629 1629 (% style="color:#4f81bd" %)**Downlink Command: 0x34** 1630 1630 1631 -* Example: 0x3401 ~/~/ 1614 +* Example: 0x3401 ~/~/Same as AT+PNACKMD=1 1632 1632 1633 -== 4.14 Modified ATWOOD command for external sensor TMP117 or DS18B20 temperature alarm == 1634 - 1635 - 1636 -Feature: Set internal and external temperature sensor alarms. 1637 - 1638 -(% border="1" style="background-color:#ffffcc; color:green; width:450px" %) 1639 -|(%%)(% _msthash="1231737" _msttexthash="251862" _mstvisible="6" %)**Command Example**|(%%)(% _msthash="1231738" _msttexthash="116025" _mstvisible="6" %)**Function**|(%%)(% _msthash="1231739" _msttexthash="116831" _mstvisible="6" %)**Response** 1640 -|(%%)(% style="color:#037691" %)AT+WMOD=parameter1,parameter2,parameter3,parameter4|Set internal and external temperature sensor alarms|OK 1641 - 1642 -(% style="color:#037691" %)**AT+WMOD=parameter1,parameter2,parameter3,parameter4** 1643 - 1644 -(% style="color:#037691" %)**Parameter 1**(%%): Alarm mode: 1645 - 1646 -0): Cancel 1647 - 1648 -1): Threshold alarm 1649 - 1650 -2): Fluctuation alarm 1651 - 1652 - 1653 -(% style="color:#037691" %)** Parameter 2**(%%): Sampling time. Unit: seconds, up to 255 seconds. 1654 - 1655 -(% style="color:red" %)**Note: When the collection time is less than 60 seconds and always exceeds the set alarm threshold, the sending interval will not be the collection time, but will be sent every 60 seconds.** 1656 - 1657 - 1658 -(% style="color:#037691" %) **Parameter 3 and parameter 4:** 1659 - 1660 -1): If Alarm Mode is set to 1: Parameter 3 and parameter 4 are valid, as before, they represent low temperature and high temperature. 1661 - 1662 -Such as AT+WMOD=1,60,45,105, it means high and low temperature alarm. 1663 - 1664 - 1665 -2): If Alarm Mode is set to 2: Parameter 3 is valid, which represents the difference between the currently collected temperature and the last uploaded temperature. 1666 - 1667 -Such as AT+WMOD=2,10,2,it means that it is a fluctuation alarm. 1668 - 1669 -If the difference between the current collected temperature and the last Uplin is ±2 degrees, the alarm will be issued. 1670 - 1671 - 1672 -(% style="color:#4f81bd" %)**Downlink Command: 0xA5** 1673 - 1674 -0xA5 00 ~-~- AT+WMOD=0. 1675 - 1676 -0xA5 01 0A 11 94 29 04 ~-~- AT+WMOD=1,10,45,105 (AT+WMOD = second byte, third byte, fourth and fifth bytes divided by 100, sixth and seventh bytes divided by 100 ) 1677 - 1678 -0xA5 02 0A 02 ~-~- AT+WMOD=2,10,2 (AT+WMOD = second byte, third byte, fourth byte) 1679 - 1680 -0xA5 FF ~-~- After the device receives it, upload the current alarm configuration (FPORT=8). Such as 01 0A 11 94 29 04 or 02 0A 02. 1681 - 1682 1682 = 5. Battery & How to replace = 1683 1683 1684 1684