由单片机为处理器的自动灌溉控制器的硬件、软件设计毕业设计.doc

由单片机为处理器的自动灌溉控制器的硬件、软件设计毕业设计.doc

  1. 1、本文档共71页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 沈阳建筑大学城市建设学院毕业设计(论文) PAGE — — — PAGE II— 由单片机为处理器的自动灌溉控制器的硬件、软件设计 摘要 本论文详细论述了由单片机为处理器的自动灌溉控制器的硬件、软件设计。本控制器以AT89C51单片机为核心,由传感器、信号处理电路、键盘、显示电路、输出控制电路、故障报警电路等构成。它能实现多路数据采集、多路控制信号输出功能。通过传感器自动检测土壤水分,实现自动闭环控制和定时程序的时间控制等多种自动灌溉控制方式,并具有土壤水分超出设定范围自动报警功能。土壤含水量的测量采用先进的LW-02型水分传感器;A/D转换采用了ADC0809芯片;键盘、显示分别采用了独立式按键和LED显示块;故障报警选用了压电式蜂鸣器;输出控制电路由三极管、光电耦合器、继电器、电磁阀等组成。软件设计采取了模块化编程方法,软件程序的开发全部采用了C51高级语言。主要包含的程序有:主程序、键盘扫描子程序、A/D采样子程序、定时设定子程序等。同时,在软硬件设计时均采取了有效的抗干扰措施。 关键字:单片机;灌溉;土壤水分传感器;自动控制 沈阳建筑大学城市建设学院毕业设计(论文) Abstract The hardware layout and software development for single chip microprocessor automatic micro-irrigation controller and system programming are presented in detail in this paper. Based on the AT89C51 single chip microprocessor, the whole system consists of soil moisture sensors, signal transfer circuit, keyboard and monitor display circuit, out port control circuit, malfunction alarm circuit as well as system software. This controller can control mufti-input and mufti-output. It can work in several ways such as closed loop control with sensors, opened loop control based on the preset timing program. In addition, it has automatic alarm function when the soil moisture exceeds the preset range.There chose the LW-02 capacitive moisture sensor as the soil moisture sensor, ADC0809 as the A/D conversion, independent key as the keyboard, LED display unit as the monitor display and chose the simple piezoelectric buzzer as the malfunction alarm device. The out port control circuit is composed of AT89C51,triode,photoelectric coupler,relay, electromagnetic valve and so on.The software designing adopt the popular modularized structure. The development of software programs apply C51 language entirely. The primary programs are main program, keyboard scanning subroutine, A/D sampling subroutine, timer presetting subroutine. Meanwhile, the efficient anti-interference measures are adopted during the design of the hardware and software. Keywords: Single chip microprocessor Micro-irriga

文档评论(0)

weidameili + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档