您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 汽车理论 > (卢志祥)基于单片机的智能火灾报警系统
毕业设计(论文)题目基于单片机的智能火灾报警系统姓名卢志祥学号28100102029专业班级自动化08B(本)所在学院机电工程学院指导教师(职称)彭芳(讲师)二○一二年5月5日I基于单片机的智能火灾报警系统摘要随着科学技术的迅速发展,人们进入了信息时代,作为获取信息手段的传感器技术得到了显著的进步,其应用领域越来越广泛,对其要求越来越高,需求越来越迫切。随着电子产品在人类生活中的广泛使用,由此引起的火灾也越来越多,在我们生活的四周到处潜伏着火灾隐患。为了避免火灾以及减少火灾造成的损失,我们有必要完善火灾自动报警系统,并广泛应用在生活中,将火灾消灭在萌芽状态,最大限度地减少社会财富的损失。本系统以电阻式烟雾传感器和温度传感器以及单片机技术为核心并与其他电子技术相结合,设计出一种技术水平较好的火灾报警器。其中选用MQ-2型半导体可燃气体敏感元件烟雾传感器实现烟雾的检测,具有灵敏度高、响应快、抗干扰能力强等优点,而且价格低廉,使用寿命长。选用DS18B20温度传感器作为温度检测。选用的AT89S52单片机,其整合了A/D转换、硬件乘法器、硬件脉宽调制器等资源,具有高速、低功耗、超强抗干扰等优点,是目前同类技术中性价比较高的产品。以AT89S52单片机和MQ-2型半导体电阻式烟雾传感器以及DS18B20温度传感器为核心设计的火灾报警器可实现声光报警、数据显示、报警限设置功能。是一种结构相对较简单、性能较稳定的智能化烟雾报警器。关键词:传感器;火灾报警;自动采集;自动报警;单片机IITheSystemofIntelligentFireAlarmBasedonSCMAbstractTherapiddevelopmentofScienceandtechnologyleadspeopletotheinformationera.Theseniortechnologyhasgotremarkableprogressasameansofobtaininginformation.It’sapplicationfieldsbecomemoreandmorewidely,andtherequirementofitisbecominghigherandhigher,andthedemandisurgent.Aselectronicproductsarewidelyusedinhumanlife,theresultingfirewasalsomoreandmore.Thefirepotentialsafetyproblemslurkinourlifearound.Inordertoavoidthefireandreducethelosscausedbyfire,it’stimeforusedtoperfectthesystemofautomaticfirealarm,andwidelyuseditinourdailylife,willthefirenippedinthetimeofbud.Itcanminimizethelossofwealthofsociety.Thispaperdesignsabetterleveloffirealarmtechnology,usingawidelyusedmicrocontrollertechnologyandresistivesmokesensorandtemperaturesensorasthecore,andwithotherelectronictechnologycombined.UsetheMQ-2typesemiconductorgassensitiveelementsmokesensortoachievesmokedetection,whichhashighsensitivity,fastresponse,stronganti-interferenceability,andthepriceislow,servicelifelong.UsetheDS18B20temperaturesensorfortemperaturedetection.TheselectionofAT89S52chip,whichisaintegrationoftheA/Dconversion,hardwaremultiplier,hardwarepulsewidthmodulatorandotherresources,hashighspeed,lowpower,stronganti-interferenceandotheradvantages,isofsimilartechnologyneutralhighercost-effectiveproducts.Thesmokealarm,designswithAT89S52MCUandMQ-2typesemiconductorresistortypesmokesensorandtemperaturesensor-DS18B20asthecore,canachievethefunctionthatsound-lightalarm,datadisplay,alarmlimitsetting,isaintelligentsmokealarmthatakindofsimplestructure,stableperformance.Keyword:sensor;Firealarm;Automaticacquisition;Automaticalarm;Single-chipmicrocomputerIII目录1绪论....................................................................11.1报警器论文研究背景....................................................11.2本设计的应用及意义....................................................11.3论文主要工作..........................................................12系统方案设计..............................................................22.1系统总体规划..........................................................22.2单片机内部结构及接口描述..............................................22.3主要元件的选型........................................................42.3.1AT89S52单片机.................................................42.3.2集成温度传感器DS18B20.........................................52.3.3气体传感器MQ-2................................................72.3.4数码管驱动芯片74HC245.........................................72.3.5模数转换芯片ADC0832...........................................83系统硬件设计..............................................................93.1AT89S52复位电路......................................................93.2温度传感器电路........................................................93.3MQ-2烟雾感器电路....................................................103.4A/D转换ADC0832电路.................................................103.5报警器电路...........................................................113.6七段数码管显示电路...................................................113.7状态指示灯、控制键电路...............................................124系统软件设计.............................................................134.1主函数的程序.........................................................134.2中断服务的程序.......................................................144.3数据处理的程序.......................................................144.4数据显示的程序.......................................................154.5报警的程序...........................................................164.6报警值设置的程序.....................................................184.7精确值显示的程序.....................................................195系统程序调试.............................................................225.1调试的步骤...........................................................225.2调试过程中遇到的问题及解决方法.......................................226总结与展望...............................................................24参考文献...................................................................25IV附录.......................................................................26附录1报警器仿真图.......................................................26附录2报警器实物图......................................................26附录3报警器元件清单....................................................27附录4系统程序代码......................................................27致谢.....................................................................4211绪论1.1报警器论
本文标题:(卢志祥)基于单片机的智能火灾报警系统
链接地址:https://www.777doc.com/doc-5447723 .html