摘 要:社会经济的快速发展,人们的生活水平也在不断地提高,人们在享受各式电器给我们的生活带来的便利时,却忽略了它们所带来的安全隐患,导致一些家庭火灾事故的发生,然而现有的一些火灾报警系统成本过高,且集中在一些公共场合使用,所以设计一款轻便高效,成本较低的智能化的火灾报警系统是很有必要的。本设计结合了单片机的相关理论以及传感器方面的知识,设计了一款适合家庭使用的火灾报警系统。该系统由烟雾传感器、单片机、温度传感器以及其他的相关系统组成,可以实时的对周围环境的温度和烟雾浓度进行监测,出现异常情况时,可以进行报警。经检测该系统能够检测出周围环境中气体的浓度和温度,当温度或者气体的浓度超过我们的设定值时,可立刻实现报警,准确度较高,较少的出现误判的情况,并且成本较低,适合家庭使用。78906
毕业论文关键词:烟雾,温度,报警,单片机,传感器
Abstract:The rapid development of social economy, the living standard of people also constantly improve, people are enjoying all kinds of electrical appliances bring convenience to our life, but ignores the security hidden danger, they bring in some families of the fire accident happened, some of the existing fire alarm system cost is too high, and concentrated in some public places to use, so the design of a portable high efficiency, lower cost of intelligent fire alarm system is necessary。This design combines the relevant theories of single-chip microcomputer and sensor knowledge, designed a suitable for family use of fire alarm system。The system consists of the smoke sensor, microcontroller, temperature sensors, and other related systems, can be real-time monitoring on the surrounding environment of temperature and smoke concentration, abnormal situation, to call the police。Tested the system can detect the concentration of the gases in the surrounding environment and temperature, when the temperature or the concentration of the gas more than our set value, can realize the alarm immediately, high accuracy, less wrong, and lower cost, suitable for family use。
Keywords:Smoke,Temperature, Alarm,microcontroller,Sensors
目 录
1 绪论 4
1。1 课题的研究背景和意义 4
2 总体方案设计 5
2。1 系统原理及原理图 5
3 系统的硬件电路 6
3。1。单片机最小系统 6
3。2 检测电路设计 8
3。2。1 烟雾检测电路 8
3。2。2 温度检测电路设计 10
3。3 显示与报警电路 14
3。3。1显示电路 14
3。3。2 报警电路 14
3。4 按键控制及电源电路设计 15
4 软件设计 16
4。1 主程序设计 16
4。2 滤波子程序设计 16
4。3 线性化处理子程序设计 17
4。4 报警子程序设计 17
4。5 控制按键设计子程序 18
5 软件介绍 19