- 1、本文档共36页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要
系统是一个专门为温室大棚温湿度控制而设计的智能系统。通过对系统的硬件部分和
软件部分设计来达到监控要求。硬件部分实现了对温湿度传感器模块、A/D 转换模块、显示
模块、控制模块的设计;软件部分主要根据系统的设计思想设计出了主程序和子程序流程
图,并通过汇编语言和C 语言实现。通过实践证明,系统具有性能好、操作方便等优点,
实现了对温湿度的显示、调节、自动控制和手动控制。
关键词: A/D 转换;传感器;LED
ABSTRACT
The work of this dissertation is about an intelligent system designed for controlling the
temperature and humidity of a greenhouse. It can meet the demand of monitoring through the
design of hardware and that of software in details, The former is more important in this
dissertation, including the introduction of sensor of measuring temperature and humidity,
changing of A/D, demonstrating mode of data, the mode of control and the connecting part of
the changing column. And according to the design thoughts the latter shows the flow chart of the
main program and the subprogram, realized by assembly language and C language. The system
adopts quite a new integrated circuit, which makes it function better and run more conveniently
when put into practice. Furthermore, not only can it achieve the goals of manifesting and
regulating the temperature. But also it can be controlled automatically and manually.
Key words : changing of A/D ; sensor ; LED
目 录
1 绪论 1
1.1 课题背景1
1.2 预期目标1
2 系统总体设计方案及工作原理 2
2.1 系统总体设计方案简述2
2.1.1 基本功能2
2.1.2 主要技术参数2
2.2 系统的工作原理2
3 系统的硬件设计 4
3.1 单片机的确定 4
3.2 传感器的确定7
3.2.1 温度传感器7
3.2.2 湿度传感器8
3.3 采集电路的设计9
3.3.1 温度采集电路9
3.3.2 湿度采集电路9
3.4 A/D 转换11
3.4.1 模数转换器的确定 11
3.4.2 ADC0809 与 8031 的连接12
3.5 键盘与显示13
3.5.1 键盘部 13
3.5.2 显示部 14
3.6 报警电路设计15
3.7 单片机与 PC 机的通信接口16
3.8 系统总体电路17
4 软件设计 19
4.1 设计思想 19
4.2 初始化程序及主程序框图 20
4.3 子程序框图 21
4.4 系统的主要程序22
总 结 27
参考文献 28
致 谢 29
1 绪 论
1.1 课题背景
温湿度是衡量温室大棚的重要指标,它直接影响到栽培作物的的生长和产量,为了能
给作物提供一个合适的生长环境,首要问题是加强温室
文档评论(0)