武汉理工大学数电课设-自动售货饮料机控制电路的设计与实现总结报告.doc
文本预览下载声明
课程设计任务书
学生姓名: 专业班级:
指导教师: 工作单位:
题 目:
初始条件:
计数器、脉冲发生器和必要的门电路等用数码管显示。要求完成的主要任务: (包括课程设计工作量及技术要求,以及说明书撰写等具体要求)
1、课程设计工作量:1周。
2、技术要求:
确定设计方案,按功能模块的划分选择元、器件和中小规模集成电路,设计分电路,画出总体电路原理图,阐述基本原理。查阅至少5篇参考文献。按《武汉理工大学课程设计工作规范》要求撰写设计报告书。全文用A4纸打印,图纸应符合绘图规范。时间安排:
1、 年 月 日,课设具体实施计划与课程设计报告格式的要求说明。
2、 年 月 日至 年 月 日,方案选择和电路设计。
、 年 月 日至 年 月 日,电路调试和设计说明书撰写。
、 年 月 日上交课程设计成果及报告,同时进行答辩。
指导教师签名: 年 月 日系主任(或责任教师)签名: 年 月 日摘要 I
Abstract II
1 总体方案设计 1
1.1方案比较选择 1
1.2 实现自动售货饮料机功能的总体思路 2
2 硬件单元电路设计 3
2.1 中央控制单元---单片机最小系统 3
2.1.1 STC89C52的介绍 3
2.1.2 51系列单片机最小系统的介绍 5
2.2 投币单元 6
2.3 选择购买单元 7
2.4 找零单元 8
2.5 显示单元 8
2.5.1 可购买类型指示灯显示 8
2.5.2 余额显示 9
2.6 原理总图 12
3 软件设计 13
3.1 软件简介 13
3.1.1 Keil 简介 13
3.1.2 Proteus 简介 13
3.2 程序设计 15
4 Proteus 仿真结果及分析 16
5 实物焊接及调试 20
5.1 实物焊接图 20
5.2 调试过程中出现的问题 20
6 总结及体会 21
7 参考文献 22
附录1:元件清单 23
附录2:源程序 24
摘要
本文详细介绍了自动售货饮料机系统的方案设计、硬件选择、软件规划和编写,并重点描述了自动售货机系统的工作原理、系统设计、软件编程的思路。该系统以单片机STC89C52芯片为核心,采用集中控制方式实现了对自动售货饮料机全过程的自动控制。本系统选择独立式键盘按键keil软件进行程序的编写和编译,并用Proteus软件进行仿真,最后根据原理电路焊接实物并调试。
关键词:自动售货饮料机 STC89C52 数码管显示 Proteus仿真
Abstract
This paper describes a vending machine system design, hardware selection, software planning and preparation, and describes the focus of the work vending machine system theory, system design, software programming mentality. STC89C52 in the system as the core chip, realizes the automatic control of the vending machine’s entire process by using the centralized control mode. The stand-alone keyboard keys are chose to insert coins and choose the goods side, the Nixie tube is used to realize the function of showing the total number of inserted coins and remaining sum. In addition, the system program using keil software to prepare and compile procedures, and Proteus software is used for simulation. At last, the material object is welded and debugged according to the schema circuit.
Keywords: The Vending Machines STC89C52 Digital Display Proteus Simulation
1 总体方案设计
根据设计要求,自动售货饮料机主要由四
显示全部