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

2019-02-15 18:29

基于单片机的全自动洗衣机的控制

系统设计

院 系:机电与自动化学院

专 业 班:电气工程及其自动化1002班 姓 名:徐 巍 学 号:20101131053 指导教师:吴 雯

2014年5月

基于单片机的全自动洗衣机的设计

Design of Automatic Washing Machine

Based on MCU

I

摘 要

本设计以家用全自动洗衣机的工作过程为研究模型,以意法半导体公司的单片机STM32F103CBT6为控制核心,完成了电源供电电路、液晶接口电路、直流电机驱动电路、继电器控制电路、按键扫描电路、AD信号采集电路、蜂鸣器报警电路、童锁认证电路的设计,实现了对洗衣机的洗涤、漂洗、甩干工作状态的智能控制。其中童锁认证功能是为解决儿童使用安全问题而特别设计的。软件部分的设计包括:洗衣代码选择、洗衣倒计时显示、进水指示、排水指示、电机旋转、童锁认证等主要过程控制及显示。通过Keil软件编程来控制电机旋转、12864液晶显示等主要动作。其中液晶菜单界面的显示设计是关键环节,采用12864液晶的图形显示功能,通过不同的反白及非反白图片之间的切换,设计了良好的人机交互界面。设置有一级、二级菜单选项,用户可以按提示操作相应的按键,安全、放心地完成自己设定的洗衣过程。

关键词:STM32F103CBT6单片机 人机交互界面 童锁认证

I

Abstract

The design of the work process for the study of household automatic washing machine model to STMicroelectronics microcontroller STM32F103CBT6 as the control center , the completion of the power supply circuit , LCD interface circuit , DC motor drive circuit , relay control circuit , key scan circuit , AD signal acquisition circuit, buzzer alarm circuit , circuit design certified child lock , realized on the washing machine washing , rinsing, drying intelligent control working conditions. Certified child lock function which is to solve the security problems of children using specially designed . Software part of the design include : laundry code selection , laundry countdown show , indicating water , drainage directions , motor rotation , child lock certification and other major process control and display. By Keil software programming to control the motor rotation, 12864 LCD and other major actions. LCD which displays the menu interface design is the key , using 12864 LCD graphics display capabilities, by switching different highlight and non- highlight between pictures , design a good man-machine interface . Provided with primary, secondary menu option, the user can press the corresponding button prompts , security , ease to complete their own set of laundry process .

Key words:STMicroelectronics microcontroller interactive interface child lock

certification

II

目 录

摘要 ...................................................................................................................................... II Abstract ............................................................................................................................... II 绪论 ...................................................................................................................................... 1 1 全自动洗衣机的发展过程 ............................................................................................. 1 2 洗衣机的发展前景及待解决的问题 ............................................................................. 1 1 全自动洗衣机的功能设计 ............................................................................................. 3 1.1 设计目的 ...................................................................................................................... 3 1.2 方案论证 ...................................................................................................................... 3 2 系统硬件电路的设计 ......................................................................................................................... 5 2.1 目前主要应用的单片机机型 ...................................................................................... 5 2.2 硬件各模块简介 .......................................................................................................... 6 2.2.1 微处理器STM32F103CBT6 ................................................................................... 6 2.2.2 电源电路模块 ........................................................................................................ 10 2.2.3 按键模块 ................................................................................................................ 10 2.2.4 报警器模块 ............................................................................................................ 12 2.2.5 水阀模块 ................................................................................................................ 13 2.2.6 直流电机模块 ........................................................................................................ 14 2.2.7 12864液晶显示 ..................................................................................................... 16 2.2.8 童锁功能 ................................................................................................................ 17 3 全自动洗衣机的软件设计 ............................................................................................................ 18 3.1 软件编程思路 ................................................................................................................................. 18 3.2 各模块程序编写思路 ................................................................................................................... 18 3.2.1 主程序流程 .................................................................................................................................. 18 3.2.2 输入扫描模块 ............................................................................................................................. 19 3.2.3 显示界面菜单模块 ................................................................................................................... 19 3.2.4 输出控制模块 ............................................................................................................................. 22

III


基于单片机的全自动洗衣机控制系统的设计 - 图文.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:人际交往团体心理辅导方案(小组)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: