单片机自动售货机设计方案.docVIP

  • 16
  • 0
  • 约2.54万字
  • 约 62页
  • 2017-11-14 发布于江苏
  • 举报
单片机自动售货机设计方案

目录 摘要………………………………………………………………………………………………2 Aastract………………………………………………………………………………………… 3 一、自动售货机的系统结构……………………………………………………………………4 1.1自动售货机的总体系统结构……………………………………………………………… 4 1.2自动售货过程的控制子系统简述………………………………………………………… 5 二、自动售货机的功能介绍……………………………………………………………………6 2.1此次设计的自动售货机的功能简介……………………………………………………… 6 2.2实现自动售货机的功能的设计思路……………………………………………………… 7 三、硬件接口电路………………………………………………………………………………7 3.1中央控制元件简介………………………………………………………………………… 8 3.2投币及投币总数LCD显示系统………………………………………………………… 9 3.2.1 投币系统………………………………………………………………………………… 9 3.2.2货币累加的实现……………………………………………………………………………10 3.2.3 LCD显示………………………………………………………………………………… 10 3.3货物选择系统……………………………………………………………………………… 14 3.3.1独立式键盘按键的识别……………………………………………………………………14 3.3.2键盘的编码…………………………………………………………………………………14 3.3.3货物选择系统的程序流程图………………………………………………………………14 3.4出货系统…………………………………………………………………………………… 24 3.4.1 出货功能的描叙………………………………………………………………………… 24 3.4.2 出货程序流程图………………………………………………………………………… 24 3.5 找钱系统……………………………………………………………………………………25 3.5.1找钱系统的描述……………………………………………………………………………25 3.5.2程序流程图…………………………………………………………………………………25 四、设计仿真……………………………………………………………………………………26 4.1 Proteus简介………………………………………………………………………………… 26 4.2 仿真电路…………………………………………………………………………………… 26 附录………………………………………………………………………………………………33 参考文献…………………………………………………………………………………………48 致谢………………………………………………………………………………………………49 摘要 本文详细介绍了自动售货机系统的方案设计、硬件选择、软件规划和编写,并重点描述了自动售货机系统的工作原理、系统设计、软件编程的原则和技巧。该系统以单片机AT89C51芯片为核心,采用集中控制方式实现了对自动售货机全过程的自动控制。本系统选择独立式键盘按键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 principles and techniques. AT89C51 in the system as the core chip, the realization of a centralized control of the vending machines automatic control the entire process. Choice of the system as a stand-alone keyboard keys to choose the goods side, the realization of the coin shows the total number of features. In addition, the system program using keil software to

文档评论(0)

1亿VIP精品文档

相关文档