文档详情

毕业论文-温室温度自动控制系统设计1.doc

发布:2018-04-11约2.11万字共35页下载文档
文本预览下载声明
温室温度自动控制系统设计 李** (吉首大学物理科学与信息工程学院,湖南 吉首 416000) 摘 要 本系统以AT89C51单片机为控制核心,利用温度传感器AD590对蔬菜大棚内的温度进行实时采集与控制,实现温室温度的自动控制。本系统由单片机小系统模块、温度采集模块、加热模块、降温模块、按键以及显示模块六个部分组成。可以通过按键设定温室的温度值,采集的温度和设定的温度通过LED数码管显示。当所设定的温度值比采集的温度大时,通过加热器加热,以达到设定值;反之,开启降温风扇,以快速达到降温效果。通过该系统,对蔬菜大棚内的温度进行有效、可靠地检测与控制,从而保证大棚内作物在最佳的温度条件下生长,提高质量和产量。 关键词:单片机;温度传感器;温度控制;温度显示;键盘输入;温室 Automatic Temperature-Control System of Greenhouse Li ** (College of Physics Science and Information Engineering, Jishou University, Jishou, Hunan 416000) Abstract This system takes the AT89C51 single chip as the control core, using the temperature sensor AD590 to carry on real-time gathering and controlling to the greenhouse of vegetables, so it can realizes auto-control to the greenhouse’s temperature. This system contains the miniature single chip system module, the temperature gathering module, the heater module, the drop-temperature module, the key pressed module and the display module. The gathering temperature or the setting temperature is displayed through the seven-seg LED. It can be established new temperature value in the greenhouse through pressing buttons, when this temperature value is higher than the gathering temperature value, then makes the heater work in order to achieve the defined value; Otherwise, the heater knocks off, and opens the ventilator as fast as to achieve the supposed temperature. It will be effective and reliable to exam and control the temperature of the greenhouse by using this system, thus guarants the crop growing fine under the best temperature condition, and enhances the crops’ quality and output. Key words: Single chip; Temperature sensor; Temperature control; Temperature display; Keyboard entry; Greenhouse 目 录 第一章 引言 1 第二章 工作原理 3 2.1 设计思路 3 2.2 总体设计框图 3 第三章 硬件设计 4 3.1 基于AT89C51的单片机小系统 4 3.2 温度采集模块 5 3.3 显示模块 8 3.4 键盘扫描 10 3.5 WP型温室加热器 12 3.6 降温模块 13 第四章 软件设计 14 4.1 主程序 14 4.2 定时器T0中断 16 4.3 显示模块 18 4.4 按键扫描 19 第五章 测试分析 22 结束语 23 参考文献 24 致 谢 25 附 录 26 附录1系统电路图 26 附录2 源程序代码 26 第一章 引
显示全部
相似文档