洛阳理工学院毕业设计(论文)
基于AT89C51的全自动洗衣机摘要
随着数字控制技术的快速发展,其被广泛应用于智能控制的领域中。单片机以体积小、功能全、价格低廉、开发方便的优势得到了许多电子系统设计者的青睐,它适合于实时控制,可构成工业控制器、智能仪表、智能接口、智能武器装置以及通用测控单元等。近年来,单片机的应用不断走向深入,同时带动传统控制检测日益更新。在实时检测和自动控制的单片机应用系统中,单片机往往作为一个核心部件使用,并需根据具体硬件结构,针对具体应用对象特点设计软件,以实现实时控制。本文以AT89C51单片机为核心,设计了全自动洗衣机的控制系统。本系统实现了对洗衣机整个洗衣过程的控制,包括用户参数输入、洗衣、脱水和停机四个阶段。控制系统主要由电源电路、数字控制电路和机械控制电路三大模块构成。电源电路为数字控制电路提供稳定的5V直流电压,为电动机提供220V市电;数字控制电路负责控制洗衣机的工作过程,主要由AT89C51单片机、六位共阴数码管、按键、蜂鸣器、LED指示灯等组成;机械控制电路实现水位检测、电机驱动、进水、排水等功能,主要由水位检测器、电动机、传动系统部件、进水排水电磁阀等组成。本文编写的主导思想是软硬件相结合,以硬件为基础,进行各功能模块的程序编写,具有一定的实用性。
关键词:AT89C51,全自动洗衣机,实时控制
I
f洛阳理工学院毕业设计(论文)
BasedO
AT89C51AutomaticWashi
gMachi
eABSTRACT
Withtherapiddevelopme
tofdigitalco
troltech
ologyitiswidelyusedi
thefieldofi
tellige
tco
trolSCMi
termsofvolumefullfeaturedlowcostthedevelopme
tofco
ve
ie
tadva
tagesi
favorofma
yelectro
icsystemsdesig
ersitissuitableforrealtimeco
trolmayco
stitutea
i
dustrialco
trollersmartmeterssmarti
terfacesmartweapo
sdevicesa
dge
eralco
trolu
ita
dsoo
I
rece
tyearsmicroco
trollerapplicatio
sco
ti
uetogodeepertopromotethedetectio
ofthetraditio
alco
troli
creasi
glyupdateI
realtimedetectio
a
dautomaticco
trolofmicrocomputerapplicatio
systemthemicroco
trollerisofte
usedasacorecompo
e
ttobebasedo
thespecifichardwarearchitecturedesig
softwareforthespecificapplicatio
ofobjectcharacteristicsi
ordertoachieverealtimeco
trolAT89C51microco
trollerasthecoredesig
oftheco
trolsystemoftheautomaticwashi
gmachi
eThissystemhasco
trolofthewashi
gmachi
ethee
tirelau
dryprocessi
cludi
guseri
putparameterslau
drydehydratio
a
dthee
dofthefourstagesTheco
trolsystemmai
lyco
sistsofthreemodulesofpowercircuitsdigitalco
trolcircuitr