APP下载

花房温度及光照度控制电路的设计

2014-05-30张超

安徽农业科学 2014年8期
关键词:单片机

张超

摘要 鉴于现在国内科技水平的成果,本着节约成本、控制简单的原则,设计了花房的温度及光照度实时控制电路。利用先进的温度传感器、光照传感器测量温度和光照度,由单片机控制执行单元调节温度和光照度。给出了硬件的设计方案和软件的设计思路。花房温度高、光照度大时后自动放下遮阳网和开启风机,温度低、光照强度小时自动收起遮阳网和开大暖气阀门,使得花房内的温度和光照度控制在设定的范围之内。

关键词 单片机;温度;光照度

中图分类号 S24 文献标识码 A 文章编号 0517-6611(2014)08-02505-01

Design of Greenhouse Temperature and Light Intensity Control Circuit

ZHANG Chao (College of Physics and Electronic Engineering, Taishan University, Taian, Shandong 271021)

Abstract In view of domestic results of scientific and technological level at present, based on cost saving and simple control, the greenhouse light and temperature realtime control circuit was designed. The temperature and light were measured by advanced temperature sensor and light sensor, and controlled and run by singlechip microcomputer(SCM). The design plan of hardware and the design view of software were gave. The greenhouse temperature and light were controlled in designed range by putting down the shade net automatically and opening the fan when the temperature was high and the light was large, and folding up the the shade net automatically and opening heating valve when the the temperature was low and the light was small.

Key words Singlechip microcomputer; Temperature; Light intensity

随着现代社会的不断发展和科技水平的不断提高,花房的温度、光照度控制技术当今日趋成熟,与传统的花房相比,现在的控制更趋向于自动化、实时性、效率高。

为此,鉴于现在国内科技水平的成果,本着节约成本、控制简单的原则,笔者设计了以单片机技术为核心,选用适当温度传感器、光照传感器以及适当的驱动电路为基础的系统。

1 系统组成

该设计以AT89S52[1]为主体,利用温度传感器SHT11和光照传感器TSL2561作为检测元件,从而实现温度及光照度的实时控制,硬件图如图1所示。

图1 硬件结构

其设计思路是外界的温度通过SHT11温度传感器转换为数字信号送入单片机AT89S52,依据单片机内部程序反应驱动温度控制电路动作,从而控制花房温度维持在预设的温度范围;外界的光照强度通过TSL2561光照强度传感器转换为数字信号送入单片机AT89S52,根据单片机内部程序反应驱动温度控制电路动作,使得控制花房光照度维持在预设的光照强度范围;……

登录APP查看全文

猜你喜欢

单片机
基于单片机的SPWM控制逆变器的设计与实现
基于单片机的层次渐变暖灯的研究
基于单片机的多功能智能插排
基于单片机的便捷式LCF测量仪
小议PLC与单片机之间的串行通信及应用
MSP430单片机在仿真中要注意的几点问题
基于单片机的平衡控制系统设计
基于单片机的三维LED点阵设计
Microchip推出两个全新PIC单片机系列
基于Proteus的单片机控制系统的仿真设计