文档详情

毕业论文《公交车射频卡刷卡机的设计》.doc

发布:2017-12-09约3.66万字共49页下载文档
文本预览下载声明
目 录 摘要 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
显示全部
相似文档