基于51单片机的大棚温湿度检测系统的设计与实现--毕业论文.doc
上传人:天马****23 上传时间:2024-09-12 格式:DOC 页数:51 大小:8MB 金币:10 举报 版权申诉
预览加载中,请您耐心等待几秒...

基于51单片机的大棚温湿度检测系统的设计与实现--毕业论文.doc

基于51单片机的大棚温湿度检测系统的设计与实现--毕业论文.doc

预览

免费试读已结束,剩余 41 页请下载文档后查看

10 金币

下载此文档

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

PAGE\*MERGEFORMATI基于51单片机的大棚温湿度监测系统的设计与实现摘要:随着经济的快速发展,我国的农业产业结构发生了很大的变化,其中较为突出的是温室大棚种植业。鉴于大棚种植业在不同的季节都有较大的产量,所以越来越多的农民采用温室大棚种植蔬菜。温度、湿度和光照度的控制是温室大棚得到高产量的关键要素。若要测量温湿度和光照度,对于大量的大棚而言,仅靠温度测量计来实现,需要更多的人力和物力。随着农业的产业范围不断发展与扩大,采用这种传统测量大棚温湿度的方法,具有很大的局限性和不足之处。如今,自动监测棚内温湿度的装置被越来越多的用户采用。本文设计了基于STC89C52RC单片机的温室大棚温湿度监测系统,主要包括电路设计和软件设计等。该系统以单片机为核心通过数字温湿度传感器DTH11和光照传感器BH1750对大棚的温湿度和光照度进行数据采集。传感器将采集的数据传输给单片机,单片机根据收到的数据做出相应的分析和处理,其结果显示在LCD1602液晶显示屏上。如果超出预先设定的温湿度和光照度限制范围,单片机控制开启指示灯,同时控制对应的继电器驱动打开设备工作,使大棚温湿度值达到适宜的范围值。关键字:STC89C52RC单片机;数字温湿度传感器DTH11;光照传感器BH1750FVI;LCD1602液晶显示屏PAGE\*MERGEFORMATIIDesignandimplementationofthegreenhousetemperatureandhumiditydetectionsystembasedon51singlechipmicrocomputerAbstract:Withthedevelopmentofeconomy,greatchangeshavetakenplaceintheagriculturalindustryinourcountry,oneofthemoreprominentchangesisthegreenhouseplanting.Indifferentseasons,thegreenhouseplantinghasagreatproduction,moreandmorefarmersusegreenhousestogrowvegetables.Controllingoftemperature,humidityandilluminationarethekeyfactorsofhighproductioningreenhouse.Ifweneedtomeasurethetemperatureandillumination,itwillneedmoreman-powerandmaterialresourcesforalargenumberofgreenhouses.Withthedevelopmentandexpansionofagriculturalindustry,thetraditionalmethodsofmeasuringthetemperatureandhumiditywillhasmanylimitationsandshortcomings.Now,theautomaticmonitoringdeviceoftemperatureandhumidityisadoptedbymoreandmorefarmerintheshed.Inthispaper,thetemperatureandhumiditymonitoringsystemofgreenhousebasedonSTC89C52RCMCUaredesigned,mainlyincludingcircuitdesignandsoftwaredesign.Thesystemusesthesingle-chipmicrocomputerasthecorethroughthedigitaltemperatureandhumiditysensorDTH11andlightsensorBH1750tocollectthetemperatureandhumidityandlightintensityofthegreenhouse.ThedataarecollectedbythesensorfeedbacktotheMCUforthecorrespondinganalysisandprocessingaccordingtothereceiveddata,theresultsareshownontheLCD1602liquidcrystaldisplaymonitor.Ifbeyondthepresettemperature,humidityandlightintensitylimit,themicrocon