基于单片机的红外报警系统

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

基于单片机的家用防盗报警系统设计学生姓名:学生学号:院(系):年级专业:指导教师:助理指导教师:年月摘要2摘要随着现在社会的发展,时代进步,高新技术的快速融入,人们的生活发生了巨大的改变,人们置购了大量高新技术的产品,许多高科技产品的使用越来越成为家庭生活的主旋律,因此人们对自己所处环境的安全要求就越来越高,特别是家居安全,不得不时刻留意不速之客的光顾。现在许多小区都有着保安看管,但在一些农村就没有这些设施了,于是,许多家庭都安装了报警系统,这有效的保护了大家的财产安全。在本文中,介绍一种利用热释电红外传感器进行监控,并进行报警的系统的设计。热释电红外传感器,它的制作简单、成本低、安装比较方便,性能稳定,抗干扰能力强、灵敏度高、安全可靠。这种防盗器安装后较为隐蔽,不易被人们发现,便于用户管理。本设计包括硬件和软件设计两个部分。硬件部分包括单片机控制模块、红外探头模块、驱动执行报警模块、LED控制模块等部分组成。处理器采用51系列单片机STC89C52,程序使用C语言编写。关键词热释电红外传感器、STC89C52、红外线摘要3ABSTRACTWiththedevelopmentofsociety,theprogressofthetimesandfastintegrationofhigh-tech,people'slifehaschangeddramatically,peoplebuyalargenumberofhigh-techproducts,manyhigh-techproductsusingmoreandmorebecomethemainthemeoffamilylife,sothehighersecurityrequirementsoftheirenvironment,especiallyonsafetyinthehome,hadtokeepuninvitedguestscoming.Manycommunitynowhasasecurityguard,butdoesnothavethesefacilitiesinsomerural,somanyfamilieshaveinstalledalarmsystems,whicheffectivelyprotectsthesafetyofpeopleandproperty.Inthisarticle,isdescribedbasedonPyroelectricinfraredsensortomonitorandalarmsystemdesign.Pyroelectricinfraredsensor,it'ssimple,lowcost,easytoinstall,andanti-theftperformanceisstable,stronganti-interferenceability,highsensitivity,safetyandreliability.Thisanti-theftdeviceconcealed,easilyfoundbythethieves,easymulti-usermanagement.Thisincludeshardwareandsoftwaredesignoftwoparts.Hardwareincludesthemonolithicintegratedcircuitcontrolmodules,infrareddetectormodule,driverimplementation,LEDcontrolmodulealarmmoduleandothercomponents.Processorbasedon51seriessinglechipSTC89C52,theprogramusestheclanguage.KeywordsPyroelectricInfraredSensor,STC89C52,IR攀枝花学院本科毕业设计目录1目录摘要........................................................................................................................................................2ABSTRACT.............................................................................................................................................3目录........................................................................................................................................................11绪论.....................................................................................................................................................21.1课题背景.......................................................................................................................................21.2国内外现状及发展趋势...............................................................................................................21.3目的与意义...................................................................................................................................22设计任务分析..................................................................................................................................33技术方案的详细设计(实施)..................................................................................................43.1本系统的设计方案.......................................................................................................................43.1.1系统概述...........................................................................................................................43.2硬件电路设计...............................................................................................................................43.2.1红外感应部分...................................................................................................................23.3单片机部分...................................................................................................................................83.3.1STC89C52单片机简介.....................................................................................................83.3.2单片机最小系统..............................................................................................................93.3.3按键控制电路.................................................................................................................103.3.4指示灯和报警电路.........................................................................................................103.4软件的程序实现..........................................................................................................................113.4.1主程序工作流程图..........................................................................................................113.5报警判断程序.........................................................................................................................113.6程序编写与调试......................................................................................................................123.6.1Keil编译器软件简介.................................................................................................123.6.2使用Keil软件建立一个工程.......................................................错误!未定义书签。3.6.3使用Debug进行调试.....................................................................错误!未定义书签。3.7硬件调试及调试中遇到的问题..............................................................................................134总结评价.........

1 / 27
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功