B39基于单片机的畜牧站环境监测控制系统设计

图片[1]-B39基于单片机的畜牧站环境监测控制系统设计-子荀毕设

摘  要

针对传统畜牧站环境监测手段效率低、实时性差、智能化与自动化水平不高,且缺乏多参数联动调控功能等问题,本文设计一套基于STM32单片机的畜牧站环境监测控制系统。系统以STM32F103C8T6为核心控制器,搭载DHT11温湿度、MQ-4甲烷、GP2Y1014AU0F PM2.5、XKC-Y25-V水位等传感器,实现养殖环境关键参数的实时采集与处理;采用0.96寸OLED显示屏完成数据本地可视化展示,配合独立按键实现页面切换、阈值调整与报警复位等人机交互功能;通过ESP8266 WiFi模块将数据上传至手机APP,实现远程实时监控。系统配备四路继电器模块,可根据监测数据自动执行联动控制:甲烷、PM2.5超标时启动排风风机,温度偏高时启动制冷设备,温度偏低时启动加热设备,湿度偏低时启动加湿设备;参数异常时自动触发声光报警,提醒管理人员及时处理。经实物调试与功能测试,系统运行稳定、数据采集准确、本地显示清晰、无线通信可靠,可完成环境监测、本地操作、异常报警、自动调控、远程管控一体化功能。系统采用模块化设计,结构简单、成本低廉、安装维护便捷,能够有效提升中小型畜牧站环境管理的自动化与智能化水平,为畜牧养殖环境精细化监测与智能调控提供实用可行的技术方案,具有良好的应用与推广价值。

关键词:单片机;畜牧站;环境监测;远程控制

ABSTRACT

Aiming at the problems of low efficiency,poor real-time performance,low intelligence and automation,and lack of multi-parameter linkage regulation in traditional livestock station environmental monitoring,this paper designs an environmental monitoring and control system for livestock stations based on STM32 microcontroller.With STM32F103C8T6 as the core controller,the system is equipped with DHT11 temperature and humidity sensor,MQ-4 methane sensor,GP2Y1014AU0F PM2.5 sensor,XKC-Y25-V water level sensor and other modules to realize real-time collection and processing of key environmental parameters in breeding sites.A 0.96-inch OLED display is used for local visual data display,and independent keys are adopted to realize human-computer interaction such as page switching,threshold adjustment and alarm reset.The ESP8266 WiFi module uploads data to a mobile APP to realize remote real-time monitoring.

The system is equipped with a four-channel relay module,which can automatically perform linkage control according to the monitored data:start the exhaust fan when methane or PM2.5 exceeds the standard,start the cooling equipment when the temperature is too high,start the heating equipment when the temperature is too low,and start the humidification equipment when the humidity is too low.When the parameters are abnormal,the system will automatically trigger an acousto-optic alarm to remind managers to handle in time.

Through physical debugging and functional testing,the system runs stably,collects data accurately,displays clearly locally,and has reliable wireless communication.It can realize integrated functions including environmental monitoring,local operation,abnormal alarm,automatic regulation and remote control.Adopting a modular design,the system features simple structure,low cost,convenient installation and maintenance.It can effectively improve the automation and intelligence level of environmental management in small and medium-sized livestock stations,provide a practical and feasible technical solution for refined monitoring and intelligent control of livestock breeding environment,and has good application and popularization value.

Key words:Single Chip Microcomputer;Livestock Station;Environmental Monitoring;Remote Control

目  录

第1章 绪论

1.1 研究背景与意义

1.2 国内外研究现状

1.2.1 国内研究现状

1.2.2 国外研究现状

1.3 本文主要研究内容

第2章 系统方案设计

2.1 系统需求分析

2.2 设计思路

2.3 整体方案设计

2.4 主要元器件选型

2.4.1 单片机选型

2.4.2 水位检测模块选型

2.4.3 温湿度检测模块选型

2.4.4 PM2.5检测模块选型

2.4.5 显示模块选型

2.4.6 无线通信模块选型

2.4.7 甲烷检测模块选型

第3章 硬件电路设计

3.1 单片机最小系统电路设计

3.2 显示模块电路设计

3.3 无线通信模块电路设计

3.4 声光报警电路设计

3.5 按键模块电路设计

3.6 水位检测模块电路设计

3.7 温湿度检测模块电路设计

3.8 PM2.5检测模块电路设计

3.9 甲烷检测模块电路设计

3.10 继电器模块电路设计

3.11 总电气原理图设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 按键模块子流程

4.4 显示模块子流程

4.5 无线通信模块子流程

4.6 温湿度检测模块子流程

4.7 PM2.5检测模块子流程

第5章 实物调试

5.1 电路焊接总图

5.2 信息显示

5.3 按键功能介绍

5.4 云智能APP测试

结论

参考文献

致谢

附录A 电气原理图

附录B 程序

如需查看完整设计说明书可联系客服:

图片[2]-B39基于单片机的畜牧站环境监测控制系统设计-子荀毕设
图片[3]-B39基于单片机的畜牧站环境监测控制系统设计-子荀毕设

PPT

© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容