1、 1 摘要 洗衣机是现代人必备的日常生活家电,它的发明和应用使人们的洗衣工作变得省时省力,很好地缓解了人们在家务劳动方面的压力。一般的数字逻辑电路控制的洗衣机只有两三个程序,也有一按通的傻瓜程序。而基于单片机控制的洗衣机可以复杂程序控制,将水位段细化,漂洗功能细化,加上适用不同衣物等功能,洗涤程序大大增加。 本设计采用 AT89C51 单片机作为洗衣机控制系统的主控芯片,洗衣机的各种洗衣程序运行都在单片机的控制下,使得洗涤、漂洗、脱水等各种功能的操作都不需手动。系统的硬件设计包括电源模块、谐振式水位监测模块、洗衣机 LED 显示、输出控制电路、软件设计包括主程序、内部定时中断服务程序、外部中断
2、服务程序。 关键词: 全自动洗衣机;单片机; LED 显示 2 Abstract The washing machine is the appliance in peoples daily life,its invention to the job gets time-saving,and relieves the pressure in the domestic labour.The digital logic to control circuit of the washing machine has only two or three programs,also has a fool ac
3、cording to the program.But the revivification of washing machine can control a large complex program,and can turn the water level and rinsing functions into tiny,because of its different functions in clothing,washing procedure increases significantly. This design uses AT89C51 as the main control chi
4、p,all the programs of the washing machine are under the control of the CPU so that washing,rinsing and dehydration functions dont need to be operated by manual.The hardware design of the system includes power module,water monitoring module,LED display and output controller,the software part is composed of the main procedure,timing services application and external services. Key words:Washing Machine;Single Chip Microcomputer;LED display