(完整版)基于单片机的模拟智能灌溉控制系统毕业设计

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

基于单片机的模拟智能灌溉控制系统

摘要

随着农业生产水平的不断发展以及全球水资源的日趋紧张,世界各国都在积极探索行之有效的节水途径和措施。智能灌溉控制系统就是为了解决水资源不足、提高灌溉效率而发展起来的。本文研究的单片机智能灌溉控制系统,是对土壤的温湿度进行实时监控,参考实际温度值设定适宜的湿度下限值,并按照设定的湿度值进行相应的灌溉。

该智能灌溉控制系统以STC89C52单片机为核心,主要由温湿度传感器DHT11模块、按键输入模块、显示模块、水泵模块等组成;软件选用C 语言编程。该系统的功能是:根据土壤湿度传感器检测到的土壤湿度,若检测到的土壤湿度值低于系统所设定的最低湿度值,系统则自动启动系统,进行灌溉。通过对硬件实物的测试,系统能够比较成功的实现目标功能。【关键词】单片机;传感器;LED显示;水泵;灌溉

Simulator smart irrigation control system based on

single chip microcomputer

Abstract

As the level of agricultural production and the continuous dev elopment of global shortage of water resources,countries in the wo rld are actively exploring effective ways and measures for water con servation.Intelligent irrigation control system in order to solve th e problem of water resources,improve the efficiency of irrigation an d developed.This paper studies theintelligent irrigation control sy stem,temperature and humidity in the soil was monitored in real time,refer to the actual temperature value setting and humidity limit appropriate value,according to the set humidity value fo r the corresponding irrigation.

The intelligent irrigation control system based on STC89C52s ingle chip microcomputer as the core,mainly by the temperature a nd humidity sensor DHT11module,key input module,display mo dule,pump module;softwareused C language programming.Th e function of this system is: according to thesoil moisture,soil mois ture sensor to detect soil humidity,if the detected valueis lower than the lowest humidity system setting,automatic starting s ystem,irrigation.By physical testing,system can realize the func tion of relatively successful.

【Key words】Single-chip Microcomputer;Sensor;LED Display;Water Pump;Lrrigation

目录

1 绪论 .......................................... 错误!未定义书签。

1.1课题研究背景............................... 错误!未定义书签。

1.2课题研究的目的和意义 (1)

1.3国内外现状................................ 错误!未定义书签。

1.3.1国内研究现状......................... 错误!未定义书签。

1.3.2国外研究现状......................... 错误!未定义书签。

1.4本文主要工作 (3)

2 系统总体设计 (4)

2.1系统功能要求 (4)

2.2系统总体设计方案 (4)

3 系统硬件设计 (5)

3.1硬件电路总原理图 (5)

3.2STC89C51单片机的硬件结构 (5)

3.2.1单片机的结构及信号引脚 (6)

3.3电源供电模块 (7)

3.4单片机控制模块 (8)

3.4.1单片机的最小系统 (8)

3.4.2 单片机控制的电路设计 (8)

3.5湿度采集模块 (9)

3.5.1温湿度传感器DHT11的原理 (9)

3.6液晶显示模块 (10)

3.6.1 LCD1602液晶模块简介................ 错误!未定义书签。

3.6.2 LCD1602的引脚及电路设计 ............ 错误!未定义书签。

3.7按键输入模块 ............................. 错误!未定义书签。

3.8水泵增湿模块 ............................. 错误!未定义书签。

4 系统软件设计 .................................. 错误!未定义书签。

4.1程序设计 .................................. 错误!未定义书签。

4.1.1主程序流程及相关说明 ................. 错误!未定义书签。

4.2主程序代码................................. 错误!未定义书签。

5 测试结果与分析 (17)

5.1测试环境 (17)

5.2测试结果 (17)

6 调试与使用说明................................ 错误!未定义书签。

7 结论 .......................................... 错误!未定义书签。参考文献 ......................................... 错误!未定义书签。致谢 ........................................... 错误!未定义书签。附录1 元器件清单................................ 错误!未定义书签。附录2 基于STC89C52单片机的智能灌溉控制系统PCB图. (25)

附录3 DHT11模块代码............................. 错误!未定义书签。附录4 液晶显示模块代码.......................... 错误!未定义书签。

相关文档
最新文档