B2基于 STM32 的农作物生长环境监测与管理系统设计

图片[1]-B2基于 STM32 的农作物生长环境监测与管理系统设计-子荀毕设

摘  要

针对传统农作物大棚环境监测依赖人工巡检、调控响应滞后、管理效率低、精细化程度不足等问题,本文设计一套基于STM32的农作物生长环境监测与管理系统。系统以STM32F103C8T6单片机为核心控制单元,集成温湿度传感器DHT11、GL5528光敏电阻+分压电路、红外CO₂传感器MH-Z19B等多类型传感器,实现大棚环境关键参数实时采集与精准检测。通过OLED显示屏完成数据本地可视化与报警状态提示,搭配按键模块支持用户自定义参数阈值,适配不同作物生长阶段的差异化调控需求。系统搭载ESP8266-01S WiFi模块,实现监测数据远程上传、手机APP实时查看、阈值修改与设备远程控制。当监测参数超出设定阈值时,系统自动触发声光报警,并驱动继电器与舵机执行加热、降温、除湿、遮光等智能调控操作,形成闭环控制。经实物测试验证,本系统运行稳定、数据采集准确、调控响应及时,可有效降低人工管理成本,提升农作物生长环境管控精度,为设施农业智能化、精准化发展提供实用解决方案,具备良好的推广应用价值。

关键词:STM32单片机;农作物环境监测;智能调控;WiFi远程管理

ABSTRACT

Aiming at the problems of traditional crop greenhouse environment monitoring relying on manual inspection, lagging regulation response, low management efficiency and insufficient refinement, this paper designs a crop growth environment monitoring and management system based on STM32. With STM32F103C8T6 microcontroller as the core control unit, the system integrates multiple sensors of temperature and humidity, light intensity and CO₂ concentration to realize real-time collection and accurate detection of key environmental parameters in greenhouses. The OLED display screen is used to realize local data visualization and alarm status prompt, and the key module is equipped to support users to customize parameter thresholds, adapting to the differentiated regulation needs of different crops at different growth stages. Equipped with ESP8266-01S WiFi module, the system realizes remote upload of monitoring data, real-time viewing on mobile APP, threshold modification and remote equipment control. When the monitored parameters exceed the set thresholds, the system automatically triggers sound and light alarms, and drives relays and steering gears to perform intelligent regulation operations such as heating, cooling, dehumidification and shading, forming a closed-loop control of “collection-display-judgment-regulation-remote management”. Physical tests verify that the system runs stably, collects data accurately and responds to regulation timely. It can effectively reduce manual management costs and improve the control precision of crop growth environment, providing a practical solution for the intelligent and precise development of facility agriculture and having good popularization and application value.

Key words:STM32 Microcontroller;Crop Environment Monitoring;Intelligent Regulation;WiFi Remote Management

目  录

第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 光照检测模块选型

2.4.5 显示模块选型

2.4.6 无线通信模块选型

第3章 硬件电路设计

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

3.2 显示模块电路设计

3.3 无线通信模块电路设计

3.4 声光报警电路设计

3.5 按键模块电路设计

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

3.7 二氧化碳检测模块电路设计

3.8 光照检测模块电路设计

3.9 舵机控制模块电路设计

3.10 继电器控制电路设计

第4章 系统程序设计

4.1 编程软件介绍

4.2 系统主流程设计

4.3 按键模块子流程

4.4 显示模块子流程

4.5 无线通信模块子流程

4.6 温湿度检测模块子流程

4.7 光照检测模块子流程

4.8 舵机控制模块子流程

第5章 实物调试

5.1 电路焊接总图

5.2 WiFi模块联网

5.3 设置温度阈值实物测试

5.4 设置湿度阈值实物测试

5.5 设置光强阈值实物测试

5.6 设置二氧化碳阈值实物测试

5.7 温度或二氧化碳大于阈值测试

结论

参考文献

致谢

附录A 电气原理图

附录B 程序

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

图片[2]-B2基于 STM32 的农作物生长环境监测与管理系统设计-子荀毕设
图片[3]-B2基于 STM32 的农作物生长环境监测与管理系统设计-子荀毕设

PPT

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

请登录后发表评论

    暂无评论内容