毕业设计(论文)-基于AT89C51单片机的蔬菜大棚温度湿度自动控制系统设计_精品.doc
文本预览下载声明
摘 要
主控制器AT89C51单片机、并行口扩展芯片8255、74LS373、A/D转换器0809、湿度传感器、温度传感器DS1820、固态继电器、RAM6264、掉电保护和LED显示器和报警电路等构成,实现,。文中提出了具体设计方案,讨论了的基本原理,进行了可行性论证。给出了电路图和程序流程图并附有源程序。由于利用了单片机及数字控制系统的优点,系统的各方面性能得到了显著的提高。
关键词:温湿度传感器;湿度传感器快速检测;A/D转换器;LED显示器;报警电路固态继电器
ABSTRACT
Vegetables canopy temperature and humidity automatic control system consists of the main controller AT89C51 single-chip, parallel port expansion chip 8255,74 LS373 and A/D converter 0809, humidity sensor, the temperature sensor, solid-state relay, the DS1820 RAM6264, power fail safeguard and leds display and alarm circuit, etc .To achieve the vegetable greenhouse temperature and humidity testing and control, to improve the vegetables production.In this paper, the specific design, discussed the detection of vegetable greenhouses temperature and humidity and circuit control principle, carried out a feasibility demonstration.Schematic diagram is given together with source code and procedures.The use of the MCU and the advantages of digital control system, all aspects of the system performance is significantly improved.
Keywords: temperature and humidity sensors; Humidity sensors; Rapid detection; A/D converter; The LED display; Alarm circuit; Solid state relays.
目录
摘 要 1
ABSTRACT 2
目 录 3
1 概述 4
1.1 温室计算机控制的概况 4
2 系统的硬件组成电路设计 6
2.1 系统的硬件组成框图 6
2.1.1 系统的工作原理 6
2.2 系统主控制器部分设计 6
2.2.1 AT89C51的工作原理 6
2.2.2 AT89C51的复位电路 8
2.2.3 AT89C51的引脚功能 8
2.3 数据存储器的扩展 10
2.4 LED显示器 13
2.5 A/D转换接口 14
2.5.1 A/D转换器的基本工作原理及器件简介 14
2.5.2 ADC0809与AT89C51单片机的接口设计 16
3 单总线接口 19
3.1 单总线芯片的硬件结构 19
3.2 单总线芯片的供电 19
3.3 单总通信的ROM命令 19
4 单总线数字温度传感器DS1820和湿度检测电路 21
4.1 DS1820 的主要特性 21
4.2 DS1820 内部结构 21
4.3 DS1820的工作原理 22
4.4 DS1820使用中注意事项 22
4.5 湿度检测电路 23
4.6 报警电路 23
5 系统的软件设计 25
5.1 设计方法 25
5.2 主程序的分析与说明 25
6 结 论 26
致 谢 27
参考文献 28
附 录 29
1 概述
1.1 温室计算机控制的概况
应用自动控制和电子计算机实现农业生产和管理的自动化,是农业现代化的重要标志之一。近年来电子技术和信息技术的飞速发展,带来了温室控制与管理技术方面的一场革命,随着“设施农业”、“虚拟农业”等新名称的出现,“设施园艺”、“虚拟温室”的概念也应运而生。与管理系统正在不断吸收自动控制和信息管理领域新的理论和方法,结合温室作物种植的特点
显示全部