项目编号:mcuclub-dz-282
设计简介:
项目名:种子烘干机(实物)
项目编号:mcuclub-dz-282
单片机类型:STM32F103C8T6
具体功能:
1、通过DHT11检测温湿度,当温度低于设置最小值,进行加热片加热;当湿度高于设置最小值,风扇低速转动并启动加热片,吹入暖风,到达除湿效果;当湿度大于设置最大值,风扇高速转动并启动加热片,快速吹入暖风,到达快速除湿效果
2、通过按键设置各阈值
3、通过OLED显示屏显示测量值
4、通过WIFI模块将测量数据发送到手机端,并可以设置阈值,手机端可远程控制风扇转速和加热开关
总字数:20009
基于STM32单片机种子烘干机自动控制设计
摘 要
我国作为农产品消费大国,种子的安全存贮至关重要,而影响种子安全存贮为关键因素为种子水分含量,为了保证种子的活力和出苗率,设计一款智能种子烘干机势在必行。本设计基于STM32单片机,通过DHT11对种子存贮环境的温湿度进行实时监测,通过独立按键对温湿度的上下限阈值进行设置,并通过显示屏对监测到的温湿度进行显示,当监测到种子烘干室内的环境温度低于设置最小值时,加热继电器闭合,控制加热片进行加热;当烘干室内的环境湿度高于设置最小值,启动风扇低速转动,并启动加热片进行加热,吹入暖风,到达除湿效果;当烘干室内的环境湿度大于设置最大值,启动风扇高速转动,并启动加热片进行加热,快速吹入暖风,到达快速除湿效果。此外,本系统还使用WIFI模块,将监测到的温湿度数据实时传到手机端,供种子管理员及时查看,同时,管理员也可以通过手机对烘干室内的温度进行调控,使环境温度适宜种子的存储。通过测试表明,该系统能够实现对烘干环境温湿度的监测,能够有效的帮助种子管理员进行种子烘干和存贮。
关键词 STM32单片机;种子烘干;温湿度;测控
Design of Automatic Control for Seed Drying Machine Based on STM32 Microcontroller
Abstract
As a large country consumed by agricultural products, the safe storage of seeds is very important, and a key factor affecting the safe storage of seeds is the content of water content. In order to ensure the energy and seedling rate of seeds, design an intelligent seed dryer is imperative. Based on STM32 microcontroller, this design carries out real-time monitoring of temperature and humidity in the seed storage environment through DHT11, sets the upper and lower limits of temperature and humidity through independent keys, and displays the monitored temperature through the display screen. When the ambient temperature in the seed drying room is detected to be lower than the set minimum value, the heating relay closes and controls the heating sheet for heating. When the ambient humidity in the drying room is higher than the set minimum value, start the fan to rotate at a low speed, and start the heating sheet for heating, and blow into the warm air to achieve the dehumidification effect. When the ambient humidity in the drying room is greater than the set maximum, start the fan to rotate at high speed, and start the heating sheet for heating, and quickly blow into the warm air to achieve rapid dehumidification effect. In addition, the system also uses the WIFI module to transmit the temperature and humidity data monitored to the mobile phone in real time for the seed manager to check in time. At the same time, the manager can also regulate the temperature in the drying room through the mobile phone, so that the environment temperature is suitable for seed storage. The test shows that the system can realize the monitoring of temperature and humidity of drying environment, and can effectively help the seed manager to dry and store seeds.
Keywords STM32 microcontroller; Seed drying; Temperature and humidity; Measurement and control
目 录
摘 要 I
Abstract II
第1章 绪论
1.1 课题背景和意义
1.1.1 研究背景
1.1.2 研究意义
1.2 国内外研究现状分析
1.2.1 国内研究现状
1.2.2 国外研究现状
1.3 论文研究的主要内容
1.4 研究方法和可行性分析
1.4.1 研究方法
1.4.2 可行性分析
1.5 本章小结
第2章 系统方案设计
2.1 种子干燥机整体方案设计
2.2 主要元器件选择
2.2.1 主控芯片选择
2.2.2 显示方案选择
2.2.3 温湿度检测方案选择
2.2.4 无线通信模块方案选择
2.3 本章小结
第3章 基于STM32单片机的硬件设计
3.1 单片机最小系统
3.2 温度检测模块电路
3.3 直流电机驱动模块
3.4 按键模块电路
3.5 继电器控制电路
3.6 显示模块电路
3.7 WIFI模块
3.8 本章小结
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温湿度检测模块子流程
4.5 OLED显示流程设计
4.6 WIFI模块子流程设计
4.7 云平台产品及设备接入
4.8 本章小结
第5章 实物制作与调试
5.1 实物制作
5.2 PCB板的调试
5.3 实物调试
5.4 温湿度监测模块测试
5.5 云平台部分测试
5.6 本章小结
结论
致谢
参考文献
附录A
附录B
附录C
附录D