摘要
随着现代家庭对火源和电力使用的日益增加,家庭火灾的风险也随之上升,烟雾声光报警器因此成为各类场所不可或缺的安全设备。本课题设计了一款基于STC89C51单片机的无线多功能烟雾声光报警器。该报警器集成了气体传感器MQ-2、ADC0832模数转换器以及DS18B20温度传感器等关键组件,实现了对环境中可燃气体浓度、温度等参数的实时监测。一旦检测到异常,系统立即触发灯光和声音报警信号,有效实现火灾预警和智能化安全提示。本研究不仅提升了家庭及公共场所的安全防护水平,也为烟雾报警技术的发展提供了新的思路。
关键词:STC89C51单片机;烟雾报警;气体传感器MQ-2;智能安全;DS18B20温度传感器
Abstract
With the increasing use of fire sources and electricity in modern homes, the risk of home fire also increases, and the smoke sound and light alarm has become an indispensable safety equipment in all kinds of places. This paper designs a wireless multi-function smoke alarm based on STC89C51. The alarm integrates key components such as gas sensor MQ-2, ADC0832 analog-to-digital converter and DS18B20 temperature sensor, to realize real-time monitoring of combustible gas concentration and temperature in the environment. Once the abnormality is detected, the system immediately triggers the light and sound alarm signal, effectively realizing the fire warning and intelligent safety prompt. This study not only improves the safety protection level of families and public places, but also provides new ideas for the development of smoke alarm technology.
Key words: STC89C51 single-chip microcomputer; smoke alarm; gas sensor MQ-2; intelligent safety; DS18B20 temperature sensor
目录
摘要
Abstract
目录
1 绪论
1.1 课题的研究背景
1.2 课题的研究目的与意义
1.3 烟雾声光报警器的发展与现状
1.4课题的研究内容
2 烟雾声光报警器的总体方案设计
2.1系统的功能要求
2.2 系统的技术要求
2.3 系统的组成及方案设计
3 系统的硬件设计
3.1 主控电路
3.2 烟雾探测电路的设计
3.2.1 MQ-2介绍
3.2.2 ADC0832介绍
3.3 液晶显示电路设计
3.4 声光报警提示电路
3.4.1 灯光提示电路
3.4.2 声音报警电路
3.5 温度采集电路
3.5.1 DS18B20概述
3.5.2 DS18B20引脚介绍
3.5.3 DS18B20的内部结构
3.5.4 DS18B20的程序流程图
3.6 按键电路
4 系统的软件设计
4.1 软件介绍
4.2 系统程序流程图
5烟雾声光报警器的测试结果及结论
5.1 调试
5.2 结论
致谢
参考文献
源程序













