总字数:15000+

摘要

在农业生产过程中,落后的灌溉设施和粗放的管理制度导致人力成本高、水资源浪费、施水量不合理等情况发生,极大地限制了农业的发展,本文针对以上问题设计了一款基于STC89C52的灌溉控制器。首先,本控制器采用STC89C52系列微控制器作为硬件主控核心,在Keil u Vision5软件平台上使用C语言完成对硬件驱动程序的编写。控制器主要包括采集端、处理端、控制端和显示端四部分,其中用户通过显示端负责灌溉控制器与人进行的数据交互,,采集控制端负责数据采集、中控端复杂数据融合以及处理、控制端灌溉控制。最后,对硬件设备和数据进行测试,测试结果表明该灌溉控制器具有稳定性高、控制效果好、人力成本低等特点,还可为现代化农业提供大数据支持。综上,本文设计的基于STC89C52的灌溉控制器可实现数据监测与灌溉控制功能,通过自主灌溉决策将土壤湿度自动维持在预设的范围内,解决了传统的灌溉方式中存在的环境参数不可视、数据传输不稳定、施水量不合理、人力成本高以及仅凭人为经验判断灌溉等问题,具有一定的实际意义。

关键词:单片机;灌溉;土壤湿度;阈值;显示屏

Abstract

Tn the process of agricultural production, backward irrigation facilities and extensive management system lead to high human cost, waste of water resources, unreasonable water application and other situations, which greatly limit the development of agriculture. This paper designs an irrigation controller based on STC89C52 for the above problems. First of all, this controller adopts STC89C52 series microcontrollers as the hardware main control core, and uses C language to complete the writing of hardware drivers on the Keil u Vision5 software platform. The controller mainly includes four parts: acquisition end, processing end, control end and display end. The user is responsible for the data interaction between the irrigation controller and people through the display end; the acquisition and control end is responsible for data acquisition, complex data fusion and processing in the middle control end, and irrigation control in the control end. Finally, the hardware equipment and data are tested. The test results show that the irrigation controller has the characteristics of high stability, good control effect, low labor cost, and can also provide big data support for modern agriculture. In conclusion, the irrigation controller based on STC89C52 designed in this paper can realize the functions of data monitoring and irrigation control, and automatically maintain the soil moisture within the preset range through the independent irrigation decision, which solves the problems existing in the traditional irrigation methods, such as invisible environmental parameters, unstable data transmission, unreasonable water application, high labor cost and judging irrigation only by human experience The question has a certain practical significance..

Keywords: MCU; Irrigation; Soil moisture; Threshold value; Display screen

目  录

第一章  前言

1.1 研究目的与意义

1.2 国内外研究现状

1.2.1 国外研究现状

1.2.2 国外研究现状

1.3 主要研究内容

1.4 结构安排

第二章  系统设计方案

2.1 系统整体方案

2.2 微控制芯片的选择

2.3 显示模块方案的选择

第三章  系统设计与分析

3.1 单片机的最小系统

3.1.1主控模块电路

3.1.2 晶振电路

3.1.3 复位电路

3.1.4 电源电路

3.1.5下载电路

3.2 土壤湿度传感器

3.3 继电器模块电路

3.4 LCD1602液晶显示

第四章  软件设计分析

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 A/D模数转换子流程

4.5 LCD1602液晶显示子流程

4.6 蓝牙模块子流程

第五章 仿真调试

5.1 整体仿真设计

5.2 调整土壤湿度实物测试

5.4 切换手动自动模式仿真测试

5.5 加水实物测试

第六章 实物调试

6.1 实物总体设计

6.2 调整土壤湿度实物测试

6.4 切换手动自动模式实物测试

6.5 加水实物测试

结    论

参考文献

致    谢

附录

附录一:原理图

附录二:PCB

附录三:主程序

……………..本设计说明书是配套实物和仿真的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..


 

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源