您好,欢迎访问三七文档
简易温、湿度计设计摘要随着现代信息技术的飞速发展和传统工业改造的逐步实现,温湿度自动检测和显示系统在很多领域得到广泛的应用。人们在温湿度检测的准确、便捷、快速等方面有着越来越高的要求,而传统的温湿度传感器已经不能满足人们的需求,其渐渐被新型的温度传感器所代替。本文设计的是简易温、湿度计,该器件可直接向单片机传输数字信号,便于单片机处理及控制。此设计的优点主要体现在可操作性强,结构基础简单,拥有很大的扩展空间等。设计步骤分为四步:首先,了解课题的基本任务和现实意义;其次,提出利用单片机AT89S52和温度传感器DS18B20、湿度传感器HS1101组成检测温湿度的系统方案;然后,从测温、湿电路、主控电路、报警电路等几个方面来分析说明电路原理;最后,给出系统工作所用的软件设计。关键词:温湿度,传感器,单片机,电路DesignofSimpleHygrometerandthermometerAbstractWiththerapiddevelopmentofmoderninformationtechnologyandtraditionalindustrialtransformationgraduallyrealized,temperatureandhumidityautomaticdetectionanddisplaysystemiswidelyusedinmanyfields.Peoplehavemoreandmorehighdemandintheaspectofconvenientandfasttemperatureandhumiditydetection.Whilethetraditionaltemperatureandhumiditysensorcan'tmeetthedemandsofpeople,thenewtypeoftemperaturesensorisgraduallyreplacingtheoldproducts.Thispaperhasdesignedasimpletemperatureandhumiditymeter.Thisdevicecantransmitdigitalsignaldirectlytothemicroprocessor,facilitatingmicroprocessorprocessingandcontrolling.Theadvantagesofthisdesignmainlyembodiedinthestrongmaneuverability,basicstructuresimple,largeexpansionspace,etc.Thedesignincludesfoursteps:First,wemustunderstandboththebasicassignmentsandpracticalsignificanceoftheproject;Second,thedesignusesthemicroprocessorAT89S52andtemperaturesensorDS18B20,humiditysensorsHS1101formedthetemperatureandhumidityautomaticmeasurementandcontrolsystem.Third,thispaperanalysestheprincipleofcircuitwithdemonstratingthehumidcircuitdesign,themaincontrolcircuit,alarmcircuit,etc.Finally,thepapergivessoftwaredesignwhichthesystemneeded.Keywords:temperatureandhumidity,sensors,microprocessor,circuit目录1绪论........................................................................................................................................11.1课题发展背景...............................................................................................................11.2国内外研究及发展状况...............................................................................................11.3课题研究方法...............................................................................................................21.4论文构成及研究内容...................................................................................................22系统方案设计........................................................................................................................42.1系统设计思路..............................................................................................................42.2系统设计框图..............................................................................................................42.3系统方案设计与论证..................................................................................................53系统电路设计........................................................................................................................63.1单片机主控模块设计................................................................................................63.1.1AT89S52工作模式及注意事项.........................................................................63.1.2单片机主控电路设计........................................................................................93.2温度传感器模块设计................................................................................................103.2.1DS18B20工作原理..........................................................................................103.2.2DS18B20测温电路设计..................................................................................123.3湿度传感器模块设计................................................................................................123.4报警模块设计.............................................................................................................133.51602液晶显示模块设计...........................................................................................143.6系统总体电路图设计................................................................................................154软件设计..............................................................................................................................174.1主程序.........................................................................................................................174.2测温度子程序流程图.................................................................................................184.3测湿度子程序流程图.................................................................................................184.4液晶显示程序流程图.................................................................................................19结论......................................................................................................................................21致谢......................................................................................................................................22参考文献..................................................................................................................................23附录.........................................................................................
本文标题:简易温湿度计的设计
链接地址:https://www.777doc.com/doc-6380227 .html