设计说明书
总字数:15000+
随着现代农业的快速发展,花棚内的温度和土壤湿度对花卉生长至关重要。为实现对花棚环境的精准控制,设计了花棚温度土壤湿度自动检测控制系统。该系统以STM32F103C8T6单片机为核心,集成了多种传感器与智能控制模块。
该系统通过防水温度检测模块DS18B20实时监测土壤温度,当温度超过预设最大值时,自动启动通风设备以降低温度。通过土壤湿度检测模块实时监测土壤湿度,根据预设的湿度范围自动控制浇水系统,确保土壤湿度保持在适宜花卉生长的水平。通过氮磷钾模块实时监测花盆中氮磷钾元素的含量,并根据监测结果自动灌溉对应的营养液,以满足花卉生长的营养需求。通过按键设置各项参数的阈值,并允许手动控制风扇、浇水及营养液灌溉开关。通过OLED显示屏实时显示所有的监测数据和设置参数,方便用户随时查看。还通过WiFi模块将测量数据上传至手机端,用户可以在手机上远程查看花棚环境数据,设置参数,并远程控制各项设备开关,实现全面的信息化管理。
花棚自动检测控制系统的开发与实现,不仅提高了花卉生长环境的精准控制水平,还有效降低了人工管理成本,为现代农业的智能化发展提供了有力支持。
关键词:花棚环境控制;STM32F103C8T6;DS18B20;土壤湿度;WiFi
With the rapid development of modern agriculture, the temperature and soil moisture inside the greenhouse are crucial for the growth of flowers. To achieve precise control of the greenhouse environment, an automatic detection and control system for greenhouse temperature and soil moisture was designed. The system is based on the STM32F103C8T6 microcontroller and integrates multiple sensors and intelligent control modules.
The system monitors soil temperature in real-time through the waterproof temperature detection module DS18B20. When the temperature exceeds the preset maximum value, the ventilation equipment is automatically activated to reduce the temperature. Real time monitoring of soil moisture through soil moisture detection module, automatic control of watering system according to preset humidity range, ensuring that soil moisture remains at a suitable level for flower growth. Real time monitoring of nitrogen, phosphorus, and potassium content in flower pots through nitrogen, phosphorus, and potassium modules, and automatic irrigation of corresponding nutrient solutions based on monitoring results to meet the nutritional needs of flower growth. Set the threshold values for various parameters through buttons and allow manual control of the fan, watering, and nutrient solution irrigation switches. Real time display of all monitoring data and setting parameters through OLED display screen, convenient for users to view at any time. The measurement data is also uploaded to the mobile phone through the WiFi module, allowing users to remotely view the greenhouse environment data, set parameters, and remotely control various device switches on their phones, achieving comprehensive information management.
The development and implementation of an automatic detection and control system for flower sheds not only improves the precision control level of flower growth environment, but also effectively reduces manual management costs, providing strong support for the intelligent development of modern agriculture.
Keywords:Greenhouse environment control; STM32F103C8T6; DS18B20; Soil moisture; WiFi
目 录
1 绪论
1.1研究背景及意义
1.2国内外研究现状
1.3研究内容
1.4本章小结
2 系统总体方案设计及需求分析
2.1系统总体设计
2.2系统需求分析
2.3可行性分析
2.4本章小结
3 系统硬件设计
3.1主控电路设计
3.2土壤温度检测模块电路设计
3.3土壤湿度检测模块电路设计
3.4氮磷钾检测模块电路设计
3.5按键模块电路设计
3.6显示模块电路设计
3.7声光报警模块电路设计
3.8继电器模块电路设计
3.9WiFi模块电路设计
4 系统软件设计
4.1主程序流程设计
4.2土壤温度检测模块子流程设计
4.3独立按键子流程设计
4.4OLED显示子流程设计
4.8 WiFi模块子流程设计
5 实物测试
5.1实物制作
5.2功能测试
总结
参考文献
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!