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

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

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
毕业设计由单片机为处理器的自动灌控制器的硬件软件设计

摘要 本论文详细论述了由单片机为处理器的自动灌溉控制器的硬件、软件设计。本控制器以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-irrigation Soil moisture sensor Automatic control 目录 摘要 I Abstract II 目录 III 第一章 前言 5 1.1研究

文档评论(0)

fangsheke66 + 关注
实名认证
文档贡献者

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

1亿VIP精品文档

相关文档