文档详情

基于单片机的火灾报警系统的设计与实现大学生毕业论文(设计).doc

发布:2016-04-30约2.07万字共47页下载文档
文本预览下载声明
摘 要 可燃气体敏感元件 关键词:火灾报警;单片机;烟雾传感器;温度传感器; Abstract With?the?rapid?development?of?modern?information?technology?and?industrial? automation?technology?gradually?realize,?people?on?the?structures?within?the?safety?anddisaster?warning?system?more?attention,?to?prevent?the?fire?in?the?building,?people?have?taken?many?methods?to?prevent?fire.?Including?through?informatization?and?automated?method?to?detect?the?smoke?in?the?building?and?temperature,?achieve?the?purpose?of?fire detection.? In this paper, resistance type smoke sensor and single-chip microcomputer as the core technology and electronic technology, designs a technology better fire alarm. The selection of MQ-2 type semiconductor gas sensitive element smoke sensor smoke detection. The selection of AT89S52 chip, the integration of the A/D conversion, hardware multiplier, hardware pulse width modulator and other resources. With AT89S52 MCU and MQ-2 type semiconductor resistor type smoke sensor as the core design of the fire alarm can alarm, fault diagnosis, concentration level display, alarm limit settings, temperature display and temperature alarm value setting and other functions. Is a kind of simple structure, stable performance, convenient operation, low price, intelligent fire alarm, has a certain practical value. Key words: Fire alarm; Single chip microcomputer; The smoke sensor; The temperature sensor 目 录 第1章 绪论 1 1.1 课题研究背景及意义 1 1.2 火灾报警器的发展历程和发展现状 1 1.3 论文主要内容及结构安排 3 第2章 总体方案论证与设计 4 2.1 设计要求 4 2.2 总体设计方案 4 2.3 各功能模块方案选择 5 2.4 本章小结 6 第3章 系统硬件设计 8 3.1 单片机最小系统电路设计 8 3.2 DS18B20测温电路 10 3.3四位数码管显示电路的结构和工作原理 12 3.4 MQ-2烟雾传感器转换电路 15 3.5报警温度设定按键电路 17 3.6 电源电路 17 3.7 本章小结 18 第4章 系统软件设计 19 4.1 主程序流程图 19 4.2中位值平均滤波法数字滤波流程图 21 4.3插值法线性化处理子流程图 22 4.4报警子程序流程图 25 4.5控制按键设计子程序流程图 26 4.6 本章小结 26 第5章 系统调试 27 5.1 Proteus软件介绍 27 5.2 Keil C软件介绍 28 5.3 软件调试 28 5.4 调试结果 29 5.5 本章小结 31 结 论 32 参考文献 33 致 谢 35 附录1 程序清单 36 附录2 电路原理图 42 第1章 绪论 1.1 课题研究背景及意义 在各种灾害中,火灾是最经常、最普遍地威胁公众安全和社会发展的主要灾害之一。它威胁着人们的健康、生命和财产安全,一旦引发火灾,就能使成千上万的财产瞬间变为灰
显示全部
相似文档