- 1、本文档共49页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
目 录
摘要 2
Abstract 3
第1章 绪论 4
1.1 课题背景 4
1.2 设计意义与目的 4
1.3 系统设计的总体要求 4
1.4 系统设计的方案选择 5
第2章 系统硬件设计 6
2.1 系统硬件设计框图 6
2.2 系统硬件设计原理图 6
2.3 系统各电路详细设计 7
2.3.1 单片机的选择与应用 7
2.3.2 显示电路 8
2.3.3 93C46串行EEPROM 8
2.3.4 蜂鸣器电路 9
2.3.5 看门狗电路 10
2.3.6 读卡器电路 11
2.3.7 电源电路 13
第3章 系统的软件设计 14
3.1 系统软件设计框图 14
3.2 系统软件各模块设计分析及程序流程图 14
3.2.1 主程序 14
3.2.2 中断服务子程序 15
3.2.3 显示程序 15
3.2.4 蜂鸣器程序 13.2.5 93C46串行EEPROM编程 13.2.6 读卡器程序 21
第4章 系统的软件调试 34
4.1 系统调试软件Medwin 34
4.2 程序调试示例 34
总结 36
致谢 37
参考文献 38
摘 要
随着城市规模的扩大,交通已经成为城市发展的一个重要因素。公交车射频卡可以提供更为方便、快捷的服务。
本文对公交车射频刷卡机的系统设计进行了研究。采用美国ATMEL公司的AT89C52单片机为控制核心,应用PHILIPS公司的MIFARE射频技术实现设计。本设计包含了系统的硬件设计与软件设计两个部分。硬件设计部分描述了所应用的各部分的硬件电路及其原理,主要有:显示电路,看门狗电路,93C46串行EEPROM蜂鸣器电路以及读卡器电路;同时,给出了完整的系统硬件设计原理图。软件设计采用了汇编语言进行设计,运用模块化结构,并给出了各个模块的流程图,使程序设计的逻辑关系更加简洁明了;采用系统调试软件Medwin进行软件调试;另外,本文也给出了详细的程序清单。
关键词:公交卡,射频卡,单片机
Abstract
Along with the extension of the city scale, the transportation has already become an important factor of the city development.The bus radio frequency card can provide more convenience and faster servance.
This text carry on a research to the system design of the the bus radio frequency card machine .It adopted single chip microcomputer of the AT89C52 of the American ATMEL company as the control core and applied the MIFARE radio frequency technique of the PHILIPS company to realize the design.This design of the system includ two parts: the hardware design and the software design.The hardware design part described the hardware circuits and the principle of each part, mainly includ:the display circuit, the watchdog circuit, the 93C46 serial EEPROM, the buffer circuit and read card machine.Also ,it gave the system hardware of the integral design principle diagram.Adopting assemble language to edit the software, using blocking structure and giving the flow chart of each block make the logical relation of the program design more simply and directly to understand.It adopted Medwin to debug the program.Moreover, this text also gave det
文档评论(0)