基于单片机的智能住宅防盗报警系统设计与仿真
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业论文
基于单片机的智能住宅防盗报警系统
设计与仿真
摘要
随着社会的不断进步和科学技术、经济的发展,人们的生活水平得到很大的提高,人们更加注重人身安全,因而也对住宅防火防盗措施提出了更多新的要求。
本设计所做的智能家居控制系统包括室内信息智能监控功能、输入与实时显示功能、声光报警功能等。智能化防盗报警系统集防盗功能于一体,可全天候自动检测盗警,当确定警情时自动通过电话报警。本文利用单片机结合传感器技术而开发设计了这一防火防盗报警系统。本设计采用DYP-ME003人体红外感应模块、18B20温度传感器和MQ_2烟雾传感器检测信号,然后将信号传送给单片机处理,实现声光报警。该系统通过按键对系统的温度和烟雾的浓度进行初始化设置,利用LED显示模块对系统的温度和烟雾的浓度进行实时显示。该系统结构简单、稳定性高、使用方便、价格低廉,整体功耗较小,具有一定的实用价值。
关键字:防火防盗报警 18B20 MQ_2 DYP-ME003
Abstract
With society’s progress and development of science and technology, economy, people's living standard has been greatly improved. People pay more attention to personal safety, thus they put forward new requirements for the fire and security measures.
In this design ,the intelligent family- house control system includes this function : indoor information intelligent monitoring , the input and real-time display ,sound and light alarm, and so on .The design is a fire and security system, which combines sensor technology with microcontroller. This design adopts the DYP-ME003 human body infrared sensor module,18b20 temperature sensor and MQ_2 smoke sensor to detection signal. These sensor send the signals to microcontroller.The microcontroller process these signal and drive alarm circuit to achieve sound and light alarm .The fir temperature and smoke concentration are initialized in this system.,and are displayed in the LED display .The system has the advantages of simple structure ,stable performance ,conventional operation ,low price ,and has a certain practical value .
Keywords : The fire and security system,18b20,MQ_2,DYP-ME003
目录
摘要........................................................... I Abstract ................................................................................................. II 目录 ....................................................................................................... I II 1 绪论................................................................................................. - 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.1 DS18B20介绍................................................................. - 10 -
4.3.2 DS18B20工作电路 .......................................................... - 11 -
4.4烟雾传感电路.......................................................................... - 11 -
4.4.1烟雾传感器MQ-2............................................................ - 11 -
4.4.2 MQ-2传感器的特性及主要技术指标.................................. - 12 -
4.4.3 ADC0832介绍 ................................................................ - 13 -