单片机的全自动洗衣机的设计与制作
目 录
摘要 IV
一、引言 1
二、总体方案的设计 1
(一) 设计任务 1
(二) 总体的设计方案 2
三、系统硬件的设计 4
(一) STC89C52控制系统 4
(二) 显示电路的设计 6
(三) 按键电路的设计 7
(四) 时钟电路的设计 7
(五) 蜂鸣器电路的设计 8
(六) 复位电路的设计 8
(七) LED灯指示电路的设计 9
(八) 水位模拟传感器电路的设计 10
(九) 电机电路的设计 11
四、软件设计 12
(一) 主程序设计 11
(二) 倒计时程序设计 12
(三) 操作模式流程图 12
五、全自动洗衣机系统的仿真和实物的制作 17
(一) 系统的仿真 17
(二) 实物的制作和调试 24
总结 28
致谢 29
参考文献 30
附录 31
Abstract
Fully automatic washing machine plays a very
*51今日免费论文网|www.jxszl.com +Q: ¥351916072$
important role in our life. The development process of washing machine is very fast,From the previous mechanical operation to the present fully automatic operation, Various kinds of automatic washing machines have appeared on the market. The emergence of automatic washing machine, The emergence of automatic washing machine, Conform to the development of the times, Improve peoples quality of life,Fully automatic washing machine is a kind of washing, dehydrate and drying.
With the development of science and technology, Peoples living standards have been greatly improved, People have a high quality of life, In order to reduce the labor force, more and more new features of automatic washing machine are explored and studied. In this paper, in order to facilitate the operation of people, We use 4 working mode buttons, standard washing buttons, economic washing keys, single washing buttons, single throw dry keys. Users can according to their own needs, To select the appropriate mode, And in the process of automatic washing, We can immediately break the pattern, Select next mode.It can be said that more and more intelligent, humane. C language programming method, Complete the automatic control of the washing machine,And the four Yang digital display the remaining time of washing, The 5 LED lights show the current state and the motor is positive and negative.
KEY WORDS:Automatic washing machine, digital technology, SCM
一、引言
在近几十年来由于在微电子技术方面的迅猛发展,单片机渗透到我们生活的方方面面,可以说单片机技术的发展是人类的一个大的进步,我们平时使用的智能手表,使用的智能导航,使用的智能手机等等都是离不开单片机的,单片机体积虽然小,却可以形成一个微小的计算机系统,我们可以通过学习单片机来了解计算机原理。作为新一代的我们,研究和制作更人性化的基于单片机的全自动洗衣机是义不容辞的。
在本论文中,我们使用了STC89C52芯片,该芯片是整个控制系统的“心脏”,在该芯片的基础上,我们需要添加一些外围电路来实现和模拟全自动洗衣的过程,我们需要将复位电路,时钟电路,显示电路,蜂鸣器电路、LED灯电路、水位传感模拟器电路和电机电路这几个重要电路添加到控制系统电路中,把这些电路有机的连接起来,然后我们把编写好的程序加入进去,通上电源后,就能模拟完成全自动洗衣的全过程了。
二、总体方案的设计
(一)设计任务
本论文设计是以STC89C52为核心的控制系统电路,再加上一些外围电路即复位电路,时钟电路,显示电路,蜂鸣器电路、LED灯电路、按键电路、水位传感模拟器电路和电机电路。通过对水位的模拟,对程序的调试,使洗衣机可以实现标准洗涤、经济洗涤、单洗涤和单甩干四种用户模式。
(二)总体的设计方案
如下图1所示:
图1 总体设计的方案图
STC89C52单片机控制电路:该电路是整个系统控制电路的核心,其他外围电路都是与单片机相应的引脚所连接的,是由单片机来分配工作的。
原文链接:http://www.jxszl.com/dzxx/txgc/52260.html