基于单片机的简易洗衣机控制系统设计摘要基于全自动洗衣机的控制要求, 鉴于实际的设计成本和操作演示的方便, 本系统的设计从功能设计要求、 硬件电路的设计论证、 软件编译和调试三个方面描述了一个以AT89S52单片机为核心的全自动洗衣机控制系统。硬件线路及控制程序的设计是该系统的重要组成部分。硬件线路设计主要包括电源部分电路、 单片机最小控制系统、 洗衣机工作状态显示系统、 电机转动电路及报警提示电路组成。控制程序设计主要包括主程序、 数码管显示子程序、 电机及蜂鸣器驱动子程序、 按键调节子程序。关键字: AT89S52单片机; 全自动洗衣机; 数码管显示; 洗衣机控制程序。A control system with the SCMC as the core about full-automatic washing machineAbstractAccording to the washing machine control requirements, a control system with the AT89S52 SCMC as the core about washing machines were described in the following three aspects of functional requirements, hardware design, software design.The hardware circuit diagram and related control flow chart of the program were given.Hardware circuit design, including power, function and control system, washing machine status display, output control circuit. Control program design includes the main program, the internal timer interrupt service routine, the design of the external interrupt service routine.Key words: AT89S52 SCMC; Washing machine; LED display; Washing machine control program目录第一章 绪论......................................................7第二章 系统硬件方案设计..........................................82.1系统硬件设计要求............................................82.2系统硬件框图设计............................................92.3系统元器件选型及器件参数介绍................................92.3.1单片机选型............................................92.3.2数码管驱动芯片选择....................................112.3.3 LED数码管............................................122.3.4 直流电机....................................