内容发布更新时间 : 2024/12/23 8:34:55星期一 下面是文章的全部内容请认真阅读。
家用可燃气体报警器的设计
学生: 指导教师
内容摘要:本设计采用了GS系列的传感器,将一定浓度的气体转换为电压显示,并通
过ADC0809将电压信号转换为模拟信号,再交由AT89C51中进行分析和处理。为了方便用户能进行直观的了解,3位LED显示器的静态显示接口是AT89C51外接3片74LS164,数据输出线是该器件的RXD,移位时钟脉冲为TXD。TTL单向8位移位寄存器是74LS164,最终可达到并行输出,串行输入,8位移位寄存器74LS164会将静态显示出来。在拟定警报预设值后,单片机控制音乐和闪光效果会体现出警报。单片机的操作了程控一氧化碳报警器的全部设置。着以程序对一氧化碳的浓度进行24小时不间断监控,当有毒有害危险气体超出了我们预定的危险值后,我们设计的电路便会自动进行报警处理,电路此功能的实现是外接排风扇与电磁阀相合作完成进行的,为防不测。在程序正常运行的时候难免会出现程序系统陷入了死循环,面对这种情况的时候我们需要在程序陷入了死循环的时候利用X25045芯片组成的电路进行复位,从而避免了断开整个系统的连电,由此引荐电路得到了保护。
单片机AT89C51是数字气体报警器的主要应用器件,性价比十分高。以此为设计
核心展开对可燃气体的泄漏的报警装置的设计,接下来给出所有的设计原理与硬件电路和程序的设计。
关键词:气体泄露报警器 一氧化碳 AT89C51单片机
I
Design for household combustible gas alarm
Abstract:The design of the GS series of sensors, will be placed
on the test environment measured the concentration of gas converted to analog voltage, and then through the ADC0809 will be converted to analog voltage digital signal, into the SCM AT89C51 in the process. To users of gas concentrations in real-time understanding, AT89C51 will be linked three 74 LS164 externally as the three LED display static display interface, and the MCU RXD as the output data line, TXD as a shift clock pulse. 74LS164 TTL is a one-way 8-bit register displacement which can be realized enter serial, parallel output, through the 8-bit shift register 74 LS164 can be static display. By setting the alarm level, the MCU control LED and music IC alarm at the same time.SCM control use of technology, produced a program-controlled carbon monoxide alarm.The instrument of carbon monoxide (CO) for real-time monitoring, when the concentration of carbon monoxide is more than allowed value, the control circuit for alarm, and through an external electromagnetic valve row fans and their program-controlled, to prevent accidents. In addition procedures to prevent a cycle of death, also used x25045 watchdog circuit chip composed of a death in the process so that when the MCU reset cycle, instead of the whole system off, thereby protecting the hardware circuit.
As designed by the number of gas alarm using SCM AT89C51,
it is cheap, stable performance, easy-production. GS to gas sensors and AT89C51 microcontroller as the core design of gas leakage alarm, the alarm system design method is simple, use good effect,the following is a gas leakage alarm the general design principles, the key hardware and all The software program design.
II
Keywords:Co
Leaking gases alarm AT89C51 microcomtuper
GS Gases Sensors
III