设计说明书
总字数:14000+
随着室内空气质量问题的日益凸显,甲醛污染已成为公众关注的焦点。为有效应对甲醛污染,设计一款高效、智能的辅助除甲醛装置系统显得尤为重要。
本系统设计一款基于STM32F103C8T6单片机的辅助除甲醛装置系统,系统通过MS1100传感器检测室内甲醛浓度,当甲醛浓度超标时,自动启动风扇和净化器进行除甲醛处理,并声光报警提醒甲醛浓度超标。通过DS18B20检测室内温度,当室内温度小于设置阈值时,自动控制加热,保持室内温度在适宜范围内。通过按键设置甲醛浓度和温度的安全阈值,并控制风扇、净化器和加热器的开关状态,通过OLED显示屏显示当前甲醛浓度、温度以及预设的安全阈值等信息,便于用户监控和设置。
测试结果表明,该系统能够测室内甲醛浓度和温度,有效实现甲醛超标时的自动除醛处理和温度调节功能,具有重要的实用价值和社会意义。
关键词:STM32;MS1100;DS18B20;显示屏;声光报警
ABSTRACT
With the increasingly prominent issue of indoor air quality, formaldehyde pollution has become a focus of public attention. It is particularly important to design an efficient and intelligent auxiliary formaldehyde removal device system to effectively address formaldehyde pollution.
This system designs an auxiliary formaldehyde removal device system based on STM32F103C8T6 microcontroller. The system detects indoor formaldehyde concentration through MS1100 sensor. When the formaldehyde concentration exceeds the standard, it automatically starts the fan and purifier for formaldehyde removal treatment, and sound and light alarms remind the formaldehyde concentration to exceed the standard. By using DS18B20 to detect indoor temperature, when the indoor temperature is below the set threshold, heating is automatically controlled to maintain the indoor temperature within the appropriate range. Set the safety thresholds for formaldehyde concentration and temperature through buttons, and control the on/off status of fans, purifiers, and heaters. Display the current formaldehyde concentration, temperature, and preset safety thresholds on an OLED screen for easy monitoring and setting by users.
The test results show that the system can measure indoor formaldehyde concentration and temperature, effectively achieving automatic formaldehyde removal and temperature regulation when formaldehyde exceeds the standard, and has important practical value and social significance.
Key words:STM32; MS1100; DS18B20; display; audible and visual alarm
目 录
第1章 绪论
1.1 研究背景及意义
1.2国内外发展状况
1.2.1国内研究现状
1.2.2国外研究现状
1.3论文的主要内容及结构
第2章 系统总体设计方案
2.1系统整体结构
2.2方案论证与选择
2.2.1单片机选择
2.2.2甲醛传感器选择
2.2.3温度传感器选择
2.2.4 显示模块选择
第3章 系统硬件设计
3.1单片机最小系统设计
3.1.1 STM32F103C8T6单片机介绍
3.1.2 晶振电路设计
3.1.3 复位电路设计
3.2甲醛监测模块电路设计
3.3温度检测电路设计
3.4按键模块电路设计
3.5显示模块电路设计
3.6继电器驱动模块电路设计
3.7声光报警模块电路设计
第4章 系统软件设计
4.1主程序流程设计
4.2甲醛检测子流程设计
4.3温度检测子流程设计
4.4按键模块子流程设计
4.5显示模块子流程设计
第5章 系统测试
5.1仿真测试
5.1.1仿真绘制
5.1.2仿真功能测试
5.2实物测试
5.2.1实物总体设计
5.2.2上电运行实物测试
5.2.3甲醛测控实物测试
5.2.4温度测控实物测试
结论
参考文献
致谢
附录
购买后可查看具体内容!