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

约45页DOC格式手机打开展开

毕业设计 单片机控制自动售货机,自动售货机控制器设计 目 录摘 要viiiabstractix绪论1第一章,自动售货机的系统结构31.1自动售货机的系统概述31.1.1自动售货过程的控制子系统简述41.1.2自动售货过程的通讯子系统简述51.2自动售货机的功能简介61.2.1此次设计的自动售货机的功能简介61.2.2实现...
编号:68-150562大小:1.74M
分类: 论文>通信/电子论文

内容介绍

此文档由会员 bfxqt 发布

毕业设计 单片机控制自动售货机

自动售货机控制器设计

        

目 录
摘 要 VIII
Abstract IX
绪论 1
第一章,自动售货机的系统结构 3
1.1自动售货机的系统概述 3
1.1.1自动售货过程的控制子系统简述 4
1.1.2自动售货过程的通讯子系统简述 5
1.2自动售货机的功能简介 6
1.2.1此次设计的自动售货机的功能简介 6
1.2.2实现自动售货机的功能的设计思路 6
1.2.3论文的内容及拟解决的问题 7
第二章.自动售货机的系统硬件电路设计 8
2.1自动售货机中央控制元件8751的介绍 8
2.2货币识别系统 9
2.3货物选择系统 11
2.4出货及显示花钱数系统 11
2.5找钱及显示找钱数系统 14
2.6出错报警系统简述 14
第三章.自动售货机的系统软件程序设计 15
3.1自动售货机货币识别系统程序流程图 15
3.2自动售货机货物选择系统的程序流程图 16
3.3自动售货机出货,显示花钱数系统流程图 19
3.4自动售货机找钱,显示找钱数系统流程图 20
3.5出错报警系统流程图 21
第四章.系统软、硬件设计实现 23
4.1驱动程序 23
4.1.1实现有效投币定时30秒以及累加计数程序: 23
4.1.2货物选择系统的驱动程序 23
4.1.3报警系统的驱动程序 29
第五章 结束语 30
参考文献 31
致   谢 32
附  录33


自动售货机控制器设计
摘 要
     自动售货机是劳动密集型的产业构造向技术密集型社会转变的产物。本文设计了一种以INTEL 公司的8751单片机为核心的自动售货机装置的控制系统。详细介绍了自动售货机系统的方案设计、硬件选择、软件规划和编写,并重点描述了自动售货机系统的工作原理、系统设计、软件编程的原则和技巧。该系统以单片机8751芯片为核心,采用集中控制方式实现了对自动售货机全过程的自动控制。本系统选择4×4矩阵式键盘按键作为货物选择端,采用了2个可编程并行接口8255A实现并行接口的扩展,解决了单片机8751芯片输入/输出口引脚紧张的问题,实现了货物的掉出以及货币数的显示功能。此外,系统程序采用keil软件进行程序的编写和编译,该软件具有编程简单、查错方便、阅读容易等特点。汇编语言是程序的基本语言,具有容易理解,便于记忆和使用等特点。
关键词:自动售货机;控制系统,8751单片机;系统程序

 


The new business tax under the Ordinance Analysis of Tax Planning
Abstract
The system that I design is an automat basing on microcontroller 8751to control the  sell  goods  system .In the following paper introduce the system design and handware sellection software design and write . and emphases describe the automat system worke principle  system design and sofeware programing technique The master mcu 8751 is INTEL Company. The system has some prominent excellences by concentrate control. It is very steady and credible,my system  use 4*4keyboard to sellecting goods useing two programing  parallel interface 8255 to resolve i/o tensional problem  make goods dorp and coin display function
. I program the system by software named keilc51, The whole of programmer is writed by asembeling language.keilc51 software makes my programmer easier and  check work more convenient.
Key words: vending machine;MCU8751;8255A keyboard/display