项目编号:mcuclub-jj-042

设计简介:

项目名:防火防盗
单片机:STC89C52
功能简介:
1、通过火焰传感器检测是否发生明火,如果发生,通过继电器控制水泵灭火,并声光报警
2、通过MQ-2检测烟雾浓度,如果烟雾值大于设置的最大值,通过继电器控制风扇通风,并声光报警
3、通过MQ-5检测当前可燃气体浓度,如果气体浓度大于设置最大值,通过继电器控制风扇通风,并声光报警
4、通过DS18B20检测温度值,如果温度值大于设置的最大值,通过继电器控制风扇通风,并声光报警
5、通过人体人体热释电模块监测监控区域是否有人,当有人,并且布防时,则声光警报
6、通过按键可以设置各阈值、手动控制水泵、风扇、切换模式、布防撤防
7、通过显示屏显示数据
扩展功能:当检测到明火时,通过GSM发送“发生火灾”短信;当烟雾值大于设置的最大值时,通过GSM发送“烟雾过高”短信;
当气体浓度大于设置最大值时,通过GSM发送“可燃气体泄露”短信;当温度值大于设置的最大值时,通过GSM发送“温度过高”短信;
当布防时,检测到有人,通过GSM发送“有人闯入”短信

总字数:17293

摘   要

近年来,随着网络通信技术、电子技术和计算机技术的迅猛发展,以及社会经济的飞速发展和人民生活水平的日益提高,人们对其住宅的要求也越来越高,大家不仅希望居室温馨、舒适,而且对其安全性、智能化方面也提出了更高的要求。现代电子信息技术和通讯技术的飞速发展已经为智能化安全住宅的研究提供了强有力的技术支持。目前我国主要的的防盗方式是以安装防盗门、防盗锁为主,但是这类设备主要是以增加盗贼入室的难度来达到防盗目的。这种单纯的机械装置,在较长时间无人在场的情况下,防盗效果往往不尽如人意,而且影响房屋美观,在防火逃生方面上给人们带来了难

本文是以STM32单片机为核心的家庭智能防火防盗报警系统,它是一种操作方便、运行可靠的智能型报警系统,利用传感器实现防火、防盗、自动控制等家庭所要求的安全监控和报警功能。采用红外、火焰、温度、可燃气体、温度等传感器实时监测家庭安全情况,如有异常系统会及时通过单片机控制固态继电器,检测到火灾控制水泵工作,检测到气体大于设置的最大值控制通风风扇打开,布防检测到人长时间停留进行声光报警提醒。此系统使得家庭主人及时的了解家里的各种信息,使家庭安全得到更大的保证。

关键字:单片机;防火防盗;声光报警;水泵;通风

Abstract

In recent years, with the rapid development of network communication technology, electronic technology, and computer technology, as well as the rapid development of social economy and the increasing improvement of people’s living standards, people’s requirements for their homes have become increasingly high. People not only hope for warm and comfortable living rooms, but also put forward higher requirements for their safety and intelligence. The rapid development of modern electronic information technology and communication technology has provided strong technical support for the research of intelligent and secure housing. At present, the main anti-theft method in China is to install anti-theft doors and locks, but this type of equipment is mainly used to increase the difficulty of burglars entering the house to achieve anti-theft purposes. This simple mechanical device, when left unattended for a long time, often has unsatisfactory anti-theft effects and affects the aesthetics of the house, making it difficult for people to escape from fire

This article is a home intelligent fire and anti-theft alarm system based on the STC89C52 microcontroller. It is a convenient and reliable intelligent alarm system that utilizes sensors to achieve safety monitoring and alarm functions required by families such as fire prevention, anti-theft, and automatic control. Using infrared, flame, temperature, combustible gas, temperature and other sensors to monitor household safety in real-time. If there are any abnormalities, the system will promptly control the solid-state relay through a microcontroller to detect a fire and control the water pump to work. If the gas is detected to be greater than the set maximum value, the ventilation fan will be controlled to open. If a person is detected to stay for a long time, an audible and visual alarm will be given to remind. This system enables family owners to timely understand various information at home, ensuring greater safety for the family.

Keywords: microcontroller; Fire and theft prevention; Audible and visual alarm; Water pump; improve air circulation.

目    录

1 绪   论 1

1.1 研究背景目的及其研究意义 1

1.2 国内外研究现状 2

1.3 实现功能 4

2 系统主题设计 5

2.1 系统框架设计 5

2.2 主要模块方案选择 6

2.2.1 主控模块方案选择 6

2.2.2 显示模块方案选择 6

2.2.3 火焰检测模块方案选择 7

2.2.4 可燃气体检测模块电路 8

2.2.5 温度检测模块电路 9

2.2.6 人体检测模块电路 10

3 硬件设计 12

3.1 主控模块电路 12

3.2 火焰检测模块电路 13

3.3 烟雾检测模块电路 14

3.4 可燃气体检测模块电路 15

3.5 温度检测模块电路 16

3.6 人体热释电检测模块电路 16

3.7 OLED显示模块电路 17

3.8 继电器模块电路 17

3.9 按键模块电路 18

3.10 声光报警模块电路 19

4 系统程序设计 20

4.1 编程软件介绍 20

4.2 系统主流程设计 20

4.3 独立按键 22

4.4 温度检测模块子流程 23

4.5 OLED显示流程设计 25

5 实物的制作与调试 27

5.1 整体实物焊接图 27

5.2 火焰测控实物测试 27

5.3 烟雾测控实物测试 29

5.4 可燃气体测控实物测试 31

5.5 温度测控实物测试 33

5.6 防盗测控实物测试 35

6 结  论 38

参考文献 39

致  谢 40

附录 41

附录1:原理图 41附录2:PCB 42

附录3:主程序 43

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

发表评论

后才能评论

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

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

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

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

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