设计说明书
总字数:14000+
本毕业论文设计了一款智能水杯,使用STC89C52单片机作为主控芯片,实现了多项智能功能。该智能水杯通过集成防水式DS18B20温度传感器,实时监测水温,并在水温低于设定最小值时进行加热,直到温度达到设定值以上,蜂鸣器会发出1秒的报警提醒加热完成。同时,通过按键设置定时提醒喝水时间,倒计时结束后,蜂鸣器会连续提醒3秒喝水,并通过GSM模块发送喝水短信提醒。此外,通过重量传感器检测水量变化,当水量减少时判断为喝水,然后重新开始倒计时。用户可以通过按键设置温度的最小值。最后,LCD1602显示模块用于显示水温、重量和倒计时时间。本项目的设计充分利用了单片机的控制能力和各种传感器模块,实现了智能水杯的多项功能。通过监测水温、倒计时提醒喝水、检测水量变化等,用户可以更加方便地管理自己的饮水习惯和健康状况。这样的智能水杯具有实用性和便利性,可以应用于日常生活中,提醒人们保持良好的饮水习惯,促进健康生活方式的养成。
关键字:智能水杯;单片机;温度传感器;倒计时提醒;重量传感器;LCD显示模块
This graduation thesis presents the design of an intelligent water bottle using the STC89C52 microcontroller as the main control chip. The proposed water bottle incorporates various smart features. It utilizes a waterproof DS18B20 temperature sensor to monitor real-time water temperature. When the temperature falls below the predefined minimum value, the bottle activates a heating mechanism until the temperature reaches or exceeds 100 degrees Celsius, at which point a buzzer sounds for 1 second to indicate completion of the heating process.Additionally, the water bottle allows users to set timed reminders for drinking water using a push-button interface. When the countdown timer reaches zero, the buzzer activates for 3 seconds to remind the user to drink water. Furthermore, a GSM module is integrated to send a drinking reminder message stating “It’s time to drink water, please drink up.”The water level is monitored using a weight sensor, and whenever a decrease in water level is detected, it signifies that water has been consumed, and the countdown timer is reset.Users can set the minimum temperature value using dedicated push-buttons. The LCD1602 display module is utilized to show the water temperature, weight, and countdown timer.his project effectively harnesses the control capabilities of the microcontroller and various sensor modules to achieve multiple intelligent functions in a water bottle. By monitoring water temperature, providing timed reminders to drink water, and detecting changes in water level, users can conveniently manage their hydration habits and overall health. This intelligent water bottle offers practicality and convenience, making it suitable for everyday use and promoting a healthier lifestyle.
Keywords: Intelligent water bottle, microcontroller, temperature sensor, countdown reminder, weight sensor, LCD display module
目录
摘 要
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 称重模块电路
3.4 显示模块电路
3.5 继电器模块电路
3.6 GSM模块电路
3.7 按键模块电路
3.8 蜂鸣器报警模块电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 LCD1602液晶显示子流程
4.5 温度检测模块子流程
4.6 称重模块HX711模块子流程
第5章 实物测试
5.1 整体实物测试图
5.2 温度监测实物测试
5.3 喝水监测实物测试
总结与展望
参考文献
致 谢
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!