基于单片机的柜门式自动售货机设计.docx

基于单片机的柜门式自动售货机设计.docx

  1. 1、本文档共60页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多

摘要

随着人们生活水平的提高,智能购物已成为未来的发展趋势,当前我国都保持着人工售货的方式进行售卖,需要消耗大量的人力、物力、财力,因此设计智能售卖系统具有一定的研究价值和研究意义。

本系统设计一款基于STC89C52单片机自动售货机,通过3*3的矩阵键盘模拟9种商品,当按下某个商品时,显示商品名及价格;当确认按键被按下后,通过红外计数管检测投币数量,当数量一致时,通过步进电机正转180°模拟出货,出货后5s后,步进电机反转180°回归,并清除显示的商品。当支付超过10s未出现投币数增加,则恢复初始界面。出现余量为0时电机不工作;通过AT24C02存储商品数量,实现掉电保存数据;通过LCD12864显示屏对相关数据进行显示。此外,通过蓝牙模块实现无线通信功能,并进行商品数的查看。该设计可以实现自动售卖的功能,可以节省大量的人力和物力,所以此次设计具有一定的研究价值和实际意义。

关键词:自动售卖;矩阵键盘;显示屏;单片机;AT24C02

Abstract

Withtheimprovementofpeopleslivingstandards,intelligentshoppinghasbecomeafuturedevelopmenttrend.Currently,Chinamaintainsamanualsalesmethodforsales,whichrequiresalargeamountofmanpower,materialresources,andfinancialresources.Therefore,designinganintelligentsalessystemhascertainresearchvalueandsignificance.

ThissystemdesignsanautomaticvendingmachinebasedontheSTC89C52microcontroller,whichsimulates9typesofproductsthrougha3*3matrixkeyboard.Whenacertainproductispressed,theproductnameandpricearedisplayed;Aftertheconfirmationbuttonispressed,thequantityofcoinsisdetectedthroughaninfraredcounter.Whenthequantityisconsistent,theshipmentissimulatedbyrotatingthesteppermotorforward180°.After5secondsofshipment,thesteppermotorreverses180°toreturnandclearthedisplayedproduct.Whenthepaymentexceeds10secondswithoutanyincreaseincoincount,theinitialinterfacewillberestored.Whenthemarginis0,themotordoesnotwork;BystoringthequantityofgoodsthroughAT24C02,datacanbesavedafterpowerfailure;DisplayrelevantdatathroughtheLCD12864displayscreen.Inaddition,wirelesscommunicationisachievedthroughtheBluetoothmoduleandthenumberofproductscanbeviewed.Thisdesigncanachievethefunctionofautomaticsales,whichcansavealotofmanpowerandmaterialresources.Therefore,thisdesignhascertainresearchvalueandpracticalsignificance.

Keywords:automaticsales;Matrixkeyboard;D

文档评论(0)

138****8745 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档