基于单片机的汽车防盗报警系统的设计本科生毕业论文 联系客服

发布时间 : 星期日 文章基于单片机的汽车防盗报警系统的设计本科生毕业论文更新完毕开始阅读bb5e3c9251e2524de518964bcf84b9d528ea2cd8

5.装订顺序 1)设计(论文)

2)附件:按照任务书、开题报告、外文译文、译文原文(复印件)次序装订 3)其它

IV

摘要

人们生活水平不断提高,对私有财产的保护意识在不断的增强,因而对防盗措施提出了新的要求。本设计就是为了满足预防盗窃等意外事件的需要而设计的汽车防盗报警系统。

目前市面上主要有压力触发式防盗报警器、开关电子防盗报警器和压力遮光触发式防盗报警器等各种报警器,但这几种比较常见的报警器都存在一些缺点。本系统采用了热释电红外传感器,它的制作简单、成本低,安装比较方便,而且防盗性能比较稳定,抗干扰能力强、灵敏度高、安全可靠。这种防盗器安装隐蔽,不易被盗贼发现。同时它的信号经过单片机系统处理后方便和PC机通信,便于多用户统一管理。

本设计主要包括硬件和软件设计两个部分。硬件部分包括单片机控制电路、红外探头电路、驱动执行报警电路、LED控制电路等部分组成。处理器采用52系列单片机AT89C52。整个系统是在系统软件控制下工作的。软件部分可以划分为以下几个模块:数据采集、键盘控制、报警和显示等子函数。

关键词:单片机 红外传感器 数据采集 报警电路

V

Abstract

With the people's living standard continuously improved, the awareness of the protection of private property continuously enhanced, and thus the security measures put forward new demands. This paper is designed in order to meet the needs of the prevention of theft, accidents and vehicle anti-theft alarm system.

Currently on the market pressure trigger the burglar alarm switch electronic anti-theft alarm and pressure shading trigger burglar alarm, such as a variety of alarm, but that several of the more common alarm there are some drawbacks. The system uses a pyroelectric infrared sensor, the production of simple, low cost, more convenient to install, and anti-theft performance is relatively stable, strong interference capability, high sensitivity, safe and reliable. This anti-theft device installed hidden and difficult to be discovered by thieves. It’s signal through a convenient treatment of the SCM system and PC communications, to facilitate the unified management of the multi-user.

The design includes two parts of the hardware and software design. The hardware parts include of the MCU control circuit, infrared sensor circuit, drive the implementation of the alarm circuit, LED control circuit components. The processor uses 52 series microcontroller the AT89C52. The entire system is under the control of the system software. The software part can be divided into the following modules: data collection, keyboard control, alarm and display subroutines.

Keywords: microcontroller, infrared sensors, data acquisition, alarm

circuit.

VI

目录

摘要 ................................................................................................................ I Abstract ......................................................................................................VI 目录 ............................................................................................................ VII 前言 ................................................................................................................ 1 1 概述 ............................................................................................................ 3

1.1 课题研究背景 ................................................................................... 3

1.1.1 汽车防盗报警系统的研究现状 .............................................. 3 1.1.2 汽车防盗报警系统设计的必要性 .......................................... 4 1.2设计方案选择 .................................................................................... 5

1.2.1 设计要求 .................................................................................. 5 1.2.2 方案设计论证与选择 .............................................................. 5

2 总体方案设计 ............................................................................................ 8

2.1 系统概述 ........................................................................................... 8 2.2 各功能模块的设计 ........................................................................... 9

2.2.1 单片机电路 ............................................................................ 10 2.2.2 红外热释电报警传感器电路 ................................................ 13 2.2.3 温湿度传感器及检测电路 .................................................... 17 2.2.4 DS1302实时时钟电路 ........................................................... 20 2.2.5 LCD显示电路 ........................................................................ 24 2.2.6 EEPROM存储器电路 ............................................................ 28 2.2.7 键盘电路 ................................................................................ 31 2.3软件的程序实现 .............................................................................. 31

2.3.1 主程序流程图 ........................................................................ 31 2.3.2 主程序见附录1 ..................................................................... 32

VII