设计说明书
总字数:23000+
此次设计旨在设计与实现一种基于STM32F103C8T6微控制器的智能监控与控制系统,用于监测和控制食用醋酸发酵过程中的关键参数,包括酒精浓度、PH值、温度等。该系统将通过与各种传感器和外部设备的集成,实时监测发酵过程中的各项数据,并根据预设条件进行声光报警以及温度控制。此外,系统还将支持用户通过OLED显示屏和手机应用程序进行交互,以修正参数、设置阈值并实现远程控制。主要功能模块:时间获取模块:使用STM32内部RTC模块获取实时时间,并在显示屏上显示。酒精浓度监测与报警模块:通过MQ-3传感器实时监测醋酸发酵液中的酒精浓度,一旦超过预设最大值,系统将触发声光报警。PH值监测与报警模块:利用PH传感器监测醋酸发酵液的PH值,如果超出设定范围,系统将进行声光报警。温度控制与报警模块:通过防水式DS18B20传感器测量温度,根据设定的温度上下限值,系统可以控制加热或制冷装置,并在温度异常时触发声光报警。参数设置与校正模块:通过按键进行时间校正、酒精最大值设置、PH限定值调整以及温度上下限值设定。数据显示模块:使用OLED显示屏显示实时监测数据,包括时间、酒精浓度、PH值和温度等。远程监控与控制模块:通过ESP8266模块实现系统与网络的连接,将监测数据传输到手机应用程序中。手机应用程序允许用户远程监控实时数据,并控制继电器开关,从而实现对加热或制冷装置的远程控制。通过该设计项目,能够综合运用嵌入式系统设计、传感器应用、数据通信和用户界面设计等技术,实现一个功能完备的智能监控与控制系统,为食用醋酸发酵过程提供精确的监测和控制手段。同时,这个项目还具有一定的实际应用价值,可在食品工业等领域得到应用。
关键词:STM32F103C8T6;醋酸发酵;监测与控制;传感器集成;智能报警;远程监控
This design aims to create and implement an intelligent monitoring and control system based on the STM32F103C8T6 microcontroller, designed to monitor and control key parameters in the edible vinegar acetic acid fermentation process, including alcohol concentration, pH value, and temperature. This system will integrate various sensors and external devices to real-time monitor various data during the fermentation process, triggering audio-visual alarms and temperature control based on predefined conditions. Additionally, the system will support user interaction through an OLED display and a mobile application for parameter adjustment, threshold setting, and remote control.Key functional modules include:Time Acquisition Module: Utilizing the internal RTC module of STM32 to obtain real-time time and display it on the screen.Alcohol Concentration Monitoring and Alarm Module: Employing the MQ-3 sensor to monitor alcohol concentration in vinegar fermentation; triggering audio-visual alarms if the predefined maximum value is exceeded.pH Value Monitoring and Alarm Module: Utilizing a pH sensor to monitor the pH value of the fermentation solution; initiating audio-visual alarms if it goes beyond the defined range. Temperature Control and Alarm Module: Utilizing a waterproof DS18B20 sensor to measure temperature; controlling heating or cooling devices based on predefined temperature limits, and triggering audio-visual alarms in case of temperature anomalies. Parameter Setting and Calibration Module: Allowing time correction, setting the maximum alcohol value, adjusting pH thresholds, and configuring temperature upper and lower limits using buttons.Data Display Module: Utilizing an OLED display screen to show real-time monitoring data, including time, alcohol concentration, pH value, and temperature.Remote Monitoring and Control Module: Establishing a connection to the network through an ESP8266 module; transmitting monitoring data to a mobile application. The mobile app enables remote monitoring of real-time data and control of relay switches, facilitating remote control of heating or cooling devices.This design project involves the comprehensive application of embedded system design, sensor utilization, data communication, and user interface design techniques to create a fully functional intelligent monitoring and control system. It provides accurate monitoring and control capabilities for the edible vinegar acetic acid fermentation process. Furthermore, the project holds practical application value in industries like the food sector.
Keywords: STM32F103C8T6; acetic acid fermentation; monitoring and control; sensor integration; intelligent alarm; remote monitoring.
目 录
摘 要
Abstract
1 绪论
1.1 选题背景及实际意义
1.2 国内外研究现状
1.3 实现目标
2 系统设计方案
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 显示方案选择
2.1.3 酒精浓度检测模块方案选择
2.1.4 水温检测模块方案选择
2.2 整体设计方案
3 硬件设计与实现
3.1 单片机主控模块
3.2 酒精浓度检测模块
3.3 PH检测模块
3.4 水温检测模块
3.5 继电器模块
3.6 WIFI模块
3.7 显示模块
3.8 独立按键模块
3.9 声光报警模块
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程
4.5 OLED显示流程设计
4.6 WiFi流程设计
5 实物测试
5.1 系统实物测试
5.2 PH检测实物测试
5.3 酒精浓度检测实物测试
5.4 温度检测实物测试
结论与展望
谢辞
参考文献:
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!