摘 要:随着科学技术的进步,单片机的应用已涉及到到医疗、教育、工业、通信等各个领域。本文就是基于单片机设计的红外家庭防盗报警器,该报警器是利用热释电红外传感器感应到入侵者的红外热辐射时,报警器发出声光报警,从而实现防盗功能。报警系统设计包括硬件和软件两个部分。硬件部分包括单片机控制电路、红外探头电路、驱动执行报警电路等部分组成。软件部分,处理器选用AT89C51型号单片机。软件设计包括程序流程图和单片机控制程序。最后用Proteus仿真和实验结果表明,系统硬件设计和软件设计是正确的,满足了报警器的控制要求。同时,实验结果证明该报警器电路设计简单,所使用的元件比较少,成本较低,而且误报率低,所以具有很强的实用性。67572
毕业论文关键词:热释电红外传感器 ,AT89C51单片机 ,信号检测,报警系统
Abstract: With the progress of science and technology, the application of microcomputer has involved to medicle, education, industry, communications and other fields. This article'arm is to design infrared family anti-theft alarm which is based on the tomicrocontroller.When the pyroelectric infrared sensor of the alarm sensing the The infrared radiation, the alarms sounding and lighting, then it realizes anti-theft function. The alarm system designing includes hardware part and software part. Hardware part includes microcomputer control circuit, infrared sensor circuit, driver execution of alarm circuit and so on. Software part regard AT89C51 microcomputer as the processor. Software design is consist of the program flow chart and the program controlled the microcomputer. Finally use Proteus simulation and experimental results show that the system hardware and software designing is right, and the result prove that the alarm system meet the control requirements of alarm. At the same time, the experimental results show that the alarm circuit design is simple, The use of components is few and low cost, meanwhile it has the low rate of false positive, so the alarm has very strong practicability.
Key words: pyroelectric infrared sensor, AT89C51microcontroller, signal detection , alarm system
目 录
1 绪论 4
1.1 选题背景及意义 4
1.2 家庭防盗报警器的发展 5
1.3 单片机的简介 5
2 防盗报警器的总体设计方案 7
2.1 防盗报警器功能要求及设计思路 7
2.2 防盗报警器的选定 7
2.3 热释电红外传感器的工作原理 8
3 防盗过报警器的硬件设计 9
3.1 防盗报警器硬件电路组成 9
3.2 总体电路设计 10
4 红外家庭防盗报警系统的软件设计 16
4.1主程序流程图 16
4.2 报警系统的布防程序 18
5 仿真与实验 19
5.1 Proteus仿真 19
5.2 实验与调试 20
结论 24
参 考 文 献 25
致 谢 26
附录 27