项目编号:mcuclub-dz-368
设计简介:
项目名:防火防盗
项目编号:mcuclub-dz-368
单片机:STC89C52
功能简介:
1、通过火焰传感器检测是否发生明火,如果发生,声光报警
2、通过MQ-2检测烟雾浓度,如果烟雾值大于设置的最大值,声光报警
3、通过MQ-5检测当前可燃气体浓度,如果气体浓度大于设置最大值,声光报警
4、通过DS18B20检测温度值,如果温度值大于设置的最大值,声光报警
5、通过人体人体热释电模块监测监控区域是否有人,当有人,并且布防时,则声光警报
6、通过按键可以设置各阈值、手动控制布防撤防
7、通过显示屏显示数据
8、当检测到明火时,通过GSM发送“发生火灾”短信;当烟雾值大于设置的最大值时,通过GSM发送“烟雾过高”短信;当气体浓度大于设置最大值时,通过GSM发送“可燃气体泄露”短信;当温度值大于设置的最大值时,通过GSM发送“温度过高”短信;当布防时,检测到有人,通过GSM发送“有人闯入”短信
总字数:18860
实物链接:点击跳转
仿真链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
为降低火灾和偷盗事件发生的概率,保障人类生命财产安全。本文采用软硬件结合方式,设计一款操作简单、经济适用的防火防盗报警系统。硬件采用AD进行设计,选用是STC89C52为主控芯片;选用烟雾、火焰、可燃气体、温度、人体热释电等传感器件,进行数据采集模块的设计;选用蜂鸣器和LED灯,进行报警模块的设计;选用按键和LCD1602显示模块相互配合,进行预设值、实时监测值的设置和显示。软件采用KeiluVision4进行设计,设计好主程序和子程序,用主程序调用子程序,完成程序的修改和调试。实物测试表明,在相关参数异常时,发出声光报警提醒并将相关信息通过短信形式发送到手机,提醒管理员及时进行预防火灾处理。实物测试表面,本设计基本实现了系统预设的功能。该系统及时有效的了解火灾的特点及报警措施,为预防火灾和偷盗事件、降低经济财产损失,具有重大意义。
关键词:STC89C52;传感器;GSM;防火防盗,显示器
ABSTRACT
To reduce the probability of fire and theft incidents and ensure the safety of human life and property. This article adopts a combination of software and hardware to design a fire and anti-theft alarm system that is easy to operate and economically applicable. The hardware is designed using AD, with STC89C52 as the main control chip; Design a data acquisition module using sensors such as smoke, flames, combustible gases, temperature, and human pyroelectricity; Select buzzers and LED lights to design the alarm module; Select buttons and LCD1602 display module to work together to set and display preset values and real-time monitoring values. The software is designed using KeiluVision4, with the main program and subroutines designed. The subroutines are called by the main program to complete program modification and debugging. Physical testing has shown that when relevant parameters are abnormal, sound and light alarm reminders are issued and relevant information is sent to the mobile phone via SMS to remind the administrator to take timely fire prevention measures. On the surface of physical testing, this design basically achieves the preset functions of the system. The system timely and effectively understands the characteristics of fires and alarm measures, which is of great significance for preventing fires and theft incidents, and reducing economic and property losses.
Key words:STC89C52; Sensors; GSM; Fire and theft prevention, display
目录
第1章 绪论 1
第2章 总体方案设计 4
3 系统硬件设计 9
4 系统软件设计 19
5 仿真绘制与测试过程 27
6 实物制作与调试过程 32
结 论 38
致 谢 39
参 考 文 献 40