文档介绍:安徽建筑工业学院
毕业设计(论文)
专业: 机械设计制造及其自动化
班级: 06机械3班
学生姓名: 田磊
学号:
课题: 公交车投币检测系统的软件设计
指导老师: 吴跃波
2010年 6月 7日
摘要
针对当前公交车投币系统存在的假币难以辨别、币值难以累计等问题,本文研究设计了一种基于单片机控制的公交车投币检测系统。本设计通过硬币接收器对硬币真伪进行快速无损鉴别,并介绍了相关电路设计原理。设计采用了AT89C51单片机,通过硬币接收器对硬币真假进行识别,从而输出识别信号给单片机,触发相关接口,实现语音报警、纸币电动机、LCD显示器和金额累计功能;根据所需功能设计出相应的软件系统。使得系统能对硬币进行非接触无损检测,实时剔除假币。使得此系统可广泛应用于公交等投币场合,解决了假币带来的一系列问题。
关键词:单片机;LCD;投币检测
Abstract
To the questions of the counterfeit note in the self-service ticketing bus at present is difficult to distinguish and hard to accumulte total value, this text study and design a inserting coin monitoring system on bus based on one-puter controller. The design of the coins through the coin authenticity of the receiver for fast non-destructive identification and description of the relevant circuit design principles. Designed with AT89C51 single puter, the receiver of the coins through the coin to identify true and false, so the output identification signal to the MCU, triggered by the relevant interface, voice alarm, notes motors, LCD displays, and the amount of the cumulative function; according to the corresponding functional design requirements software system. Coins can make the system non-contact non-destructive testing, real-time eliminate counterfeiting. Makes this system can be widely used in public transport and other coin occasions to solve a series of problems caused by counterfeit money.
Key words: single puter; LCD; coin inserting monitor
目录
第一章绪论 1
公交车投币检测系统的研究意义 1
国内外发展概况与发展趋势 1
机械式投币器 2
智能式投币器 2
发展趋势 3
本设计研制的目标 4
第二章系统总体设计方案与硬件介绍 5
系统的总体方案设计介绍 5
系统的硬件设计 6
单片机控制模块设计 6
键盘模块设计 10
LCD显示模块设计 12
报警模块设计 13
第三章系统软件设计 14
主程序 14
LCD显示程序 17
报警程序 20
卷纸电动机启动程序 21
软件KeiluVision2编写程序 22
编写程序 23
创建HEX文件 24
字模提取 25
第四章公交车投币检测系统的软件仿真 27
27
绘制仿真电路 27
仿真介绍 30
第五章总结与展望 34
参考文献 35
致谢 36
附录一仿真程序 37
附录二英文科技文献翻译 54
附录三毕业设计任务