文档详情

基于AT89C51单片机的蔬菜大棚温度控制系统的设计论文.doc

发布:2018-08-19约2.23万字共42页下载文档
文本预览下载声明
目 录 摘 要 1 ABSTRACT 2 第1章 绪论 3 1.1 课题研究的背景 3 1.2 课题的研究现状 3 1.3 本文研究的主要内容和思路 3 第2章 系统方案选择和论证 4 2.1 任务 4 2.2 任务要求 4 2.3 系统基本方案 4 2.3.1 各模块电路的方案选择及论证 4 2.3.2 系统各模块的最终方案 6 第3章 系统硬件设计 7 3.1 单片机型号选择 7 3.2 单片机最小系统电路设计 11 3.3 温度采集部分设计 12 3.4 按键电路设计 13 3.5 数码管显示电路设计 13 3.6 温度控制电路设计 14 3.7 报警电路设计 15 系统软件设计 16 4.1 主程序流程图 16 4.2 键盘扫描子程序 17 4.3 读取DS18B20温度模块子程序 18 4.4 数据处理子程序 18 第5章 控制系统的仿真 20 5.1 编程软件简介 20 5.2 仿真软件Proteus介绍 20 5.3 软件结合调试 21 第6章 结论 24 参考文献 25 附录:程序清单 27 致 谢 39 PAGE \* MERGEFORMAT PAGE \* MERGEFORMAT 1 摘 要 随着大棚技术的发展,温室大棚数量越来越多。对于温室,最重要的因素是大棚内部温度的管理控制。当温度低于适合蔬菜生长的温度时,蔬菜会停止生长甚至出现冻死的情况,因此要将温度控制在适合蔬菜生长的范围之内。以前的温室大棚温度控制是通过人工来控制的,工人依据温度计上测得的温度值来调整温室内的温度。如果仅依靠工人去人工控制,错误就会经常出现而且生产效率也会大大低下。现在,随着农业现代化的普及,温室大棚数量质量的日益提高,以前的温度控制方法在操作中出现了很大的局限性。由于这种局限性的存在,在现在的蔬菜温室大棚中通常都需要有能够自己调节温度高低的设备,以控制温室大棚内部的温度,满足生产所需的温度条件。 本设计是以AT89C51单片机为核心进行温度控制系统的设计,设计的主要内容包括对温度检测电路,温度显示电路,温度控制电路等方面的设计。通过Proteus仿真结果的显示,该系统能够模拟出大棚内部的实时温度,并且根据显示温度数据的高低来调整大棚内部温度达到适合蔬菜生长的温度要求。 关键词:AT89C51单片机;温室大棚;温度控制 ABSTRACT With the development of greenhouse technology, an increasing number of greenhouse, the greenhouse, the most important factor is management and control of the temperature inside the greenhouse.?When the temperature is lower than the temperature for the growth of vegetables, vegetables will stop growing or even to freeze to death, so to control the temperature within the range for the growth of vegetables.?Before the greenhouse temperature control is controlled by manual, the workers according to the temperature of the thermometer measured value to adjust the temperature in the greenhouse.?If?only?rely on the workers?to?control?the artificialerror will?often appear,?and the production?efficiency will be greatly?lowered.?Now, with the popularization of agricultural modernization, increasing the quantity and quality of greenhouse, the previous temperature control method in operating the great limitations.?Because of the limitations, in now the vegetable greenhouses usually need to adjust
显示全部
相似文档