设计说明书
总字数:17000+
摘要
在日常生活中,科学补水与适宜的饮水温度对维持人体健康具有重要意义。传统的饮水提醒多依赖人工记忆,不仅存在提醒滞后的问题,且难以根据环境变化调整饮水间隔,同时水温与水量的监测也需人工判断,难以满足人们对便捷、智能饮水管理的需求。
基于 STM32F103C8T6 单片机的智能水杯垫,整合了 DHT11 温湿度传感器、防水式 DS18B20 温度传感器、HX711 称重模块、3 个独立按键、OLED 显示屏及执行设备(加热装置、声光报警装置等),实现了饮水的智能提醒、水温调控及水量监测。系统核心功能包括:通过 DHT11 检测环境温湿度,据此自动调节间隔喝水时间,时间到达时通过声光报警装置发出 3 声提醒;通过 DS18B20 测量水温,水温低于设置最小值时启动加热,达到最大值时停止;借助 HX711 称重模块监测水量,统计喝水量;支持通过按键设置间隔喝水时间,该模式与温湿度自动调节时间模式可通过按键切换;通过按键可设置温度上下限、手动控制加热及切换模式;通过 OLED 显示屏实时显示环境温湿度、水温、水量、喝水间隔时间等数据。
该系统的实现,有效提升了饮水管理的智能化与便捷性,减少了人工干预,确保了饮水提醒的及时性与水温的适宜性,为人们的健康饮水提供了高效、可靠的解决方案,同时为同类智能生活用品的研发提供了参考,具有较高的实际应用价值。
关键词:STM32F103C8T6;智能水杯垫;温湿度检测;水温调控;饮水提醒;称重模块
ABSTRACT
In daily life, scientific water supplement and appropriate drinking water temperature are of great significance for maintaining human health. Traditional drinking reminders mostly rely on manual memory, which not only has the problem of delayed reminders but also is difficult to adjust the drinking interval according to environmental changes. At the same time, the monitoring of water temperature and water volume also needs manual judgment, which is difficult to meet people’s needs for convenient and intelligent drinking water management.
The intelligent cup mat based on the STM32F103C8T6 microcontroller integrates DHT11 temperature and humidity sensors, waterproof DS18B20 temperature sensors, HX711 weighing modules, 3 independent buttons, OLED displays, and executive devices (heating devices, sound and light alarm devices, etc.), realizing intelligent drinking reminders, water temperature regulation, and water volume monitoring. The core functions of the system include: detecting ambient temperature and humidity through DHT11, automatically adjusting the interval drinking time accordingly, and when the time is up, the sound and light alarm device sends 3 reminders; measuring water temperature through DS18B20, starting heating when the water temperature is lower than the set minimum value, and stopping when it reaches the maximum value; monitoring water volume with the help of HX711 weighing module to count water consumption; supporting setting the interval drinking time through buttons, and this mode and the temperature and humidity automatic adjustment time mode can be switched through buttons; setting the upper and lower temperature limits, manually controlling heating, and switching modes through buttons; real-time display of ambient temperature and humidity, water temperature, water volume, drinking interval time and other data through the OLED display.
The implementation of this system effectively improves the intelligence and convenience of drinking water management, reduces manual intervention, ensures the timeliness of drinking reminders and the appropriateness of water temperature, provides an efficient and reliable solution for people’s healthy drinking water, and also offers a reference for the research and development of similar intelligent daily necessities, with high practical application value.
Keywords: STM32F103C8T6; Intelligent cup mat; Temperature and humidity detection; Water temperature regulation; Drinking reminder; Weighing module
目录
第 1 章 绪论
1.1 研究的目的及意义
1.2 国内外发展情况
1.3 本文主要研究内容
第2章 设计思路与方案论证
2.1 主要元器件选择
2.1.1 主控芯片选择
2.1.2 温湿度传感器选择
2.1.3 温度传感器(水温)选择
2.1.4 称重模块选择
2.1.5 按键模块选择
2.1.6 显示模块选择
2.1.7 声光报警模块选择
2.2整体设计方案
第 3 章 硬件设计
3.1 主控电路模块
3.2 温湿度传感器电路
3.3 水温传感器电路
3.4 称重模块电路
3.5 显示模块电路
3.6 按键模块电路
3.7 声光报警模块电路
3.8 加热模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 温度检测模块子流程设计
4.6 温湿度检测模块子流程设计
4.7 称重模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 温湿度传感器功能测试
5.3 水温传感器功能测试
5.4 称重模块功能测试
5.5 声光报警模块功能测试
5.6 按键功能测试
5.7 显示模块功能测试
第 6 章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!