项目编号:mcuclub-dz-311

设计简介:

项目名:农田智能灌溉(实物)
项目编号:mcuclub-dz-311
单片机类型:STM32F103C8T6
具体功能:
从机:
1、通过土壤湿度传感器测量土壤湿度值,当湿度值小于设置最小值,启动两个水泵灌溉;当湿度值在最小值和最大值之间,启动一个水泵灌溉,当湿度值大于设置最大值,停止灌溉
2、通过zigbee将测量的湿度值发送到主机端,并可以接收主机端下发的湿度最大值、最小值,以及主机端下发的手动控制灌溉指令和切换模式指令
主机:
1、通过zigbee接收从机端发送的湿度值
2、通过按键可设置湿度最大值、最小值,也可通过按键控制灌溉、切换模式,通过zigbee下发数据到从机端
3、通过wifi模块,手机端可实时获取湿度值,手机端可设置湿度最大值、最小值,也可通过手机端控制灌溉、切换模式,通过zigbee下发数据到从机端

总字数:11750

实物链接:点击跳转

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

开题报告链接:点击跳转

答辩PPT链接:点击跳转

摘 要

农田灌溉是农业生产过程的重要环节,对提高粮食产量起到关键性作用。而我国水资源匮乏,大面积的浇水会造成严重的水资源浪费。近年来,虽然管道浇灌技术不断发展,但仍不能满足农户对农田灌溉系统的精确性和智能化的需求。

为了解决农田灌溉技术存在的关键问题,本设计提出了一种基于STM32主控芯片的智能农田灌溉系统。该系统包括主机和从机两部分,主机通过按键可设置土壤湿度阈值和模式切换,通过显示模块对实时土壤湿度值及设置阈值进行显示,通过zigbee下发数据到从机端,通过wifi模块将实时湿度值传送到手机端进行显示,从机通过土壤湿度传感器测量土壤湿度值,通过zigbee将测量的湿度值发送到主机端,通过继电器控制水泵的打开和关闭,当检测到农田的土壤湿度值小于设置的最小值,开启两个水泵进行灌溉,当湿度值在最小值和最大值之间,启动一个水泵灌溉,当湿度值大于设置最大值,停止灌溉。通过实物测试,该系统基本能实现系统所预期的功能,在节水增产方面具有一定的推广实用价值。

关键词STM32;农田灌溉;水泵;传感器

ABSTRACT

Farmland irrigation is an important link in agricultural production process and plays a key role in increasing grain yield. However, the shortage of water resources in our country, the large area watering can cause the serious waste of water resources. In recent years, despite the continuous development of pipeline irrigation technology, but still can not meet the farmers’ demand for accuracy and intelligence of farmland irrigation system.

In order to solve the key problems existing in farmland irrigation technology, this design proposes an intelligent farmland irrigation system based on STM32 main control chip. The system consists of two parts: the host and the slave. The host can set the soil moisture threshold and mode switch by pressing the button, display the real-time soil moisture value and set the threshold through the display module, send the data to the slave through zigbee, transmit the real-time humidity value to the mobile phone for display through the wifi module, and measure the soil moisture value through the soil moisture sensor. The measured humidity value is sent to the host through zigbee, and the water pump is controlled to open and close through relay. When the soil moisture value is detected to be less than the set minimum value, two water pumps are started for irrigation; when the humidity value is between the minimum value and the maximum value, one water pump is started for irrigation; when the humidity value is greater than the set maximum value, irrigation is stopped. Through the real test, the system can basically achieve the expected function of the system, and has a certain practical value in the aspect of water saving and increasing production.

Key Words:STM32, Farmland irrigation,Water pump, sensor

目录

1绪论

1.1选题背景及实际意义

1.2国内外研究现状

1.3 本文实现的功能和组织结构

2 系统设计方案

2.1 主要模块方案选择

2.1.1 主控芯片方案选择

2.1.2 土壤湿度传感器方案选择

2.1.3 无线传输模块

2.2 整体设计方案

3硬件设计

3.1 单片机最小系统

3.2 土壤湿度监测模块电路

3.3显示模块电路

3.4 按键模块电路

3.5 继电器模块电路

3.6 WiFi模块

3.7 Zigbee无线传输模块电路

4 系统程序设计

4.1 编程软件介绍

4.2 系统主机流程设计

4.3 系统从机主流程设计

4.4 OLED显示流程设计

4.5 WiFi模块子流程设计

5实物测试

5.1 实物整体焊接测试

5.2 土壤湿度检测实物测试

5.3 WiFi测控实物测试

总结与展望

参考文献

致     谢

附录1 原理图

附录2 PCB

附录2:程序

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

发表评论

后才能评论

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

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

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

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

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