设计简介:

项目名:温控风扇(实物)
项目编号:mcuclub-dz-110
单片机类型:STC12C5A60S2
具体功能:
1、通过DS1302同步时间,并可修正时间,同时可设定风扇开关时间
2、通过DS18B20检测温度,当温度大于设置最小值,才开启风扇,在最小值和最大值之间,低速转动,大于最大值,高速转动
3、通过HC-SR04超声波检测前方是否有人,如果有人,才开启风扇
4、通过按键可设置各阈值
5、通过LCD12864显示各测量数据
6、通过红外遥控器可远程控制风扇开启和转速、切换模式、设置各阈值

总字数:17654

实物链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘 要

此次设计一个能够自动控制风扇速度和开关状态的系统,以保持环境温度在设定范围内,并根据人体活动情况智能地控制风扇开启。该项目使用STC12C5A60S2型号的单片机,并集成了多种传感器和显示设备,以实现以下具体功能:通过DS1302实时时钟模块同步时间,并提供修正时间的功能。同时,用户可以设定风扇的开关时间,从而在特定时间段内控制风扇的运行。利用DS18B20温度传感器监测环境温度,系统会根据用户设定的最小值来判断是否开启风扇。当温度在最小值和最大值之间时,风扇将以低速运行,而当温度超过最大值时,风扇将以高速运行。使用HC-SR04超声波传感器检测风扇前方是否有人。只有当检测到有人存在时,风扇才会被开启,从而节省能源并提高智能化程度。通过按键操作,用户可以设置不同的温度阈值和超声波传感器的灵敏度,以适应不同的环境需求。使用LCD12864液晶显示屏展示各种测量数据,包括当前时间、环境温度、风扇状态等信息,使用户可以方便地监控系统运行状态。引入红外遥控技术,用户可以通过红外遥控器远程控制风扇的开启、速度调节、模式切换以及各种阈值的设置,提高了系统的便捷性和交互性。本论文详细介绍了硬件电路设计、软件程序设计以及系统测试与优化过程。实验结果表明,“温控风扇”项目能够稳定可靠地实现温度自动控制,满足了智能化环境温度控制的要求。该系统在实际应用中具有较好的应用前景,可广泛用于办公室、家庭和其他需要温度控制的场所,为节能减排、提升生活品质等方面带来积极的影响。

关键词:单片机;温控风扇;DS18B20;HC-SR04;LCD12864;红外遥控器

ABSTRACT

This design aims to create a system capable of automatically controlling the fan’s speed and on/off state to maintain the environment’s temperature within the specified range and intelligently regulate the fan’s activation based on human activity. The project utilizes the STC12C5A60S2 microcontroller and integrates various sensors and display devices to achieve the following specific functions:Synchronize time using the DS1302 real-time clock module and provide time correction functionality. Users can set the fan’s on/off time, enabling control of the fan’s operation during specific time periods.Utilize the DS18B20 temperature sensor to monitor the ambient temperature. The system determines whether to activate the fan based on the user-set minimum value. When the temperature is within the minimum and maximum range, the fan operates at a low speed. If the temperature exceeds the maximum value, the fan runs at a high speed.Employ the HC-SR04 ultrasonic sensor to detect the presence of individuals in front of the fan. The fan is activated only when someone is detected, thereby saving energy and enhancing the system’s intelligence.Through button operations, users can set different temperature thresholds and adjust the sensitivity of the ultrasonic sensor to accommodate various environmental requirements.Display various measurement data, including current time, ambient temperature, and fan status, on the LCD12864 liquid crystal display screen, enabling users to conveniently monitor the system’s operating status.Introduce infrared remote control technology, allowing users to remotely control fan activation, speed adjustment, mode switching, and threshold settings using an infrared remote controller, enhancing the system’s convenience and interactivity.This thesis provides a detailed account of hardware circuit design, software programming, system testing, and optimization processes. Experimental results demonstrate that the “Temperature-Controlled Fan” project achieves stable and reliable temperature automation, meeting the requirements of intelligent environmental temperature control. The system exhibits promising application prospects in offices, homes, and other places requiring temperature control, contributing positively to energy conservation, emissions reduction, and improved quality of life.

Keywords: Microcontroller, Temperature-Controlled Fan, DS18B20, HC-SR04, LCD12864, Infrared Remote Control..

目 录

摘 要

ABSTRACT

1 绪论

1.1 选题背景及实际意义

1.2 国内外发展历程

1.3 课题研究的主要内容

2 系统设计方案

2.1整体方案设计

2.2 主要元器件选择

2.2.1 主控芯片的选择

2.2.2 温度体传感器的选择

2.2.3 距离监测传感器模块的选择

2.2.4 显示模块的选择

3 硬件设计

3.1 主控电路设计

3.2 温度检测模块电路设计

3.3 超声波检测模块电路设计

3.4 红外接收模块电路设计

3.5 时钟模块电路设计

3.6 显示模块电路设计

3.7 直流电机驱动模块电路设计

3.8 独立按键模块电路设计

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 时钟模块子流程

4.5 温度检测模块子流程

4.6 直流电机-MX1508驱动模块子流程

5 实物制作与调试过程

5.1 风扇定时控制实物测试

5.2 风扇遥控控制实物测试

总结与展望

致谢

参考文献

附录

附录一: 原理图

附录二:PCB

附录三:主程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源