摘要:在我们的日常生活中,家居被盗案件时有发生,给我们的财产造成损失,甚至造成自身生命损失。因此,为了提高我们的家居安防措施,本文提出了基于单片机红外防盗报警系统的设计。该系统设计包括硬件和软件两个部分,硬件部分设计主要包括红外探头电路接收信号,LED控制电路控制发光及驱动报警电路执行报警等。软件部分设计主要包括程序语言及开发环境的介绍、系统总体流程图的设计、子程序的设计。子程序设计包括中断子程序设计、安防程序设计、以及紧急报警程序的设计。最后,通过购置万用板,STC89C52单片机,红外探测器等元件,完成了实物焊接,在protues仿真软件中完成了声光报警测试,同时在实物调试中,也验证了程序及设计的可行性。95093
毕业论文关键词:单片机,红外传感器,安防,报警器
Abstract:In our daily life, home theft cases have occurred, to our property caused by the loss, and even cause their own loss of life。 Therefore, in order to improve our home security measures, this paper presents a single-chip infrared anti-theft alarm system design。 The system design includes hardware and software two parts, the hardware part of the design, including infrared probe circuit to receive the signal, LED control circuit to control the light and drive the alarm circuit to perform alarm。 The software part mainly includes the programming language and the development environment introduction, the system overall flow chart design, the subroutine design。 Subroutine design includes interrupt subroutine design, security program design, and emergency alarm program design。 Finally, through the purchase of universal board, STC89C52 microcontroller, infrared detectors and other components to complete the physical welding, in the protues simulation software to complete the sound and light alarm test, while in the physical debugging, but also verify the feasibility of the program and design。
Keywords: Single chip microcomputer,infrared sensor,security,alarm
目录
1 绪论 3
1。1 课题背景 3
1。3 防盗报警系统的发展前景与趋势 4
1。4 文章结构安排 4
2 系统总体方案设计 5
2。1 设计的目的和意义 5
2。2 设计内容及要求 5
2。3 电路总体设计方案 5
3 硬件系统设计 6
3。1 最小系统电路设计 6
3。2 人体红外检测模块 7
3。3 按键输入模块 9
3。4 蜂鸣器模块 10
3。5 LED显示电路 11
4 软件系统设计 12
4。1 程序语言及开发环境 12
4。2 总程序流程设计 12
4。3 子程序流程设计 13
5 系统测试 15
5。1 系统硬件组装 15
5。2 系统仿真 17
5。3 实物测试