设计说明书
总字数:15000+
摘要
随着健康生活理念的普及,人们对饮水健康的关注度日益提升,适宜的饮水温度与科学的饮水量管理,直接影响人体健康状态。若饮用水温过高易烫伤口腔与食道,水温过低则可能刺激肠胃;而饮水量监测缺失,易导致饮水不足或过量,长期下来可能引发代谢异常等健康问题。因此,研发一款能实时检测水温、监测饮水量并便捷反馈数据的智能水杯,成为满足人们健康饮水需求的重要方向。
本设计提出一种基于 STM32F103C8T6 单片机的智能水杯温度检测系统。系统核心功能包括:通过防水式 DS18B20 温度传感器实时检测水杯内水体温度,避免因水温不适影响饮用安全;借助 YW-01D 液位检测模块监测水杯内水位变化,通过水位差值累计算出用户单次及累计饮水量,实现饮水量量化管理;通过 OLED 显示屏直观展示当前水温、实时液位及累计饮水量,方便用户随时查看;依托 ECBO2 蓝牙模块将水温、饮水量数据无线发送至用户手机端,支持数据长期存储与历史趋势查看,助力用户形成科学饮水习惯。
该智能水杯温度检测系统的作用在于,为用户提供了一套集水温监测、饮水量统计、数据可视化与远程同步于一体的健康饮水管理工具。通过实时水温检测规避安全风险,通过饮水量量化帮助用户掌握饮水节奏,有效解决传统水杯 “无监测、无记录” 的痛点,为提升用户饮水健康水平、养成科学饮水习惯提供有力支撑。
关键词:单片机;智能水杯;温度检测;液位监测;蓝牙数据传输
Intelligent water cup temperature detection
Abstract
With the popularization of the concept of healthy living, people’s attention to drinking water health is increasing day by day. Appropriate drinking water temperature and scientific drinking water management directly affect the health status of the human body. If the drinking water temperature is too high, it is easy to burn the mouth and esophagus, while if the water temperature is too low, it may stimulate the intestines and stomach; The lack of monitoring of water intake can easily lead to insufficient or excessive water intake, which may cause health problems such as metabolic abnormalities in the long run. Therefore, developing an intelligent water cup that can detect water temperature in real time, monitor drinking water volume, and provide convenient feedback data has become an important direction to meet people’s demand for healthy drinking water.
This design proposes an intelligent water cup temperature detection system based on STM32F103C8T6 microcontroller. The core functions of the system include: real-time detection of the water temperature inside the water cup through a waterproof DS18B20 temperature sensor, to avoid affecting drinking safety due to uncomfortable water temperature; By using the YW-01D liquid level detection module to monitor changes in the water level inside the cup, the user’s single and cumulative drinking water consumption can be calculated by accumulating the water level difference, achieving quantitative management of drinking water consumption; Visually display the current water temperature, real-time liquid level, and cumulative drinking water volume through OLED display screen, making it convenient for users to check at any time; Relying on the ECBO2 Bluetooth module, the water temperature and drinking water volume data are wirelessly sent to the user’s mobile phone, supporting long-term data storage and historical trend viewing, helping users form scientific drinking habits.
The function of this intelligent water cup temperature detection system is to provide users with a set of health drinking water management tools that integrate water temperature monitoring, water consumption statistics, data visualization, and remote synchronization. By using real-time water temperature detection to avoid safety risks and quantifying the amount of water consumed, users can grasp the rhythm of drinking water, effectively solving the pain points of traditional water cups being “unmonitored and unrecorded”. This provides strong support for improving users’ drinking water health and cultivating scientific drinking habits.
Keywords:microcontroller; Intelligent water cup; Temperature detection; Liquid level monitoring; Bluetooth data transmission.
目 录
1 绪论
1.1 研究背景及意义
1.2 国内外研究现状
1.3 主要内容
2 系统总体方案设计
2.1系统总体设计
2.2 主要模块方案选择
3 系统硬件设计
3.1 总体硬件框架
3.2 主控模块电路设计
3.3 水温检测模块电路设计
3.4 液位检测与饮水量统计模块电路设计
3.5 显示模块电路设计
3.6 蓝牙数据传输模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 温度检测模块子流程
4.4 OLED显示流程设计
4.5 蓝牙模块子流程
5 实物制作与功能测试
5.1 实物制作
5.2 水温检测功能测试
5.3 液位检测与饮水量统计功能测试
5.4 OLED 显示功能测试
5.5 蓝牙数据传输功能测试
6 总结
参考文献
致谢
附录A 原理图
附录B PCB
附录C 主程序
购买后可查看具体内容!