基于51单片机智能风扇控制系统方案

基于51单片机智能风扇控制系统的设计与实现
摘要:随着气温的逐渐上升,风扇的需求量也逐渐扩大。传统风扇不能根据外界温度的变化对风扇转速快慢进行调整,也不能对风扇的开关与否进行自动控制,这将会损耗大量的电力资源。针对这些问题,开发设计了智能风扇控制系统。
该系统以STC89C51RC单片机最小系统为核心,利用DS18B20温度采集模块,LCD 1602显示屏、L298N电机驱动模块、HC-SR501人体感应模块、舵机控制模块、ESP8266WIFI控制模块组成智能风扇控制系统。当有人进入室, HC-SR501人体感应模块会监测到有人出现,同时DS18B20温度采集模块将采集到的温度与系统开始设置的阈值做比较,并将采集到的温度数据显示在LCD 16 -02显示屏上。当室温高于所设置的温度且有人存在的情况下,风扇将会自动吹风;当温度低于所设置的温度时风扇仍保持关闭状态。该系统采取了三种工作方式,第一种工作方式为按键控制,从左至右按键功能依次为摇摆、红外、定温、定时。第二种工作方式为红外遥控器控制,在遥控器上按下相应的功能按键,即可控制风扇。第三种工作方式为手机终端APP控制,通过手机客户端实现风扇的自动启动和停止,旋转方向,改变风扇的转速等。
关键词:STC89C51RC单片机;智能风扇;人体感应;keil Uvision;
Intelligent Fan Control System Based on 51 Single Chip Design and Implementation
Abstract: With the gradual rise in temperature, the demand for fans has gradually expanded. However, the traditional fan can not adjust the speed of the fan according to the change of the outside temperature, and can not control the fan switch automatically. In response to this problem, we will develop intelligent control system of the fan.
The system is based on the minimum system of the STC89C51RC MCU.The intelligent fan control system is composed of DS18B20 temperature acquisition module, LCD 1602 display, L298N motor drive module, HC-SR501 human body induction module, steering control module and ESP8266 WIFI control module. When the person enters the room, the human body infrared sensor module will detect people, while the DS18B20 temperature acquisition module will collect the temperature and the system begins to set the threshold to compare, and the collected temperature data is displayed on the LCD 1602 display. When the room temperature is higher than the set temperature and someone exists, the fa
n will automatically blow; when the temperature is lower than the set temperature ,the fan will still turn off . The system takes three kinds of work, the first work for the key control, from left to right button function in order of swing, infrared, fixed temperature and timing. The second mode of operation for the infrared remote control, press the corresponding function button on the remote control, you can control the fan. The third type of work for the mobile terminal APP control, through the mobile client to achieve automatic fan start and stop, rotation direction, change the fan speed and so on.

本文发布于:2024-09-22 05:30:58,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/3/447151.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:风扇   温度   模块   控制
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议