福建师范大学协和学院传感器技术作品设计作品名称:单片机控制的温度烟雾报警系统系别:信息技术系专业:电子信息工程班级:1班学号:学生姓名:2012年11月10日摘要__本次设计课题为基于单片机控制的温度烟雾报警系统。在设计中包括硬件和软件设计两部分,其中硬件设计,包括单片机控制电路、温度传感器、烟雾传感器、驱动执行报警电路、显示控制电路等部分组成,处理器为STC89C52型单片机。随着现代信息技术的飞速发展和传统工业改造的逐步实现,能够独立工作的温度检测与显示系统应用于诸多领域。传统的温度检测以热敏电阻为温度敏感元件。热敏电阻的成本低,需要外加信号处理电路,而且可靠性相对较差,测温准确度低,检测系统也有一定的误差。与传统的温度计相比,这次设计的是基于DS18B20的数字温度计,它具有读数方便,测温范围广,测温精确,数字显示,适用范围宽等特点。关键字:单片机温度传感器报警ABSTRACTThisdesignisbasedonthesinglechipmicrocomputertocontrolthetemperaturealarmsystem.Includedinthedesignofhardwareandsoftwaredesignoftwoparts,thispapermainlyforhardwaredesign,includingthecontrolcircuitofthesinglechipmicrocomputer,temperaturesensor,drivingalarmcircuit,adisplaycontrolcircuitcomponents,theprocessorfortheSTC89C52typemcu.Withtherapiddevelopmentofmoderninformationtechnologyandtraditionalindustrytotransformgraduallyrealization,abletoworkindependentlyofthetemperaturedetectionanddisplaysystemisusedinmanyfields.Thetraditionaltemperaturemeasurementusingthermistorasatemperaturesensitiveelement.Thermalresistanceofthelowcost,theneedofexternalsignalprocessingcircuit,andrelativelypoorreliability,measurementaccuracyislow,alsohavecertainerrordetectionsystem.Comparedwiththetraditionalthermometer,thisdesignisbasedontheDS18B20digitalthermometer,ithasreadingconvenience,awiderangeoftemperaturemeasurement,accuratetemperaturemeasurement,digitaldisplay,wideapplicationrangeandotherfeatures.Keywords:SCM,temperaturesensoralarm目录摘要....................................................................................................................................................................IIABSTRACT.....................................................................................................................................................III1绪论....................................................................................................................................................................1.1作品研究背景及意义.................................................................................................................................1.2设计目的.....................................................................................................................................................1.3预期实现功能.............................................................................................................................................2设计方案............................................................................................................................................................2.1功能框架图.................................................................................................................................................2.2具体设计方案.............................................................................................................................................2.2.1时钟和复位电路...................................................................................