湖北广播电视大学电子专业毕业设计
智能小区防盗报警系统设计
目录
摘要2
引言3
正文3
一.系统构成及原理3
二.单片机控制红外线防盗报警系统总图框3
三.红外防盗报警系统的电路设计4
1.微处理器及其任务4
2.被动式热释电红外电路的设计5
3.主动热释红外电路的设计7
4.报警电路的设计9
5.数据通信的设计10
四.部分程序代码12
五.结束语16
六.至谢16
七.参考文献16
第1页16页
湖北广播电视大学电子专业毕业设计
摘要
本课件基于单片机控制红外线防盗报警系统的设计。红外技术已经成为先进科学
技术的重要组成部分,本系统采用了热释电红外传感器,防盗性能比较稳定,抗
干扰能力强,不易被盗贼发现,同时它的信号经过单片机系统处理后方便和PC
机通信,便于多用户统一管理。该系统主要用于家庭防盗现场系统,整楼控制,
通讯系统及小区总控报警通讯系统组成,本设计包括硬件和软件设计两个部分,
硬件部分包括单片机控制电路、热释红外电路、报警电路、数据通信等部分组
成。系统程序可以划分为以下几个模块:被动式红外感应电路的识别程序、红外
编码程序、红接收程序、报警程序、串行通信程序等几个部分。处理器采用51
系列单片机AT89C51,整个系统是在系统软件控制下工作的。
关键词红外光;热释电;声光报警;监控系统
Abstract
ThiscoursewarebasedMCUinfraredburglaralarmsystem.Advancedinfrared
technologyhasbecomeanimportantpartofscienceandtechnology,thesystemusesa
pyroelectricinfraredsensor,anti-theftperformanceisrelativelystable,anti-interference
ability,thievescannoteasilybefound,whileitssignaliseasilytreatedwithSCM
SystemandPC-communication,tofacilitatetheunifiedmanagementofmultipleusers.
Thesystemismainlyusedfordomesticsecurityon-sitesystem,theentirefloor,control,
communicationssystemsandcellcompositionofthetotalcontrolofalarm
communicationsystem,thedesignincludestwoparts,hardwareandsoftwaredesign,
hardwarepartconsistsofMCUcontrolcircuitofpyroelectricinfraredcircuit,alarm
circuitanddatacommunicationscomponents.Systemprogramcanbedividedintothe
followingmodules:passiveinfraredsensorcircuitidentificationprocedures,infrared
codingprocedures,redreceivingprocedures,alarmprogram,serialcommunication
第2页共16页
湖北广播电视大学电子专业毕业设计
program,andseveralotherparts.Processorwith51seriesAT89C51,thewholesystem
isunderthecontrolofthesystemsoftwaretowork.
KeywordsInfraredbrightnessSupervisorycontrolsystem
引言
随着社会的不断进步和科学技术、经济的不断发展,人们生活水平得到很大的提
高,对私有财产的保护意识在不断的增强,因而对防盗措施提出了新的要求。本
设计就是为了满足现代住宅防盗的需要而设计的家庭式小区电子防盗系统。