您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 基于单片机的全自动洗衣机控制系统的设计
基于单片机的全自动洗衣机的控制系统设计院系:机电与自动化学院专业班:电气工程及其自动化1002班姓名:徐巍学号:20101131053指导教师:吴雯2014年5月I基于单片机的全自动洗衣机的设计DesignofAutomaticWashingMachineBasedonMCUI摘要本设计以家用全自动洗衣机的工作过程为研究模型,以意法半导体公司的单片机STM32F103CBT6为控制核心,完成了电源供电电路、液晶接口电路、直流电机驱动电路、继电器控制电路、按键扫描电路、AD信号采集电路、蜂鸣器报警电路、童锁认证电路的设计,实现了对洗衣机的洗涤、漂洗、甩干工作状态的智能控制。其中童锁认证功能是为解决儿童使用安全问题而特别设计的。软件部分的设计包括:洗衣代码选择、洗衣倒计时显示、进水指示、排水指示、电机旋转、童锁认证等主要过程控制及显示。通过Keil软件编程来控制电机旋转、12864液晶显示等主要动作。其中液晶菜单界面的显示设计是关键环节,采用12864液晶的图形显示功能,通过不同的反白及非反白图片之间的切换,设计了良好的人机交互界面。设置有一级、二级菜单选项,用户可以按提示操作相应的按键,安全、放心地完成自己设定的洗衣过程。关键词:STM32F103CBT6单片机人机交互界面童锁认证IIAbstractThedesignoftheworkprocessforthestudyofhouseholdautomaticwashingmachinemodeltoSTMicroelectronicsmicrocontrollerSTM32F103CBT6asthecontrolcenter,thecompletionofthepowersupplycircuit,LCDinterfacecircuit,DCmotordrivecircuit,relaycontrolcircuit,keyscancircuit,ADsignalacquisitioncircuit,buzzeralarmcircuit,circuitdesigncertifiedchildlock,realizedonthewashingmachinewashing,rinsing,dryingintelligentcontrolworkingconditions.Certifiedchildlockfunctionwhichistosolvethesecurityproblemsofchildrenusingspeciallydesigned.Softwarepartofthedesigninclude:laundrycodeselection,laundrycountdownshow,indicatingwater,drainagedirections,motorrotation,childlockcertificationandothermajorprocesscontrolanddisplay.ByKeilsoftwareprogrammingtocontrolthemotorrotation,12864LCDandothermajoractions.LCDwhichdisplaysthemenuinterfacedesignisthekey,using12864LCDgraphicsdisplaycapabilities,byswitchingdifferenthighlightandnon-highlightbetweenpictures,designagoodman-machineinterface.Providedwithprimary,secondarymenuoption,theusercanpressthecorrespondingbuttonprompts,security,easetocompletetheirownsetoflaundryprocess.Keywords:STMicroelectronicsmicrocontrollerinteractiveinterfacechildlockcertificationIII目录摘要......................................................................................................................................IIAbstract...............................................................................................................................II绪论......................................................................................................................................11全自动洗衣机的发展过程.............................................................................................12洗衣机的发展前景及待解决的问题.............................................................................11全自动洗衣机的功能设计.............................................................................................31.1设计目的......................................................................................................................31.2方案论证......................................................................................................................32系统硬件电路的设计.........................................................................................................................52.1目前主要应用的单片机机型......................................................................................52.2硬件各模块简介..........................................................................................................62.2.1微处理器STM32F103CBT6...................................................................................62.2.2电源电路模块........................................................................................................102.2.3按键模块................................................................................................................102.2.4报警器模块............................................................................................................122.2.5水阀模块................................................................................................................132.2.6直流电机模块........................................................................................................142.2.712864液晶显示.....................................................................................................162.2.8童锁功能................................................................................................................173全自动洗衣机的软件设计............................................................................................................183.1软件编程思路.................................................................................................................................183.2各模块程序编写思路...................................................................................................................183.2.1主程序流程..................................................................................................................................183.2.2输入扫描模块.............................................................................................................................193.2.3显示界面菜单模块...................................................................................................................193.2.4输出控制模块.............................................................................................................................22IV3.2.5串口调试模块..............................................
本文标题:基于单片机的全自动洗衣机控制系统的设计
链接地址:https://www.777doc.com/doc-4290413 .html