文档介绍:目录
摘要 3
ABSTRACT 3
第一章前言 4
第二章方案选择及分析 6
一方案的选择及制定 7
二单片机的选择 7
三检测元件的选择 8
四显示与报警部分 9
第三章主要硬件介绍 9
一 AT89C51 单片机说明 10
1 AT89C51 引脚说明 10
2 AT89C51 内存空间 14
3 AT89C51 复位后内部各寄存器的数据值 16
4 AT89C51 各中断源向量地址 16
5 主要特殊功能寄存器说明 16
二气敏传感器 22
1 电阻式金属氧化物半导体传感器 22
2 非电阻式金属氧化物半导体气体传感器 24
第四章瓦斯探测器硬件的设计与实现 25
一系统总体设计 25
二单片机电路 26
三瓦斯检测电路的设计 26
四 LED灯显示的设计 27
五蜂鸣器的设计 27
六时钟电路的设计 28
七复位电路的设计 28
第五章系统的软件设计 30
一设计要求 30
二单片机的工作过程 31
三软件流程和源程序 32
第六章调试及运行结论 37
一调试 37
二所达到的性能指标: 37
三运行结论 38
谢辞 39
参考文献 40
瓦斯探测器的设计与实现
学生:袁成斌指导教师:王德杰
摘要
 本文概述了瓦斯探测器的现状及其基本原理,主要论述了利用单片机实现瓦斯探测器的设计与实现方法。瓦斯探测器是一种采用单片机控制的智能化仪表,为了满足煤矿井下使用携带方便、安全可靠等要求,在设计上作了如下的必要的考虑:考虑到小型化仪表的结构,以及今后改进的方便,我们将单片机进行了模块化处理。系统的各个模块都由它控制完成。
本文针对目前情况设计一种井下便携式瓦斯探测器,当瓦斯气体浓度接近危险值时,自动发出报警,提醒井下人员立刻离开。该设备同时还具备灵敏度调节和检测强度调节开关,有简单、方便、准确、实用等特点。
关键词: AT89C51 瓦斯气体检测气敏传感器报警
Abstract
This paper has outlined the gas detector present situation and its the basic principle, mainly elaborated the use monolithic integrated circuit realization gas detector design and the realization method. The gas detector is one kind the intellectualized measuring appliance which uses the monolithic integrated circuit to control, in order to satisfy the coal mine mine shaft use to carry conveniently, safe is reliable and so on the request, has made the following necessity consideration in the design: Considered the miniaturized measuring appliance the structure, as well as next improvement convenient, we have carried on the monolithic integrated circuit modular processing. System each module all controls by pletes.
This paper designs one kind of mineshaft portable gas detector in view of the present situation, when the gas gas density approaches the dangerous value, automatically sends out reports to the police, the reminder mineshaft personnel leaves immediately. At the same time this equipment also has the sensitivity adjustment and the examination intensity regulating cock, has simply, convenient, accurate, is practical and so on th