设计说明书
总字数:18000+
摘要
随着生活水平的提高,全自动洗衣机已成为家庭生活的必备电器,其智能化、便捷化的操作对提升生活质量具有重要意义。传统的洗衣机控制方式存在功能单一、操作繁琐、能耗较高等问题,难以满足用户对多样化洗涤需求和高效节能的追求。
基于 STM32F103C8T6 单片机的全自动洗衣机控制系统,整合了 HX711 压力传感器、YW-J 水位传感器、DS18B20 水温传感器、OLED 显示屏、模式按键、水量按键、启动 / 暂停按键、蜂鸣器、两个继电器(模拟进水和出水)、电机(模拟洗涤)及 ECB02 蓝牙模块等,实现了洗衣机的自动化控制与智能管理。系统核心功能包括:通过模式按键选择标准、浸洗、强洗、快洗等不同模式,各模式清洗和甩干速度不同;通过水量按键选择 18L、32L、46L、62L 等不同水位;通过启动 / 暂停按键控制洗衣机的启动与暂停;借助 HX711 压力传感器检测衣物重量,YW-J 水位传感器检测当前水位,DS18B20 水温传感器检测当前水温;洗衣结束后,蜂鸣器报警 3 次提醒;OLED 显示器实时显示洗涤模式、时间、衣物重量、水位及水温;通过继电器和电机分别模拟进水、出水和洗涤动作;ECB02 蓝牙模块将所有状态发送到手机端,手机端可控制洗衣机启停。
该系统的实现,有效提升了洗衣机控制的自动化与智能化水平,满足了用户多样化的洗涤需求,操作便捷且节能高效,为家庭洗衣生活提供了可靠的解决方案,同时为同类家电控制系统的研发提供了参考,具有较高的实际应用价值。
关键词:STM32F103C8T6;全自动洗衣机;控制系统;传感器;蓝牙通信;智能控制
ABSTRACT
With the improvement of living standards, fully automatic washing machines have become essential appliances in family life, and their intelligent and convenient operation is of great significance for improving the quality of life. Traditional washing machine control methods have problems such as single function, cumbersome operation, and high energy consumption, which are difficult to meet users’ pursuit of diversified washing needs and high efficiency and energy saving.
The fully automatic washing machine control system based on the STM32F103C8T6 microcontroller integrates HX711 pressure sensor, YW-J water level sensor, DS18B20 water temperature sensor, OLED display, mode button, water volume button, start/pause button, buzzer, two relays (simulating water inlet and outlet), motor (simulating washing) and ECB02 Bluetooth module, etc., realizing automatic control and intelligent management of the washing machine. The core functions of the system include: selecting different modes such as standard, soak washing, strong washing, and quick washing through the mode button, with different cleaning and spinning speeds for each mode; selecting different water levels such as 18L, 32L, 46L, and 62L through the water volume button; controlling the start and pause of the washing machine through the start/pause button; detecting the weight of clothes with HX711 pressure sensor, current water level with YW-J water level sensor, and current water temperature with DS18B20 water temperature sensor; after washing, the buzzer alarms 3 times to remind; the OLED display shows washing mode, time, clothes weight, water level and water temperature in real time; simulating water inlet, outlet and washing actions through relays and motor respectively; ECB02 Bluetooth module sends all status to the mobile phone, and the mobile phone can control the start and stop of the washing machine.
The implementation of this system effectively improves the automation and intelligence level of washing machine control, meets users’ diversified washing needs, is convenient to operate, energy-efficient and high-performance, provides a reliable solution for family laundry life, and also offers a reference for the research and development of similar household appliance control systems, with high practical application value.
Keywords: STM32F103C8T6; Fully automatic washing machine; Control system; Sensor; Bluetooth communication; Intelligent control
目录
第 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.1.8 蜂鸣器选择
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 OLED显示子流程设计
4.4 独立按键子流程设计
4.5 ADC模数转换子流程设计
4.5 温度检测模块子流程设计
4.6 称重模块子流程设计
4.7 直流电机速度调节子流程设计
第 5 章 实物测试
5.1 整体实物测试
5.2 压力传感器功能测试
5.3 水位传感器功能测试
5.4 水温传感器功能测试
5.5 蓝牙模块功能测试
5.6 按键与显示功能测试
第 6 章 总结与展望
6.1 总结
6.2 展望
致谢
参考文献
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!