系统是一个专门为温室大棚温湿度控制而设计的智能系统。通过对系统的硬件部分和软件部分设计来达到监控要求。硬件部分实现了对温湿度传感器模块、A/D转换模块、显示模块、控制模块的设计;软件部分主要根据系统的设计思想设计出了主程序和子程序流程图,并通过汇编语言和C语言实现。通过实践证明,系统具有性能好、操作方便等优点,实现了对温湿度的显示、调节、自动控制和手动控制。本科生毕业论文(设计) 基于单片机的大棚温湿度检测报警系统 院系电气信息工程学院 专业电气工程及其自动化 班级 06级电气本科一班 学号 学生姓名 联系方式 指导教师职称讲师 2010 年 5 月 独创性声明 本人郑重声明:所呈交的毕业论文(设计)是本人在指导老师指导下取得的研究成果。除了文中特别加以注释和致谢的地方外,论文(设计)中不包含其他人已经发表或撰写的研究成果。与本研究成果相关的所有人所做出的任何贡献均已在论文(设计)中作了明确的说明并表示了谢意。 签名: 年月日 授权声明 本人完全了解许昌学院有关保留、使用本科生毕业论文(设计)的规定,即:有权保留并向国家有关部门或机构送交毕业论文(设计)的复印件和磁盘,允许毕业论文(设计)被查阅和借阅。本人授权许昌学院可以将毕业论文(设计)的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存、汇编论文(设计)。 本人论文(设计)中有原创性数据需要保密的部分为:无 签名: 年月日 指导教师签名: 年月日 摘要 系统是一个专门为温室大棚温湿度控制而设计的智能系统。通过对系统的硬件部分和软件部分设计来达到监控要求。硬件部分实现了对温湿度传感器模块、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 2 系统总体设计方案及工作原理 2 2 2 2 2 3 系统的硬件设计 4 单片机的确定 4 7 7 8 9 9 9 A/D转换 11 模数转换器的确定 11 ADC0809与8031的连接 12 13 13 14 15