Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
From version 208.1
edited by Edwin Chen
on 2022/10/18 10:07
on 2022/10/18 10:07
Change comment:
There is no comment for this version
To 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
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Bei - Content
-
... ... @@ -1630,6 +1630,55 @@ 1630 1630 1631 1631 * 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 + 1633 1633 = 5. Battery & How to replace = 1634 1634 1635 1635