摘 要
在我国由于烟雾而引起来的灾害越来越多,人民每年因此而损失了大量的财产。|要是在没发生灾害之前,就由自动化系统告诉人们现场情况,而避免火灾发生的话,对人们将有很大的意义.因此本文对烟雾报警系统进行研究,是具有理论和实际双面意义的。
在硬件方面是利用8751单片机作为系统的核心,选用QM-N10作为传感器,通过ADC0809转换送CPU,扩展6264作为数据存储器,键盘和显示部分应用8155H作为扩展口,用动态显示方式,显示各个房间的状况的。
在软件方面要达到随时显示各个房间的情况,在超过一定值的时候,就由报警系统自动报警.为此编写了一个主程序、一个键盘子程序、核对子程序、采样子程序和3个显示子程序等.以达到上面提到的要求。
Abstract
In our country , the disaster that is caused by fume is more and more. In this aspect, our people lost a lot of possessions. If the condition of spot is informed by the automatization system before the disaster is rised, in that way, the meaning is very profound. So the article that researched the System of Fume Alarming is provided with theoretical and practical duplex importance.
In spect of haedware .This system is to makes use of the sigle chip Microcontroller, from 8751 Single chip Microcontroller constitute the system core and chooses the conductorthat use gather spreads to feel machine.passing the ADC-0809 sends into the CPU Expanding 6264 to save maching in data actions.at last Keyboard and manifestationPart applied 8155H and LED。
In spect of software Want to attain to at any time show the circumstance of the each room in the software aspect, at the time that exceed certainly worth, be report to the policed automatically by report to the police the system. wrote a main procedure for this plait, procedure of a keyboard son, check figures the son procedure, adopt the appearance procedure with the request that 3 manifestation sons procedure etc.. then attain to up mention.
目 录
1.绪论………………………………………………………………… 1
2.总体方案设计……………………………………………………… 2
1.1 应用系统的工作原理和设计求…………………………… 2
1.2 应用系统的设计内容……………………………………… 2
3.系统的硬件结构的设计…………………………………………… 5
2.1 传感器…………………………………………………………5
2.2 A/D转换器的介绍(ADC0809)…………………………………6
2.3主机……………………………………………………………11
2.4 地址琐存器、存贮器的介绍……………………………… 18
2.5 扩展I/O的介绍(8155H)…………………………………… 22
2.6 键盘和显示………………………………………………… 28
4.软件的设计……………………………………………………… 32
结束语 …………………………………………………………… 40
参考文献………………………………………………………… 41