本科论文
目 录
摘 要 .................................................................................................................... I Abstract...................................................................................................................... II 引 言 ................................................................................................................... 3 1 控制系统方案设计 ............................................................................................... 6 1.1 设计要求 ...................................................................................................... 6 1.2 总控制方案设计 .......................................................................................... 6 1.3 单片机方案设计及工作原理 ...................................................................... 6 1.4 GSM模块方案设计及工作原理 ................................................................. 7 1.5 烟雾检测方案设计及工作原理 .................................................................. 8 1.6 温度检测方案设计及工作原理 .................................................................. 9 1.7人体探测方案设计及工作原理 ................................................................... 9 2 硬件设计 ............................................................................................................. 11 2.1 主电路设计 ................................................................................................ 11 2.2 GSM模块电路设计 ................................................................................... 11 2.3 烟雾检测电路设计 .................................................................................... 12 2.4 温度检测电路设计 .................................................................................... 13 3 软件设计 ............................................................................................................. 15 3.1 系统主程序设计 ........................................................................................ 15 3.2 显示子程序设计 ........................................................................................ 16 3.3 GSM模块子程序设计 ............................................................................... 16 4 系统调试 ............................................................................................................. 18 4.1 系统调试 .................................................................................................... 18 4.2 调试过程 .................................................................................................... 18 4.3 调试中遇到的问题 .................................................................................... 19 5 软件仿真 ............................................................................................................. 21 5.1软件仿真图 ................................................................................................. 21 5.2软件仿真详解 ............................................................................................. 21 结 论 ................................................................................................................. 24
本科论文
参考文献 ................................................................................................................. 25 附录1 原理图 ........................................................................................................ 27 附录2 源程序清单 ................................................................................................ 28 致 谢 ................................................................................................................. 44
本科论文
摘 要
为了应对目前人们提出的对生活越来越智能的要求,在提高生活品质的同时降低意外事件发生对用户造成的经济损失或其他损失。针对日常生活中经常发生的火灾,失窃,电力资源浪费等生活问题,本设计正是在这种需求背景下展开研究。基于单片机的智能家居安防系统设计集成了防可燃气体烟雾泄露 、防外来人员入侵、防火、智能控制家电等功能,可实现自动检测、声光报警、远程查询、远程报警、远程控制等。
以STC89C52单片机为核心器件,再加上电阻,电容,晶体振荡器等器件,构成了单片机的最小系统。以及其它智能探测器组成的检测模块,在监测到灾情时只输出报警信号开关量,单片机处理器自动控制GSM接口电路。根据险情类别,自动向用户手机发送短信报警,当用户在家遇到灾情或其他情况时,亦可通过求救按钮向外界发出报警信息。
本设计具有成本较低,功能实用,灵活多样,简便有效等特点,有效的降低了用户住宅遇到和发生险情及其他意外事件的风险,有效的避免了因险情及其他意外事件造成的经济及其他损失,将居民损失降到最小,同时也将提高用户的生活品质水平。
关键词:安防系统; 智能家居; 单片机; GSM模块; 远程报警
本科论文
Abstract
In response to the current demand for more and more intelligent living, while improving the quality of life, reduce the economic loss or other loss caused by accidents to users. In order to solve the daily problems such as fire, theft and waste of electricity, This design is in this kind of demand background to carry out the research. The design of intelligent home security system based on single chip microcomputer integrates the functions of preventing the leakage of combustible gas smoke and preventing the invasion of foreign personnel. It can realize the automatic detection of sound and light alarm, remote inquiry, remote alarm and remote control.
Using STC89C52 single chip microcomputer as the core device, with resistance and capacitance crystal vibration and other devices, constitute a single chip microcomputer minimum system. And other detection module composed of intelligent detector,only the alarm signal switch quantity is output when the disaster situation is detected, and the single chip processor automatically controls the GSM interface circuit. According to the type of dangerous situation, it will automatically send a text message to the user's mobile phone to alarm. When the user encounters a disaster or other situations at home, he/she can also send an alarm message to the outside world through the distress button.
This design has lower cost, functional practical, flexible, simple and effective characteristics, effectively reduce the user home encounter and the risk of danger and other accidents, effectively avoid the because of the danger and other accidents caused by the economic and other losses, the inhabitants to minimize losses, at the same time, it will improve the level of the user's quality of life.
Keywords: Security System; Home automation; Single chip microcomputer; GSM; Remote alarm;
基于单片机的智能家居安防系统设计



