基于单片机的智能住宅防盗报警系统设计与仿真

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

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

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

资源描述

毕业论文基于单片机的智能住宅防盗报警系统设计与仿真基于单片机的智能住宅防盗报警系统设计与仿真I摘要随着社会的不断进步和科学技术、经济的发展,人们的生活水平得到很大的提高,人们更加注重人身安全,因而也对住宅防火防盗措施提出了更多新的要求。本设计所做的智能家居控制系统包括室内信息智能监控功能、输入与实时显示功能、声光报警功能等。智能化防盗报警系统集防盗功能于一体,可全天候自动检测盗警,当确定警情时自动通过电话报警。本文利用单片机结合传感器技术而开发设计了这一防火防盗报警系统。本设计采用DYP-ME003人体红外感应模块、18B20温度传感器和MQ_2烟雾传感器检测信号,然后将信号传送给单片机处理,实现声光报警。该系统通过按键对系统的温度和烟雾的浓度进行初始化设置,利用LED显示模块对系统的温度和烟雾的浓度进行实时显示。该系统结构简单、稳定性高、使用方便、价格低廉,整体功耗较小,具有一定的实用价值。关键字:防火防盗报警18B20MQ_2DYP-ME003基于单片机的智能住宅防盗报警系统设计与仿真IIAbstractWithsociety’sprogressanddevelopmentofscienceandtechnology,economy,people'slivingstandardhasbeengreatlyimproved.Peoplepaymoreattentiontopersonalsafety,thustheyputforwardnewrequirementsforthefireandsecuritymeasures.Inthisdesign,theintelligentfamily-housecontrolsystemincludesthisfunction:indoorinformationintelligentmonitoring,theinputandreal-timedisplay,soundandlightalarm,andsoon.Thedesignisafireandsecuritysystem,whichcombinessensortechnologywithmicrocontroller.ThisdesignadoptstheDYP-ME003humanbodyinfraredsensormodule,18b20temperaturesensorandMQ_2smokesensortodetectionsignal.Thesesensorsendthesignalstomicrocontroller.Themicrocontrollerprocessthesesignalanddrivealarmcircuittoachievesoundandlightalarm.Thefirtemperatureandsmokeconcentrationareinitializedinthissystem.,andaredisplayedintheLEDdisplay.Thesystemhastheadvantagesofsimplestructure,stableperformance,conventionaloperation,lowprice,andhasacertainpracticalvalue.Keywords:Thefireandsecuritysystem,18b20,MQ_2,DYP-ME003基于单片机的智能住宅防盗报警系统设计与仿真III目录摘要...........................................................IAbstract.................................................................................................II目录.......................................................................................................III1绪论.................................................................................................-1-2系统总设计.......................................................................................-3-2.1设计内容与要求.......................................................................-3-2.2系统设计的总体思路.................................................................-3-3方案论证与比较................................................................................-5-4系统硬件结构...................................................................................-6-4.1整体硬件设计思路....................................................................-6-4.2单片机电路AT89S52..................................................................-6-4.2.1主要性能参数...................................................................-6-4.2.2管脚说明..........................................................................-7-4.2.3单片机最小系统................................................................-9-4.3温度传感电路..........................................................................-10-4.3.1DS18B20介绍.................................................................-10-4.3.2DS18B20工作电路..........................................................-11-4.4烟雾传感电路..........................................................................-11-4.4.1烟雾传感器MQ-2............................................................-11-4.4.2MQ-2传感器的特性及主要技术指标..................................-12-4.4.3ADC0832介绍................................................................-13-基于单片机的智能住宅防盗报警系统设计与仿真IV4.4.4.A/D转换电路..................................................................-15-4.5非法入侵电路..........................................................................-15-4.5.1DYP-ME003红外人体传感器............................................-15-4.6报警电路.................................................................................-16-4.6.1蜂鸣器...........................................................................-17-4.6.2按键..............................................................................-17-4.6.3LED灯...........................................................................-18-4.7显示电路.................................................................................-18-5系统软件设计.................................................................................-19-5.1主程序模块.............................................................................-20-5.2温度采集处理模块...................................................................-21-5.3烟雾采集处理模块..................................................................-23-6程序调试与分析..............................................................................-28-总结..................................................................................................-32-致谢..................................................................................................-33-参考文献...........................................................................................-34-附录1基于单片机的智能家居防火防盗报警系统仿真图...................-35-附录2基于单片机的智能家居防火防盗报警系统程序源代码............-36-基于单片机的智能住宅防盗报警系统设计与仿真-1-1绪论随着社会的进步,在城市大发展的过程中,大量外地人口涌入城市,给社会治安带来很大压力。工厂、机关和居家失盗、抢劫事件时有发生;个别地方尤为严重,损失惊人。由此引起公安部门的高度重视和社会各届人士的普遍关注。有些部门和居民小区开始派人白天守卫、夜间巡逻,并纷纷购置防护铁门、铁栏杆等被动防范措施,将主人装在铁笼子中以求安全。一旦发生警性(如火警或煤气泄漏),

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

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

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

×
保存成功