基于单片机的智能遥控感应风扇设计摘 要本设计为一种智能温控和湿控风扇系统,具有灵敏的温度感测、湿度感测和显示功能,系统 STC89C52 单片机作为控制平台对风扇转速进行控制。可由用户设置高、低温度值,测得温度值在高低温度之间时打开风扇弱风档,当温度升高超过所设定的温度时自动切换到大风档,当温度小于所设定的温度时自动关闭风扇,控制状态随外界温度而定所设高低温值保存在温度传感器 DS18B20 内部 E2ROM 中,掉电后仍然能保存上次设定值,性能稳定,控制准确。通过温湿度传感器 DHT11 监测温度,当湿度超过所设定的高湿度值时自动打开加热片去湿,当湿度小于所设定的低湿度值时自动打开水泵加湿。关键词:STC89C51 单片机;STC89C52 单片机;温湿度传感器;智能控制。IAbstractThis design is an intelligent temperature control and humidity control fan system, with sensitive temperature sensing, humidity sensing and display functions, the system STC89C52 microcontroller as a control platform to control the fan speed. High and low temperature values can be set by the user. When the measured temperature value is between high and low temperature, the weak wind shield of the fan will be opened. When the temperature rises beyond the set temperature, the fan will be automatically switched to the high wind shield. The set high and low temperature value is saved in the internal E2ROM of the temperature sensor DS18B20. After power off, the last set value can still be saved with stable performance and accurate control. The temperature is monitored through the temperature and humidity sensor DHT11. When the humidity exceeds the set high humidity value, the heating element is automatically opened to dehumidify; when the humidity is less than the set low humidity value, the water pump is automatically opened to humidify.Key words: STC89C51 single-chip microcomputer; STC89C52 single chip microcomputer; Temperature and humidity sensor; Int...