基于STM32单片机的智能安防系统的设计毕业论文已排版_第1页
基于STM32单片机的智能安防系统的设计毕业论文已排版_第2页
基于STM32单片机的智能安防系统的设计毕业论文已排版_第3页
基于STM32单片机的智能安防系统的设计毕业论文已排版_第4页
基于STM32单片机的智能安防系统的设计毕业论文已排版_第5页
已阅读5页,还剩78页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

基于 STM32 的智能安防系统的设计学生专业: 电子信息科学与技术 学生姓名: 王正辉 指导教师: 康辉 I摘要随着社会的发展,人们的生活质量越来越高,家用电器和厨房设施也随之增多,家庭存在的安全隐患相应增加,同时整个社会正处于转型期,家庭的安全问题也引起了人们的关注。传统的安全防范措施已无法适应现代化社会的需求。因此,将智能化引入住宅小区已成为一种趋势,并且在智能化住宅的家庭智能管理系统中,安防报警已经成为民用建筑领域,向信息化和网络化发展的一个重要组成部分。基于将最新的通信技术融合到传统产业中的考虑,本文综合了单片机、无线数据通信、数据采集等技术,研究并设计了以 STM32 单片机基于 GSM 短信模块作为信息传输的家庭安防系统。此系统由主控制器、显示模块、信息传输模块和防盗模块,防火模块,声光报警模块等组成,可解决传统安防系统存在的隐患,让家庭防盗更及时、使用更方便。它不再依赖有线电话执行报警,而是借助最可靠、最成熟的 GSM 移动网络,以最直观的中文短消息形式,直接把报警情况反映到用户的手机屏幕上,并发出声音报警,可以防范一定的险情,用户可以通过无线遥控对该系统进行布防和解防。该系统具有用户投资小,运营费用少的优点,并且操作简单。关键词 安防系统;防火;STM32;GSMIIAbstractWith the development of the society, The quality of people life become more And more good,Accordingly, The number of household electrical appliances And kitchen facilities also become more,So the safe hidden trouble in security family is increasing, at the same time the whole society is in transition period, the family security problem has caused the attention of people. Traditional security measures have been unable to meet the needs of modern society. Therefore, it has become a trend to the introduction of the intelligent residential district, And Security alarm has become an important part of the field and civil construction, the information And network development.In consideration of based on the latest communications technology integrated into traditional industries, this article combination the knowledge of the micro-controller, wireless data communication, data acquisition technology. Then research and design the home security system,based on GSM module as the information transmission and STM32 micro-controller. This system consists of main controller, display module, information transmission module and alarm module, fire protection module, sound alarm module. The security system can solve the hidden danger existed in the traditional security system,make the family security more quickly, more convenientlyIt is no longer depend on the cable telephone, but with the help of the most reliable and most mature GSM mobile network, use the most intuitive form of Chinese message, the alarm situation reflects to the userThis system can prevent some dangerous situations; users can control the system for protection or reconciliation by the wireless remote. The system has advantages that the user has a small cost and operating expenses.Keywords Security system;Fire prevention;STM32;GSMIII目录摘要 .IAbstract .II第 1 章 绪论 .11.1 课题背景和意义 .11.2 国内发展现状 .11.3 智能安防系统的发展前景 .3第 2 章 系统方案设计 .42.1 设计任务与要求 .42.2 方案的比较 .42.3 系统总体设计思路 .62.4 本章小结 .7第 3 章 系统硬件设计 .83.1 主控模块的设计 .83.1.1 STM32 最小系统 .83.1.2 SD 卡电路的设计 .103.1.3 字库 Flash 接口电路 .113.2 防火监控的设计 .113.2.1 烟雾传感器的电路设计 .123.2.2 天然气体浓度监测的电路设计 .123.2.3 电流传感器的工作原理和电路设计 .133.2.4 火焰传感器的电路设计 .143.3 防盗监控的设计 .153.4 环境监控模块 .163.4.1 温湿度传感器的电路设计 .163.4.2 CO 传感器的工作原理和电路设计 .173.5 报警模块的设计 .183.5.1 声音报警 .183.5.2 GSM 模块短信报警 .19IV3.6 人机交互显示模块的设计 .223.7 电源模块 .223.8 无线遥控电路设计 .233.9 本章小结 .24第 4 章 系统软件设计 .254.1 软件模块化设计 .254.2 系统软件子程序 .254.2.1 SD 卡驱动设计 .254.2.2 FAT32 文件系统 .274.2.3 时间模块程序设计 .344.2.4 RTC 实时时钟驱动程序设计 .344.2.5 液晶显示设计 .354.3 硬件驱动子程序设计 .384.3.1 GSM 短信报警设计 .384.3.2 烟雾监控设计 .394.3.3 天然气监控设计 .404.3.4 CO 监控设计 .414.3.5 温湿度监控设计 .424.3.6 电流监控设计 .434.3.7 火焰监控设计 .444.3.8 防盗监控设计 .454.3.9 语音播报设计 .464.3.10 无线遥控设计 .474.4 模块整合 .484.5 本章小结 .50第 5 章 仿真和调试 .515.1 硬件调试问题 .515.2 软件调试问题 .515.3 实物演示结果 .515.4 本章小结 .56结论 .57致谢 .58V参考文献 .59附录 1 原理图 .60附录 2 实物图 .63附录 3 程序 .64VICONTENTSAbstract(Chinese).IAbstract(English).IIChapter 1 Introduction .11.1 Background And Significance.11.2 Domestis Situation.11.3 The Development Prospects Of Intelligent Security Systems.3Chapter 2 The plan Of System Design.42.1 The Design Task And Requirements.42.2 Scheme Comparison .42.3 Design Ideas Of System.62.4 The Summary Of This Chapter.7Chapter 3 The hardware Circuit Design .83.1 The Design Of The Main Control Module .83.1.1 STM32 System .83.1.2 SD Card Circuit Design .103.1.3 Flash Circuit Design .113.2 The Design Of Monitoring Fire.113.2.1 Smoke Sensor Circuit Design.123.2.2 The Circuit Design Of Natural Gas Concentration Monitoring .123.2.3 The Working Principle And Circuit Design Of Current Sensor.133.2.4 Flame Sensor Circuit Design .143.3 The Design Of security Monitoring.153.4 Environmental Monitoring module .163.4.1 The Circuit Design Of temperature And Humidity .163.4.2 The CO Sensor working principle And Circuit Design.173.5 The Design Of the Design Module.183.5.1 Voice Design .183.5.2 SMS Design .19VII3.6 The Design Of The Display Module .223.7 The Design Of The Power Supply Module .223.8 The Remote Control Of Wireless Circuit Design.233.9 The Summary Of This Chapter.24Chapter 4 The system sOftware Design.254.1 The Software Modular Design.254.2 The System Software subroutines .254.2.1 SD Card Driver Design.254.2.2 FAT32 File System.274.2.3 Time Module Design program.344.2.4 RTC Driver Design.344.2.5 Display Design.354.3 Hardware Driver Software Design .384.3.1 SMS Design .384.3.2 Smoke Monitoring .394.3.3 Gas Monitoring.404.3.4 CO Monitoring.414.3.5 Temperature And Humidity.424.3.6 Current Monitoring.434.3.7 Flame Monitoring .444.3.8 Security Monitoring.454.3.9 Voice Design .464.3.10 The Wireless Remote Control .474.4 The Main Program.484.5 The Summary Of This Chapter.50Chapter 5 Design Debugging .515.1 Hardware debugging problem .515.2 Software debugging problem.515.3 Visual illustration.515.4 The Summary Of This Chapter.56Summary .57Acknowledgements .58VIIIReferences.59Appendix 1 Physical Map .60Appendix 2 The Picture.63Appendix3 The Source Code .641第 1 章 绪论1.1 课题背景和意义随着人民物质生活水平的不断提高和社会经济的飞速发展,人们对其住宅的要求也越来越高,表现在不仅希望拥有舒适温馨的住所,而且对其安全性、智能性等方面也提出了更高的要求。然而经济的快速增长也带来了相当大的负面社会效应,城乡、区域收入差距进一步拉大,社会结构、社会治安日趋复杂

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论