基于单片机的火灾报警系统设计摘要:火灾已成为我国常发性和破坏性以及影响力最强的灾害之一。随着经济和城市建设的快速发展,城市高层、地下建筑以及大型综合性建筑日益增多,火灾隐患也大大增加,火灾的数量及其造成的损失呈逐年上升趋势。在工业和民用建筑、宾馆、酒店、图书馆、科研和商业部门,火灾报警系统已成为必要的装置,火灾报警系统对现代建筑起着极其重要的安全保障作用。火灾报警控制器是火灾报警系统的核心,本文对火灾报警控制器和传感器做了深入的研究,并全面阐述了火灾报警控制器和传感器的硬件与软件设计及调试过程。本文设计的火灾报警系统能有效地防止和减少火灾危害,对保护人身安全和财产安全具有现实意义。关键词:火灾报警系统;单片机;传感器;声光报警DesignofFire-alarmSystemBasedonMicrocontrollerUnitAbstract:Inourcountry,asadisaster,thefirehasmanycharacteristics,suchas:mediocrity,breakageandinfluence.Inrecentyears,theeconomyandtheconstructiondevelopquickly,increasingofmodernbuilding,undergroundarchitectureandlarge-scaleconstruction,theoccasionoffireisincreasing,andthequantityoffireandthelosingitleadstoraisegradually,theintentionoffireproofingisavoidingloss.Intheinstructionofindustryandcivil,hotel,grogshop,library,thedepartmentofscientificresearchandtrade,thefirealarmsystemhasbecomethenecessaryinstallation.Thefirealarmsystemhasimportantfunctionstothemodernbuildings.Thefirealarmsystemcontrollerisitscore.Weintroducetheresearchoffirealarmcontrollerandnarrateitshardwareandsoftware.Thefirealarmsystemcanavoidandreducethefireharm.Itsettlestheproblemthatthewirefirealarmsystemcannotfulfill.Keywords:firealarmsystem,MCU,sensors,sound-lightalarm目录第1章绪论.............................................11.1概述....................................................11.2国内外火灾报警系统的发展现状及趋势21.2.1国内火灾报警系统的发展现状.....21.2.2国外火灾报警系统的发展现状.....31.3火灾报警系统的发展趋势.....................31.4研究目的和意义...................................61.5设计要求及完成的工作........................6第2章方案设计..........................................82.1引言....................................................82.2器件选择.............................................82.2.1控制芯片的选型..........................82.2.2火灾检测传感器的选择...............92.2.3温度传感器的选择.....................112.2.4显示器件的选择........................132.3总体方案设计....................................14第3章火灾报警系统的硬件设计...............183.1电源模块的设计.................................183.2单片机小系统电路.............................193.3传感器控制电路.................................223.3.1烟雾传感器控制电路.................223.3.2温度传感器控制电路.................233.4系统总体电路设计.............................23第4章火灾报警系统的软件设计...............264.1MCS-51系列单片机调试及开发工具........264.2主控程序设计....................................274.3传感器控制程序设计..........................284.3.1温度传感器程序设计.................284.3.2烟雾传感器程序设计.................294.4系统调试...........................................294.4.1电源部分调试............................294.4.2单片机小系统部分调试..............304.4.3系统整体调试............................31结论...........................................................34致谢...........................................................35参考文献....................................................36附录1...........................