51单片机风扇转动c语言代码,基于51单片机的智能风扇控制系统设计.doc

完美.WORD格式.整理

范文.范例.指导

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

摘要:随着气温的逐渐上升,风扇的需求量也逐渐扩大。传统风扇不能根据外界温度的变化对风扇转速快慢进行调整,也不能对风扇的开关与否进行自动控制,这将会损耗大量的电力资源。针对这些问题,开发设计了智能风扇控制系统。

该系统以STC89C51RC单片机最小系统为核心,利用DS18B20温度采集模块,LCD 1602显示屏、L298N电机驱动模块、HC-SR501人体感应模块、舵机控制模块、ESP8266 WIFI控制模块组成智能风扇控制系统。当有人进入室内, 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 fan 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. T

基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例 基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例 基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例 基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例基于51单片机开发的小程序,学习资料,用于学习51单片机的嵌入式开发,应用案例
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值