基于单片机的自动洗衣机控制器设计_精品.doc
文本预览下载声明
基于单片机的自动洗衣机控制器设计
摘要:全自动洗衣机的出现,使人们的洗衣工作变得省时省力,正因为如此它才迅速的走进了千家万户。本文详细研究了一个自动洗衣机控制器电路结构,以及控制原理。通过按键来设定洗衣机的运行时间,采用ULN2003芯片和超声波测距模块实现单片机对步进电机的驱动和水位高低的测量,用放光二极管来只是当前工作的状态,最后还用LCD1602液晶显示器来显示剩余运行时间和水位的高低。文中详细论述了洗衣机控制器各个模块的工作原理,对一些参数做了计算和取值。并且还通过C语言来编写程序来实现其完整的功能。文章的最后还给出了电路原理图以及详细的C语言程序。
关键词:全自动洗衣机;控制器;单片机
Design of Full-automatic Washing Machine Controller Based on SCM
Abstract:The emergence of the full-automatic washing machine contributes to saving time and efforts for people doing laundry, resulting in its rapid popularity among thousands of households. This paper researches on the controllers circuit structure and control principle of the full-automatic washing machine in detail. We use buttons to set the working time of the washing machine, apply chip ULN2003 and ultrasonic ranging module to realize the drive of stepper motor and the measurement of water level by the single chip. Use LED to indicate the current working status, finally use LCD 1602 to display the remaining working time and the water level. This paper particularly discusses the operating principle of various modules of the washing machines controller, calculates and values some parameters. Moreover, we also program to realize the complete function in the C language. This paper concludes by providing with a schematic circuit diagram and a detailed C language program.
Key Words: full-automatic washing machine;controller;SCM
目录
前言·····································································1
第1章 方案设计························································4
1.1 设计方案一····························································4
1.2设计方案二····························································4
1.3 两种方案比较选择······················································5
第2章 硬件设计························································6
2.1 单片机的选择及外围电路设计············································6
2.1.1 AT89C51型单片机与STC89C52型单片机比较与选择························6
2.1.2 STC89C52型单片机介绍···························
显示全部