基于单片机的自动售货机_毕业设计论文 .pdf
攀枝花学院本科毕业设计(论文)摘要
基于单片机的自动售货机
摘要
自动售货机是自动化技术在人们生活中的重要应用。随着人们生活质量的不
断提高,对自动售货机的性能要求越来越高。自动售货机的主要功能是通过人机对
话的形式完成自动售货这一过程。
本文设计了一款以INTEL公司出品的80C51单片机为核心的自动售货机,并
且着重详细地介绍了自动售货机的整体系统设计方案、硬件选择基础、软件使用
方法及技巧。以80C51作为CPU处理单元连接各个功能模块;以4*4矩阵键盘作
为输入控制模块对货物进行种类和数量的选择以及模拟货币的投入功能;以
LCD1602液晶作为显示模块来显示当前的购物状态以及货币状态以;LED的显示来
表示当前选择货物以及出货的状态。通过Protues7.5单片机电路原理图进行连接
布线连接各个模块;再用KeiluVision3专业编译软件完成源程序编译和调试,
最终进行自动售货机的实验电路仿真来模拟自动售货。结合工作原理、系统设计、
软件编译和实验仿真来实现自动售货这一相关功能。
关键词自动售货机,80C51单片机,编译仿真
I
攀枝花学院本科毕业设计(论文)ABSTRACT
ABSTRACT
oftheautomationtechnologyinpeopleslives.Withthecontinuousimprovementof
peoplesqualityoflife,theincreasinglyhighperformancerequirementsofvending
machines.VendingmachinesThemainfunctionoftheformofman-machinedialogue
vendingthisprocess.
ThedesignedaproducedbyIntel80C51microcontrollerasthecorevending
vendingmachines,hardwareoptions,softwareandtheuseofmethodsandtechniques.
As80C51CPUprocessingunitconnectedtothevariousfunctionalmodules;4*4
ofinputandanalogcurrency;LCD1602LCDasthedisplaymoduletodisplaythe
currentstateofshoppingaswellascurrencystate;LEDdisplayindicatesthecurrent
selectionofgoodsandshipmentstatus.BytheProtues7.5microcontrollercircuit
diagramconnectingwiringeachmodule;completesourcecodetocompileanddebug
thentheKeiluVision3professionalcompilersoftware,eventuallyvendingmachine
experimentcircuitsimulationtosimulatetheautomaticvending.Combinedwiththe
workingprinciple,systemdesign,softwarecompilerandexperimentalsimulationto
achieveautomaticvendingrelatedfunctions.
Keywordsautomaticvendingmachine,80C51MCU,compiledsimulation