欢迎来到天天文库
浏览记录
ID:56797860
大小:3.92 MB
页数:50页
时间:2020-07-12
《基于51单片机的大棚温湿度检测系统的设计与实现.doc》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、基于51单片机的大棚温湿度监测系统的设计与实现摘要:随着经济的快速发展,我国的农业产业结构发生了很大的变化,其中较为突出的是温室大棚种植业。鉴于大棚种植业在不同的季节都有较大的产量,所以越来越多的农民采用温室大棚种植蔬菜。温度、湿度和光照度的控制是温室大棚得到高产量的关键要素。若要测量温湿度和光照度,对于大量的大棚而言,仅靠温度测量计来实现,需要更多的人力和物力。随着农业的产业范围不断发展与扩大,采用这种传统测量大棚温湿度的方法,具有很大的局限性和不足之处。如今,自动监测棚内温湿度的装置被越来越多的用户采用。本文设计了基于STC89C52RC单片机的温室大棚温湿度监测系统,主要包括电路设
2、计和软件设计等。该系统以单片机为核心通过数字温湿度传感器DTH11和光照传感器BH1750对大棚的温湿度和光照度进行数据采集。传感器将采集的数据传输给单片机,单片机根据收到的数据做出相应的分析和处理,其结果显示在LCD1602液晶显示屏上。如果超出预先设定的温湿度和光照度限制范围,单片机控制开启指示灯,同时控制对应的继电器驱动打开设备工作,使大棚温湿度值达到适宜的范围值。关键字:STC89C52RC单片机;数字温湿度传感器DTH11;光照传感器BH1750FVI;LCD1602液晶显示屏Designandimplementationofthegreenhousetemperaturean
3、dhumiditydetectionsystembasedon51singlechipmicrocomputerAbstract:Withthedevelopmentofeconomy,greatchangeshavetakenplaceintheagriculturalindustryinourcountry,oneofthemoreprominentchangesisthegreenhouseplanting.Indifferentseasons,thegreenhouseplantinghasagreatproduction,moreandmorefarmersusegreenho
4、usestogrowvegetables.Controllingoftemperature,humidityandilluminationarethekeyfactorsofhighproductioningreenhouse.Ifweneedtomeasurethetemperatureandillumination,itwillneedmoreman-powerandmaterialresourcesforalargenumberofgreenhouses.Withthedevelopmentandexpansionofagriculturalindustry,thetraditio
5、nalmethodsofmeasuringthetemperatureandhumiditywillhasmanylimitationsandshortcomings.Now,theautomaticmonitoringdeviceoftemperatureandhumidityisadoptedbymoreandmorefarmerintheshed.Inthispaper,thetemperatureandhumiditymonitoringsystemofgreenhousebasedonSTC89C52RCMCUaredesigned,mainlyincludingcircuit
6、designandsoftwaredesign.Thesystemusesthesingle-chipmicrocomputerasthecorethroughthedigitaltemperatureandhumiditysensorDTH11andlightsensorBH1750tocollectthetemperatureandhumidityandlightintensityofthegreenhouse.ThedataarecollectedbythesensorfeedbacktotheMCUforthecorrespondinganalysisandprocessinga
7、ccordingtothereceiveddata,theresultsareshownontheLCD1602liquidcrystaldisplaymonitor.Ifbeyondthepresettemperature,humidityandlightintensitylimit,themicrocontrollercontrolopenindicatorlamp,whilecontrollingthecorrespondin
此文档下载收益归作者所有