论文编号:JD934 论文字数:6916,页数:16
摘 要:本系统采用了热释电红外传感器,它的制作简单、成本低、安装比较方便,而且防盗性能比较稳定,抗干扰能力强、灵敏度高、安全可靠。这种防盗器安装隐蔽,不易被盗贼发现,同时它的信号经过单片机系统处理后方便和PC机通信,便于多用户统一管理。本设计包括硬件和软件设计两个部分。硬件部分包括单片机控制电路、红外探头电路、驱动执行报警电路、LED控制电路等部分组成。处理器采用51系列单片机AT89C51,整个系统是在系统软件控制下工作的。
关键词:单片机;红外传感器;数据采集;报警电路
The 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.
Key words: SCM; infrared sensor; data collection; alarm circuit
目 录
摘要……………………………………………………………………………………………1
1 引言…………………………………………………………………………………………4
1.1设计任务与要求 …………………………………………………………………………4
2 基础知识介绍………………………………………………………………………………4
2.1热释电红外传感器简单介绍 ……………………………………………………………4
2.2 PIR的原理特性……………………………………………………………………………5
2.3 AT89C51单片机简单概述…………………………………………………………………5
2.3.1 AT89C51单片机的结构…………………………………………………………………5
2.3.2 AT89C51单片机管脚说明… …………………………………………………………6
3 方案设计……………………………………………………………………………………8
3.1总体设计思路 ……………………………………………………………………………8
3.2具体电路模块设计 ………………………………………………………………………8
3.2.1 热释电红外传感器原理 ………………………………………………………………8
3.2.2 放大电路的设计 ………………………………………………………………………9
3.2.3 时钟电路的设计 ………………………………………………………………………9
3.2.4 复位电路的设计 ………………………………………………………………………10
3.2.5 发光二极管报警电路的设计 …………………………………………………………10
3.2.6 声音报警电路的设计 …………………………………………………………………11
3.3 系统硬件电路的选择及说明……………………………………………………………11
3.4 软件的程序实现…………………………………………………………………………11
3.4.1主程序工作流程图 ……………………………………………………………………11
3.4.2中断服务程序工作流程图 ……………………………………………………………12
4总结…………………………………………………………………………………………13
参考文献 ……………………………………………………………………………………13
附录 设计编程程序…………………………………………………………………………14
附图 单片机控制的红外防盗报警器原理图………………………………………………16