编号南京航空航天大学金城学院毕业设计题目基于单片机的烟雾报警器的设计与实现学生姓名学号系部专业班级指导教师二〇一五年五月南京航空航天大学金城学院本科毕业设计(论文)诚信承诺书本人郑重声明:所呈交的毕业设计(论文)(题目:基于单片机的烟雾报警器的设计与实现)是本人在导师的指导下独立进行研究所取得的成果。尽本人所知,除了毕业设计(论文)中特别加以标注引用的内容外,本毕业设计(论文)不包含任何其他个人或集体已经发表或撰写的成果作品。作者签名:2015年5月10日(学号):基于单片机的烟雾报警器的设计与实现摘要人们的生活变得越加智能化,电器使用越加频繁,消防工作就越加重要。为了防止和减少火灾带来的巨大损失,需开发一种结构简单,经济适用的家用烟雾报警器并配合完善的监控报警系统。本报警器由单片机最小系统、温度、烟雾传感器两部分构成,加上其他设备可实现检测环境温度、烟雾等气体浓度并声光报警。本设计中选择STC89C52单片机作为控制元件,由于需要探测范围广、高灵敏度和优秀的稳定性的特点,故选用了MQ-2烟雾传感器。报警器主要由烟雾信号采集,烟雾报警器模拟-数字转换电路,微处理器控制电路,显示电路,声光报警电路和安全电路组成,设计合理,操作简单易懂,性价比高。烟雾报警器能够及时反映周围环境情况,发现温度烟雾异常和实时发出警报,从而降低火灾的危险性和各类损失。关键词:烟雾报警器,单片机,传感器DesignandimplementationofsmokealarmbasedonmicrocontrollerAbstractWiththesocialandeconomicdevelopment,people'slivesbecomeincreasinglyintelligentuseofelectricalapplianceshasbecomeincreasinglyfrequent,sothefireservicehasbecomeincreasinglyimportant.Topreventfiresandreducefirecausedcasualtiesandfinanciallosses,soweneedtodevelopameanssimple,affordablehomesmokealarmsandwithasoundalarmandmonitoringsystems,inordertomeetmarketdemand.Smokealarmsforthehome-basedmicrocontrollershouldhavethebasicdesignandfunction,wedesignandexplainasmokealarm.ThealarmsystemismainlycomposedofMCUandtemperature,smokesensorsintwoparts,plusotherequipmenttoachievetheimplementationofthegasconcentrationdetectionambienttemperature,smoke,etc.andonlysoundandlightalarms.ThisdesignchoiceSTC89C52microcontrollerasacontrolelement,theneedforawiderangeofdetectioncharacteristicsofhighsensitivityandexcellentstabilityIchoseMQ-2.Mainlybythesmokealarmsignalacquisitionandpre-amplifier,thesmokealarmanalog-digitalconversioncircuit,microprocessorcontrolcircuit,displaycircuit,soundandlightalarmcircuitandsafetycircuit,reasonabledesign,easytounderstand,inexpensive,itshighcost.Themainpartofthispaperforthealarmfunctionofvariouscomponentsandsystemsforadetaileddescriptionandinterpretationsoftwaredesignandsystemanalysisandinterpretation.Iwisheveryfamilyahomesmokealarmisinstalled,itcanreflecttheenvironmentalconditionsaroundmoresensitivethanthehumansenses.Temperatureanomaliesfoundsmoke,realalertsandphonealarm.Canhelppeopleranoutofthedangerzoneintime,reducetheriskoffireandtypesoflossesKeywords:Thesmokealarm;MCU;sensor目录摘要.......................................................................iAbstract..................................................................ii第一章绪论...............................................................11.1设计概述...........................................................11.2烟雾报警器的现状及发展.............................................11.3课题研究的目的和意义...............................................21.4毕业设计基本内容...................................................2第二章系统的总体方案设计.............................................