目 录
摘 要 ...............................................................................................................................................................1
前 言 .............................................................................................................................................................IV
目 录...............................................................................................................................................................V
第 一 章 绪 论 ...................................................................................................................................................1
1.1 设计任务及要求 ....................................................................................................................................1
1.2 洗衣机的发展和分类 ...........................................................................................................................1
1.2.1 洗衣机的发展史 .......................................................................................................................1
1.2.2 洗衣机的分类 .............................................................................................................................3
1.3 国内洗衣机的发展方向 (多功能 节电 节水) ...........................................................................4
1.4 洗衣机的基本工作原理 .......................................................................................................................5
第 二 章 总体设计方案 .....................................................................................................................................6
2.1 方案论证与比较 ...................................................................................................................................6
2.1.1 控制系统的选择 ........................................................................................................................6
2.1.2 水位检测 ....................................................................................................................................7
2.1.3 电动机驱动电路 ........................................................................................................................7
2.1.4 显示模块 ....................................................................................................................................7
2.1.5 进水与出水电路 ........................................................................................................................8
2.2 控制系统的功能 ...................................................................................................................................8
2.3 洗衣机的控制过程: ...........................................................................................................................9
第 三 章 硬件设计 ...........................................................................................................................................11
3.1 电源电路部分 .....................................................................................................................................12
3.2 数字控制电路 .....................................................................................................................................12
3.2.1 AT89S52 单片机主控模块 ....................................................................................................12
3.2.2 数码管显示模块 ...................................................................................................................15
3.2.3 按键输入模块 .......................................................................................................................17
3.2.4 蜂鸣器报警模块 ...................................................................................................................18
3.2.5 LED 指示模块 ........................................................................................................................18
3.3 水位检测器 .........................................................................................................................................19
3.3.1 电动机 ...................................................................................................................................20
3.3.2 7407 缓冲器和 MOC3061(光耦) .......................................................................................20
3.3.3 进水/排水电磁阀 ...................................................................................................................21
第 四 章 软件设计 ...........................................................................................................................................22
4.1 单片机 I/O 口分配: .........................................................................................................................22
4.2 程序流程 .............................................................................................................................................23
4.3 源程序 .................................................................................................................................................23
4.4 程序运行过程分析 .............................................................................................................................23
第 五 章 硬件、软件调试 ...............................................................................................................................25
5.1 硬件调试 ..............................................................................................................................................25
5.2 软件调试 ..............................................................................................................................................26
第 六 章 总 结 .................................................................................................................................................27
致 谢 .............................................................................................................................................................28
参考文献 .............................................................................................................................................................29
附 录 I .........................................................................................................................................................31
附 录 .............................................................................................................................................................37