您好,欢迎访问三七文档
当前位置:首页 > IT计算机/网络 > AI人工智能 > 大棚温湿度自动控制系统设计毕业设计(含外文翻译)
西华大学毕业设计说明书大棚温湿度自动控制系统设计摘要:本设计是基于STC89C52RC单片机的大棚温湿度自动控制系统,采用SHT10作为温湿度传感器,LCD1602液晶屏进行显示。SHT10使用类似于I2C总线的时序与单片机进行通信,由于它高度集成,已经包括A/D转换电路,所以使用方便,而且准确、耐用。LCD1602能够分两行显示数据,第一行显示温度,第二行显示湿度。这个控制系统能够测量温室大棚中的温度和湿度,将其显示在液晶屏LCD1602上,同时将其与设定值进行对比,如果超出上下限,将进行报警并启动温湿度调节设备。此外,还可以通过独立式键盘对设定的温湿度进行修改。通过设计系统原理图、用Proteus软件进行仿真,证明了该系统的可行性。关键词:STC89C52RC,SHT10,I2C总线,独立式键盘,温湿度自动控制Abstract:Thisdesignisanautomatictemperatureandhumiditycontrollerforgreenhouses,withtheSTC89C52RCMCUbeingitsmaincontroller.ItusestheSHT10asthetemperatureandhumiditysensor,andtheLCD1602todisplaythemessages.TheSHT10usesatimingsequencemuchliketheI2Ctocommunicatewiththemicro-controller.Becauseit’sahighlyintegratedchip,italreadyincludesananalogtodigitalconverter.Therefore,it’squiteconvenienttouse,andalsoaccurateanddurable.TheLCD1602candisplaytwolinesofmessages,withthefirstlinefortemperatureandthesecondlineforhumidity.Thedesigncanmeasurethetemperatureandhumidityinagreenhouse,andthendisplayitonaLCD1602.Meanwhile,itcomparesthedatawiththesetlimit.Ifthelimitisexceeded,thenthesystemwillsendoutawarningusingabuzzerandactivatethetemperatureandhumiditycontrollingequipment.Besides,thesetlimitcanbemodifiedwiththeindependentkeyboard.ThroughschematicdesignandProteussimulation,thefeasibilityofthisdesignhasbeenproved.Keywords:STC89C52RC,SHT10,I2Cbus,independentkeyboard,temperatureandhumiditycontrol西华大学毕业设计说明书目录1前言...............................................................................................................................12总体方案设计...............................................................................................................32.1温湿度控制系统的设计指标要求....................................................................32.2系统设计的原则................................................................................................32.2.1可靠性.....................................................................................................32.2.2性价比.....................................................................................................32.3方案比较............................................................................................................42.3.1方案一.....................................................................................................42.3.2方案二.....................................................................................................42.4方案论证............................................................................................................52.5方案选择............................................................................................................53单元模块设计...............................................................................................................63.1各单元模块功能介绍及电路设计....................................................................63.1.1单片机最小系统.....................................................................................63.1.2液晶显示模块.........................................................................................83.1.3温湿度传感器模块.................................................................................83.1.4报警电路的设计...................................................................................93.1.5输出电路设计.......................................................................................103.1.6电源的设计...........................................................................................123.1.7按键电路设计.....................................................................................133.1.8串口通信电路.......................................................................................143.2元件清单..........................................................................................................153.3关键器件的介绍..............................................................................................173.3.1STC89C52RC.........................................................................................173.3.2SHT10温湿度传感器............................................................................194系统软件设计.............................................................................................................224.1软件设计的总体结构......................................................................................224.2主要模块的设计流程框图..............................................................................244.2.1主程序流程图.......................................................................................244.2.2SHT10子程序流程图............................................................................25西华大学毕业设计说明书4.2.3LCD1602子程序流程图.......................................................................274.2.4输出控制子程序流程图.......................................................................284.2.5键盘扫描子程序流程图.......................................................................294.3软件设计所用工具..........................................................................................314.3.1KeiluVision4..................................................................................
本文标题:大棚温湿度自动控制系统设计毕业设计(含外文翻译)
链接地址:https://www.777doc.com/doc-2932732 .html