- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
基于51单片机的家居安防系统
摘要:近年来,随着小康社会的进一步落实,买房人数日益增多,人们对家庭家居生活环境意识的逐渐提高,特别对“安全”越发重视。但非法入室盗窃,火灾,燃气泄漏等意外仍大量存在,一旦发生,后果不可估量,这些给家居安全带来极大的威胁。因此,能够实时地监测当前环境中有无外来入侵,实时监测温度、烟雾浓度等环境因素,并进行实时警告的家居安防系统是人们日益迫切的需求。
本文设计并实现了一个家居安防系统,该系统以STC89C52RC单片机为核心处理器,用人体红外传感器,温度传感器,烟雾传感器进行采集数据,其中烟雾传感器需要通过ADC0832将模拟浓度量转换成数字信号,最后所有数据由LCD1602打印出来。同时用户可以设置温度上下限报警阈值、烟雾浓度报警阀值,选择是否要进入布防模式。当发生室内温度过低或者高于报警值(达到燃烧点),烟雾浓度高于报警值,异物入侵时,就会立刻触发蜂鸣器和LED灯进行声光报警提示。
关键词:家居安防,STC89C52RC,温度监测,烟雾监测
HomeSecuritySystemBasedon51Microcontroller
Abstract:Inrecentyears,withthefurtherimplementationofawell-offsociety,thenumberofpeoplebuyinghouseshasbeenincreasing,andpeoplesawarenessofthefamilyshomelivingenvironmenthasgraduallyincreased.Inparticular,moreattentionhasbeenpaidtosecurity.However,therearestillalotofaccidentssuchasillegalburglary,fire,gasleakageandsoon.Onceithappens,theconsequencesareimmeasurable,whichposesagreatthreattohomesafety.Therefore,ahomesecuritysystemthatcanmonitorreal-timeintrusionsinthecurrentenvironment,monitorenvironmentalfactorssuchastemperatureandsmokeconcentrationinrealtime,andprovidereal-timewarningsisanincreasinglyurgentneed.
Thisarticledesignsandimplementsahomesecuritysystem.ThesystemusesSTC89C52RCsinglechipmicrocomputerasthecoreprocessor,anduseshumanbodyinfraredsensors,temperaturesensors,andsmokesensorstocollectdata.Amongthem,thesmokesensorneedstoconverttheanalogconcentrationintodigitalsignalsthroughADC0832.AlldataisprintedbyLCD1602.Atthesametime,theusercansettheupperandlowertemperaturealarmthreshold,smokeconcentrationalarmthreshold,andchoosewhethertoenterthearmingmode.Whentheindoortemperatureistooloworhigherthanthealarmvalue(theburningpointisreached),thesmokeconcentrationishigherthanthealarmvalue,andwhenforeignmatterinvades,itwillimmediatelytriggerthebuzzerandLED
文档评论(0)