您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > 其它相关文档 > 温室大棚控制系统毕业设计
论文题目:温室大棚控制系统专业:测控技术与仪器本科生:(签名)指导教师:(签名)摘要温室种植在农业生产中占有越来越重要的地位,传统的温室种植自动化程度很低,基本是靠人工控制温湿度、光照的方式,既耗费人力又不精确,因此需要研制一种造价低廉、使用方便且测量准确的温湿度、光照控制系统。本课题研究的主要内容是利用单片机作为主控机,对温室内的温度、湿度和光照进行实时监测和控制,以满足温室内作物生长的环境要求。通过数字式温度传感器DS18B20进行温度采集,电容式湿度传感器HS1100对湿度参数进行采集,模块GY-30对光照进行采集,单片机STC12C5A60S2对采集到的数据进行处理,由LCD12864对当前的温湿度值和光照值进行显示。并实时判断温湿度、光照值是否满足设定的温湿度、光照范围,若超出设定范围,将及时启动报警装置进行报警,并采取相应的措施保证温室内温湿度、光照在合适的范围,初步实现了温室大棚的自动控制。键关词:温室,温湿度,光照,单片机,监测,控制Subject:DesignofgreenhousecontrolsystemSpecialty:technologyofmeasuringandcontrollingName:(Signature)_____Instructor:(Signature)ABSTRACTWiththerapidsocio-economicdevelopment,people'slivingstandardcontinuestoimprove,greenhousecultivationplaysanincreasinglyimportantroleinagriculturalproduction.Thedegreeofautomationoftraditionalgreenhousecultivationisverylow,basicallyrelyonmanualcontroloftemperatureandhumidity,lightway,bothlabor-intensiveandnotprecisetemperatureandhumidityandlightregulationmeasuresshowedgreatlylimitations.Therefore,weneedalowcost,easytouseandaccuratemeasurementoftemperatureandhumidity,lightcontrolsystem.Themaincontentofthisresearchistousemicrocontrollerasthehostcomputer,thetemperature,humidityandlightinsidethegreenhouseforreal-timemonitoringandcontrol,inordertomeettheenvironmentalrequirementsofgreenhousecrops.TemperaturecanbecollectedbydigitaltemperaturesensorDS18B20,capacitivehumiditysensorHS1100humidityparameterscollection,illuminationmoduleGY-30iscollectedbythemicrocontrollerSTC12C5A60S2thecollecteddataareprocessedbyLCD12864thecurrenttemperatureandhumidityvaluesanddisplayilluminationvalues.Andreal-timetodeterminethetemperatureandhumidity,lightvalueissettomeetthetemperatureandhumidity,lightrange,ifbeyondthesetrange,willpromptlystartthealarmdevicealarm,andtakeappropriatemeasurestoensurethatthetemperatureandhumidityinsidethegreenhouse,inasuitablerangeoflight,theinitialrealizationofautomaticcontrolgreenhouse.KEYWORDS:greenhouse,temperature,humidity,light,single-chip,monitoring,control目录前言...............................................................1第1章绪论.........................................................21.1选题的背景及目的.............................................21.2国内外研究现状...............................................21.3发展趋势.....................................................31.4本系统主要研究内容.......................................4第2章总体设计.....................................................52.1设计要求.....................................................52.2设计原则.....................................................52.2.1可靠性高...............................................62.2.2操作维护方便.........................................62.2.3性价比高...............................................62.3硬件设计系统总体框图.........................................6第3章系统硬件设计.................................................73.1主控模块.....................................................73.1.1方案选择...............................................73.1.2STC12C5A60S2单片机简介................................83.1.3单片机最小系统电路....................................103.2显示模块....................................................113.2.1方案选择..............................................113.2.2LCD12864简介.........................................113.2.3LCD124显示电路.......................................133.3温度测量模块................................................143.3.1温度定义..............................................143.3.2方案选择..............................................143.3.3DS18B20的介绍........................................143.3.4DS18B20测温电路......................................163.4湿度测量模块................................................163.4.1湿度定义..............................................163.4.2方案选择..............................................173.4.3HS1101湿度传感器介绍.................................173.4.4HS1101测湿电路.......................................183.5光照测量模块................................................213.5.1光照定义..............................................213.5.2方案选择..............................................213.5.3GY-30模块介绍........................................223.5.4GY-30测光强电路......................................223.6键盘模块....................................................233.6.1选择方案..............................................233.6.2键盘电路..............................................233.7报警模块....................................................243.8温度控制模块................................................253.9湿度控制模块..............................................263.10光照控制模块...............................................26第4章系统软件设计................................................294.1软件设计的整体思想........................................294.2系统主程序..................................................294.3采集模块子程序..............................................304.3.1.温度采集模块子程序....................................304.3.2湿度采集模块子程序....................................314.3.3光照采集子程序........................................324.4显示模块子程序..............................................334.5键盘模块子程序..............................................3
本文标题:温室大棚控制系统毕业设计
链接地址:https://www.777doc.com/doc-4337435 .html