摘 要:本文详细介绍了自动售货机系统的方案设计、硬件选择、软件规划和编写,并重点描述了自动售货系统的工作原理、系统设计、软件编程的原则和技巧。是在单片机的基础上对自动售货机进行设计来实现基本功能的。该系统以Arduino Mega 2560为核心,采用集中控制方式实现了对自动售货机全过程的自动控制。系统程序使用Arduino IDE进行程序的编写,板子上的微控制器可以通过Arduino的编程语言来编写程序,编译成二进制文件,烧录进微控制器。对Arduino的编程是利用 Arduino编程语言 (基于 Wiring)和Arduino开发环境(基于 Processing)来实现的。该软件具有编程简单、查错方便、阅读容易等特点。 本系统选择独立式键盘按键作为货物选择端,实现了投币总数的显示功能。文章首先简述了自动售货机系统的意义和发展现状,然后介绍了自动售货机的设计要求、设计思路,并给出了总体设计框图,通过分析设计写出程序源代码,最终完成的自动售货机系统具有设置商品数量,显示屏显示,检测有无人靠近,语音播报,投币处理等主要功能。91247

毕业论文关键词:自动售货机,单片机,Arduino,编程 

Abstract:This paper introduces the automatic vending machine system design, hardware selection, software planning and preparation, and describes the principles and techniques of automatic vending system working principle, system design, software programming。This paper is on the MCU based on the vending machine design to achieve the basic functions of, detailing the vending machine design, selection of hardware, software, and focus on the description of the vending machine system, the working principle, system design, software writing principles and techniques。 The system uses Arduino Mega 2560 as the core, adopts the centralized control method to realize the automatic control of the whole process of automatic vending machine。 System program using the Arduino IDE writing, the micro controller board can through the programming language of the Arduino program compiled binaries, burned into the microcontroller。 The Arduino programming is the use of Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing) to achieve。 In this paper, we first introduce the vending machine system, significance and the development present situation, then introduces the vending machine design requirements, design ideas, and gives the block diagram of the overall design, through the analysis of the design of write program source code, to complete the final of a vending machine system has set the number of goods, display, detect near the unmanned, voice broadcast, coin processing function。

Keywords:vending machine, singlechip, Arduino, programming

目   录

1  绪论 5

1。1 国内发展状况 5

1。2 国外发展状况 6

1。3 发展前景 7

2  开发工具 8

2。1 Andriod组成及发展历程 8

2。2 Arduino的特点 9

2。3 Arduino组成 9

3  自动售货机的系统设计 12

3。1 自动售货机的总体系统结构 12

3。2自动售货机的系统工作原理 13

3。3 自动售货机的功能介绍 15

4硬件接口电路 16

4。1 中央控制元件

上一篇:STC89C52单片机肺活量测量仪设计+电路图
下一篇:PLC控制的2*3型升降横移式立体停车库设计+梯形图

热环境对磁记忆信号的影响ANSYS有限元分析

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

STC89C52单片机盲人用时钟的设计+电路图+程序

PLC物料自动分拣系统的设计+源程序

单相电压型逆变电路的谐...

家电制造企业绿色供應链...

农村幼儿教育开题报告

高校体育场馆效益研究【2772字】

企业科研管理中统计报表...

论商业银行中间业务法律...

“时尚与旅游”电子杂志的设计制作

基于安卓平台的二维码会议管理系统设计

ASP.net+sqlserver会员管理系统设计

透过家徽看日本文化家紋から見る日本文化

华夫饼国内外研究现状