煤气检漏仪的设计与实现讲述.doc

煤气检漏仪的设计与实现讲述

《单片机设计》课程设计 题 目: 煤气检漏仪的设计与实现 专 业: 班 级: 姓 名: 学号: 指导老师: 小组成员: 成 绩: 目录 摘要 3 第一章 绪论 5 1.1 课程设计目的 5 1.2设计任务及要求 5 1.2.1煤气检漏仪的设计与实现任务,包含以下方面: 5 1.2.2 煤气检漏仪的设计与实现要求: 5 第二章 煤气检漏仪硬件电路的总体设计 6 2.1 基于单片机的设计 6 2.2系统硬件电路的总体设计 7 2.2.1 气体传感及A/D转换电路的设计 7 2.2.2 声光报警电路及显示电路的设计 10 2.2.4 处理芯片 12 第三章 煤气检漏仪软件的总体设计 13 3.1 主程序设计流程图 13 3.2 部分程序 14 3.3 仿真图 16 3.4 问题分析 17 心得体会总结 18 附录一: 19 附录二: 24 附录三:总体电路图及实物图 25 煤气检漏仪的设计与实现 摘要 随着“信息时代”的到来,作为获取信息的手段——传感器技术得到了显著的进步,其应用领域越来越广泛,对其要求越来越高,需求越来越迫切。传感器技术已成为衡量一个国家科学技术发展水平的重要标志之一。因此,了解并掌握各类传感器的基本结构、工作原理及特性是非常重要的。? ?煤气检漏器是为了防止煤气使用泄漏的危险的问题。本设计是采用单片机STC89C52作为核心元件,利用液晶lcd1602和LED灯作为显示元件以及蜂鸣器作为声音报警元件,在此设计了利用一个LED灯和液晶1602,其中液晶用于显示煤气泄漏的浓度显示,LED用于显示煤气泄漏危险的信号灯,蜂鸣器显示煤气泄漏的声音信号。本文详细的介绍了系统硬件与软件的设计过程。由于单片机的集成度高,功能强,通用性好,特别是它具有体积小,重量轻,能耗低,价格便宜,可靠性好,抗干扰能力强和使用方便等方面的独特的优点,采用该装置可以根据实际情况进行精密修改,具有低功耗,可靠性,安全性以及低成本等特点。 关键词: 煤气检测;报警;STC89C52 ;lcd1602 Design and Implementation of the gas leak detector Abstract With the coming of the information age, as a means of access to information, sensor technology has been remarkable progress, its application field is more and more widely, the demand is higher and higher, demand has become more and more urgent.Sensor technology has become a measure of a country one of the important symbol of the levels of science and technology development.Therefore, to understand and master the basic structure, working principle and characteristics of various types of sensors is very important.?The gas leak detector is to prevent gas using leak dangerous problem.This design is STC89C52 by single chip microcomputer as the core components, using liquid crystal lcd1602 and leds as a display element and buzzer as a voice alarm components, in this design by using a LED lights and LCD 1602, of which liquid crystal used to display the concentration of the gas leak, the LED is

文档评论(0)

1亿VIP精品文档

相关文档