基于单片机的全自动洗衣机控制系统的设计 - 本科毕业设计论文 联系客服

发布时间 : 星期六 文章基于单片机的全自动洗衣机控制系统的设计 - 本科毕业设计论文更新完毕开始阅读1222bc6110661ed9ad51f361

基于单片机的全自动洗衣机控制系统的设计

本 科 毕 业 设 计

题目名称: 全自动洗衣机控制系统的设计

I

基于单片机的全自动洗衣机控制系统的设计

目 录

题目 ............................................................................................................................................. I 摘要及关键词 ............................................................................................................................. I 1绪 论 ....................................................................................................................................... 1 1.1课题研究的背景和意义 ...................................................................................................... 1 1.1.1各国洗衣机的发展历程 ................................................................................................... 1 1.1.2我国洗衣机的发展历程 ................................................................................................... 2 1.1.3洗衣机发展现状和趋势 ................................................................................................... 2 1.1.4新型洗衣机控制技术 ..................................................................... 错误!未定义书签。 1.2课题的意义 .......................................................................................................................... 3 1.3设计内容 .............................................................................................................................. 3 2系统硬件设计 ......................................................................................................................... 4 2.1方案选择 .............................................................................................................................. 4 2.1.1 PLC控制方案 .................................................................................. 错误!未定义书签。 2.1.2 PIC系列单片机方案 ...................................................................... 错误!未定义书签。 2.1.3 51系列单片机方案 ........................................................................ 错误!未定义书签。 2.2系统总体结构设计 .............................................................................................................. 4 2.3模块电路设计与元件选择 .................................................................................................. 7 2.3.1电源设计 ......................................................................................... 错误!未定义书签。 2.3.2主控芯片AT89C52 ............................................................................................................ 8 2.3.3 LED灯显示与74HC573锁存器 ...................................................................................... 14 2.3.4七段数码管显示 ............................................................................................................. 15 2.3.5浊度检测模块设计 ......................................................................................................... 16 2.3.6电机控制 ......................................................................................................................... 18 2.3.7水阀 ................................................................................................................................. 20 2.3.8水位传感器 ..................................................................................................................... 21

II

基于单片机的全自动洗衣机控制系统的设计

3系统软件设计 ....................................................................................................................... 22 3.1系统主程序 ........................................................................................................................ 22 3.2计算时间子程序 ................................................................................................................ 22 3.4显示时间子程序 ................................................................................................................ 25 3.5浊度数据AD转换及漂洗控制子程序 .............................................................................. 25 3.6键盘扫描子程序 ................................................................................................................ 26 3.7键盘服务子程序 ................................................................................................................ 27 3.8工作模式设定程序 ............................................................................................................ 28 3.8.1?厚物洗涤?与?薄物洗涤?子程序 .......................................................................... 29 3.8.2?漂洗?子程序 .............................................................................................................. 30 3.8.3?脱水?子程序 .............................................................................................................. 32 3.9系统动作服务程序 ............................................................................................................ 32 4系统调试与分析 ................................................................................................................... 33 5结论与总结 ........................................................................................................................... 34 参考文献 .................................................................................................................................. 35 致 谢 ...................................................................................................................................... 36 附录一 系统电路图 ................................................................................................................ 37 附录二 源程序 ........................................................................................................................ 38

III

基于单片机的全自动洗衣机控制系统的设计

全自动洗衣机控制系统的设计

摘要:洗衣机是我们生活中必不可少的家用电器,全自动洗衣机更是受到千家万户的青睐。本文根据全自动洗衣机的各种功能要求,利用对比的方案,选用AT89C52单片机作为控制部分的核心,来实现以洗衣方便、快捷、干净为基础的设计理念。

本文对全自动洗衣机的各个模块与其相对应的功能有明确的解释与说明。与生活中常见的洗衣机大体相同,我们可以通过键盘来实现自己洗衣的各种需求。同时附加传感器来实现对洗衣过程中水位、水的混浊程度的参数检测,反映给单片机,单片机自主利用八个字程序实施处理,进而决定洗涤时间与漂洗次数等。 关键词:洗衣机 单片机 浊度检测

Abstract: The washing machine is essential to our lives appliances , automatic washing machines but also by thousands of families of all ages. Based on the functional requirements of the various automatic washing machine , using comparison program , use AT89C52 microcontroller as the core control part to achieve a laundry convenient, fast , clean -based design.

In this paper, automatic washing machine for each module and its corresponding functions with clear explanations and instructions. Common washing machine and living much the same , we can achieve through the keyboard to the various needs of their own laundry . While additional sensors to achieve the laundry process water , water turbidity parameter detection , reflected to the microcontroller, the microcontroller to implement self- handling procedures use four words , and then decided to wash and rinse times and other times . Keywords : washing machine SCM turbidity testing

I