设计说明书
总字数:13000+
本论文介绍了一个基于STC89C52单片机的空气质量检测系统。该系统通过使用GP2Y10传感器来测量PM2.5浓度,并根据设置的最大值进行声光报警,并自动开启风扇以提供通风。同时,使用DHT11传感器来测量温湿度,根据设置的阈值进行温度和湿度的控制,包括启动风扇降温、启动加热片升温、启动风扇除湿和启动加湿器加湿。对于温湿度异常情况也会进行声光报警。此外,系统还通过按键设置各个阈值,并使用LCD1602显示测量数据。该空气质量检测系统结合了PM2.5浓度、温度和湿度的综合监测和控制功能,旨在提供一个方便、实用的解决方案来监测和改善室内空气质量。通过单片机的控制,系统能够自动响应和调节环境参数,提供一个舒适和健康的生活环境。
关键词:空气质量检测、PM2.5浓度、温湿度控制、声光报警、LCD1602显示、测控
This paper presents an air quality monitoring system based on the STC89C52 microcontroller. The system utilizes a GP2Y10 sensor to measure PM2.5 concentration, and triggers audio-visual alarms and activates a fan for ventilation when the PM2.5 concentration exceeds a user-defined threshold. Additionally, a DHT11 sensor is employed to measure temperature and humidity, and the system controls temperature and humidity levels based on user-defined thresholds. This includes activating the fan for cooling, activating a heating element for warming, activating the fan for dehumidification, and activating a humidifier for increasing humidity. Audio-visual alarms are triggered in case of abnormal temperature and humidity conditions. Furthermore, the system allows users to set threshold values through buttons and displays the measured data on an LCD1602.This air quality monitoring system integrates comprehensive monitoring and control of PM2.5 concentration, temperature, and humidity. Its objective is to provide a convenient and practical solution for monitoring and improving indoor air quality. Through microcontroller-based control, the system automatically responds to and adjusts environmental parameters, aiming to create a comfortable and healthy living environment.
Keywords: Air quality monitoring, PM2.5 concentration, temperature and humidity control, audio-visual alarm, LCD1602 display, measurement and control
目 录
摘 要
Abstract
第1章 引 言
1.1 选题背景及实际意义
1.2 国内外研究现状
1.3 本论文研究目标
第2章 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 温湿度检测模块方案选择
2.1.3 PM2.5检测模块方案选择
2.2 整体设计方案
第3章 硬件设计
3.1 主控电路模块
3.2 温湿度检测模块电路
3.3 PM2.5检测模块电路
3.4 显示模块电路
3.5 继电器模块电路
3.6 声光报警模块电路
3.7 独立按键模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 LCD1602液晶显示子流程
4.4 直流电机-MX1508驱动模块子流程
4.5 舵机模块子流通
4.6 超声波检测模块子流程
第5章 仿真测试
5.1 整体仿真测试图
5.2 温度检测仿真测试
5.3 湿度检测仿真测试
5.4 PM2.5检测仿真测试
第6章 实物测试
6.1 整体实物测试图
6.2 温度检测实物测试
6.3 湿度检测实物测试
6.4 PM2.5检测实物测试
总结与展望
参考文献
致 谢
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!