欢迎来到天天文库
浏览记录
ID:34347191
大小:667.61 KB
页数:48页
时间:2019-03-05
《毕业设计(论文)-基于单片机的温室温度控制系统设计》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、基于单片机的温室温度控制系统设计摘要随着大枷技术的普及,温室大棚数量不断增多,温室大棚的温度控制成为一个难题。目前应用于温室大棚的温度检测系统大多采用由模拟温度传感器、多路模拟开关、A/D转换器及单片机等组成的传输系统。这种系统安装拆卸繁杂,成本也高。同时信号也易受干扰。本课题提出一种基于单片机并采用数字化单总线技术的温度测控系统应用于温室大枷的设计方案,该方案是利用温度传感器将温室大枷内温度的变化,变换成电流的变化,再转换为电压变化输入模数转换器,其值由单片机处理,最后由单片机去控制数字显示器,显示温室大枷内的
2、实际温度。一旦该温度值超过我们预先设定的上、下限,单片机便启动报警系统进行报警,进而对大棚内温度进行控制。这种温度控制系统安装简单方便,系统稳定可靠、可维护性好。关键词:单片机,单总线技术,温度传感器,温室大枷TheDesignofGreenhouseControlSystemBasedonMCUABSTRACTWiththepopularizationofgreenhousetechnology,theamountofgreenhouseislargerandlarge匚However,thetemperatu
3、recontrolofgreenhouseisbecomingadifficultproblemcurrently,thetemperaturecontrolsystemofgreenhouseismostlyusingatransferssystemwhichconsistsofanalogtemperaturesensors,multiplexinganalogswitches,A/DconversionunitsandMCU.thiskindofcollectionsystemoffixingandtake
4、-downismiscellaneous,andthecostishigh.What'smore,thesignalsWhichareeasilyinterferedandhavemoreerror.ThisPapergivesagreenhousetemperaturecontrolProjectwhichisbasedupontheMCUanddigitalsignalbustechnology.InthisProject,thechangeoftemperatureinthegreenhouseistran
5、sformedintothechangeofelectriccurrentandthenintothechangeofvoltagebyusingthetemperaturesensors.ThechangeofvoltageisinputintotheA/DconversionunitsandtheresultisdealtwithbyMCU.AtlasttherealtimetemperatureinthegreenhouseisdisplayedonthemonitorunderthecontrolofMC
6、U.Oncethevalueofthetemperatureinthegreenhouseexceedstheminimumandmaximumwhichispreestablished,theMCUwillgiveanalarminandautocontrolthetemperatureinthegreenhouse.Thistemperaturecontrolsystemwhosestabilizationandmaintainabilityisgooddoesn'tneedanyfixednetworkto
7、supportandiseasilyfixed.KEYWORDS:MCU,signalbustechnology,temperaturesensor,greenhouse第1章系统硬件电路的设计11.1温度控制原理1」」系统控制信号分析31.1.2系统工作原理41.2单片机的选择7121单片机的概述71.2.2AT89C51芯片的主要性能81.2.3AT89C51芯片的内部结构框图91.2.4AT89C51芯片的引脚说明91.3温度传感器的选择13131DS18B20简介141.3.2DS18B20的性能特点14
8、1.3.3DS18B20的管脚排列151.3.4DS18B20的内部结构151.3.5DS18B20的控制方法191.3.6DS18B20的测温原理201.3.7DS18B20的时序211.3.8DS18B20使用中的注意事事项231.41602LCD介绍241.5温度控制系统控制方案261.5.1主控电路261.5.2传感器电路261.5.3显不电路261.5.4报警电
此文档下载收益归作者所有