"景先生毕设|www.jxszl.com

单片机的智能火灾报警系统2

2020-12-20 23:54编辑: www.jxszl.com景先生毕设
目录
摘要
一、绪论
(一)课题的背景
(二)国内外烟雾浓度检测情况
二、基础知识理论
(一)STC89C52单片机简介
(二)ADC0832介绍
(三)传感器DS18B20简介
(四)MQ2介绍
三、硬件电路设计
(一)方案的选择
1、单片机控制模块
2、数码管显示模块
3、温度测试
(二)具体电路设计
1、单片机控制模块
2、AD采集电路检测模块
3、温度传感器模块
4、蜂鸣器模块设计
5、按键控制模快
6、结果显示模块
四、设计的总体方案
(一)系统叙述
(二)系统框架图
(三)软件设计模块
(四)最终实现结果
五、总结
六、附录
(一)部分程序代码:
(二)原理图
(三)元器件清单及PCB图
(四)实物照片
七、参考资料
八、致谢
摘要
由于科技飞速发展,人们生活节奏的不断变快,各种新能源在人民生活中发挥出重要的作用,但是也为安全埋下了隐患。所以,我们必须要有一个能够提前感知危险的设施。本设计可以通过检测空气中因起火产生的烟雾和升高的温度向人们发出报警提示声。
本设计单片机型号为51单片机的STC89C52,温度传感器选用DS18B20。用数码管作为设计的显示部分。三节干电池共4.5V作为设计的电源部分。发出报警提示声由蜂鸣器实现,四个按键作为调节设计中的参数。空气中的烟雾通过MQ-2采集,可以准确的把浓度显示在数码管上。单片机无法直接识别MQ-2传回的数据,所以必须接上ADC0832模数转换部分。DS18B20正常工作时检测空气中的温度,通过一系列的转换把温度显示在数码管上。也可以通过调节按键来设置温度和烟雾浓度的不同
 

 *51今日免费论文网|www.jxszl.com +Q: ¥351916072¥ 
8B20。用数码管作为设计的显示部分。三节干电池共4.5V作为设计的电源部分。发出报警提示声由蜂鸣器实现,四个按键作为调节设计中的参数。空气中的烟雾通过MQ-2采集,可以准确的把浓度显示在数码管上。单片机无法直接识别MQ-2传回的数据,所以必须接上ADC0832模数转换部分。DS18B20正常工作时检测空气中的温度,通过一系列的转换把温度显示在数码管上。也可以通过调节按键来设置温度和烟雾浓度的不同报警等级。一旦空气中的温度过高或者空气中的烟雾浓度过高并且大于我们设定的值时,单片机便会驱动蜂鸣器工作向人们发出报警提示声。
关键字:单片机STC89C52, MQ-2烟雾传感器 , ADC0832 , 温度传感器DS18B20
ABSTRACT
Due to the rapid development of science and technology, peoples growing fast, the pace of life, all kinds of new energy play a important role in peoples life, but also left behind potential dangers for safety. So, we must have a can of perceived danger facilities in advance. This design can be achieved by testing because of the fire smoke in the air and rise in temperature to send sound alarm prompt.
This design for 51 microcontroller STC89C52 single-chip types, temperature sensor DS18B20. Using digital tube as a display part of the design. Three 4.5 V dry cell as the power part of the design. The alarm prompt sound emitted by a buzzer, as to adjust the parameters in the design of the four buttons. The smoke in the air through the MQ - 2 collection, can accurate the concentration in the digital tube display. MCU cant directly identify the MQ - 2 data, so must be connected to ADC0832 analog-to-digital conversion parts. Ds18b20 detection in the air temperature in normal working conditions, through a series of transformation the temperature in the digital tube display. Can also adjust the buttons to set the temperature and smoke concentration of different alarm level. Once the temperature is too high in the air or smoke concentration is too high in the air and than we set value, the SCM will drive buzzer to send sound alarm prompt work.
Key words: STC89C52 singlechip, MQ - 2 alcohol sensor, A
原文链接:http://www.jxszl.com/dzxx/txgc/33370.html