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 foo
3、l according 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
4、 chip,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 3 前言 目前中国洗衣机市场正进入更新换代期,市场潜力巨大,人们对于洗衣机的要求也越 来越高。目前的洗衣机