设计简介:
项目名:环境监测
项目编号:mcuclub-dz-350
单片机类型:STM32F103C8T6
具体功能:
从机功能:
1、通过DHT11检测温湿度
2、通过MQ-2检测烟雾值
3、通过火焰传感器检测是否发生明火
4、通过一个呼救按键可进行声光报警
5、通过zigbee将测量数据发送到从机端
主机功能:
1、通过zigbee获取从机端测量数据
2、通过按键设置各阈值,当测量值不在设置的阈值之间,进行声光报警
3、通过OLED显示数据
总字数:14805
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
基于Zigbee的环境温湿度烟雾火焰测控系统设计
摘 要
随着生活水平的提高,家庭环境的安全和舒适性变得越来越重要。然而,家庭中潜在危险和环境问题随时存在。例如,火灾、煤气泄漏、一氧化碳中毒等问题可能对家庭安全构成威胁。此外,温湿度等环境因素也会影响家庭的生活舒适度。因此,家庭环境监测预警系统的研究和开发变得至关重要。
本文介绍了一种基于物联网的环境温湿度烟雾火焰测控系统,旨在提高家庭安全和环境舒适度。该系统集成了多个传感器和控制器,具备以下功能:使用MQ-2传感器检测室内烟雾值,一旦检测到超过设置的最大值,系统将触发声光报警。使用火焰传感器监测室内是否有明火,如果存在明火,发出声光警报提醒。使用DHT11传感器监测室内温度和湿度,当温湿度处于异常状态时,发生声光报警。集成OLED显示屏,用于实时显示测量数据,使用户可以轻松监测环境状况。利用zigbee模块,系统可以将测量数据发送到手机端,同时用户可以远程控制系统的正常工作,从而提高家庭安全和舒适度。
这个系统的设计旨在提供一个智能化的家居环境监测和预警解决方案,使家庭成员能够实时监测和控制室内环境,以提高生活质量和安全性。
关键词:物联网;家庭环境监测;预警系统;安全性;传感器
Abstract
With the improvement of living standards, the safety and comfort of the home environment have become increasingly important. However, potential hazards and environmental issues exist at all times in the family. For example, issues such as fires, gas leaks, and carbon monoxide poisoning may pose a threat to family safety. In addition, environmental factors such as temperature and humidity can also affect the comfort of family life. Therefore, the research and development of household environmental monitoring and early warning systems have become crucial.
This article introduces an environmental temperature, humidity, smoke, and flame measurement and control system based on the Internet of Things, aiming to improve family safety and environmental comfort. The system integrates multiple sensors and controllers, and has the following functions: use MQ-2 sensors to detect indoor smoke values. Once the maximum set value is detected, the system will trigger an audible and visual alarm. Use a flame sensor to monitor whether there is an open flame in the room, and if there is an open flame, issue an audible and visual alarm reminder. Use DHT11 sensor to monitor indoor temperature and humidity. When the temperature and humidity are in an abnormal state, an audible and visual alarm will occur. Integrated OLED display screen for real-time display of measurement data, allowing users to easily monitor environmental conditions. Using the zigbee module, the system can send measurement data to the mobile phone, while users can remotely control the normal operation of the system, thereby improving family safety and comfort.
The design of this system aims to provide an intelligent home environment monitoring and early warning solution, enabling family members to monitor and control the indoor environment in real-time, in order to improve quality of life and safety.
Keywords: Internet of Things; Household environmental monitoring; Early warning system; Safety; sensor
目 录
基于Zigbee的环境温湿度烟雾火焰测控系统设计
摘 要
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 温湿度检测模块电路
3.4 火焰检测电路设计
3.5 显示模块电路
3.6 声光报警模块电路
3.7 独立按键模块电路
3.8 Zigbee模块电路
4 系统程序设计
4.1 编程软件介绍
4.2 系统主机主流程设计
4.3 系统从机主流程设计
4.4 独立按键
4.5 温湿度检测模块子流程
4.6 OLED显示流程设计
5 实物调试
5.1 实物总体设计
5.2 烟雾检测实物测试
5.3 天然气检测实物测试
5.4 是否有明火实物测试
5.5 一键报警实物测试
总结与展望
参考文献
致谢
附录
附录A:原理图
附录B:PCB
附录C:主程序