基于单片机的智能调速风扇控制系统 专摘要随着空调的产生,电风扇面临巨大冲击。其实,电风扇和空调相比还是有很多优点,首先耗能小,符合目前节能的观念。其次,空调房间都是密闭的,电风扇吹风比较自然,可开门窗,空气流通好,不易感染疾病。为了更好的研发智能风扇,本文基于 STC89C52 单片机设计电风扇的控制系统。以单片机为控制中心,主要通过提取热释电红外线传感器感应到的人体红外线信息和温度传感器 DS18B20 得到的温度来控制电风扇的开关及档速的变化,通过单片机对室内温度进行档速划分处理后应用 PWM 方式控制电风扇档速,并通过液晶显示电路实时显示温度及电风扇的档速。首先进行总体设计,然后进行硬件电路设计与软件设计,最后试制出电风扇原型机。经过前期设计、制作和最终的测试得出,该风扇电源稳定性好,操作方便,运行可靠,功能强大,价格低廉,节约能耗,能够满足用户多元化的需求。该风扇具有的人性化设计和低廉的价格很适合普通用户家庭使用。关键词:STC89C52 单片机;电风扇;控制器;智能IAbstractWith the generation of air conditioning, electric fan is facing a huge impact. In fact, compared with the electric fan and air conditioning has many advantages, the first energy consumption is small, in line with the current concept of energy conservation. Next, the air conditioning room is airtight, the electric fan hair dryer is quite natural, can open the windows and doors, air circulation is good, is not easy to infect the disease. In order to develop the intelligent fan, the control system of the electric fan is designed based on STC89C52 microcontroller. In order to control the center of the single chip microcomputer as control center, the temperature is controlled by the thermal release infrared sensor and the temperature sensor DS18B20 to control the temperature of the electric fan.Firstly, the overall design, and then the hardware circuit design and software design, and finally developed the prototype of electric fan. After the preliminary design, pro...