文档详情

毕业设计(单片机控制自动售货机).doc

发布:2017-09-21约4.94万字共62页下载文档
文本预览下载声明
本科毕业设计说明书 二 〇 一一年六月 摘要 自动售货机作为一种智能化的商业售货设备,其最核心的部分是控制系统。本文设计了一款可实现货币识别、商品选择、缺货提醒、缺币提醒、硬币找零、准确出货、金额显示和语音提示等功能的自动售货机控制系统。并重点介绍了该控制系统的硬件选择、电路设计和软件编程等内容。 本设计以单片机W78E516B为核心;以MDB为通信协议;选用WS6462为扩展数据存储器;采用两片8255SA扩展并行接口,解决微控制器I/O紧张的问题;使用3×4矩阵式键盘作为输入设备,并且扩展了TC2002型字符液晶模块和ZY1730语音模块作为人机交互设备。 关键词:自动售货机;单片机;C51;MDB Abstract Automatic vending machine is an intelligent commercial vending equipment, its most central part is a control system. This article introduces a design of vending machine control system that can achieve monetary recognition, products selection, stock alerts, currency reminder, coin change shortage amount, accurate shipping, displays and voice prompts. And the paper focuses on the control systems hardware selection, circuit design and software programming, etc. This design uses a piece of W78E516B as the core; Employing the MDB as the communication protocol; Choosing a piece of WS6462 chips for extending data memory; Extended by two 8255SA parallel interface chip to address the micro-controller I/O problems; Using 3x4 matrix keyboard as input devices, and extended a TC2002 LCD module and ZY1730 voice module as human - computer interaction devices. Key words: automatic vending machine; SCM; C51; MDB 目录 引言 ……………………………………………………………………………………… 1 第一章 控制系统总体方案的概述 …………………………………………………… 2 1.1 自动售货机的工作时序 ………………………………………………………… 2 1.2 控制系统的硬件需求分析 ……………………………………………………… 2 1.3 控制系统的软件需求分析 ……………………………………………………… 3 第二章 控制系统的硬件设计 ………………………………………………………… 4 2.1 硬件设计概述 …………………………………………………………………… 4 2.2 中央处理模块 …………………………………………………………………… 4 2.2.1 微控制器的选型 ………………………………………………………… 4 2.2.2 微控制器W78E516B的选型……………………………………………… 4 2.2.3 时钟电路 ………………………………………………………………… 5 2.2.4 地址锁存电路 …………………………………………………………… 6 2.2.5 地址译码电路 …………………………………………………………… 7 2.3 扩展存储器模块 ………………………………………………………………… 7 2.4 键盘输入模块 …………………………………………………………………… 8 2.5 MDB货币识别模
显示全部
相似文档