文档介绍:航空工业管理学院
毕业论文(设计)
2012 届电气工程及其自动化专业班级
题目基于单片机的大棚温湿度亮度自动控制系统设计
姓名学号
指导教师职称
二О一二年五月二十日
内容摘要
温室是现代农业生产所必需的基本设备,用它有效地控制温度、光照、湿度、二氧化碳浓度等是改变植物生长环境、为植物生长创造最佳条件、避免外界四季变化和恶劣气候对其影响的前提。
本设计以STC89C52单片机为核心完成了对空气温度、土壤湿度、光照度进行数据的采集、处理、显示等系统的基本框图、工作原理和继电器控制的设计的工作。主要内容有:(1)通过数字温度传感器DS18B20采集实时温度。(2)通过湿度传感器HS1101采集实时湿度。(3)通过光敏电阻采集实时光照度。(4)判断采集到的参数值与设置值是否一致,并进行继电器控制。
通过以上设计可以对植物生长过程中的土壤湿度、环境温度、光照度进行了实时地、连续地检测、直观地显示并进行自动地控制。克服了传统的人工测量方法不能进行连续测量的弊端,节省了工作量,并避免了人为的疏漏或错误造成的不必要的损失。
关键词
单片机;湿敏传感器;数字温度传感器;光敏电阻;继电器控制
Design of SCM-based Temperature and Humidity and Light Illumination Automatic Control System for Greenhouse
100697216 Li Mingjie Teacher: Su Yanping
Abstract
Greenhouse is the basic equipment necessary for the production of modern agriculture, Use it can effectively control the temperature, humidity and illumination of the greenhouse, and it is the premise of changed for plant growth to create the best conditions, avoid changing seasons and severe weather outside of its impact.
The thesis mainly focus on: the base block diagram, working principle and the design of relay control which use the SCM STC89C52 as the core of the system to collect, handle, display the data of the air temperature, soil humidity and light illuminance . The main contents: (1) collected real-time temperature by digital temperature sensor DS18B20. (2) collected real-time humidity by humidity sensor HS1101. (3) collected real-time light illumination by photoresistor. (4) judge the collected parameter values and the setting values whether same or not, and control the relay.
The system use Real-time and continuous detection, display intuitively and control automatically on soil moisture, ambient temperature, light illuminance in the process of plant growth. The system can e the defects from the traditional manual methods of measurement which can not measure continuously,
and save the amount of work, avoid omissions or unnecessary losses that caused by errors.
【Key words】 SCM;humidity senso