基于单片机的智能遥控感应风扇设计摘要本设计为一种智能温控和湿控风扇系统,具有灵敏的温度感测、湿度感测和显示功能,系统STC89C52单片机作为控制平台对风扇转速进行控制
可由用户设置高、低温度值,测得温度值在高低温度之间时打开风扇弱风档,当温度升高超过所设定的温度时自动切换到大风档,当温度小于所设定的温度时自动关闭风扇,控制状态随外界温度而定所设高低温值保存在温度传感器DS18B20内部E2ROM中,掉电后仍然能保存上次设定值,性能稳定,控制准确
通过温湿度传感器DHT11监测温度,当湿度超过所设定的高湿度值时自动打开加热片去湿,当湿度小于所设定的低湿度值时自动打开水泵加湿
关键词:STC89C51单片机;STC89C52单片机;温湿度传感器;智能控制
IAbstractThisdesignisanintelligenttemperaturecontrolandhumiditycontrolfansystem,withsensitivetemperaturesensing,humiditysensinganddisplayfunctions,thesystemSTC89C52microcontrollerasacontrolplatformtocontrolthefanspeed
Highandlowtemperaturevaluescanbesetbytheuser
Whenthemeasuredtemperaturevalueisbetweenhighandlowtemperature,theweakwindshieldofthefanwillbeopened
Whenthetemperaturerisesbeyondthesettemperature,thefanwillbeautomaticallyswitchedtothehighwindshield
Theset