基于单片机的红外检测防盗
系统的
设计摘 要
本系统采用了热释电红外传感器,它的制作简单、成本低、安装比较方便,而且防盗性能比较稳定,抗干扰能力强、灵敏度高、安全可靠。这种防盗器安装隐蔽,不易被盗贼发现,同时它的信号经过单片机系统处理后方便和PC机
通信,便于多用户统一管理。本设计包括硬件和
软件设计两个部分。硬件部分包括单片机控制电路、红外探头电路、驱动执行报警电路、LED控制电路等部分组成。处理器采用51系列单片机AT89C51,整个系统是在系统软件控制下
工作的。
随着时代的不断进步, 人们对自己所处环境的安全性提出了更高的要求,尤其是在家居安全方面,不得不时刻留意那些不速之客。现在很多小区都安装了智能报警系统, 因而大大提高了小区的安全程度 , 有效保证了居民的人身财产安全。由于红外线是不可见光, 有很强的隐蔽性和保密性, 因此在防盗、警戒等安保装置中得到了广泛的应用。
关键字:单片机;红外传感器;数据采集;报警电路
The Microcontroller-based Design of Imfrared Alarm
Abstract
This system used Pyroelectric infrared sensor. Its manufacture is simple, and its cost is low, and fixing is convenient. Besides, the system has many merits, such as steady guard against theft, and strong antijamming ability, and high thesensitivity, and high reliability. The fixxing of this alarm is covert, which is discovered easily by cracksman. After has been processed by SCM, the signal of alarm communicates with PC, which is convenient for uniform management. This design includes hardware part and software part. The hardware part includes the control circuit of SCM, and the infrared probe circuit,and the alarm circuit, and LED control circuit. The SCM uses AT89C51, the overall system works under the control of the systemsoftware.
As the era of progress, people to their place environment safety put forward higher request, especially in household security, had to stay up-to-date on those uninvited guests. Now many residential installed intelligent alarm system, thus greatly improve the safety degree of community, effectively ensuring the residents of person property safety. Due to the infrared is not visible, have very strong concealment and confidentiality, therefore in the guard against theft, vigilance etc security device has been widely used.
Key
words :SCM; infrared sensor; data collection; alarm circuit
目录
摘 要 I
Abstract II
第一章 绪 论 1
1.1 选题背景与意义 1
1.2 红外探测的发展现状和发展趋势 1
1.3 论文综述 2
第二章 基础知识介绍 3
2.1 热释电红外传感器简单介绍 3
2.2 PIR的原理特性 3
2.2.1 红外接头外形及与MCU相接电路图 3
2.3 AT89C51简单介绍 4
2.3.1 AT89C51单片机结构 4
2.3.2 AT89C51管脚说明 5
2.4 AD574A简介 6
2.5 AD574A与51单片机的连接电路图 9
3.1 总体电路设计 10
3.2 具体电路设计 10
3.2.1 热释电红外原理 10
3.2.2 放大电路设计 11
3.2.3 时钟设计电路 11
3.2.4 复位电路设计 12
3.2.5 发光报警电路设计 12
3.2.6 声音报警电路设计 13
3.3 硬件电路图及说明 13
第四章 软件实现 15
4.1 编程KEIL环境介绍 15
4.2 KEIL软件编程步骤 15
4.3 HEX
程序下载步骤 19
4.4 程序流程 22
第五章 结束语 24
致谢