第一范文网 - 专业文章范例文档资料分享平台

基于单片机的大棚温湿度控制系统的设计毕业设计

来源:用户分享 时间:2025/7/27 19:06:00 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

摘要

随着大棚技术的普及,温室大棚数量不断增多,对于蔬菜大棚来说,最重要的一个管理因素是温湿度控制。温湿度太低,蔬菜就会被冻死或则停止生长,所以要将温湿度始终控制在适合蔬菜生长的范围内。传统的温度控制是在温室大棚内部悬挂温度计,工人依据读取的温度值来调节大棚内的温度。如果仅靠人工控制既耗人力,又容易发生差错。现在,随着农业产业规模的提高,对于数量较多的大棚,传统的温度控制措施就显现出很大的局性。为此,在现代化的蔬菜大棚管理中通常有温湿度自动控制系统,以控制蔬菜大棚温度,适应生产需要。

本论文主要阐述了基于AT89C51单片机的温室大棚温湿度控制系统设计原理,主要电路设计及软件设计等。该系统采用AT89C51单片机作为控制器,SHT11作为温湿度数据采集系统,可对执行机构发出指令实现大棚温湿度参数调节,根据实际需求设计了单片机硬件系统,该系统能够实现数据采集,数据处理,数值显示,键盘扫描等功能功能。同时介绍了温湿度传感器,单片机接口,及其应用软件的设计,该基于单片机和SHT11温湿度传感器的大棚温湿度控制系统,该系统性能可靠,结构简单,能实现对温室内温湿度的自动调节。

关键词:AT89C51;SHT11;大棚;温湿度;控制系统;传感器;单片机

7

Abstract

With the popularization of trellis technology, greenhouse trellis an ever-growing number, for vegetable shed speaking, one of the most important management factor is the temperature and humidity control. Temperature is too low, the vegetables will freeze to death or stop growing, so will always control temperature and humidity in a suitable vegetable growth range. Traditional temperature control is in greenhouse trellis internal hanging a thermometer, workers according to regulate the temperature reading the temperature inside the shelter. If only by artificial control both consumption manpower, and easy to place regular orders. Now, with the improvement of agricultural industry scale, for larger quantity of trellis, traditional temperature control measures will show great bureau sex. Therefore, in modern vegetable shed management zhongtong often temperature and humidity automatic control system, in order to control the temperature, adapt to the trellis vegetable production needs.

This thesis mainly elaborated based on AT89C51 tomatoes canopy temperature and humidity control system design principle, main circuit design and software design, etc. This system USES AT89C51 single chip microcomputer as controller, SHT10 as temperature and humidity data acquisition system, may to the actuator directives realize trellis temperature and humidity parameters adjustment, has the upper and lower level computer directly set temperature range, temperature and humidity real-time display, and other functions.According to the actual demand design the microcontroller hardware system, this system can realize data acquisition, data processing, the numerical display, keyboard scan function function. At the same time, temperature and humidity sensor is introduced, and its application software interface chip design, this based on SCM and SHT10 temperature and humidity sensor shelter, temperature and

humidity control system reliable performance, the system structure is simple, can realize the automatic adjustment of the temperature and humidity in a greenhouse.

Key words:AT89C51; SHT10;vegetable shed; Temperature and humidity; Control System; sensor;Single-chip microcomputer

毕业论文(设计)诚信声明

本人声明:所呈交的毕业论文(设计)是在导师指导下进行的研究工作及取得的研究成果,论文中引用他人的文献、数据、图表、资料均已作明确标注,论文中的结论和成果为本人独立完成,真实可靠,不包含他人成果及已获得 或其他教育机构的学位或证书使用过的材料。与我一同工作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示了谢意。

论文(设计)作者签名: 日期: 年 月 日

毕业论文(设计)版权使用授权书

本毕业论文(设计)作者同意学校保留并向国家有关部门或机构送交论文(设计)的复印件和电子版,允许论文(设计)被查阅和借阅。本人授权青岛农业大学可以将本毕业论文(设计)全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本毕业论文(设计)。本人离校后发表或使用该毕业论文(设计)或与该论文(设计)直接相关的学术论文或成果时,单位署名为 。

论文(设计)作者签名: 日期: 年 月 日 指 导 教 师 签 名: 日期: 年 月 日

目录

1.绪论 ............................................................................. 4

1.1 系统设计背景 ............................................................... 4 1.2 系统功能、优势及特点 ...................................................... 4

2. 设计内容 ...................................................................... 5

2.1 总体方案的设计 ............................................................. 5

2.1.1 设计思想 ............................................................. 5 2.1.2 系统组成及框图 ....................................................... 5 2.2 系统主要电路的设计 ........................................................ 6

2.2.1 主要芯片89C51的功能及引脚图 ....................................... 6 2.2.2 温湿度检测电路的设计 ................................................ 7 2.2.3 温湿度传感器SHT11的工作原理 ....................................... 8 2.2.4 温湿度调节系统的设计 ................................................ 9 2.2.5 X25045简介 ......................................................... 9

3. 硬件设计 ..................................................................... 10

3.1 温湿度测量电路 ........................................................ 10 3.2 LCD显示电路 ........................................................... 11 3.3 键盘扫描电路 .......................................................... 12 3.4输出接口控制电路 ...................................................... 13

3.5单片机与X25045接口电路 .............................. 错误!未定义书签。

4. 系统软件的设计 .............................................................. 15

4.1 系统主程序 ............................................................ 15 4.2 键盘扫描子程序,消抖程序流程图 ...................................... 16 4.3 1602LCD液晶显示程序流程图 ........................................... 19 4.4 温湿度读取子程序 ............................................... 19 4.5 键盘扫描源程序 ........................................................ 20

基于单片机的大棚温湿度控制系统的设计毕业设计.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c96ynq7boxi4uc568cqjj1x2cx44e3501acb_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top