网站大量收购独家精品文档,联系QQ:2885784924

基于单片机的自动浇花器设计.docx

  1. 1、本文档共48页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
经典专科、本科、硕博、研究生、期刊毕业论文 仅供参考 精心整理 仅供参考 勿用作商业用途 中文题目: 基于单片机的自动浇花器设计 摘 要 本次自动浇花器设计,系统是用AT89C51单片机作为控制核心,使用YL-69作为土壤湿度传感模块,光敏电阻作为光照量传感模块,LCD1602作为显示数据的模块,按键用来设定数值。本系统有三种模式的功能,一是可以通过YL-69湿度传感器进行土壤湿度的采集,利用单片机AT89C51对信息进行处理,输出控制信号,控制信号通过控制继电器控制水泵电源是否通断,从而完成自动浇水。二是利用单片机精确控制,在设定时间内实施浇水。三是在系统中加入一个光敏电阻,当检测到有光照的时候即白天的时候系统检测到土壤湿度低于设定值时才运行完成浇水,当检测到无光照即黑夜时即使检测到土壤湿度低于设定值系统也不会运行。 关键词:YL-69;湿度;光敏电阻;AT89C51单片机;水泵;LCD1602 Abstract The automatic watering device design, system uses AT89C51 microcontroller as control core, use YL-69 as a soil humidity sensor module, photosensitive resistance as the amount of light sensing module, LCD1602 as data display module, button is used to set the value. This system has the function of the three modes, one is the soil moisture by YL-69 humidity sensor acquisition, processing the information using microcontroller AT89C51 output control signal, the control signal through the control relay to control the pump power is on and off, so as to complete the automatic watering. Two is the use of single-chip precision control, the implementation of water within the set time. The three is to add a photosensitive resistance in the system, when the detected light time during the day when the system detects the soil humidity is lower than the set value before operation finished watering, when the detected light is dark even to detect soil moisture is lower than the setting value, the system will not be running. Keywords: YL-69; humidity; photosensitive resistance; AT89C51 single chip; water pump; LCD1602 目 录 TOC \o 1-3 \h \z \u 1 绪论 6 1.1 研究背景 6 1.3主要设计内容 7 2 系统设计 9 2.1 方案论证 9 2.1.1 总体方案设计 9 2.1.2 土壤湿度测量方案 9 2.2 硬件的选择 10 2.3 系统结构 10 3 系统硬件设计 12 3.1 AT89C51主要性能参数 12 3.2 时钟电路 13 3.3 AT89C51的复位电路 14 3.4 YL-69土壤湿度传感器 15 3.5 ADC0832转换芯片 16 3.6 SRS-05VDC-SL继电器 17 3.7 按键电路 18 3.8 光敏电阻及其控制电路 18 3.9 DS1302时钟芯片 19 4 系统软件设计 20 4.1 系统流程图 20 4.2 土壤湿度检测程序 21 4.3 设置湿度上下限程序 22 4.4 按键程序 23 4.5 LCD16

您可能关注的文档

文档评论(0)

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

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

1亿VIP精品文档

相关文档