摘 要:科学技术的快速发展,给人们带来的负面危害变得越来越多。如各种电子产品、石油天然气等我们身边经常接触到的一些生活用品,为火灾的发生埋下了巨大的隐患,火灾的危害正在成为我国最具危害性的灾难之一。为了避免火灾以及减少火灾造成的损失,我们必须要完善和改进火灾报警系统。本论文就是基于生活中的实际着手,设计了一种适用于室内的家庭楼宇智能火灾报警系统。该火灾报警系统是以STC89C52单片机作为控制中心,通过烟雾传感器、温度传感器等去探测烟雾温度等信号,不断反馈给报警控制器,然后报警控制器将接到的信号与内存的预设定值进行比较、判断确定其是否有火灾的发生。当现场烟雾或者温度发生异常时,该系统可实现声光报警、烟雾浓度、温度报警限设置等。该智能火灾报警控制系统性能稳定、结构简单、使用方便、智能化程度较高,具有一定的实用价值。76743
毕业论文关 键 词:STC89C52单片机、智能报警、传感器
Abstract:With the rapid development of science and technology, brings the negative damage has become more and more, such as all kinds of electronic products, such as oil and gas around us often come into contact with some of the articles for daily use, buried a great hidden danger for the occurrence of fire, the fire hazard is becoming one of the most dangerous disaster in our country。 In order to avoid fire and reduce fire losses, we must improve and improve the fire alarm system。 This thesis is based on actual life, design a suitable for indoor home building intelligent fire alarm system。 The fire alarm system based on STC89C52 single-chip microcomputer as the control center, through the smoke sensor and temperature sensor to detect smoke temperature signals, such as constant feedback to alarm controller, and then the alarm controller will receive the signal value compare with memory, judgment, determine if there is a fire。 When the smoke temperature or when an exception occurs, the system can realize the acousto-optic alarm, smoke alarm limit of concentration, temperature setting, fault self-diagnosis, delayed alarm, etc。, is a kind of stable performance, simple structure, convenient use, low cost, intelligent smoke sensor, has a certain practical value。
Keywords:STC89C52MCU,intelligent alarm,sensor
目 录
1 绪论 6
1。1 研究背景 6
1。2火灾报警控制系统的发展过程 6
1。3 烟雾报警器的发展趋势 7
2 系统总体分析 7
2。1 系统总体功能概括 7
2。2 系统硬件总体构架 8
2。3本系统的设计特点 9
3 系统硬件模块的设计 9
3。1单片机控制模块的设计 9
3。2数据采集模块电路设计 13
3。3数码管显示电路设计 18
3。4报警电路设计 20
3。5 按键控制电路设计 20
3。6电源电路的设计 21
4 系统软件设计 21
4。1系统软件总体框架 21
4。2 数据采集子程序 22
4。3 火灾报警与判断子程序设计