数电课程设计报告-自动售货饮料机控制电路的设计与实现

上传人:aa****6 文档编号:29219238 上传时间:2018-01-22 格式:DOCX 页数:32 大小:7.98MB
返回 下载 相关 举报
数电课程设计报告-自动售货饮料机控制电路的设计与实现_第1页
第1页 / 共32页
数电课程设计报告-自动售货饮料机控制电路的设计与实现_第2页
第2页 / 共32页
数电课程设计报告-自动售货饮料机控制电路的设计与实现_第3页
第3页 / 共32页
数电课程设计报告-自动售货饮料机控制电路的设计与实现_第4页
第4页 / 共32页
数电课程设计报告-自动售货饮料机控制电路的设计与实现_第5页
第5页 / 共32页
点击查看更多>>
资源描述

《数电课程设计报告-自动售货饮料机控制电路的设计与实现》由会员分享,可在线阅读,更多相关《数电课程设计报告-自动售货饮料机控制电路的设计与实现(32页珍藏版)》请在金锄头文库上搜索。

1、武汉理工大学数字电子技术基础课程设计说明书1课程设计任务书学生姓名: 专业班级: 通信 1302 班 指导教师: 工作单位: 信息工程学院 题 目: 自动售货饮料机控制电路的设计与实现 初始条件:本设计既可以使用计数器、比较器、脉冲发生器等和必要的门电路等,也可以使用单片机系统构建。用数码管、LED 灯显示结果。要求完成的主要任务: (包括课程设计工作量及技术要求,以及说明书撰写等具体要求)1、课程设计工作量:1 周。2、技术要求:1)售货机只接受 5 角和 1 元的硬币,可以用按钮代替硬币的投入。投入硬币的总金额用两位数码管显示,最大投入金额为 9.5 元。2)售货机可以自动出售 3 种饮料

2、,售价分别是 0.5 元,1 元和 1.5 元。当顾客完成投币后,根据投入金额,各饮料对应的 LED 将亮起(如投入 1 元硬币,0.5 元和 1 元饮料的 LED 亮起,表示可以购买 0.5 元或 1 元饮料) 。3)顾客根据自身需要按下各饮料对应的按钮,每按一次掉出一瓶饮料,两位数码管显示剩余金额,LED 继续指示可购饮料的种类;4)顾客按下“找零”按钮将使机器发出找零信号,两位数码管清零。5)确定设计方案,按功能模块的划分选择元、器件和中小规模集成电路,设计分电路,画出总体电路原理图,阐述基本原理。3、查阅至少 5 篇参考文献。按武汉理工大学课程设计工作规范要求撰写设计报告书。全文用A4

3、 纸打印,图纸应符合绘图规范。时间安排:序号 阶段内容 所需时间1 方案选择和电路设计 1 天2 硬件设计、软件仿真 2 天3 系统优化 2 天4 设计报告撰写 1 天5 答辩 1 天合 计 7 天指导教师签名: 年 月 日 武汉理工大学数字电子技术基础课程设计说明书2系主任(或责任教师)签名: 年 月 日摘要本文主要介绍了通过使用单片机系统构建自动售货饮料机控制电路,并且用数码管、LED 灯显示相应的结果的相关程序和步骤。所使用的单片机以 INTEL 公司的 AT89C52 单片机。该系统以单片机 AT89C52 芯片为核心,实现对自动饮料售货机投币以及收货找零全过程的自动控制。本系统选择

4、6 个独立按键分别作为硬币投入端,饮料购买端和找零端,实现了投币,饮料购买以及找零功能,用两个 7 段共阳极数码管显示剩余钱数,用三个 LED 灯分别表示剩余钱数是否可以购买三种相应的饮料。本文详细描述了确定设计方案的分析过程,并且按照按功能模块的划分选择元器件和中小规模集成电路,设计分电路电路图,画出总体电路原理图,并针对原理图阐述基本原理。此外,系统程序采用Keil uVision 4 软件进行程序的编写和编译,采用 C 语言编写程序,用 Proteus 软件进行仿真, STC_ISP_V483 软件和 USB 转串口线驱动软件下载程序,最后外部输出显示通过外部相关显示电路显示有关结果。总

5、体来说,通过单片机的下载,实物的焊接与安装调试,本次课程设计基本达到了设计指标要求,正确实现了投币,选择饮料,购买饮料,找零等功能,设计与实现了自动售货饮料机控制电路。关键词自动售货饮料机控制电路,单片机,C 语言,数码管、LED 显示武汉理工大学数字电子技术基础课程设计说明书3ABSTRACTIn this paper,by using the Single-Chip Microcomputer is mainly introduced in this paper to build the circuit of the Automatic Beverage Vending Machine,

6、and the corresponding results of using digital tube, LED lights display .The use of the Single-Chip Microcomputer AT89C52 is from INTEL. the Single-Chip Microcomputer AT89C52 chip as the core, the system realizes Automatic Beverage Vending Machine coin and receiving the change of the whole process o

7、f automatic control.This system choose six independent buttons respectively as coins drop, buy drinks and change functions, using two section 7 of total anode digital tube display the residual amount, present the remaining money, each in three LED lights whether can buy three drinks.Described in det

8、ail in this paper to determine the analysis of the design process, and according to the division of function modules in accordance with choice of components and small and medium scale integrated circuit, circuit diagram and design points, and draw the overall circuit principle diagram, and schematic

9、 diagram in this paper, the basic principle.In addition, the system program using Keil uVision 4 software programs to write and compile, using C language program, use Proteus simulation software, turn STC_ISP_V483 software and USB serial port driver software download program, the external output dis

10、play through external related circuit according to the results.By single chip microcomputer, in general, download, physical welding and installation and debugging, the course design of basic request has reached the design target, the correct implementation a coin, choose drinks, buy drinks, change,

11、and other functions, design and accomplish the circuit of the Automatic Beverage Vending Machine .KeywordsAutomatic Beverage Vending Machine, SCM, C language, digital tube, LED display武汉理工大学数字电子技术基础课程设计说明书4目录摘要 .2关键词 .2ABSTRACT.3Keywords.31绪论 .61.1 设计背景 .61.2 Proteus简介 .61.3 AT89C52简介 .62 结构分析及方案选择 .82.1 自动售货机总体系统结构 .82.2 方案选择 .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号