毕业论文-基于AT89C52单片机的大棚仓库温湿度自动控制系统设计 下载本文

内容发布更新时间 : 2024/4/26 21:48:55星期一 下面是文章的全部内容请认真阅读。

摘 要

本设计是基于AT89C52单片机的大棚仓库温湿度自动控制系统,采用SHT11作为温湿度传感器,LCD1602液晶屏进行显示。SHT11使用类似于I2C总线的时序与单片机进行通信,由于它高度集成,已经包括A/D转换电路,所以使用方便,而且准确、耐用LCD1602能够分两行显示数据,第一行显示温度,第二行显示湿度。这个控制系统能够测量温室大棚或仓库中的温度和湿度,将其显示在液晶屏LCD1602上,同时将其与设定值进行对比,如果超出上下限,将进行报警并启动温湿度调节设备。此外,还可以通过独立式键盘对设定的温湿度进行修改。通过设计系统原理图、用Proteus软件进行仿真,证明了该系统的可行性。 关键词:AT89C52 SHT11 温湿度自动控制

I

Abstract

This design is an automatic temperature and humidity controller for greenhouses,

with the ATC89C52RC MCU being its main controller. It uses the SHT11 as the temperature and humidity sensor, and the LCD1602 to display the messages. The SHT11 uses a timing sequence much like the I2C to communicate with the micro-controller. Because it’s a highly integrated chip, it already includes an analog to digital converter. Therefore, it’s quite convenient to use, and also accurate and durable. The LCD1602 can display two lines of messages, with the first line for temperature and the second line for humidity. The design can measure the temperature and humidity in a greenhouse, and then display it on a LCD1602. Meanwhile, it compares the data with the set limit. If the limit is exceeded, then the system will send out a warning using a buzzer and activate the temperature and humidity controlling equipment. Besides, the set limit can be modified with the independent keyboard. Through schematic design and Proteus simulation, the feasibility of this design has been proved.

Keywords: AT89C52, SHT11,temperature and humidity control