项目编号:mcuclub-dz-359

设计简介:

项目名:火灾检测
项目编号:mcuclub-dz-359
单片机类型:STC89C52
具体功能:
1、通过火焰传感器检测是否发生明火,如果发生,声光报警
2、通过MQ-2配合ADC0832检测烟雾浓度,如果烟雾值大于设置的最大值,声光报警
3、通过DS18B20检测温度值,如果温度值大于设置的最大值,声光报警
4、通过按键可以设置各阈值、手动控制水泵、风扇、切换模式
5、通过了lcd1602显示屏显示数据

总字数:13381

摘要

随着科技的进步和社会的发展,智能设施设备的广泛使用,使得火灾的发生概率大大增加,为了有效预防火灾的发生,设计一款智能火灾监测系统意义重大。

本文基于STC89C52单片机设计一款火灾检测系统。该系统通过多种传感器(火焰传感器、烟雾传感器和温度传感器)实时监测火灾的发生和各种危险指标,并通过声光报警进行报警提醒。具体功能包括以下几个方面:火焰传感器检测明火:系统通过火焰传感器实时检测明火的存在,一旦发生明火,触发声光报警提醒。烟雾传感器检测烟雾浓度:系统通过MQ-2传感器检测烟雾浓度,当烟雾浓度超过预设的最大值时,触发声光报警提醒。温度传感器检测温度值:系统通过DS18B20温度传感器检测当前环境的温度值,当温度超过预设的最大值时,触发声光报警。显示屏显示数据:系统通过LCD1602显示屏实时显示各项监测数据,包括烟雾浓度、是否有明火、温度值等。

通过本文的研究,我们成功设计和实现了一种功能丰富、安全可靠的单片机火灾检测系统。该系统具有高效的火灾监测能力,能够及时预警火灾危险,并进行报警提醒。在未来的实际应用中,该系统将对火灾防控工作起到重要的辅助作用,并有望在家庭、办公场所等多个领域得到广泛应用。

关键词:单片机;火灾检测;传感器;声光报警

Abstract

With the progress of technology and the development of society, the widespread use of intelligent facilities and equipment has greatly increased the probability of fire occurrence. In order to effectively prevent the occurrence of fires, designing an intelligent fire monitoring system is of great significance.

This article designs a fire detection system based on the STC89C52 microcontroller. The system monitors the occurrence of fires and various hazard indicators in real-time through various sensors (flame sensors, smoke sensors, and temperature sensors), and provides alarm reminders through sound and light alarms. The specific functions include the following aspects: flame sensor detection of open flames: The system detects the presence of open flames in real-time through the flame sensor. Once an open flame occurs, it triggers an audible and visual alarm reminder. Smoke sensor detects smoke concentration: The system detects smoke concentration through the MQ-2 sensor. When the smoke concentration exceeds the preset maximum value, an audible and visual alarm reminder is triggered. Temperature sensor detection of temperature value: The system detects the current temperature value of the environment through the DS18B20 temperature sensor. When the temperature exceeds the preset maximum value, an audible and visual alarm is triggered. Display screen display data: The system displays various monitoring data in real-time through the LCD1602 display screen, including smoke concentration, whether there is an open flame, temperature values, etc.

Through the research in this article, we have successfully designed and implemented a fully functional, safe and reliable microcontroller fire detection system. This system has efficient fire monitoring capabilities, which can timely warn of fire hazards and provide alarm reminders. In future practical applications, this system will play an important auxiliary role in fire prevention and control work, and is expected to be widely applied in multiple fields such as homes and office spaces.

Keywords: microcontroller; Fire detection; Sensors; Audible and visual alarm

目   录

摘要 1

Abstract 2

第1章绪论 5

1.1研究背景及意义 5

1.2国内外研究现状 5

1.3论文的主要内容 6

第2章 系统总体设计方案 7

2.1系统总体设计 7

2.2主要模块方案选择 7

2.2.1主控模块方案选择 7

2.2.2温度监测模块方案选择 8

2.2.3 烟雾监测模块方案选择 8

第3章硬件设计 10

3.1主控模块电路设计 10

3.2 火焰监测模块电路设计 11

3.3 烟雾监测模块电路设计 12

3.4 环境温度模块电路 13

3.5 显示模块电路设计 14

3.6 声光报警模块电路 15

3.7 按键模块电路设计 15

第4章 系统程序设计 17

4.1 编程软件介绍 17

4.2 系统主流程设计 17

4.3 独立按键 18

4.4 A/D模数转换子流程 19

4.5 温度检测模块子流程 20

4.6 LCD1602液晶显示子流程 21

第5章 仿真测试 23

5.1 整体仿真焊接图 23

5.2火焰监测仿真测试 23

5.3 烟雾检测仿真测试 23

5.4 环境温度检测仿真测试 24

第6章 实物测试 25

6.1 整体实物焊接图 25

6.2火焰监测实物测试 25

6.3 烟雾检测实物测试 26

6.4 环境温度检测实物测试 26

第7章 总结展望 28

参考文献 29

附录 30

附录A   原理图 30

附录B   PCB 31

附录C   主程序 32

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源