项目编号:mcuclub-dz-317

实物链接:点击跳转

仿真链接:点击跳转

设计说明书链接:点击跳转

开题报告链接:点击跳转

答辩PPT链接:点击跳转

设计简介:

项目名:鸡舍环境检测
项目编号:mcuclub-dz-317
单片机类型:STC89C52
具体功能:
1、通过DHT11检测温湿度,当温湿度不在设定的上下限之间;温度过高时,进行通风
2、通过DS1302同步时间,可以设定开灯的时间区
3、通过光敏电阻配合ADC0832检测光照值,当光照值低于设置最小值且在开灯的时间区内,进行补光
4、通过按键可修正时间、设置温湿度上下限值、开灯的时间区,还可以手动控制通风和开灯及切换模式
5、通过LCD1602显示屏显示测量数据

总字数:15375

基于单片机的鸡舍环境控制系统设计

  要

在现代农业中,鸡舍环境的控制对于鸡的健康和生产效率至关重要。然而,传统的环境控制方式常常需要人工干预,效率低下且容易出现误操作。为了解决这一问题,本论文设计了一款基于单片机STC89C52的鸡舍环境控制系统,旨在实现智能化的环境监测和控制,提升鸡舍管理效率和鸡的生产水平。

该系统具备多项功能:首先,通过DHT11温湿度传感器实时监测鸡舍的温度和湿度,当环境温度过高时自动启动通风设备,保障鸡的生活环境。其次,系统采用DS1302时钟模块同步时间,用户可以设定开灯的时间区,实现智能的照明控制。通过光敏电阻和ADC0832模块,系统能够监测光照值,当光照值低于设定的最小值且在开灯的时间区内时,系统将自动进行补光操作,确保鸡舍内的充足照明。用户可以通过按键对系统进行设置和控制,包括修正时间、设置温度上限值、设定光照最低值、调整开灯的时间区,以及手动控制通风和开灯,实现灵活的管理方式。同时,LCD1602显示屏将实时的温湿度、光照值和工作模式等信息直观地展示给用户,方便监控和操作。

综上所述,本次设计的基于单片机的鸡舍环境控制系统能够实现智能化的环境监测和控制,提升鸡舍管理的效率和鸡的生产水平。通过引入环境传感器,实现更精细化的控制策略,以及显示端实现监控和数据分析,从而更好地满足农业生产的需求。

关键词:鸡舍环境控制;单片机STC89C52;智能化监测;温湿度控制;光照补光

 Abstract

In modern agriculture, the control of chicken coop environment is crucial for the health and production efficiency of chickens. However, traditional methods of environmental control often require manual intervention, resulting in low efficiency and the potential for human errors. To address this issue, this paper presents a design of a chicken coop environment control system based on the STC89C52 microcontroller, aiming to achieve intelligent environmental monitoring and control, thereby enhancing the efficiency of chicken coop management and the production level of chickens.

The designed system incorporates several functionalities: Firstly, real-time monitoring of the temperature and humidity in the chicken coop is achieved through the DHT11 temperature and humidity sensor. When the environmental temperature and humidity exceed the set upper and lower limits, the system triggers audio-visual alarms. Additionally, in the case of high temperatures, the system automatically activates ventilation equipment to maintain a suitable living environment for the chickens. Secondly, the system employs the DS1302 real-time clock module to synchronize time. Users can set up a lighting time period, enabling intelligent lighting control. Thirdly, by utilizing a light-dependent resistor in conjunction with the ADC0832 module, the system can measure the light intensity. If the light intensity falls below the predefined minimum value and it is within the lighting time period, the system initiates supplementary lighting, ensuring adequate illumination inside the chicken coop.Users can interact with the system using buttons to adjust settings and control operations, including correcting time, setting temperature and humidity upper and lower limits, defining the minimum light intensity threshold, adjusting the lighting time period, as well as manually controlling ventilation and lighting, providing a flexible management approach. Simultaneously, the LCD1602 display screen presents real-time information such as temperature, humidity, light intensity, and operational modes, allowing users to monitor and manage effectively.

In conclusion, the proposed chicken coop environment control system, based on the STC89C52 microcontroller, accomplishes intelligent environmental monitoring and control, thereby enhancing chicken coop management efficiency and production quality. The integration of environmental sensors for precise control strategies, along with the display terminal for monitoring and data analysis, positions the system well to meet the evolving needs of agricultural production.

Keywords: chicken coop environment control; microcontroller STC89C52; intelligent monitoring; temperature and humidity control; supplementary lighting.


目  录

基于单片机的鸡舍环境控制系统设计

  要

Abstract

1.绪论

1.1  研究背景及其研究意义

1.2  国内外研究现状

1.3  研究目标和组织结构

2.系统方案设计

2.1  整体方案设计

2.2  主要器件选型选择

2.2.1 主控芯片方案选择

2.2.2 温湿度检测模块方案选择

2.2.3 光照强度检测模块方案选择

3.硬件电路设计

3.1 单片机最小系统

3.2 时钟检测模块

3.3 温湿度模块电路

3.4 光照强度检测模块电路

3.5 显示模块电路

3.6 继电器模块电路

3.7 独立按键模块电路

4 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 独立按键

4.4 温湿度检测模块子流程

4.5 A/D模数转换子流程

4.6 时钟模块子流程

4.7 LCD1602液晶显示子流程

5 仿真调试

5.1 仿真总体设计

5.2 鸡舍温度测控仿真测试

5.3 鸡舍湿度测控仿真测速

5.4 鸡舍光照测控仿真测试

6.实物调试

6.1 实物总体设计

6.2 鸡舍温度测控实物测试

6.3 鸡舍湿度测控实物测速

6.4 鸡舍光照测控实物测试

总结与展望

参考文献

致谢

附录

附录A:原理图

附录B:PCB

附录C:程序

……………..本设计说明书是配套实物或仿真来写的,完整的设计参考书请购买后下载,购买过程遇到任何问题请联系客服进行咨询。本资料是一次性商品,不支持退货,感谢您对单片机俱乐部的支持……………..

发表评论

后才能评论

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源