基于单片机的煤气泄漏报警系统设计.

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

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

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

资源描述

I摘要煤气已成为人们生活中必不可少的能源了,煤气泄漏时有发生,煤气泄漏使人中毒,可能会发生爆炸,给人们的人身安全和财产安全带来了很多隐患,所以防止煤气泄漏检测装置已成为人们迫切的需要,为此开发煤气泄漏报警检测装置是非常必要的。计算机以及单片机的普及和信息技术的迅猛发展,人们已经对家庭住宅环境提出了更高的要求,智能化、信息化被引入家庭,便利,舒适而且更加安全。家庭智能化的定义,在国际上至今尚无一致的理念,在现代化的城乡住宅小区中和采用微型计算机、自控装置、通信等技术,建立一个物业管理中心与安全防护监控系统,最终的目的是使每一个祝贺得到满足其要求的最佳方案。这些足以表明人们最注重的还是安全。而且国家建设部规定,目前住宅小区应实现六项智能化要求,其中就包括实行安全防范系统自动化监控管理;防盗报警系统应安红外或微波与煤气泄漏报警器等各种类型报警装置,基于此项规定,煤气泄漏检测报警装置实现智能化势在必行。本系统主要针对传统煤气,液化气的泄漏进行检测,报警。本系统有如下特点:用单片机实现控制,电路简单、价格便宜、可靠性好。采用增强型51单片机,MQ-2气体传感器,煤气泄漏是会发出灯光和声音的报警,因此本系统可作为智能家居的一个安全系统!关键词:煤气泄漏;单片机;气体传感器IIAbstractGashasbecomeanessentialenergyinpeople'slives,Gasleakincidentoccasionally,gasleakcanmakepeopleexplode,broughtalotofhiddendangerstopersonalsafetyandpropertysecurityofpeople,sotopreventthegasleakdetectionthedevicehasbecomeanurgentneed,forthedevelopmentofthegasleakalarmdetectiondevicesisnecessary.Thepopularityofcomputerandmicrocontroller,andtherapiddevelopmentofIT,peoplehavebeenraisedonthefamilyresidentialenvironmentahigherdemandintelligence,informationwasintroducedtothefamily,convenient,comfortableandmoresecure.Thedefinitionofthefamilyofintelligent,intheinternationalcommunitysofarthereisnoconsistentphilosophyinthemodernurbanandruralresidentialareaandtheuseofmicro-computer,automaticcontroldevices,communicationtechnologiessuchastheestablishmentofapropertymanagementcenterandthesecuritymonitoringsystem,theultimateaimiseachcongratulategetthebestsolutiontomeettheirrequirements.Thesearesufficienttoshowthatthesecurityfocus.TheprovisionsoftheMinistryofConstruction,theresidentialareashouldachievesixintelligent,includingtheimplementationoftheautomatedmonitoringandmanagementofsecuritysystem;burglaralarmsystemshouldbeinfraredormicrowave,gasleakalarms,andothertypesofalarmdevices,basedonthisparagraph,gasleakdetectionalarmdeviceintelligenceisimperative.Thissystemismainlyforconventionalgas,liquefiedpetroleumgasleakdetection,alarm.Thissystemhasthefollowingcharacteristics:withMCUcontrolcircuitissimple,cheap,andgoodreliability.Enhanced51microcontroller,theMQ-2gassensors,gasleakemitslightandsoundthealarm,thissystemcanbeusedasasmarthomesecuritysystem!Keywords:gasleak;microcontroller;gassensorIII目录1引言..............................................................11.1煤气泄漏检测报警装置的背景及意义.............................................................11.2煤气泄漏报警器的现状.....................................................................................21.3设计任务.............................................................................................................32煤气泄漏检测报警装置的方案设计....................................42.1设计思想.............................................................................................................42.2气体传感器的选型.............................................................................................42.2.1气体传感器介绍…………………………………………………………42.2.2气体传感器的选定………………………………………………………72.3煤气泄露报警系统的整体设计方案.................................................................82.3.1煤气泄露报警器工作原理………………………………………………82.3.2煤气泄露报警器的结构…………………………………………………82.4装置功能说明.....................................................................................................92.5装置主体图..........................................................................................................93煤气泄漏检测报警装置的硬件部分设计..............................103.1STC12C5A60S2系列单片机简介....................................................................103.2STC12C5A60S2系列单片机的内部结构........................................................123.2.1管脚说明……………………………………………………………….123.2.2引脚电路的连接………………………………………………………..143.2.3振荡器特性…………………………………………………………….153.3单片机领域前景及发展状况...........................................................................153.4STC12C5A60S2系列单片机最小应用系统....................................................163.4.1电源电路……………………………………………………………….163.4.2时钟电路……………………………………………………………….173.4.3复位电路……………………………………………………………….18IV3.5传感器电路.......................................................................................................193.5.1MQ-2传感器介绍……………………………………………………...193.5.2传感器电路的连接…………………………………………………….213.6显示电路...........................................................................................................213.7串口下载模块...................................................................................................223.7.1关于RS-232…………………………………………………………...224煤气泄漏检测报警装置的软件部分设计...............................244.1主程序设计流程与编程...................................................................................244.1.1主程序设计流程图…………………………………………………….244.2A/D转换模块的编程........................................................................................264.2.1A/D转换模块的结构………………………………………………...264.2.2A/D转换模块程序…………………………………………………...264.35110液晶模块的编程....................................................................................274.3.1液晶模块编程模式…………………………………………………...274.3.2液晶模块程序………………………………………………………...274.4报警主程序.....................................................................................................315煤气泄漏检测报警装置的调试................................

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

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

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

×
保存成功