1基于单片机的智能温室大棚控制系统长春大学摘要温室是现代农业生产所必需的基本设备,用它有效地控制温度、光照、湿度、二氧化碳浓度等是改变植物生长环境、为植物生长创造最佳条件、避免外界四季变化和恶劣气候对其影响的前提。本设计以STC89C52单片机为核心完成了对空气温度、土壤湿度、光照度进行数据的采集、处理、显示等系统的基本框图、工作原理和继电器控制的设计的工作。主要内容有:(1)通过单片双端集成温度传感器AD590采集实时温度。(2)通过湿度传感器HS1100采集实时湿度。(3)通过固态电化学性二氧化碳传感器TGS4160采集二氧化碳浓度。(4)判断采集到的参数值与设置值是否一致,并进行继电器控制。通过以上设计可以对植物生长过程中的土壤湿度、环境温度、光照度以及二氧化碳浓度进行了实时地、连续地检测、直观地显示并进行自动地控制。克服了传统的人工测量方法不能进行连续测量的弊端,节省了工作量,并避免了人为的疏漏或错误造成的不必要的损失。关键词:单片机温度传感器湿度传感器二氧化碳传感器2基于单片机的智能温室大棚控制系统长春大学InthispaperGreenhouseisessentialformodernagriculturebasicequipment,useittoeffectivelycontrol,suchastemperature,light,humidity,carbondioxideconcentrationistochangetheplantgrowthenvironment,createthebestconditionforplantgrowth,avoidtheseasonschangeandtheinfluenceofbadweather.ThisdesigntoSTC89C52single-chipmicrocomputerasthecoretocompletetheairtemperature,soilmoisture,andlightfordataacquisition,processinganddisplaysystemofthebasicblockdiagram,workingprincipleandthedesignofrelaycontrolwork.Maincontentsare:(1)bymonolithicintegratedtemperaturesensorAD590tocollectreal-timetemperature.(2)bythehumiditysensorHS1100gatheringreal-timehumidity.(3)throughsolidelectricchemicalcarbondioxidesensorTGS4160collectingcarbondioxideconcentrations.(4)determinewhethercollectedparametervalueandsetvalue,andrelaycontrol.Throughtheabovecanbedesignedforplantstogrowintheprocessofsoilhumidity,environmenttemperature,lightandco2concentrationinrealtime,continuousdetection,displayvisuallyandautomaticallycontrol.Overcomesthetraditionalcontinuousmeasurementoftheshortcomingsofmanualmeasurementmethoddoesnot,andsavetheworkload,andavoidtheunnecessarylosscausedbytheomissionorhumanerror.Keywords:SCMtemperaturesensorhumiditysensorcarbondioxidesensor1基于单片机的智能温室大棚控制系统长春大学目录1.绪论....................................................11.1课题背景及研究意义.............................................................................................................11.2国内外温室控制技术发展概况...............................................................................................21.2.1国外状况..................................................................................................................................31.2.2国内状况..................................................................................................................................31.3选题的目的和意义...................................................................................................................32.温室大棚自动控制系统控制方案设计..............................................................52.1控制方案设计.........................................................................................................................52.2系统硬件结构...........................................................................................................................62.3温室大棚的硬件组成.................................