An intelligent fan control system based on single chip microcomputer, including pyroelectric sensor, DS18B20 temperature sensor, digital display module, independent button, reset circuit, crystal oscillator circuit, L298N motor drive module. Among them, pyroelectric sensor, DS18B20 temperature sensor and independent button are used as input modules of MCU, digital display module and L298N motor drive module as output modules of singlechip. Whether the pyroelectric sensor is detected or not, the judgment is passed to the single chip microcomputer to determine the switch of the fan. The temperature sensor, as the input module of the microcontroller, inputs the external temperature signal to the microcontroller, compares it with the rule table set in the microcontroller, and uses fuzzy control to control the speed of the motor, so as to achieve the purpose of regulating the speed of the fan. At the same time, the user sets the speed rule table by setting the temperature maximum value TH and the minimum value TL by the independent key. In this way, the electric fan can always adjust the speed according to the temperature, and to stop the wind. The system is simple in structure, energy saving and environmental protection, to meet the needs of all kinds of people.
【技术实现步骤摘要】
一种基于单片机的智能风扇控制系统
:本专利技术涉及一种风扇控制系统,尤其涉及一种基于单片机的智能风扇控制系统,属于单片机控制
技术介绍
:目前,电风扇作为一种热天生风取凉的风扇,在日常生活中,已经得到广泛的应用。但是传统的电风扇有以下缺陷:一是传统的电风扇调节风速只能依赖于手动调节档位,不能根据温度进行风速调节。当人处于睡眠状态时,夜间温度下降,电风扇一直处于运行状态,易使人着凉感冒。而普通电扇的定时关机时长在1-2h左右,当电扇停止运行后,温度上升,处于睡眠状态人又会感到炎热,影响睡眠质量。二是传统的电风扇不能实现人走风停的效果,人离开后,风扇依旧在工作,造成电能的浪费。基于以上现状,现设计一种能够根据温度调节风扇转速并且可以实现人走风停的电风扇控制系统。
技术实现思路
:为了弥补传统电风扇的这些缺陷,本专利技术旨在克服传统电风扇的不足,在原有电风扇控制系统之上增加以52系列单片机为控制核心的人体感应模块和温度检测模块,有效的解决了传统电风扇不能根据温度调节风扇转速和难以实现人走风停的问题。本专利技术解决其技术问题所采用的技术方案是:一种基于单片机控制的智能风扇控制系统,包括热释电传感器、DS18B20温度传感器、数码管显示模块、独立按键、复位电路、晶振电路、L298N电机驱动模块。其中热释电传感器、DS18B20温度传感器、独立按键作为单片机的输入模块,数码管显示模块、L298N电机驱动模块作为单片机的输出模块。热释电传感器检测是否有人,将此判断传递给单片机以决定电风扇的开关。温度传感器作为单片机输入模块,将外界温度信号输入给单片机,将其与单片机 ...
【技术保护点】
一种基于单片机的智能风扇控制系统,其特征在于,所述基于单片机的智能风扇控制系统包括热释电传感器、DS18B20温度传感器、数码管显示模块、独立按键、复位电路、晶振电路、L298N电机驱动模块,其中热释电传感器、DS18B20温度传感器、独立按键作为单片机的输入模块,L298N电机驱动、数码管显示模块作为单片机的输出模块;其中所述的输入模块,热释电传感器采集人体信号,温度传感器采集室内温度信号进而通过单片机进行智能控制风扇风速;所述输出模块,将输入信号即时显示出来,并且与独立按键配合进行温度阈值的设定。
【技术特征摘要】
1.一种基于单片机的智能风扇控制系统,其特征在于,所述基于单片机的智能风扇控制系统包括热释电传感器、DS18B20温度传感器、数码管显示模块、独立按键、复位电路、晶振电路、L298N电机驱动模块,其中热释电传感器、DS18B20温度传感器、独立按键作为单片机的输入模块,L298N电机驱动、数码管显示模块作为单片机的输出模块;其...
【专利技术属性】
技术研发人员:李腾飞,魏刚,李坤,李明胜,
申请(专利权)人:安徽理工大学,
类型:发明
国别省市:安徽,34
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。