设计说明书
总字数:18000+
摘要
在日常生活与生产中,空气质量对人们的健康及生活质量有着重要影响,传统的空气净化依赖人工操作和定时运行,存在调节不及时、无法按需净化、缺乏实时数据反馈等问题,难以满足现代对空气环境精准、智能净化的需求。
基于 STM32F103C8T6 单片机的智能空气净化器,整合了 DHT11 温湿度传感器、GP2Y10 粉尘浓度传感器、MS1100 甲醛传感器、按键、OLED 显示屏及蓝牙模块 ECB02,实现了空气的实时监测、自动净化及手机端管理。系统核心功能包括:通过 DHT11 检测温湿度,当温度高于设置最大值或湿度低于设置最小值时,启动加湿器加湿;借助 GP2Y10 获取粉尘浓度,当粉尘浓度值大于设置最大值时,启动风扇通风;利用 MS1100 监测环境甲醛,当甲醛大于最大值时,控制负离子发生器打开;通过按键可设置各项监测指标的阈值,且能手动控制加湿器、风扇、负离子净化器;OLED 显示屏实时显示测量值;数据交互方面,通过蓝牙模块 ECB02 将测量数据发送到手机端,手机端也可控制加湿器、风扇、负离子净化器。
该系统的实现,有效提升了空气净化的自动化、智能化水平,通过实时监测、自动调节、多方式控制及手机端管理,为空气净化提供了便捷、高效的解决方案,同时为室内环境治理领域的发展提供了参考,具有较高的实用价值与推广意义。
关键词:STM32F103C8T6;智能空气净化器;多传感器融合;蓝牙远程控制
ABSTRACT
In daily life and production, air quality has a significant impact on people’s health and quality of life. Traditional air purification relies on manual operation and timed operation, which has problems such as delayed adjustment, inability to purify on demand, and lack of real-time data feedback, making it difficult to meet the modern demand for precise and intelligent purification of air environments.
The intelligent air purifier based on the STM32F103C8T6 microcontroller integrates a DHT11 temperature and humidity sensor, GP2Y10 dust concentration sensor, MS1100 formaldehyde sensor, buttons, OLED display, and ECB02 Bluetooth module, realizing real-time air monitoring, automatic purification, and mobile phone management. The core functions of the system include: detecting temperature and humidity through DHT11, and activating the humidifier to add moisture when the temperature is higher than the set maximum or the humidity is lower than the set minimum; obtaining dust concentration through GP2Y10, and starting the fan for ventilation when the dust concentration is greater than the set maximum; monitoring ambient formaldehyde with MS1100, and controlling the negative ion generator to turn on when the formaldehyde level exceeds the maximum value; setting thresholds for various monitoring indicators through buttons, and manually controlling the humidifier, fan, and negative ion purifier; the OLED display shows real-time measured values; in terms of data interaction, the measured data is sent to the mobile phone through the ECB02 Bluetooth module, and the mobile phone can also control the humidifier, fan, and negative ion purifier.
The implementation of this system has effectively improved the automation and intelligence level of air purification. Through real-time monitoring, automatic adjustment, multi-mode control, and mobile phone management, it provides a convenient and efficient solution for air purification. At the same time, it provides a reference for the development of the indoor environmental governance field and has high practical value and promotion significance.
Keywords:STM32F103C8T6; Intelligent Air Purifier; Multi-sensor Fusion; Bluetooth Remote Control
目录
第1章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.2.1 国外研究现状
1.2.2 国内研究现状
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 温湿度传感器选择
2.1.3 粉尘浓度传感器选择
2.1.4 甲醛传感器选择
2.1.5 显示模块选择
2.1.6 蓝牙通信模块选择
2.1.7 按键模块选择
2.1.8 执行设备控制模块选择
2.2整体设计方案
第 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 OLED显示流程设计
4.5 温湿度检测模块子流程设计
4.6 PM2.5检测模块子流程设计
4.7 蓝牙模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 温湿度监测与联动功能测试
5.3 粉尘浓度监测与联动功能测试
5.4 甲醛监测与联动功能测试
5.5 显示功能测试
5.6 按键控制功能测试
5.7 蓝牙通信功能测试
5.8 系统综合运行测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!