设计说明书
总字数:12000+
摘要
随着智能家居的快速发展,室内安全与环境监控需求日益增长。传统安防系统存在监测维度单一、智能化程度低、缺乏远程监控等问题。本设计基于 STM32F103C8T6 单片机,开发了一套多功能室内安防监控系统,集成环境监测与安全防护功能。系统通过 DHT11 检测温湿度,MQ-2 与 MQ-135 监测烟雾和空气质量,火焰传感器与霍尔传感器实现火灾和入侵检测,并通过 OLED 显示数据。同时,利用 ESP8266 WiFi 模块实现手机端远程监控与控制,支持阈值设置、继电器控制及布防撤防功能。该系统为智能家居安防提供了集成化解决方案,提升了室内安全监控的智能化与便捷性。
关键词:室内安防;STM32;环境监测;WiFi 远程控制;火灾报警
ABSTRACT
With the rapid development of smart home, the demand for indoor safety and environmental monitoring is increasing. Traditional security systems have problems such as single monitoring dimension, low intelligence, and lack of remote monitoring. Based on STM32F103C8T6 single-chip microcomputer, this design develops a multifunctional indoor security monitoring system integrating environmental monitoring and safety protection functions. The system detects temperature and humidity through DHT11, monitors smoke and air quality through MQ-2 and MQ-135, realizes fire and intrusion detection through flame sensor and Hall sensor, and displays data through OLED. At the same time, the ESP8266 WiFi module is used to realize remote monitoring and control of the mobile phone terminal, supporting threshold setting, relay control, and defense setting/withdrawal functions. The system provides an integrated solution for smart home security, improving the intelligence and convenience of indoor security monitoring.
Keywords: Indoor Security; STM32; Environmental Monitoring; WiFi Remote Control; Fire Alarm
目录
第1章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 烟雾检测模块方案选择
2.1.3 温湿度监测模块方案选择
2.1.4 显示模块方案选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 温湿度检测模块电路
3.3 烟雾检测模块电路
3.4 空气质量检测模块电路
3.5 火焰检测模块电路
3.6 霍尔传感器检测模块电路
3.7 独立按键模块电路
3.8 显示电路模块
3.9 WiFi 无线传输模块电路
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 火焰检测系统测试
5.6 霍尔传感器检测系统测试
5.7 独立按键功能测试
5.8 WiFi 无线传输与手机远程测控系统测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!