项目编号:mcuclub-dz-367

设计简介:

项目名:温湿度风扇
项目编号:mcuclub-dz-367
单片机:STC89C52
功能简介:
1、通过DHT11检测温湿度
2、通过按键设置温度上下限,当温度低于下限,温控风扇停止,当温度介于上下限之间,温控风扇低速转动,当温度高于上限,温控风扇高速转动
3、通过按键设置湿度上下限,当湿度低于下限,湿控风扇停止,当湿度介于上下限之间,湿控风扇低速转动,当湿度高于上限,湿控风扇高速转动
4、通过按键手动控制风扇转速
5、通过LCD1602显示温湿度
6、通过人体热释电感应模块检测是否有人,如果有人,关闭紫外线消毒灯,如果没人,自动打开紫外线消毒灯

总字数:17469

实物链接:点击跳转

仿真链接:点击跳转

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

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘 要

近年来,随着夏季环境温度越来越高,风扇的应用越来越广泛,为了保持环境的舒适性,设计一款智能风扇非常重要。

本文设计一款温湿度智能控制风扇,以保持环境温度在设定范围内,并根据人体活动情况和温湿度情况智能地控制风扇开启。该项目使用STC89C52型号的单片机,并集成了多种传感器和显示设备,以实现以下具体功能:通过DHT11检测温湿度,通过按键设置温度上下限,当温度低于下限,温控风扇停止,当温度介于上下限之间,温控风扇低速转动,当温度高于上限,温控风扇高速转动;通过按键设置湿度上下限,当湿度低于下限,湿控风扇停止,当湿度介于上下限之间,湿控风扇低速转动,当湿度高于上限,湿控风扇高速转动同时,用户可以设定风扇的开关时间,从而在特定时间段内控制风扇的运行。通过人体热释电感应模块检测是否有人,如果有人,关闭紫外线消毒灯,如果没人,自动打开紫外线消毒灯,实现智能消毒功能。通过按键操作,用户可以设置不同的温湿度阈值和超声波传感器的灵敏度,以适应不同的环境需求。使用LCD1602液晶显示屏展示各种测量数据,包括当前时间、环境温度、风扇状态等信息,使用户可以方便地监控系统运行状态。本论文详细介绍了硬件电路设计、软件程序设计以及系统测试与优化过程。实验结果表明,“温湿度风扇”项目能够稳定可靠地实现温度自动控制,满足了智能化环境温湿度控制的要求。该系统在实际应用中具有较好的应用前景,可广泛用于办公室、家庭和其他需要温湿度控制的场所,为节能减排、提升生活品质等方面带来积极的影响。

关键词:单片机;温湿度风扇;DHT11;人体热释电;LCD1602

ABSTRACT

In recent years, with the increasing temperature in summer environments, the application of fans has become more and more widespread. In order to maintain the comfort of the environment, it is very important to design an intelligent fan.

This article designs a temperature and humidity intelligent control fan to maintain the ambient temperature within the set range, and intelligently control the fan to turn on based on human activity and temperature and humidity conditions. This project uses the STC89C52 microcontroller model, which integrates multiple sensors and display devices to achieve the following specific functions: detecting temperature and humidity through DHT11, setting the upper and lower limits of temperature through buttons. When the temperature is below the lower limit, the temperature control fan stops; when the temperature is between the upper and lower limits, the temperature control fan rotates at low speed; when the temperature is above the upper limit, the temperature control fan rotates at high speed; Set the upper and lower limits of humidity through buttons. When the humidity is below the lower limit, the humidity control fan stops. When the humidity is between the upper and lower limits, the humidity control fan rotates at low speed. When the humidity is above the upper limit, the humidity control fan rotates at high speed. At the same time, the user can set the on/off time of the fan to control its operation within a specific time period. Detect whether there are people through the human body pyroelectric induction module. If there are people, turn off the UV disinfection light. If there are no people, automatically turn on the UV disinfection light to achieve intelligent disinfection function. By pressing buttons, users can set different temperature and humidity thresholds and the sensitivity of ultrasonic sensors to adapt to different environmental needs. Using the LCD1602 LCD display screen to display various measurement data, including current time, ambient temperature, fan status, and other information, allows users to easily monitor the system’s operating status. This paper provides a detailed introduction to hardware circuit design, software program design, and system testing and optimization processes. The experimental results show that the “Temperature and Humidity Fan” project can stably and reliably achieve automatic temperature control, meeting the requirements of intelligent environmental temperature and humidity control. This system has good application prospects in practical applications and can be widely used in offices, homes, and other places that require temperature and humidity control, bringing positive impacts on energy conservation, emission reduction, and improving quality of life.

Keywords: microcontroller; Temperature and humidity fan; DHT11; Human pyroelectricity; LCD1602

目 录

摘 要 I

ABSTRACT II

1 绪论 1

1.1 选题背景及实际意义 1

1.2 国内外发展历程 2

1.3 课题研究的主要内容 3

1.4 课题研究的主要功能 4

2 系统设计方案 5

2.1整体方案设计 5

2.2 主要元器件选择 6

2.2.1 主控芯片的选择 6

2.2.2 温湿度传感器的选择 7

2.2.3 人体检测模块方案选择 8

2.2.4 显示模块的选择 8

3 硬件设计 10

3.1 主控电路设计 10

3.2 温湿度检测模块电路设计 12

3.3 人体热释电检测模块电路 13

3.4 显示模块电路设计 14

3.5 直流电机驱动模块电路设计 15

3.6 独立按键模块电路设计 17

3.7继电器模块电路 18

4 系统程序设计 20

4.1 编程软件介绍 20

4.2 系统主流程设计 20

4.3 独立按键 21

4.4 温湿度检测模块子流程 22

4.5 LCD1602液晶显示子流程 23

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

5仿真测试 26

5.1 整体仿真图 26

5.2 温度控制风扇仿真测试 26

5.3 湿度控制风扇仿真测试 28

5.4 消毒灯控制仿真测试 29

6 实物制作与调试过程 1

6.1实物调试部分 1

6.2 整体实物图 1

6.3温度控制风扇实物测试 2

6.4 湿度控制风扇实物测试 4

6.5消毒灯控制实物测试 5

总结与展望 7

致谢 9

参考文献 10

附录 12

附录一: 原理图 12

附录二:PCB 13

附录三:主程序 14

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

发表评论

后才能评论

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

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

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

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

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