自动售货机控制系统的设计
无需注册登录,支付后按照提示操作即可获取该资料.
自动售货机控制系统的设计(任务书,开题报告,论文11600字)
摘 要
自动售货机是能根据顾客所投入的钱币自动输出商品的机器。本次设计的自动售货机控制系统能够实现顾客投币,商品选择,并且可以模拟实现商品输出和找零的功能。在此次设计中,同时采用LCD1602液晶显示来实现投币金额,花费,库存及销售量的显示。
本文研究的内容主要包括自动售货机的绪论,系统方案设计、硬件电路设计、软件功能设计,系统调试。文章本文第一部分绪论,主要讲解了自动售货机的发展背景及前景,第二章的系统方案设计的部分,阐述了本设计要实现的功能和设计方案。第三部分的硬件电路设计模块,重点讲解了此次设计的硬件电路,并且针对各个模块对各章节进行具体的电路设计。第四章的软件设计部分,说明了各个模块的设计流程及各个模块功能实现的软件编程。最后的系统调试,主要是运用Proteus 软件进行仿真,硬件调试的结果与过程。此次的自动售货机控制系统主要由中央控制模块,投币模块,商品选择模块,商品输出及找零模块,LCD液晶显示模块构成,本文主要围绕各个模块进行展开,设计构成了一种以AT89S52单片机为核心的自动控制系统。
关键词:AT89S52,自动售货机,液晶显示
Vending machine control system
Abstract
The vending machine is the equipment which can output commodities automatically according to the customer’s number of coins. The vending machine control system of this design can not only realize the function of customer pay and the selection of products, but also can simulation the function of Commodity output and change. Simultaneously, this design uses Liquid crystal display (LCD 1602) to finish the display of the cost, the inventory and the sales as well as the number of coins.
In this paper, it’s research content mainly include the introduction of vending machine, system design, hardware circuit design, software function design, and system debugging. Introduction, the first part of this paper, mainly explains the background and prospects of the vending machine. The system design in Chapter two expounds the function and scheme that required by this design. The hardware circuit design in Chapter three, emphasis the design of hardware circuit, additionally, it has an specific circuit design in every chapter according to each modules. Chapter four, software design, illustrates the design process of various modules as well as its software programming. Finally, the system debugging mainly uses the software of Proteus to simulation the result and process of the hardware debugging. In this paper, the control system of vending machine is mainly composed of a central control module, investment coins module, merchandise selection module, commodity output and change module. This paper mainly revolves around each module, and it designs the automatic control system which core is AT89S52 single chip microcomputer.
Key words: AT89S52, Vending Machines, LCD Display
目 录
摘 要 I
Abstract II
目 录 III
第一章 绪论 1
1.1 自动售货机研究的背景及意义 1
1.2 国内外自动售货机市场发展现状 1
1.3 自动售货机未来发展趋势 2
1.4 本课题研究的内容 2
1.5 本课题的任务 2
第二章 系统方案设计 4
2.1 自动售货机功能描述 4
2.2 设计方案选择 4
2.3 系统设计 5
2.4 工作流程设计 5
第三章 硬件电路设计 7
3.1 整体电路 7
3.2 投币模块 8
3.3 中央控制模块 9
3.3.1方案介绍 9
3.3.2芯片介绍 9
3.3.3具体电路 10
3.4 商品选择模块 11
3.5 商品输出与找零模块 13
3.6 LCD 液晶显示模块 14
3.6.1方案介绍 14
3.6.2芯片介绍 14
3.6.3具体电路 15
第四章 软件功能设计 17
4.1 整体软件设计 17
4.2 主函数设计 18
4.3 投币模块 19
4.4 商品选择模块 20
第五章 系统调试 23
5.1 Proteus仿真 23
5.2 硬件调试 26
结 语 28
参考文献 29
致 谢 30
附录一 总电路图 31
附录二 源程序 32