1 / 11
文档名称:

水晶手链.doc

格式:doc   页数:11页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

水晶手链.doc

上传人:rjmy2261 2015/9/15 文件大小:0 KB

下载得到文件列表

水晶手链.doc

相关文档

文档介绍

文档介绍:摘要
随着经济和科学技术的快速发展,人们对生活质量的提高和生活环境的改善越来越重视,液化气、煤气进入家庭的使用为人们带来了方便,也改善了城市的环境,但同时也给人们带来了潜在的危险,其中一氧化碳是最主要的危险源。本设计利用GS系列传感器,将置于测试环境中待测气体的浓度转换为模拟电压,再通过ADC0809将模拟电压转换为数字信号,送入单片机AT89C51中进行处理。为了用户对气体浓度进行实时了解,将AT89C51外接3片74LS164作为3位LED显示器的静态显示接口,把单片机的RXD作为数据输出线,TXD作为移位时钟脉冲。74LS164为TTL单向8位移位寄存器,通过8位移位寄存器74LS164可进行静态显示。通过设置气体浓度报警值,用单片机控制发光二极管和声控同时报警。利用单片机控制技术,制作了程控一氧化碳报警器。该仪器对一氧化碳(CO)进行实时监控,当一氧化碳的浓度超过允许值时,控制电路进行报警,并通过外接排风扇与电磁阀对其进行程控,以防事故的发生。另外为了防止程序陷入死循环,还利用x25045芯片组成的看门狗电路在程序陷入死循环时让单片机复位,而不用整个系统断电,从而保护了硬件电路。
由于所设计的数字气体报警器采用单片机AT89C51,其价格便宜,性能稳定,易于产品化。以GS气体传感器和AT89C51 单片机为核心, 设计气体泄漏报警器,该报警器设计方法简单易行,使用效果良好,下面给出了气体泄漏报警器的总体设计原理,关键的硬件电路和所有的软件程序设计。
关键字:单片机传感器智能化一氧化碳
Abstract
With the rapid development of economy and science and technology, the improvement of people's life quality and the improvement of the living environment more and more attention, the use of liquefied petroleum gas, gas entering the family brings convenient for people, also improves the environment of the city, but also brings the risk of potential at the same time, in which carbon monoxide is the main hazards。This design using the GS series sensors, will be placed in a test environment to test the gas concentrations are converted to analog voltage, again through the ADC0809 analog voltage is converted to digital signals, processed into single chip puter AT89C51. For user to understand the gas concentration, AT89C51 external 3 74 ls164 as three LED display static display interface, RXD microcontroller as a data output line, displacement of TXD as a clock pulse. 74 ls164 for TTL one-way 8 bits shift register, by 8 bits shift register 74 ls164 static display can be performed. By setting the gas concentration alarm value, using single-chip puter control leds and acoustic alarm at the same time. Using single-chip puter control technology, make the SPC carbon monoxide alarm. circuit, and through external fan and ic valve to SPC, to prevent the occurrence of accidents. Into dead circulation, in order to prevent the