预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共70页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGE\*MERGEFORMAT612020年4月19日基于单片机的智能风扇控制系统文档仅供参考,不当之处,请联系改正。基于51单片机智能风扇控制系统的设计与实现摘要:随着气温的逐渐上升,风扇的需求量也逐渐扩大。传统风扇不能根据外界温度的变化对风扇转速快慢进行调整,也不能对风扇的开关与否进行自动控制,这将会损耗大量的电力资源。针对这些问题,开发设计了智能风扇控制系统。该系统以STC89C51RC单片机最小系统为核心,利用DS18B20温度采集模块,LCD1602显示屏、L298N电机驱动模块、HC-SR501人体感应模块、舵机控制模块、ESP8266WIFI控制模块组成智能风扇控制系统。当有人进入室内,HC-SR501人体感应模块会监测到有人出现,同时DS18B20温度采集模块将采集到的温度与系统开始设置的阈值做比较,并将采集到的温度数据显示在LCD16-02显示屏上。当室温高于所设置的温度且有人存在的情况下,风扇将会自动吹风;当温度低于所设置的温度时风扇仍保持关闭状态。该系统采取了三种工作方式,第一种工作方式为按键控制,从左至右按键功能依次为摇摆、红外、定温、定时。第二种工作方式为红外遥控器控制,在遥控器上按下相应的功能按键,即可控制风扇。第三种工作方式为手机终端APP控制,经过手机客户端实现风扇的自动启动和停止,旋转方向,改变风扇的转速等。关键词:STC89C51RC单片机;智能风扇;人体感应;keilUvision;IntelligentFanControlSystemBasedon51SingleChipDesignandImplementationAbstract:Withthegradualriseintemperature,thedemandforfanshasgraduallyexpanded.However,thetraditionalfancannotadjustthespeedofthefanaccordingtothechangeoftheoutsidetemperature,andcannotcontrolthefanswitchautomatically.Inresponsetothisproblem,wewilldevelopintelligentcontrolsystemofthefan.ThesystemisbasedontheminimumsystemoftheSTC89C51RCMCU.TheintelligentfancontrolsystemiscomposedofDS18B20temperatureacquisitionmodule,LCD1602display,L298Nmotordrivemodule,HC-SR501humanbodyinductionmodule,steeringcontrolmoduleandESP8266WIFIcontrolmodule.Whenthepersonenterstheroom,thehumanbodyinfraredsensormodulewilldetectpeople,whiletheDS18B20temperatureacquisitionmodulewillcollectthetemperatureandthesystembeginstosetthethresholdtocompare,andthecollectedtemperaturedataisdisplayedontheLCD1602display.Whentheroomtemperatureishigherthanthesettemperatureandsomeoneexists,thefanwillautomaticallyblow;whenthetemperatureislowerthanthesettemperature,thefanwillstillturnoff.Thesystemtakesthreekindsofwork,thefirstworkforthekeycontrol,fromlefttorightbuttonfunctioninorderof