1、 摘 要 随着计算机应用技术的发展,用计算机控制的方面也涉及到各个领域,其中在塑料 大棚内用单片机控制温度、湿度是应用于实践的主要方面之一。这对于农作物的生长发 育有非常大的促进作用,它可以避免因为外面气候的剧烈变化对农作物造成的伤害,而 使农作物能够在一个最适合它的温度、湿度的环境中生长发育,从而可以促进作物健康 生长,抑制微生物的危害,提高产量,增加经济效益。 本设计由 AT89S52 单片机,温 度检测电路,湿度检测电路,土壤检测电路,控制系统,报警电路,采用 LCD12864 作 为显示电路组成;温度检测和湿度检测采用 DHT90 温湿度传感器采集信息,将其采集 到的数字信号传入 AT
2、89S52 单片机, 单片机通过比较输入温度与设定温度来控制风扇或 电炉驱动电路,当棚内温度在设定范围内时,单片机不对风扇或电炉发出动作,实现了 对大棚里植物生长温度及土壤和空气湿度的检测、监控,并能对超过正常温度、湿度范 围的状况进行实时处理,使大棚环境得到了良好的控制。 该设计还具有对温度和湿度的显示功能,对大棚内环境温度和湿度的预设功能。 关键词: 温度检测、湿度检测、控制系统、报警系统 Abstract With the development of computer application technology, the computer-controlled areas are a
3、lso involved, including the plastic canopy temperature using SCM and humidity is one of the main aspects used in practice. This crop growth and development of a very large role in promoting, it could avoid severe climate change outside the damage to crops, Er Shi crops it can be one of the most suit
4、able temperature and humidity of the environment, growth and development, which can promote healthy crop growth, inhibition of microbial hazards, increase productivity, increase economic benefits. The design by the AT89S52 microcontroller, temperature detection circuit, humidity detection circuit, control system, alarm circuit, as shown by LCD12864 circuit; temperature measurement and humidity detected by DHT90 temperature and humidity sensors to collect information, its collection to the digita