I摘要随着信息技术的飞速发展以及人们生活水平的大幅度提高,人们对住宅的需求已从追求简单的生存空间向着追求质量、功能、服务等多重需求过渡。同时,随着人们的保护意识不断增强,防盗措施的紧迫性也逐渐被提上了日程,防盗报警系统应运而生。本文设计了住宅智能化中的红外防盗报警系统。本系统以单片机89C51为核心,配以各种功能模块,来满足人们日常生活中的安全需求,本系统采用了热释电红外传感器,它的制作简单、成本低,安装比较方便,抗干扰力强、灵敏度高,而且安装较隐蔽,不易被发觉。该系统主要包括红外探测电路、LCD控制电路、声光报警电路及单片机控制电路等。自动检测功能由红外探测电路实现,当有盗贼穿过此装置时,红外传感器立即将检测到的信号经过信号处理后传送给主机电路,由主机来判断信号并驱动电路报警。报警功能由扬声器、蜂鸣器等发声装置实现,同时通过RS-485通信报警给小区警卫。本设计通过红外传感器探测人体红外线信号,从而达到报警的功能,满足了人们日常生活对防盗报警功能的需要。关键词:防盗报警,红外探测,RS-485通信,声光报警IIABSTRACTWiththerapiddevelopmentofcommunicationtechniqueandgreatimprovementofpeople’slivingstandard,theneedhasbeenchangedfromonlythelivingspacetomultiformneedsofquality,function,serviceandsoon.Atthesametime,astheincreasingofprotectingawareness,securitymeasureshavegraduallybeenputontheagenda.Anti-theftalarmsystemcameintobeing.Akindofintelligentinfraredanti-theftalarmsystemisdesignedforresidentialarea.Inordertomeetthesecurityneedsofdailylife,thissystemwithvariousfunctionmodulescoreswithmicrocontroller89C51.ThissystemusedPyroelectricinfraredsensor,italsohassomeadvantagessuchaseasymaking,lowcost,convenientinstallation,stronganti-interferenceability,highsensitivity,andamorehiddeninstallationanddifficulttofound.Thissystemincludesinfrareddetectingcircuit,LCDcontrolcircuit,soundandlightalarmcircuitandMCUcontrolcircuit.Automaticdetectioncanbecompletedbyinfrareddetectingcircuit.Whentheftisdetected,thesignalproducedbyinfraredsensorwillbetransmittedtothesignalprocessingmodule,andthenthiscircuitsendsthesignalreceivedtothemaincircuitwhichwilljudgeitanddrivethealarmmodule.Alarmfunctionisrealizedbyaudibledevicessuchasspeaker,buzzer,etc.,anditcanbetransmittedtosub-districtguardhousethroughRS-485communicationsalerting.Thissystemdetectstheinfraredsignalofhumanbodybyinfraredsensor,soithasthealarmingfunction.Thissystemmeetstheneedofanti-theftandalarminpeople’sdailylive.KEYWORDS:anti-theftandalarm,infrareddetecting,RS-485communication,soundandlightalarmIII目录摘要...............................................................................................................................IABSTRACT.................................................................................................................II第1章绪论..................................................................................................................11.1前言..................................................................................................................11.2防盗报警系统在国内外的发展......................................................................11.3防盗报警器的发展前景与趋势......................................................................21.4设计任务与要求..............................................................................................2第2章系统方案设计..................................................................................................32.1系统总体设计思路..........................................................................................32.2系统方案设计..................................................................................................32.3传感器简介......................................................................................................42.3.1热释电红外传感器简介........................................................................42.3.2热释电红外传感器电路图....................................................................52.3.3被动式热释电红外探头的工作原理及特性........................................62.451系列单片机的内部组成..............................................................................62.4.189C51单片机的内部组成.....................................................................72.4.289C51单片机引脚及功能.....................................................................82.5RS485接口.....................................................................................................10第3章硬件设计........................................................................................................123.1电源电路设计................................................................................................123.2热释电红外传感器原理................................................................................133.2.1传感器选型..........................................................................................133.3放大电路的设计............................................................................................133.4红外探测信号输入电路................................................................................143.5键盘电路设计................................................................................................173.6时钟电路的设计............................................................................................173.7复位电路的设计............................................................................................183.8声光报警电路的设计....................................................................................183.9实时时钟电路................................................................................................193.9.1实时时钟芯片DS1302的结构及工作原理......................................193.9.2引脚功能及结构............................................