设计说明书
总字数:15000+
本论文设计了一种基于STC89C52单片机的智能饮水机系统,旨在实现对饮水机的智能控制和监测,提供用户更加便捷、安全的用水体验。系统采用防水式DS18B20温度传感器检测水温,通过按键模拟加热电源的开关,实现自动加热和保温功能,确保水温在用户设定的舒适范围内。通过三个LED灯显示当前状态,黄灯表示加热电源打开,红灯表示加热中,绿灯表示保温状态,使用户直观了解饮水机的工作状态。液位检测模块用于监测水位,当检测到无水情况时,自动停止加热,避免干烧,保护饮水机和用户安全。在用户操作方面,通过按键可以设置温度上下限,实现智能控制,也可手动控制加热,提供更灵活的用水方式。通过LCD1602显示测量值,用户可以实时了解当前水温。此外,系统还具备蓝牙扩展功能,通过蓝牙模块将测量数据发送到手机APP。用户可以通过手机APP设置温度阈值,实现智能控制和报警功能。同时,用户还可以通过手机APP远程控制加热电源的开关,增加了系统的便捷性和灵活性。经过实现和测试,结果表明本论文设计的基于STC89C52单片机的智能饮水机系统具有稳定性和可靠性,能够准确地控制水温,实现智能化和远程监控控制。该系统为用户提供了更加智能化、便捷化的饮水体验,具有广阔的应用前景。
关键词:单片机; 饮水机;智能控制;温度监测;液位检测;蓝牙通信
This paper presents the design of an intelligent water dispenser system based on the STC89C52 microcontroller, aiming to achieve smart control and monitoring of the water dispenser, providing users with a more convenient and safe water experience. The system utilizes a waterproof DS18B20 temperature sensor to detect water temperature and employs a simulated power switch using a push-button to achieve automatic heating and temperature maintenance, ensuring that the water temperature remains within the user-defined comfort range.Three LED indicators are used to display the current status of the water dispenser. A yellow light indicates the power is on, a red light indicates the heating process, and a green light indicates the temperature maintenance phase, allowing users to easily understand the operational status of the water dispenser. A liquid level detection module is incorporated to monitor the water level. In the event of water depletion, the heating process is automatically stopped to prevent dry heating and protect the water dispenser and users’ safety.In terms of user interaction, the push-button allows the user to set temperature limits for intelligent control or manually control the heating process, providing a more flexible water usage option. The measured temperature is displayed in real-time on the LCD1602 screen, allowing users to stay informed about the current water temperature.Additionally, the system is equipped with Bluetooth extension capabilities, enabling the transmission of measurement data to a mobile app. Users can set temperature thresholds and implement intelligent control and alarm functions through the mobile app. Furthermore, users can remotely control the power switch of the water dispenser via the mobile app, enhancing the system’s convenience and flexibility.Through successful implementation and testing, the results demonstrate that the intelligent water dispenser system based on the STC89C52 microcontroller exhibits stability and reliability. It accurately controls water temperature and provides intelligent and remote monitoring and control capabilities. The system offers users a more intelligent and convenient water drinking experience, with vast potential for practical applications.
Keywords: Microcontroller; Water Dispenser; Intelligent Control; Temperature Monitoring; Liquid Level Detection; Bluetooth Communication.
目 录
基于STC89C52单片机的智能饮水机系统设计与实现
摘 要
ABSTRACT
1 绪论
1.1 选题背景及实际意义
1.2 国内外发展历程
1.3 课题研究的主要内容
2 系统设计方案
2.1整体方案设计
2.2 主要元器件选择
2.2.1 主控芯片的选择
2.2.2 水温传感器的选择
2.2.3 无线传输模块的选择
2.2.4 显示模块的选择
3 硬件设计
3.1 主控电路设计
3.2水温检测模块电路设计
3.3 水位检测模块电路设计
3.4 显示模块电路设计
3.5继电器模块电路设计
3.6 指示灯模块电路设计
3.7 蓝牙模块电路设计
4 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 温度检测模块子流程
4.5 LCD1602液晶显示子流程
4.6 蓝牙模块子流程
5 实物制作与调试过程
5.1 饮水机加热过程功能测试
5.2 手机端远程测控实物测试
总结与展望
致谢
参考文献
附录
附录一: 原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!