基于gsm模块家庭报警系统的设计-毕业论文最终

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

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

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

资源描述

洛阳理工学院毕业设计I基于GSM模块的家庭报警系统设计摘要随着超大规模集成电路、通信技术、单片机技术的迅猛发展和人们安保意识的日渐增强,利用单片机及其它外围芯片实现自动报警已成为可能,且是一种发展趋势。本设计主要完成了基于GSM模块的家庭报警系统设计。设计以STC89C52单片机为核心,搭配GSM模块,借助最可靠、最成熟的GSM移动网络,以短消息或电话形式,直接把具体的警情信息反映到用户的手机屏幕上。课题采用了两个传感器检测模块:主动式红外探测器模块,MQ-5可燃气泄露检测模块。主动式红外传感器模块主要由一对红外二极管构成,一个二极管发射红外线,另一个接收,当收发过程被遮挡后,传感器的输出电平变化(此输出为模拟量),经过三极管数字化处理后送入单片机,触发声光报警器报警。燃气传感器模块将空气中可燃气的浓度转换为对应的电压值模拟量,经过模数转换后送入单片机,当可燃气浓度超过警戒值时,触发声光报警器报警。经过努力调试,本设计最终较好地实现了上述功能。关键词:单片机,GSM模块,主动式红外探测器,MQ-5燃气传感器洛阳理工学院毕业设计IITheDesignofHomealarmsystemBasedonGSMModemABSTRACTWithverylargescaleintegratedcircuit,communicationtechnology,therapiddevelopmentofmicrocomputertechnology,andpeople'ssecurityawarenessincreasing,usingsinglechipcomputerandotherperipheralchipstorealizeautomaticalarmhasbecomepossible,andisadevelopmenttrend.ThisdesignmainlycompletedthehomealarmsystembasedonGSMmoduledesign.DesignwithSTC89C52single-chipmicrocomputerasthecore,thecollocationoftheGSMmodule,usingthemostreliable,mostmatureGSMmobilenetwork,intheformofshortmessageorphone,directlyreflectthespecificearly-warninginformationtotheuser'smobilephonescreen.Subjectadoptstwosensorsmodules:activeinfrareddetectormodule,MQ-5combustiblegasleakdetectionmodule.Activeinfraredsensormodulemainlyconsistsofapairofinfrareddiode,alaunchinfrareddiode,theotherreceives,obscuredwhensendingandreceivingprocess,theoutputlevelofsensorchanges,afterdealingwiththevoltagecomparisoncircuitintoasinglechipmicrocomputer,triggerasoundandlightalarm.Gassensormoduleconvertstheconcentrationofthecombustiblegasinairtothecorrespondinganalogvoltagevalue,afteranalog-to-digitalconversionintosinglechipmicrocomputer,whentheconcentrationofcombustiblegasthanalert,triggerasoundandlightalarm.Aftertryingtodebugthedesign,eventuallyrealizethefunctionofthewell.KEYWORDS:STC89C52,GSMModem,Activeinfrareddetectors,Combustiblegasleakdetection洛阳理工学院毕业设计III目录前言................................................................................................1第1章绪论......................................................................................21.1选题的背景和意义...............................................................21.2国内外研究动态...................................................................21.3本文主要研究内容与结构...................................................21.3.1研究的主要内容.........................................................21.3.2研究内容的结构.........................................................3第2章系统总体方案.......................................................................52.1设计要求...............................................................................52.2设计目标...............................................................................52.3系统框图...............................................................................6第3章硬件系统设计.......................................................................73.1单片机最小系统...................................................................73.1.1STC89C52单片机.......................................................73.1.2单片机最小系统.......................................................103.2GSM短信模块....................................................................113.2.1SIM900A模块...........................................................113.2.2SIM900硬件系统设计..............................................133.3红外传感器模块.................................................................143.3.1发射部分...................................................................143.3.2接收部分...................................................................153.4MQ-5燃气传感器模块.......................................................163.4.1MQ-5传感器.............................................................163.4.2TLC1543模数转换芯片............................................183.4.3MQ-5检测模块.........................................................203.6声光报警模块.....................................................................21第4章软件系统设计.....................................................................234.1主程序流程.........................................................................23洛阳理工学院毕业设计IV4.2中断服务子程序流程.........................................................244.2TLC1543程序流程..............................................................244.3发短消息子程序流程.........................................................25第5章系统调试.............................................................................275.1系统调试.............................................................................275.1.1C语言介绍................................................................275.1.2程序调试...................................................................285.1.3调试结果...................................................................315.2PCB板制作.........................................................................33结论..............................................................................................35谢辞................................................................................................36参考文献.....................................................................

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

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

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

×
保存成功