设计说明书
总字数:16000+
本文设计了一款基于STM32F103C8T6单片机的智能空气质量监测系统。该系统使用DS18B20、MS1100、MQ-7和GP2Y10等多种传感器来检测温度、甲醛值、CO值和PM2.5值,并通过风扇、声光报警等方式进行控制和警示。同时,系统还支持按键设置各阈值,并通过OLED显示各测量数据。最重要的是,该系统还支持WIFI模块,可将数据传输至手机端,实现远程监控和修改各阈值的功能。该系统具有以下几点特点: 多传感器检测,全面监控空气质量指标,充分保障用户的健康和安全。风扇、声光报警等多种控制方式,使系统具有更好的控制和警示能力。支持按键设置各阈值,用户可以根据自己的需求进行自定义设置。OLEd显示屏幕,直观显示各项数据,操作简单方便。WIFI模块支持远程监控和修改各阈值,用户可以在任何时间、任何地点监控并控制系统。本文所设计的智能空气质量监测系统具有广泛的应用前景,可广泛应用于家庭、办公室、公共场所等各个领域,为人们的生活和工作带来更加健康和安全的保障。
关键词:STM32F103C8T6;温度传感器;甲醛传感器;CO传感器;PM2.5传感器
Abstract
This paper presents the design of an intelligent air quality monitoring system based on STM32F103C8T6 microcontroller. The system utilizes various sensors such as DS18B20, MS1100, MQ-7, and GP2Y10 to detect temperature, formaldehyde levels, CO levels, and PM2.5 levels. It controls and alerts through means like fans and sound-light alarms. Moreover, the system supports threshold settings via buttons and displays measurement data on an OLED screen. Importantly, it incorporates a WIFI module for data transmission to a mobile device, enabling remote monitoring and modification of thresholds. The designed system has several notable features: multi-sensor detection for comprehensive air quality monitoring ensuring user health and safety; multiple control methods including fans and sound-light alarms for enhanced control and alert capabilities; threshold settings via buttons allowing users to customize according to their needs; OLED screen for intuitive display of data with simple operation; WIFI module supporting remote monitoring and modification of thresholds so that users can monitor and control the system anytime, anywhere. This intelligent air quality monitoring system has broad application prospects in various fields such as homes, offices, and public spaces, providing a healthier and safer environment for people’s lives and work.
Keywords: STM32F103C8T6; temperature sensor; formaldehyde sensor; CO sensor; PM2.5 sensor
目 录
基于物联网的环境监测系统设计
摘要
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 CO监测模块电路
3.4 甲醛监测模块电路
3.5 PM2.5监测模块模块
3.6 显示模块电路
3.7 继电器模块电路
3.8 WiFi模块电路
3.9 声光报警模块电路
3.10 独立按键模块电路
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程
4.5 OLED显示流程设计
4.6 WiFi流程设计
5 实物调试
5.1 实物调试部分
5.2 整体焊接实物
5.3 温度检测功能测试
5.4 甲醛检测实物测试
5.5 CO检测实物测试
5.6 PM2.5检测实物测试
5.7 远程测控实物测试
总结与展望
致 谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!