资源描述:
《基于单片机的温度采集系统设计毕业设计》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、基于单片机的蔬菜大棚温度采集系统设计摘要随着现代信息技术的飞速发展,温度测量控制系统在工业、农业及人们的日常生活中扮演着一个越来越重要的角色,它对人们的生活具有很大的影响,所以温度采集控制系统的设计与研究有十分重要的意义。本设计以AT89C51单片机为核心的温度采集系统的工作原理和设计方法。温度信号由温度芯片DS18B20采集,并以数字信号的方式传送给单片机。文中介绍了该控制系统的硬件部分,包括:温度检测电路、温度显示电路。单片机通过对信号进行相应处理,从而实现温度显示的目的。文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:数码管
2、显示程序、温度信号处理程序、超温报警程序。温室大棚是如今植物栽培生产中必不可少的设施之一,不同种类蔬菜对温度及湿度等生长所需条件的要求也不尽相同,为它们提供一个更适宜其生长的封闭的、良好的生存环境,以提早或延迟花期,最终将会给我们带来巨大的经济效益。关键词:温度采集;AT89C51;DS18B20;DesignoftheTemperatureAcquisitionSystemBasedontheSCMintheGreenhouseAbstractWiththerapiddevelopmentofmoderninformationtechnolog
3、y,temperatureacquisitionsysteminindustry,agricultureandpeople'sdailylifeplaysamoreandmoreimportantrole;ittopeople'slifehasagreatinfluence,sothetemperaturegatheringthedesignofcontrolsystemandresearchhaveveryimportantsignificance.ThisdesignasthecoreoftheAT89C51temperaturecontro
4、lsystemoftheworkingprincipleanddesignmethod.TemperaturesignalchipDS18B20collectionbythetemperature,andthewaytodigitalsignaltransfertothemicrocontroller.Thepaperintroducesthehardwarepartofthecontrolsystem,including:temperaturedetectioncircuit,temperaturecontrolcircuit,temperat
5、uredisplaycircuit.SCMthroughtosignalprocessed,soastoachievethepurposeoftemperaturecontrol.Thispaperhasmainlyintroducedthesoftwaredesignpart,herethemodularizedstructure,mainmodulehas:digitaltubeshowprogram,keyboardscanningandkeyprocessingprogram,temperaturesignalprocessingprog
6、ram,relaycontrolprocedures,supertemperaturealarmingprogram.Greenhousecanopyisnowplantingplantproductionofoneoftheindispensablefacilities,differentkindsofvegetablessuchastemperatureandhumidityconditionsneededforgrowthofdemandisendlessalsoandsame,providethemwithamoresuitablefor
7、thegrowthoftheclosed,goodlivingenvironment,andtodelayorearlyflowering,willeventuallybringthehugeeconomicbenefits.Keywords:temperatureacquisition;AT89C51;DS18B20;目录引言1第1章绪论21.1课题研究背景21.2国内外研究现状21.3该课题研究的主要内容3第二章总体设计方案42.1系统方案选择42.1.1温度测量的选择52.1.2显示电路的选择52.1.3系统各模块的最终方案52.2方案的总
8、体设计电路图6第三章硬件设计73.1单片机AT89C5173.1.1简介73.1.2单片机最小系统103.2温度传感器DS18B2011