单片机课程设计洗衣机c语言,基于单片机的洗衣机课程设计

41528d3028836879cd698677c3999917.gif基于单片机的洗衣机课程设计

基于单片机的洗衣机设计基于单片机的洗衣机设计 摘要摘要 洗衣机是人们日常生活中常见的一种家电,已经成为人们生活中不可缺少 的家用电器。在工业生产中应用也十分广泛。但是传统的基于继电器的控制, 已经不能满足人们对洗衣机的自动化程度的要求了。随着单片机技术的发展, 用单片机来作为控制器,能更好的控制洗衣机,并且控制方式灵活多样,控制 模式可以根据不同场合的应用而有所不同。单片机以微小的体积和编程的灵活 性而产生多种控制功能,完全可以满足设计的需求。本系统采用 AT89C51 单片 机作为控制系统,设计目的主要是为了熟悉单片机系统设计的基本方法并实现 基本的洗衣机功能。系统的控制面板主要由按键开关组成,按键选择洗衣机工 作模式,并且可以根据需要调整洗涤时间长短。LED 液晶显示器则显示洗衣机 的工作模式和洗涤时间。洗衣机的整体电路模块包括按键矩阵、液晶显示、电 机及驱动电路。控制程序设计包括定时中断服务程序、时间设定程序、外中断 服务程序及主程序。整体来说系统设计基本达到设计目标。 关键词:单片机关键词:单片机 控制控制 洗衣机洗衣机 液晶屏液晶屏 电机电机 Abstract Washing machine is the People s Daily life common kind of home appliance, life has become a indispensable household electrical appliances. In the industrial production is also widely used. But the traditional relay-based control, cannot have satisfied people to the requirements of the automation degree of the washing machine. Along with the development of the single chip microcomputer by using single chip processor to as a controller, and can better control washing machines, and to control the way agile diversity, control mode according to different situation the application can be different. With a small volume and microcontroller programming flexibility and produce DuoZhong control function, and can meet the design requirements. The system USES AT89C51 single chip microcomputer as control system, the design purpose mainly to familiar with single-chip microcomputer system the basic to design and realize the basic function of the washing machine. The system control panel composed mainly by button switches, key choice washing machine work mode, and may, according to needs to adjust the washing time length. LED LCD display of the washing machine is working mode and washing time. The washing machine of the whole circuit module includes key matrix, liquid crystal display, motor and power circuit. Control program design including timing interrupt service procedure, time setting process, and outside the interrupt service routine and main program. Overall system design to meet the design basic goals. Keywords: Single-chip microcomputer control washing machine LCD screen motor 目录目录 摘摘 要要 ……………………………………………………………………1……………………………………………………………………1 ABSTRACT…………………………………………………………………1ABSTRACT…………………………………………………………………1 目目 录录 ……………………………………………………………………3……………………………………………………………………3 第一章第一章 绪言绪言 ……………………………………………………………4……………………………………………………………4 1.1 背景材料………………………………………………………………………4 1.2 系统设计任务和要求…………………………………………………………8 1.2.1 设计任务.8 1.2.2 系统设计要求…………….…………………………………………………………10 1.3 系统解决的问题和拟采用的研究手 段………………………………………10 第二章第二章 硬件设计硬件设计………………………………………………………11………………………………………………………11 2.1 方案的选择与比较……………………………………………….……………………11 2.2 系统设计总体框图…………………………………………………………………….12 2.3 电路模块设计…………………………………………………………………………12 2.3.1 控制电路………………………………………………………….……………….12 2.3.2 驱动电路…………………………………………………………………………….13 2.3.3 显示电路………………………………………………….…………………………13 第三章第三章 软件设计软件设计……………………………………………………….14 3.1 控制程序设 计…………………………………………………………………14 3.1.1 程序设计流程图………………………………………………………………….14 3.1.2 程序代码………………………………………………………………………….1

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值