基于单片机的智能温室大棚控制系统

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

摘要

温室是现代农业生产所必需的基本设备,用它有效地控制温度、光照、湿度、二氧化碳浓度等是改变植物生长环境、为植物生长创造最佳条件、避免外界四季变化和恶劣气候对其影响的前提。本设计以STC89C52单片机为核心完成了对空气温度、土壤湿度、光照度进行数据的采集、处理、显示等系统的基本框图、工作原理和继电器控制的设计的工作。主要内容有:(1)通过单片双端集成温度传感器AD590采集实时温度。(2)通过湿度传感器HS1100采集实时湿度。(3)通过固态电化学性二氧化碳传感器TGS4160采集二氧化碳浓度。(4)判断采集到的参数值与设置值是否一致,并进行继电器控制。

通过以上设计可以对植物生长过程中的土壤湿度、环境温度、光照度以及二氧化碳浓度进行了实时地、连续地检测、直观地显示并进行自动地控制。克服了传统的人工测量方法不能进行连续测量的弊端,节省了工作量,并避免了人为的疏漏或错误造成的不必要的损失。

关键词:单片机温度传感器湿度传感器二氧化碳传感器

In this paper

Greenhouse is essential for modern agriculture basic equipment, use it to effectively control, such as temperature, light, humidity, carbon dioxide concentration is to change the plant growth environment, create the best condition for plant growth, avoid the seasons change and the influence of bad weather. This design to STC89C52 single-chip microcomputer as the core to complete the air temperature, soil moisture, and light for data acquisition, processing and display system of the basic block diagram, working principle and the design of relay control work. Main contents are: (1) by monolithic integrated temperature sensor AD590 to collect real-time temperature. (2) by the humidity sensor HS1100 gathering real-time humidity. (3) through solid electric chemical carbon dioxide sensor TGS4160 collecting carbon dioxide concentrations. (4) determine whether collected parameter value and set value, and relay control.

Through the above can be designed for plants to grow in the process of soil humidity, environment temperature, light and co2 concentration in real time, continuous detection, display visually and automatically control. Overcomes the traditional continuous measurement of the shortcomings of manual measurement method does not, and save the workload, and avoid the unnecessary loss caused by the omission or human error. Key words:SCM temperature sensor humidity sensor carbon dioxide sensor

目录

1.绪论 (1)

1.1 课题背景及研究意义 (1)

1.2 国内外温室控制技术发展概况 (2)

1.2.1国外状况 (3)

1.2.2国内状况 (3)

1.3 选题的目的和意义 (3)

2. 温室大棚自动控制系统控制方案设计 (5)

2.1 控制方案设计 (5)

2.2 系统硬件结构 (6)

2.3 温室大棚的硬件组成 (7)

2.3.1 传感器 (7)

2.3.2 单片机控制系统和微机系统 (10)

2.4 温室大棚的软件组成 (11)

2.4.1 单片机软件设计 (11)

2.5 测试系统的组成及原理 (13)

2.5.1 测试系统的设计 (13)

(1)温度测量电路 (13)

(2)湿度测量电路 (14)

(3)CO2含量测量电路 (15)

2.5.2 微处理器系统 (16)

2.6 程序模块 (16)

2.6.1 主程序 (16)

2.6.2 显示子程序 (16)

2.6.3 A /D转换测量子程序 (17)

2.6.4 显示数据转换子程序 (17)

3.温室大棚的数据采集系统 (18)

3.1 系统设计 (18)

3.1.1 系统组成 (18)

3.1.2 系统工作原理 (19)

3.2 系统软件设计 (19)

3.2.1 上位机软件设计 (19)

3.2.2 下位机软件设计 (19)

3.3 误差分析 (19)

3.4 可靠性设计 (19)

3.4.1 硬件可靠性设计 (20)

3.4.2 软件可靠性设计 (20)

4.温室大棚监测控制系统 (21)

4.1 系统的总体结构和特点 (21)

相关文档
最新文档