题目基于单片机的粮仓温湿度控制系统设计学生姓名张大陆学号1213014089所在学院物理与电信工程学院专业班级电子信息工程专业12级3班指导教师帅春江完成地点陕西理工学院2016年6月5日陕西理工学院毕业设计基于单片机的粮仓温湿度控制系统设计作者:张大陆(陕西理工学院物理与电信工程学院电子信息工程专业12级3班,陕西汉中723001)指导老师:帅春江[摘要]影响粮食安全储存的主要参数是粮仓的温度和湿度,粮仓温湿度测量方法以及相应的智能控制一直是粮食储存的一个重要问题。本设计采用STC89C52单片机最小系统对检测、报警、显示、调控等模块进行多点控制,传统的温湿度控制利用温度计、湿度表、湿度试纸等测试器材,通过人工进行检测,对不符合温湿度要求的库房进行通风、降温、去湿等操作。这种方法费时费力,效率低,随机性大,误差大,不能及时的解决问题。本设计则通过自动检测、即时报警、自动调控等功能很好的解决了。并且,本设计不仅针对粮仓,对于大多譬如蔬菜大棚、花圃、实验室、医院等需要温湿度检测控制的各个领域都是适用的。[关键词]粮仓;温湿度;多点检测控制;单片机陕西理工学院毕业设计DesignoftemperatureandhumiditycontrolsystemforgrananybasedonsinglechipmicrocomputerAuthor:DaluZhang(Grade12,Class3,Majorelectronic1sandinformationengineering,SchoolofPhysicsandElectronicInformationEngineering,ShaanxiUniversityofTechnology,Hanzhong723001,Shaanxi)Tutor:ChunjiangShuaiAbstract:Grainisanecessityforhuman,thegrainstorageisveryessentialtothemaintenanceofsocialstabilityandkeeptheeconomysustainabledevelopmented.Andthemainparameterstothegrainsafestorageisthetemperatureandhumidity.ThisdesignusestheSTC89C52systemofsinglechipmicrocomputertocotrolthemodulesaboutthedetection,alarm,controlandthekey.Anditcouldautomaticmeasurementandcontrolwithoutpeople,andimproveeffciencyandqualityofworkverywell.DHT11temperatureandhumiditysensorsandOLEDdisplayshowsrealtimedataandpasstothestaffwithinstantandaccurate.WhilethetraditionaltemperatureandhumiditycontrolisuseofThermometer,humiditytable,humiditydipsticktestequipment.Throughtheartificialtesting.Notinconformitywiththerequirementsofthetemperatureandhumiditysupplycooling,ventilation,towetoperation.Thisartificialtestingtime-consuming,theefficiencyislow.Thisdesignisbyautomaticdetection,instantalarm,automaticregulationoffunctionssuchasagoodsolutiontotheseproblems.Atlast,thisdesignnotonlyagainstthegranary,butalsoformostsuchasvegetablegreenhouses,flowersgarden,laboratories,hospitalscouldalsobeapplicabled.Keywords:Granary;automaticdetectionandcontrol;temperatureandhumidity;Singlechip陕西理工学院毕业设计目录1引言..................................................11.1背景及意义........................................11.2现状及发展趋势..................................11.3研究内容...........................................12系统总体方案设计.................................22.1设计要求...........................................22.2系统基本方案.....................................22.2.1传感器方案..................................22.2.2显示器方案..................................22.2.3单片机主芯片方案.........................22.3总体设计框图.....................................33系统硬件设计.......................................43.1主控模块...........................................43.1.1STC89C52芯片..................................43.1.2STC89C52芯片的管脚、引线与功能.......43.1.3主控模块电路原理图.....................53.2温湿度检测模块..................................63.2.1DHT11传感器简介............................63.2.2DHT1...