毕业论文 下载本文

单位代码 01 学 号 100102057 分 类 号 TN92 密 级

毕业设计说明书

室内花草自动浇水系统设计

院(系)名称 专业名称 学生姓名 指导教师

信息工程学院 电子信息工程

2014年4月30日

黄河科技学院毕业设计说明书

第 I 页

室内花草自动浇水系统设计

摘 要

科学技术不断发展,自动控制在人们的日常生活中起着越来越重要的作用,自动浇花系统也在不断的更新和改善,本设计利用AT89S52单片机通过湿度传感器获取土壤湿度,并采用汇编语言进行编程,实现了土壤湿度的LCD显示。当检测的湿度低于设定的湿度,就开始浇花,到了设定的湿度就停止浇花。

本文首先阐述了浇花系统的目的和意义,并且比较了其它浇水器的优势和局限性,通过比较展现出本设计的优势所在。然后,详细阐述了自动浇花系统各个模块的工作原理,并且给出了各模块的选择依据,完成的电路总图的设计和仿真,仿真成功后生成PCB电路板焊接电路输入程序经过调试做出实物,最后对国内自动浇花系统的发展和应用做出展望。

关键词:AT89S52,湿度传感器,DS1302,LCD

黄河科技学院毕业设计说明书

第 II 页

Indoor Plants and Automatic Watering System Design

Author:Li Yongfei Tutor:Zhang Juqin

Abstract

With the development of science and technology, automatic control is playing a more and more important role in people's daily life. This design use AT89S52 single chip and get the soil moisture through the humidity sensor ,and the use of system of watering the flowers realize the LCD system of soil moisture.When the testing humidity is lower than setting humidity,it will begin to water the flowers.When the humidity comes to the setting one ,it will stop .

Firstly,this text tells the purpose and the meaning of watering system, and knows well the advantages and the limitations,and we can know its advantages through the comparison . Then, the article state the working principle of automatic watering system modules, and lists the reason of using it , and complete the circuit design of general layout and simulation, and make it real. Finally, it has a good hope of the domestic automatic watering system .

Key words:AT89S52, Humidity sensor, DS1302, LCD

黄河科技学院毕业设计说明书

第 III 页

目 录

1 绪论 .................................................................... 1 1.1 选题的目的和意义 ................................................... 1 1.2 不同浇花器的比较 ................................................... 1 1.3 毕业设计所用的研究方法和手段 ....................................... 2 2 智能浇花器的系统框图 .................................................... 3 3 浇花系统硬件模块设计 .................................................... 4 3.1 显示器模块设计 ..................................................... 4 3.2 时钟模块设计 ....................................................... 5 3.3 传感器模块设计 ..................................................... 7 3.4 继电器驱动模块设计 ................................................. 8 3.5 报警模块设计 ...................................................... 10 4 总电路设计 ............................................................. 12 4.1 总电路图 .......................................................... 12 4.2 电路图仿真 ........................................................ 13 5 软件设计 ............................................................... 14 结论 ..................................................................... 15 致谢 ..................................................................... 16 参考文献 ................................................................. 17 附录 ..................................................................... 18