摘要
近年来全国火灾事故频繁发生,造成人,财,物的巨大损失。以前,火灾报警和控制都很落后,造成巨大的损失。现在,用户们对火灾报警和自动消防系统的要求越来越高,对于火灾的防范意识也越来越强。所以,或早报警系统还是很重要的。
从硬件设计方面来讲,本论文选用MQ-2型半导体可燃气体敏感元件烟雾的传感器,进行烟雾检测的实现,DS18B20温度传感器来实现温度检测,A/D转换器来实现模拟信号转换数字信号,外加声光报警电路。外围设备,结合单片机AD89C52芯片控制电路,从而实现报警提示。
软件方面,设计了烟雾检测和温度检测的书籍采集子程序,声光报警模块程序等。以AT89C52单片机和MQ-2型半导体电阻式烟雾传感器及数字式温度传感器为核心设计的报警器可实现声光保障自诊断,报警限设置,延时报警以及等等。是一种结构简单,使用方便,性能稳定,且价格低廉的智能化烟雾报警器,具有一定的实用价值。
关键词:报警器 烟雾传感器 温度传感器
abstract
In recent years, the national fire accident occurred frequently caused by human, financial, material great loss. Previously, fire alarm and control is very backward, caused great loss. Now, the user to the fire alarm and automatic fire system requirements more and more high, to fire prevention awareness is increasingly strong. Therefore, the fire alarm system is very important.
In terms of hardware design, this paper selects MQ – type 2 semiconductor combustible gas sensitive components smoke sensor realize smoke detection, DS1820 temperature sensor realize temperature detection, A/D converter simulating signal converted into digital signals, plus the acousto-optic alarm circuit. Peripherals, combined with single-chip microcomputer AD89C52 chip control circuit, realize alarm prompt.
Software, design the smoke detection and temperature testing data acquisition subroutine, sound-light alarm module procedures, etc.By AT89C52 single chip computer and MQ – type 2 semiconductor resistive smoke sensor and digital temperature sensor as the core design can realize the smoke alarm sound the alarm limit BaoZhang since diagnosis, set, delay alarm and etc. Function. Is a kind of simple structure, stable performance, easy to use, inexpensive and intelligent smog announciator, has certain practical
value. : Alarm smoke sensor temperature senso
目录
4.3 主要器件的选择…………………………………….. 10
4.4.1AT89S52构成与原理……………………………… 11
4.4.3LCD1602A显示 …………………………………. 14
第六章 系统调试与分析…………………………………….. 20