设计说明书
总字数:18000+
摘 要
为降低火灾和偷盗事件发生的概率,保障人类生命财产安全。本文采用软硬件结合方式,设计一款操作简单、经济适用的防火防盗报警系统。硬件采用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.1 课题背景和意义
1.2 国内外研究现状
1.3 项目的设计任务
第2章 总体方案设计
2.1 系统主要模块方案选择
2.1.1主控芯片选择
2.1.2 显示模块方案选择
2.1.3 MQ-2气体检测模块方案选择
2.1.4 温度检测模块方案选择
2.2 系统总体设计思路
3 系统硬件设计
3.1 主控电路模块
3.2 火焰检测电路设计
3.3 DS18B20湿度检测模块电路设计
3.4 人体热释电红外感应电路模块设计
3.5 MQ-2 气体检测模块电路
3.6天然气检测模块电路
3.7 LCD1602显示模块电路设计
3.8 声光报警检测模块电路
3.9 独立按键模块电路设计
3.10 GSM短信发送模块电路设计
4 系统软件设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 A/D模数转换子流程
4.5 温度检测模块子流程
4.6 GSM模块子流程设计
4.8 LCD1602液晶显示子流程
5 仿真绘制与测试过程
5.1 整体仿真测试图
5.2 温度监测模块测试
5.3 MQ-2监测仿真测试
5.4 人体热释电红外感应模块仿真测试
5.5 明火监测仿真测试
5.6 可燃气体浓度监测仿真测试
5.7GSM通信仿真测试
6 实物制作与调试过程
6.1 整体实物测试图
6.2 温度监测模块测试
6.3 MQ-2监测实物测试
6.4 人体热释电红外感应模块实物测试
6.5 明火监测实物测试
6.6 可燃气体浓度监测实物测试
6.7GSM通信实物测试
结 论
致 谢
参 考 文 献
附录A: 原理图
附录B:PCB
附录C:程序
购买后可查看具体内容!