设计简介:
项目名:大棚环境检测
单片机:STC89C52
项目编号:mcuclub-dz-064
功能简介:
1、通过DHT11检测温湿度,当温度值不在设置的上下限,则进行加热或风扇降温,并蜂鸣器报警,当湿度值低于设置最小值,则启动喷雾器,并蜂鸣器报警
2、通过光敏电阻配合ADC0832检测光照,当光照值大于设置最大值,则启动遮阳网(步进电机正转)
3、通过通过DS1302获取时间,可通过按键设置补光时间,在补光时间内且光照低于设置最小值,则启动补光,直到时间结束
4、通过按键可设置各阈值
5、通过LCD1602显示温湿度、光照值、时间
6、通过GSM,可发送“温度过低,加热中”、“温度过高,降温中”、“湿度过低,加湿中”、“光照过低,补光中”、“光照过高,遮光中”
总字数:18561
实物链接:点击跳转
设计说明书链接:点击跳转
开题报告链接:点击跳转
答辩PPT链接:点击跳转
摘 要
本毕业论文介绍了一个基于STC89C52单片机的大棚环境检测系统。该系统通过使用DHT11温湿度传感器检测大棚内的温度和湿度,并根据预设的上下限进行加热或降温控制,同时使用蜂鸣器进行报警。当湿度低于设定的最小值时,系统启动喷雾器进行加湿,并发出报警信号。系统还使用光敏电阻结合ADC0832模数转换器检测大棚内的光照强度,当光照值超过设定的最大值时,系统启动遮阳网(通过步进电机正转)。此外,系统通过DS1302时钟模块获取时间,并通过按键设置补光时间,当处于补光时间段内且光照低于设定的最小值时,系统启动补光功能,直到时间结束。通过按键操作,用户可以设置各个阈值。系统通过LCD1602液晶显示屏显示温湿度、光照值和时间。此外,系统还使用GSM模块,可以发送各种状态信息,例如“温度过低,加热中”、“温度过高,降温中”、“湿度过低,加湿中”、“光照过低,补光中”、“光照过高,遮光中”等。该大棚环境检测系统可以自动监测并调节大棚内的温湿度和光照,提高大棚种植环境的稳定性和产量。
关键字:单片机;大棚环境检测 ;STC89C52 ;温湿度检测;光照检测 ;GSM通信
Abstract
This thesis presents a greenhouse environment monitoring system based on the STC89C52 microcontroller. The system utilizes the DHT11 temperature and humidity sensor to measure the temperature and humidity inside the greenhouse. It controls the heating or cooling systems based on predefined upper and lower limits and triggers an alarm using a buzzer. When the humidity falls below the minimum threshold, the system activates a misting system and issues an alarm signal. Moreover, the system employs a photoresistor in conjunction with the ADC0832 analog-to-digital converter to measure the light intensity inside the greenhouse. If the light intensity exceeds the predefined maximum value, the system operates a sunshade net by rotating a stepper motor. Additionally, the system incorporates the DS1302 real-time clock module to obtain the current time and allows the user to set the supplementary lighting time using buttons. During the specified time period, if the light intensity is below the set minimum threshold, the system activates the supplementary lighting function until the time period ends. The user can set various threshold values using the buttons. The measured temperature, humidity, light intensity, and time are displayed on an LCD1602 display screen. Furthermore, the system utilizes a GSM module to send various status messages, such as “Low temperature, heating in progress,” “High temperature, cooling in progress,” “Low humidity, humidification in progress,” “Low light intensity, supplementary lighting in progress,” and “High light intensity, shading in progress.” This greenhouse environment monitoring system enables automatic monitoring and control of temperature, humidity, and light intensity, thereby enhancing the stability and productivity of the greenhouse.
Keywords: Microcontroller, Greenhouse environment monitoring, STC89C52, Temperature and humidity sensing, Light intensity sensing, GSM communication..
目录
摘 要
Abstract
第1章 引 言
第2章 系统设计方案
第3章 硬件设计
第4章 系统程序设计
第5章 实物测试
总结与展望
参考文献
致 谢