毕业设计(论文)-基于AT89C52单片机的自动浇花系统

  • 格式:doc
  • 大小:597.12 KB
  • 文档页数:47

下载文档原格式

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

毕业设计(论文)-基于A T89C52单片机的自动浇花系统. 课题:自动浇花系统

摘要

本系统以方便人们花卉的浇水,实现智能浇花,让人们从繁琐的浇花工作中解放出来,自动浇花系统的设计和应用应运而生。本系统采用AT89C52单片机,配以相应的外围电路完成土壤含水量的检测和自动浇花的控制过程。由土壤湿度传感器采集土壤信息,再经过信息处理模块处理后由ADC0832 A/D转换芯片转换成数字信号,AT89C52单片机作为控制中心。配以DS1302 时钟芯片、LCD1602液晶显示模块等组成数据处理控制模块,实现智能浇花,显示时钟功能。通过一系列的设计实现,简单的电路及低价的成本实现自动浇花系统是可行的,进一步可以推广到蔬菜大棚,园林,草地等的自动浇灌管理。对于实现科技服务生活具有重要意义。

关键词:浇花,AT89C52单片机,ADC0832,DS1302,土壤湿度传感器,时钟

Abstract

This system for people convenience and intelligent water flowers and plants, let people work from trival watering the flowers liberate,automatic watering the flowers system design and application arises at the historic moment. The system uses the AT89C52 single chip computer,match with corresponding buffer circuit for the soil moisture content detection and finish the control process of automatic watering the flowers. From the soil humidity sensors to collect soil information, and then after the information processing module processing by ADC0832 after A/D conversion chip converted into digital signals, AT89C52 single chip computer as the control center. Match with DS1302 clock chip, LCD1602 LCD module data processing control module, realize intelligent water flowers,display clock function. Through a series of design and implementation, simple circuit and low cost to implement the automatic watering the flowers system is feasible, further can be extended to vegetable shed, garden, the automatic watering system. For technology service life is Important significance.

Keywords: water flowers, AT89C52, ADC0832, DS1302, soil moisture sensor, clock

目录

1 前言......................................................... 1

1.1论文设计的意义.......................................................................................................... 1

1.2湿度测量方法及湿度测量方案.................................................................................. 1

1.3论文的主要内容.......................................................................................................... 3

2 自动浇花系统的基本理论....................................... 4

2.1土壤湿度传感器.......................................................................................................... 4

2.2土壤湿度信号转换...................................................................................................... 4

2.3土壤湿度信号调理...................................................................................................... 5

3 系统硬件设计................................................. 6

3.1系统技术指标.............................................................................................................. 6

3.2系统框图...................................................................................................................... 6

3.3芯片选择...................................................................................................................... 6

3.4系统传感电路设计...................................................................................................... 8

3.4.1 土壤湿度传感器的设计................................................................................... 8

3.4.2 土壤湿度信号调理电路................................................................................. 9

3.4.3 A/D转换处理模块..................................................................................... 12

3.5系统显示电路设计.................................................................................................. 13

3.5.1 显示模块的选择........................................................................................... 13

3.5.2 显示电路....................................................................................................... 14

3.6系统控制电路设计.................................................................................................. 15

3.6.1 按键电路....................................................................................................... 15

3.6.2 电磁阀控制电路........................................................................................... 16

3.7电路原理图.............................................................................................................. 16

4 系统软件设计............................................... 18

4.1总设计框图.............................................................................................................. 18

4.2传感转换流程图...................................................................................................... 18

4.3控制模块流程图...................................................................................................... 19

5 系统调试................................................... 21

5.1 系统硬件测试......................................................................................................... 21

5.2 系统的软件测试..................................................................................................... 21

5.3系统整体调试.......................................................................................................... 21

5.4系统测量与误差分析.............................................................................................. 22

6 总结...................................................... 23附录......................................................... 24附录A 原理图................................................ 24附录B PCB图................................................ 25附录C 程序 ................................................ 26参考文献..................................................... 41致谢......................................................... 43