设计说明书
总字数:14000+
摘要
酒窖环境的温湿度、光照等参数对酒类储存品质至关重要,温湿度异常或光照不适易导致酒体变质、风味受损,造成经济损失。因此,研发一种能实时监测酒窖环境并自动调控的系统具有重要实用价值。
本设计提出一种基于 STM32F103C8T6 单片机的酒窖环境监测系统。系统主要功能包括:通过 DHT11 模块检测环境温湿度,当温度低于最小值时自动启动加热器,湿度低于最小值时自动开启加湿器,同时触发声光报警;借助 5516 光照检测模块监测光照强度,光照较低时自动打开照明灯并启动声光报警;OLED 显示屏实时显示温湿度、光照等测量数据;用户可通过按键设置温度和湿度的最小值,还能手动控制各类外设;通过 ECBO2 蓝牙模块将检测数据上传至手机端,实现远程监测与外设控制。
该系统的作用在于构建了 “实时感知 – 智能调控 – 远程监控” 的酒窖环境管理体系。通过多参数协同监测与自动响应,为酒类储存提供稳定适宜的环境;直观的数据显示与便捷的按键操作提升了系统易用性;蓝牙远程功能增强了管理灵活性。为酒窖环境监测与调控提供了可靠解决方案,助力保障酒类储存品质,降低人工管理成本。
关键词:STM32;酒窖环境监测自动调控;蓝牙通信
A Wine Cellar Environment Monitoring System Based on Single Chip Microcomputer
Abstract
The temperature, humidity, and lighting parameters of the wine cellar environment are crucial for the quality of wine storage. Abnormal temperature and humidity or inadequate lighting can easily lead to wine spoilage, flavor damage, and economic losses. Therefore, developing a system that can monitor the wine cellar environment in real time and automatically regulate it has important practical value.
This design proposes a wine cellar environment monitoring system based on STM32F103C8T6 microcontroller. The main functions of the system include: detecting environmental temperature and humidity through the DHT11 module, automatically starting the heater when the temperature is below the minimum value, automatically turning on the humidifier when the humidity is below the minimum value, and triggering sound and light alarms at the same time; By using the 5516 light detection module to monitor the light intensity, the lighting will automatically turn on and sound and light alarms will be activated when the light is low; OLED display screen displays real-time measurement data such as temperature, humidity, and lighting; Users can set the minimum values of temperature and humidity through buttons, and can also manually control various peripherals; Upload the detection data to the mobile phone through the ECBO2 Bluetooth module to achieve remote monitoring and peripheral control.
The function of this system is to build a wine cellar environment management system that combines real-time perception, intelligent regulation, and remote monitoring. Provide a stable and suitable environment for alcohol storage through multi parameter collaborative monitoring and automatic response; The intuitive data display and convenient button operation have improved the usability of the system; The Bluetooth remote function enhances management flexibility. Provided a reliable solution for monitoring and regulating the wine cellar environment, helping to ensure the quality of wine storage and reduce labor management costs.
Keywords: STM32; Automatic monitoring and control of wine cellar environment; Bluetooth communication
目录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.2.1 国内研究现状
1.2.2 国外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
2.2.1 主控模块方案选择
2.2.2 温湿度检测模块方案选择
2.2.3 光照检测模块方案选择
2.2.4 显示模块方案选择
2.2.5 蓝牙通信模块方案选择
2.2.6 执行与报警模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.2.1 主控芯片简介
3.2.2 单片机最小系统
3.3 温湿度检测模块电路设计
3.4 光照检测模块电路设计
3.5 显示模块电路设计
3.6 按键模块电路设计
3.7 继电器执行模块电路设计
3.8 声光报警模块电路设计
3.9 蓝牙通信模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 OLED显示子流程设计
4.4 独立按键子流程设计
4.5 ADC模数转换子流程设计
4.6 温度检测模块子流程设计
4.7 蓝牙模块子流程设计
5 实物制作与功能测试
5.1 实物制作
5.2 温湿度检测及调控功能测试
5.3 光照检测及照明功能测试
5.4 显示与按键交互功能测试
5.5 蓝牙通信功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!