毕业设计论文-红外语音报警系统

  • 格式:doc
  • 大小:2.41 MB
  • 文档页数:42

摘 要

I 摘 要

在科学技术迅速发展的现代社会,世界各种领域都得到了前所未有的提高,电子信息技术显得尤为突出。这些电子技术都投入到了生产中和生活中,提高人们的生活质量。随着集成电路技术的高速发展,近年来开发了许多的单片机产品。单片机使用在越来越多的电子产品中,投入到工业和生活中。

近年来,电子电器飞速的发展,人们的生活水品有很大的提高,为人们提供了舒适与方便,但不法分子的有段也越来越高端,以前的老式防盗手段已经无法防御现代化的高科技产物。如何保护自身的财产安全受到了广大人名的关注。于是出现防盗报警系统,应用在了人们的生活中为人们提供了安全。

在该论文中我们将介绍一款基于STC89C51的红外线语音报警系统。接下来我们将阐述此红外语音报警系统的设计方案。并介绍各个模块的的电路组成、工作原理及各个模块用到的相关芯片特性。详细讨论其中的串口通信模块的控制与组成。最后介绍该系统的硬件测试和软件的调试方法。

关键字:STC89C51,串口通信模块,红外线防盗报警器 Abstract

I ABSTRACT

In modern society, the rapid development of science and technology, the

world in various fields have been an unprecedented increase of electronic

information technology is particularly prominent. These electronic technologies

into the production and life, improve the quality of people's lives. With the rapid

development of integrated circuit technology in recent years developed a

number of single-chip products. SCM using more and more electronic products,

into the industrial and life.

In recent years, the rapid development of electronic and electrical appliances,

water for people's lives have greatly improved, providing people with a

comfortable and convenient, but criminals are increasingly high-end segment,

old-fashioned anti-theft means previously been unable to defense modernization

high-tech product. How to protect their property by the majority of the names of

attention. So there burglar alarm system, used in people's lives to provide people

with a safe.

In this paper, we will introduce an infrared-based STC89C51 voice alarm

system. Next we will explain this infrared voice alarm system design. And

describes each module circuit composition, working principle and

characteristics related to the chip used in each module. Controlling the

composition of which is discussed in detail with the serial communication

module. Finally, the method of the system hardware debugging and software

testing.

Key Words: STC89C51, serial communication module, infrared burglar alarm 目 录

III 目 录

第1章 引言 ......................................................... 1

1.1选题背景 ......................................................... 1

1.2课题内容 ......................................................... 1

第2章 系统程序设计 ................................................. 2

2.1系统设计方案 ..................................................... 2

2.2各个功能模块介绍 ................................................. 3

2.2.1 单片机最小系统 ................................................ 3

2.2.2 串口通信模块 .................................................. 5

2.2.3 语音模块 ...................................................... 6

2.2.4 键盘蜂鸣器模块 ................................................ 8

2.2.5 温度采集模块 ................................................. 10

2.2.6 继电器控制模块 ............................................... 12

2.2.7 信号采集模块 ................................................. 14

2.2.8 12864液晶显示模块 ............................................ 16

第3章 信号采集模块的硬件和软件的设计 .............................. 18

3.1 信号发射模块的硬件设计 ......................................... 18

3.1.1 器件和原理 ................................................... 19

3.1.2 应用实例 ..................................................... 19

3.2 信号发射模块的软件设计 ......................................... 21

3.2.1 程序功能 ..................................................... 21

3.2.2 系统程序流程图 ............................................... 21

3.2.3 主要函数说明 ................................................. 22

第4章 整体系统调试 ................................................ 23

4.1整个系统的静态测试 .............................................. 23

4.2通电测试:对每个模块所产生的信号做测试 .......................... 23

第5章 总结 ........................................................ 26

5.1设计总结 ........................................................ 26

5.2心得体会 ........................................................ 26 目 录

III 参考文献 ........................................................... 28

致谢 ............................................................... 29

附 录 .............................................................. 30

附录一:系统电路图和实物图 ......................................... 30

附录二:部分系统程序 ............................................... 32 第1章 引言

1 第1章 引言

1.1选题背景

随着现代科学技术的进步与发展,现代化高可以产品越来越越多,电子电器产品也越来越好,人们的生活水平也有了很大的提高,许多的家庭都有许多的贵重物品。这些物品很容易成为不法分子的偷窃对象,为了保护人民的财产安全,从而开发了红外线语音报警系统,许多家庭和大商城都安装了红外线语音报警系统,有效的防止了不法分子的不良居心,为人民解决了许多的麻烦。我们这次研究的报警器是以单片机为核心的简单红外线语音报警系统,它组要由信号采集系统和控制系统组成。材料便宜结构简单,适于私家使用。

1.2课题内容

在特定区域范围内,当有人闯入防区,改变了红外线的反射,红外线接收管就会把接收到的异常情况转化外电压信号的变化输入到单片机里面去,此时单片机通过判断,若有异常情况发生以后,立即驱动语音芯片和继电器所控制的扬声器电路和报警电路,点亮报警灯,发出人的声音,震慑不法份子,于此同时通过串口通信,把发生异常情况的地址发到监控室里的液晶屏幕上报警,待到异常情况解除以后,监控室又可以通过4×4的键盘解除报警状态,同时使用DS18B20温度传感器,测量现场环境温度,也通过串口通信,将实时数据传送到屏幕上。