基于单片机温湿度控制风扇的研究与设计
2022-11-13 09:53:34
论文总字数:20451字
摘 要
温湿度控制器在这个时代十分重要,军事、农业等等方面都至关重要的作用。温度控制风扇技术在当今时代还是比较成熟的技术,基于单片机的温度湿度实时监测系统应运而生,从而达到简化人力,提高效率。系统采用了STC89C52单片机作为微处理器芯片,该单片机性价比较高,功能丰富,技术开发十分成熟。连接DHCT11温湿度传感器进行温湿度数据的监视、测定、收集。本人选择LCD 602液晶显示器,显示由宏处理器处理的温湿度数据。使用串行通信蓝牙模块和蜂鸣器相接。按钮可设置温度、湿度的上限警报值。当温度达到上限值时,红色警示灯在继电器中点亮并吸收,在启动电扇降低温度的同时蜂鸣器发出警报声。湿度达到上限值后,黄色警报灯在继电器中点亮并吸收,蜂鸣器发出警报声。继电器后的接口驱动打开冷却设备,抽潮设置,通知警报器等外部设备。蜂鸣器生成后,蜂鸣器不影响继电器,可以手动停止。运用了红外遥控控制风扇的运行和停止,并在作品上接入了红外接收装置,便于控制。本次毕业论文设计采用了,温湿度传感器,红外接口,DT十一传感器、温度测量范围从零度到五十度,湿度测量范围也可以满足需求。 通过本课题最后成品结果表明,可以满足这些条件。本文介绍了单片机温室度控制风扇设计与研究,并对未来的温湿度控制系统进行了探讨与研究。
关键词:AT89S52单片机;DHT11传感器;1602液晶;智能
Research and Design of Temperature and Humidity Control Fan Based on Single Chip Microcomputer
Abstract
Temperature and humidity controller is very important in this era, military, agriculture and so on are very important role. Temperature control fan technology is still a relatively mature technology in today's era, based on the microcontroller temperature and humidity real-time monitoring system came into being, so as to simplify manpower and improve efficiency. The system adopts STC89C52 microprocessor as a microprocessor chip, which is cost-effective, feature-rich and mature in technology development. Connect the DHCT11 temperature and humidity sensor for the monitoring, determination and collection of temperature and humidity data. I choose the LCD 602 LCD display, which displays temperature and humidity data processed by the macro processor. Use the serial communication Bluetooth module to connect with the buzzer. button to set the maximum alarm value for temperature and humidity. When the temperature reaches the upper limit, the red warning light lights up and absorbs in the relay, and the buzzer sounds an alarm while the fan is started to lower the temperature. When the humidity reaches the upper limit, the yellow alarm light lights up and absorbs in the relay and the buzzer sounds an alarm. The interface drive behind the relay turns on the cooling equipment, pumping settings, notification alarms and other external equipment. After the buzzer is generated, the buzzer does not affect the relay and can be stopped manually. The operation and stop of the fan are controlled by infrared remote control, and the infrared receiving device is connected to the work, which is convenient for control. The graduation thesis design adopts, temperature and humidity sensor, infrared interface, DT XI sensor, temperature measurement range from zero degrees to 50 degrees, humidity measurement range can also meet the needs. The results of the final product of this project show that these conditions can be met. This paper introduces the design and research of the greenhouse control fan of the microcontroller, and discusses and studies the future temperature and humidity control system.
Keywords:AT89S52 MCU,DHT11 SENSOR,1602 LCD,Intelligence
目 录
摘 要 I
Abstract II
第一章 引 言 1
1.1选题背景与意义 1
第二章 课程方案设计 2
2.1系统总体设计要求 2
2.2系统模块结构论证 2
第三章 系统硬件设计 5
3.1总体设计 5
3.2单片机最小运行系统 5
3.3温度传感器(DS18B20)电路 6
3.4 LCD1602液晶显示电路 7
3.5 蜂鸣器、发光二极管报警电路 10
3.6 红外遥控电路设计 11
3.7 红外线遥控原理 12
3.8 主要模块设计 12
第四章 系统软件设计 14
4.1程序结构分析 14
4.2系统程序流图 14
第五章 程序编写与调试 16
5.1 Keil编译器软件简介 16
5.2 使用Keil软件建立一个工程 16
5.3 使用Debug进行调试 19
第六章 结束语 21
致 谢 22
参考文献(References) 23
附 录 24
剩余内容已隐藏,请支付后下载全文,论文总字数:20451字