设计说明书
总字数:17000+
摘要
随着生活节奏的加快,家庭餐具清洁的效率与便捷性愈发受到关注。传统的人工洗碗方式不仅耗时费力,还存在清洁不彻底、用水用电浪费等问题,难以满足现代家庭对高效、卫生生活的需求。
基于 STM32F103C8T6 单片机的自动洗碗机,整合了防水式 DS18B20 水温传感器、HC-SR04 超声波模块、KY-003 霍尔传感器、按键、OLED 显示屏、消毒灯、洗涤剂添加装置、加热装置、排水装置、蜂鸣器等,实现了餐具清洗的自动化与智能化。系统核心功能包括:通过防水式 DS18B20 监测水温,加热至设置最大值时停止加热;借助 HC-SR04 监测水位,洗碗水位大于最大值时停止加水,排水水位小于最小值时停止排水;利用 KY-003 霍尔传感器监测柜门开关,柜门关闭且洗碗结束后自动打开消毒灯;支持通过按键启停洗碗机、开关消毒灯、设置水温和水位;按照预设流程完成洗碗过程(加水 — 加洗涤剂 — 加热 — 清洗 — 排水 — 二次清洗 — 排水 — 加热烘干 — 蜂鸣器报警提醒);OLED 显示屏实时显示水温、水位等检测数据。
该系统的实现,有效提升了餐具清洗的自动化与智能化水平,减少了人工干预,保证了清洗过程的规范与高效,为家庭生活提供了便捷、卫生的餐具清洁解决方案,同时为同类家用自动化设备的研发提供了参考,具有较高的实用价值。
关键词:STM32F103C8T6;自动洗碗机;智能控制;传感器;清洗流程;OLED 显示
ABSTRACT
With the acceleration of life rhythm, the efficiency and convenience of household tableware cleaning have attracted increasing attention. The traditional manual dishwashing method is not only time-consuming and labor-intensive but also has problems such as incomplete cleaning and waste of water and electricity, making it difficult to meet the needs of modern families for an efficient and hygienic life.
The automatic dishwasher based on the STM32F103C8T6 microcontroller integrates a waterproof DS18B20 water temperature sensor, HC-SR04 ultrasonic module, KY-003 Hall sensor, buttons, OLED display, disinfection lamp, detergent adding device, heating device, drainage device, buzzer, etc., realizing the automation and intelligence of tableware cleaning. The core functions of the system include: monitoring water temperature through the waterproof DS18B20, stopping heating when the temperature reaches the set maximum value; monitoring water level with the HC-SR04, stopping water addition when the dishwashing water level exceeds the maximum value, and stopping drainage when the drainage water level is lower than the minimum value; using the KY-003 Hall sensor to monitor the opening and closing of the dishwasher door, and automatically turning on the disinfection lamp when the door is closed and after dishwashing is completed; supporting starting/stopping the dishwasher, turning on/off the disinfection lamp, and setting water temperature and water level through buttons; completing the dishwashing process according to the preset procedure (water addition – detergent addition (3s) – water temperature heating (stopping when reaching the set maximum value) – cleaning (10s) – drainage – water addition – cleaning (10s) – drainage – heating and drying (5s) – buzzer alarm 3 times for reminder); displaying detected data through the OLED display.
The implementation of this system effectively improves the automation and intelligence level of tableware cleaning, reduces manual intervention, ensures the standardization and efficiency of the cleaning process, provides a convenient and hygienic tableware cleaning solution for family life, and also provides a reference for the research and development of similar household automated equipment, with high practical value.
Keywords:STM32F103C8T6; automatic dishwasher; intelligent control; sensor; cleaning process; OLED display
目录
第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 执行设备驱动电路
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3 独立按键
4.4 OLED显示流程设计
4.5 温度检测模块子流程设计
4.6 超声波检测模块子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 水温与水位检测功能测试
5.3 门控与消毒联动功能测试
5.4 清洗流程自动化测试
5.5 按键设置与显示功能测试
5.6 执行设备与报警功能测试
5.7 综合功能测试
第6章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!