虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

您现在的位置是:虫虫下载站 > 资源下载 > 技术资料 > 基于单片机的智能温控风扇系统的设计与实现

基于单片机的智能温控风扇系统的设计与实现

资 源 简 介

本设计是一个温度控制风扇系统,该系统采用单片机STC89C52进行控制。系统中的温度传感器DS18B20,可以对该系统设置温度,所设置的温度值保存在DS18B20温度传感器内部的E2ROM中,具有掉电保护功能,即使掉电之后,最后一次设定的温度值在E2ROM中不会丢失。设定温度时需设定高温与低温值,当系统正常工作时,系统会检测外部的温度情况,如所检测的温度高于所设定高温值,则单片机会控制风扇切换到强风档,如果测得温度在高温与低温之间,则会自动将风扇切换到弱风档,如果测得温度低于低温,则会将风扇关闭。整个系统控制精准,工作性能稳定。

This design is a temperature control fan system. The system is controlled by single-chip STC89 C52. The temperature sensor DS18 B20 in the system can set the temperature of the system. The set temperature value is stored in the E2 ROM inside the DS18 B20 temperature sensor with power failure protection function,which means after the power is turned off,the last set temperature value will not be lost in the E2 ROM. When setting the temperature,the pair of high temperature and low temperature should be set. When the system works normally,the system will detect the external temperature. If the detected temperature is higher than the set high temperature value,the MCU will control the fan to switch to the strong wind gear. If the measured temperature is between high temperature and low temperature,the fan will be automatically switched to the weak wind gear if measured. If the temperature is lower than the low temperature,the fan will be turned off. The entire system is controlled accurately and the performance is stable.

相 关 资 源

您 可 能 感 兴 趣 的