基于单片机的自动售货系统设计
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用.
密 惠 保
基于单片机的自动售货系统设计(论文11000字)
摘要:现如今,中国经济逐步获得相对稳定的蓬勃发展,人们愈加表现出多样化消费方式,开始考虑消费的便利性、及时性。由于不受到时间和地点的限制,自动售货机获得了广泛使用。本设计是在单片机基础上实现自动售货机系统设计的主要内容,采用LCD12864作为显示输出,向用户展示商品价格和有无存货等信息,用户通过按键选择商品,进入交易界面,采用电涡流传感器对硬币进行识别,如果未在规定时间内完成交易,触发报警并退回金额,若规定时间内完成投币,系统驱动步进电机推出商品。实现了商品信息显示、投币检测、商品选择、退币以及步进电机推出商品的功能,最终实现自动售货的功能。
关键词:STC89C52,自动售货机,投币检测,LCD12864显示,步进电机
Vending Machine System Based OnSinglechip
Abstract:With the development of social economy, people's consumption mode has also undergone great changes, and they begin to consider the convenience and timeliness of consumption. Vending machines are widely used because they are not limited by time or place. The vending machine of this design is based on single chip microcomputer design, using LCD12864 as display output, to show the user information such as commodity prices and on availability, the user through the selection of key commodities, trade into the interface, the eddy current sensor is adopted to coin identification, if you do not complete the transaction within the time required, trigger the alarm and return amount, on time completion coin, system driver stepper motor launch. It realizes the functions of commodity information display, coin detection, commodity selection, coin refund and stepping motor to launch commodities, and finally realizes the function of automatic sales.
[来源:http://www.think58.com]
Key words:STC89C52,VendingMachine,Coin detection,LCD12864 Display,Stepping motor
[资料来源:http://think58.com]
目录
1绪论 1
1.1基于单片机的自动售货系统的研究背景及意义 1
1.2国内外发展现状 1
1.3论文的主要工作 2
2自动售货系统整体设计 3
2.1整体设计要求 3
2.2方案选择 3
2.2.1检空方案选择 3
2.2.2推进方案选择 3
2.3硬币识别介绍 4
2.4步进电机选择 5
2.4.1步进电机介绍 5
2.4.2驱动介绍 5 [资料来源:www.THINK58.com]
2.5自动售货系统的整体设计方案 6
3自动售货系统硬件设计 8
3.1主控设计 8
3.2投币模块 9
3.3显示模块 10
3.4提示模块 10
3.5推进模块 11
4系统软件设计 12
4.1主程序设计 12
4.2子程序设计 12
5系统调试 14
5.1硬件调试 14
5.2软件调试 15
6总结 17
参考文献 18
致 谢 19
附录 20 [资料来源:THINK58.com]