基于单片机的全自动洗衣机控制系统的设计摘要随着我国人民总体生活水平的逐渐提高和科学技术的飞速发展,在智能控制的范畴中越来越多的应用到数字电子技术。以其全面的功能、小巧的体积、低廉的价格、方便于开发的优势,单片机逐渐得到了广泛电子工程设计者的青睐。对于实时控制系统,单片机可谓特别适用。本次设计采用型号为AT89C51的微控制芯片为核心设计了一套全自动洗衣机的控制系统,该系统基本上能够模拟消费者日常的整套洗衣流程,其中包括四个用户日常的洗衣阶段,分别是洗涤时间的设置、洗涤模式的选择、随时暂停洗衣以供中途添加衣物或洗衣液和洗衣结束提醒。本次洗衣机控制电路系统主要由三个大的模块构成,它们分别是电源电路模块、单片机控制电路模块和外部扩展硬件电路模块,其中单片机主控电路直流电压由电源电路模块提供,而洗衣机的工作过程由主控电路模块负责,外部过账硬件电路则由微控制器芯片、轻触按钮、蜂鸣器、LED指示灯、继电器、三极管、LED数码管构成。本系统的电路结构简单,在供AT89C51微控制器写入编写好的软件程序后,全自动洗衣机的所有功能也就得以实现。关键词:AT89C51;用户参数;继电器;控制系统;电压放大器、比较器AbstractWiththegradualimprovementoftheoveralllivingstandardofourpeopleandtherapiddevelopmentofscienceandtechnology,moreandmoreapplicationsareappliedtodigitalelectronictechnologyinthefieldofintelligentcontrol.Withitscomprehensivefunctions,compactsize,lowpriceandconvenientdevelopmentadvantages,SCMhasgraduallygainedthefavorofawiderangeofelectronicengineeringdesigners.Forreal-timecontrolsystem,single-chipmicrocomputerisverysuitable.ThisdesignusesthemodelforthemicrocontrolchipAT89C51asthecoretodesignasetoffullyautomaticwashingmachinecontrolsystem,thesystemcansimulateconsumersdailybasicallysetoflaundryprocess,includingfourusersdailylaundryphase,respectivelyiswashingtimeSettings,washingmodeselection,atanytimesuspendthelaundryformidwayaddclothesorlaundrydetergentandendtoremind.Thiswashingmachinecontrolcircuitsystemmainlyconsistsofthreebigmodules,theyarerespectivelythepowersupplycircuitmodule,MCUcontrolcircuitmoduleandexternalextensionhardwarecircuitmodule,includingsinglechipmicrocomputercontrolcircuitdcvoltageisprovidedbypowersupplycircuitmodule,andtheworkingprocessofthewashingmachinesshallbetheresponsibilityofthemaincontrolcircuitmodule,externalPostinghardwarecircuitbythemicrocontrollerchip,lighttouchbutton,buzzer,LEDlamp,relay,transistors,LEDdigitaltube.Thecircuitstructureofthesystemissimple,andallthefunctionsoftheautomaticwashingmachinecanberealizedafterthewrittensoftwareprogramiswrittentotheAT89C51microcontroller.Keywords:AT89C51;UserParameters;Relay;ControlSystem;VoltageAmplifier;Comparator目录摘要...............................................................2Abstract................................................................2绪论....................................................................1第一章设计方案.........................................................31.1设计参数........................................................31.2设计任务........................................................31.3洗衣机的设计方案................................................41.3.1按键..........................................................41.3.2洗衣程序......................................................41.3.3设计总方框图..................................................51.3.4控制系统的功能................................................5第二章元器件的选择......................................................