摘 要:随着现代家庭用火、用电量的增加,家庭火灾发生的频率越来越高。降低火灾发生的频率以及减少火灾造成的损失是设计家庭火灾报警系统的目的。
本设计所研究的无线多功能火灾报警器采用STC89C51为核心控制器,利用气体传感器MQ-2、ADC0809模数转换器、DS18B20温度传感器等实现基本功能。通过这些传感器和芯片,当环境中可燃气体浓度或温度等发生变化时系统会发出相应的灯光报警信号和声音报警信号,以此来实现火灾报警,智能化提示。66637
通过proteus软件仿真证明,当温度和烟雾超过设定值时,会进行声光报警,所以本设计是可行的。
毕业论文关键词:气体传感器MQ-2,火灾报警,单片机,智能控制,DS18B20
Abstract: Along with the modern home with fire, electricity consumption increases, the frequency of home fires is getting higher and higher. Reduce the frequency of firs and reduce fire losses is the purpose of my design home fire alarm system.
Wireless multi-functional fire alarm in the paper uses STC89C51 as the core controller, the realization of the basic functions of the gas sensor MQ-2, ADC0809 converter etc. Through these sensors and chips, when environmental smoke concentration or combustible gas concentration changes the system sends out corresponding light alarm signal and the sound alarm signal, in order to achieve smoke alarm, when the smoke reaches a certain range, the system can also drive the relay, the relay can drive a load, such as a ventilation fan, alarm signal lamp, fire hydrant water tap switch etc. Implementation of intelligent alarm control.
Through the proteus software simulation, when the temperature and smoke more than the set value, the lighting and sound and light alarm, so this design is feasible.
Key words: MQ-2 gas sensor, fire alarm, MCU, intelligent control, DS18B20
目录
1 绪论 4
1.1 课题的研究背景 4
1.2 课题的研究目的与意义 4
1.3 火灾报警器的发展与现状 5
1.4 课题的研究内容 5
2 火灾报警器的总体方案设计 6
2.1 系统的功能要求 6
2.2 系统的技术要求 6
2.3 系统的组成及方案设计 6
3 系统的硬件设计 7
3.1 总体电路 7
3.2 主控电路 8
3.3 烟雾探测电路的设计 10
3.4 液晶显示电路设计 13
3.5 声光报警提示电路 15
3.6 温度采集电路 17
3.7 按键电路 21
4 系统的软件设计 21
4.1 软件介绍 21
4.2 系统程序流程图 23
5 火灾报警器的测试结果及结论 24
5.1 调试 24
5.2 仿真 25