基于单片机的烟雾检测系统,毕业论文 联系客服

发布时间 : 星期一 文章基于单片机的烟雾检测系统,毕业论文更新完毕开始阅读4d9e87c289eb172ded63b7bf

基于单片机的烟雾检测系统

摘 要

为了早期发现和通报有害烟雾,防止和减少危害,保护人身和财产安全。烟雾报警器能给人们提前警示。随着“信息时代”的到来,传感器技术得到了显著的进步,其应用领域越来越广泛,对其需求越来越迫切,要求越来越高。本文采用MQ-7型半导体电阻式烟雾传感器和AT89C2051单片机为核心技术设计的烟雾报警器,实现了烟雾报警、报警限设置、延时报警及与上位机串口通信等功能,对烟雾检测报警的实现技术进行了的有意义的探索与研究,在有害气体监测实现方面有一定的参考价值。

关键词 烟雾 报警器 AT89C2051 传感器

I

SMOKE DETECTION SYSTEM BASED

ON SINGLE CHIP

Abstract

For early detection and notification of harmful fumes, to prevent and reduce hazards and protect life and property safety. Smoke alarm can give people advance warning. With the \age\the arrival of sensor technology has been significant progress, more and more widely its applications, its demand for more and more urgent, requiring higher and higher. In this paper, MQ-7-type semiconductor resistance type smoke sensor and AT89C2051 microcontrollers as the core technology smoke alarm designed to achieve a smoke alarm, alarm limit settings, delay alarm and serial communication with the host computer and other functions, the implementation of the smoke detection alarm Technology for a meaningful exploration and research, monitoring the achievement of the harmful gas have some reference value.

KEY WORDS smoke alarm AT89C2051 sensor

II

目录

中文摘要 ...................................................................................................................... I 英文摘要 .................................................................................................................... II 1 绪论.......................................................................................................................... 1

1.1 问题由来.................................................................................................... 1 1.2 课题现状.................................................................................................... 2 1.3 论文的主要任务...................................................................................... 2 2 系统原理概述 ....................................................................................................... 4

2.1 烟雾检测报警器的设计思路 .............................................................. 4 2.2 系统硬件组成原理 ................................................................................. 4 2.3 烟雾传感器的选择 ................................................................................. 5 2.4 运放与A/D的选择 ................................................................................. 6 2.5 单片机系统部分...................................................................................... 9

2.5.1 单片机AT89C51介绍........................................................................ 9 2.5.2 定时/计数器的结构及控制............................................................ 10 2.5.3 中断控制.......................................................................................... 11 2.5.4 单片机外围电路介绍...................................................................... 12

2.6 报警部分.................................................................................................. 13 2.7 软件系统工作流程 ............................................................................... 15

2.7.1 工作过程及程序设计...................................................................... 16

3 系统设计 .............................................................................................................. 17

3.1 系统的硬件设计.................................................................................... 17 3.2 软件设计.................................................................................................. 19

3.2.1 A/D采样双通道流程....................................................................... 19 3.2.2 报警流程设计.................................................................................. 20

4 系统的仿真.......................................................................................................... 23

4.1 A/D转换的仿真 ..................................................................................... 24 4.2 滤波及报警算法调试 .......................................................................... 25 5 设计总结 .............................................................................................................. 27

5.1 实现目标与特点.................................................................................... 27 5.2 结论及不足 ............................................................................................. 28 致 谢........................................................................................................................ 29 参考文献 ................................................................................................................... 30 附 录1 .................................................................................................................... 31 附 录2 .................................................................................................................... 32

1