基于单片机的温度采集系统设计——毕业设计

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

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

1 / 53
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功