基于单片机的IC卡读写器设计毕业设计论文 - 图文 下载本文

内容发布更新时间 : 2024/12/23 23:49:13星期一 下面是文章的全部内容请认真阅读。

南 京 工 程 学 院

毕业设计说明书(论文)

作 者: 陈志清 学 号: 240102513 系 部:

专 业: 电子信息 题 目: 基于单片机的IC卡读卡器下位机设计

指导者: 徐伟业 讲师

评阅者:

2014 年 6 月 南 京

Microcontroller-based lower computer

design of IC card reader

A Dissertation Submitted to Nanjing Institute of Technology

For the Academic Degree of Bachelor of Science

By

Zhiqing Chen Supervised by Lecturer Wei-ye Xu

School of Communication Engineering

Nanjing Institute of Technology

June 2014

摘 要

信息领域发展的一个分支——智能卡即IC(Integrated Circuit)卡。本文介绍一种基于AT89C52单片机的射频IC卡读写器系统,该系统主要由AT89C52单片机、射频IC卡读写模块、天线及RS485通讯接口组成。非接触式IC 卡又称射频IC卡。是最近几年发展起来的一项新技术,它成功的将射频识别技术与IC卡技术结合起来,解决了无源(卡中无源)和免接触这一难题,是电子器件领域的一大突破。具有操作快捷、抗干扰性强、工作距离远、安全性高、便于“一卡多用”等特点,在自动收费、身份识别和电子钱包等领域具有接触式IC卡所无法比拟的优越性,具有广阔的市场前景。非接触式IC卡读卡器是非接触式IC卡应用系统的关键设备之一。

本文首先对非接触式IC卡进行了综合概述,详细介绍了其种类、特点、关键技术等,并介绍了非接触式IC卡的关键技术:射频识别技术。读卡器的硬件设计包括电源供应电路、LED状态显示电路、蜂鸣器驱动电路、RS232通信电路、MCU的连接、MFRC500接口电路和读卡器天线这几部分的设计,以及MFRC500与MCU接口电路设计、与电源接口电路设计和与天线射频接口电路设计三个部分。随着射频技术的推广,IC卡已经广泛应用于公共交通终端、手持终端、非接触式PC终端等各个非接触式通信场合。

Abstract:

A branch of the field of information developments is IC .This paper describes a radio frequency based on AT89C52 microcontroller IC card reader system, the system consists of AT89C52 microcontroller, RF IC card reader modules, antennas and RS485 communication interface. Non-contact IC card, also known as IC card RF. In recent years developed a new technology, it will be the success of radio frequency identification technology and IC card technology together to solve the passive (passive card) and free access to this difficult problem, the field of electronic devices is a major breakthrough. Operation with fast, strong anti-interference, distance work, safe, easy, \multi-purpose card\and so on, in the automatic toll collection, identification and electronic purse and other fields of contactless IC card can not match the superiority of have broad market prospects. Non-contact IC card reader non-contact IC card application system, one of the key equipment.

In this paper, first non-contact IC card are summarized on the characteristics of the types of key technology. And introduced the non-contact IC card technology: radio frequency identification technology. Reader hardware design, including power supply circuit, LED status display circuit, buzzer driver circuit, RS232 communication circuit, MCU connection, MFRC500 reader antenna interface circuit and the design of these parts, as well as with the MCU interface circuit MFRC500 design, and Power Interface Circuit Design and RF antenna interface circuit design is in three parts. With RF technology promotion, IC card has been widely used in public transport terminals, handheld terminals, non-contact PC terminals and other non-contact communication applications.

Keywords: Contactless IC Card;Read-Write Device;MF-RC500;Radio Frequency

Identification;

目 录

第一章 绪论 ........................................................... 1.1 毕业设计任务分析 ................................................ 1.2 课题研究的背景和意义 .......................................... 7 1.3 目前国内外研究现状 ............................................ 8 1.4 本课题设计的主要工作和任务 .................................... 9 第二章 非接触式IC卡综述............................................ 10 2.1非接触式IC卡主要特点 ......................................... 10 2.2 非接触式IC卡几种类别 ........................................ 10 2.3非接触式IC卡关键技术 ......................................... 11 第三章 读卡器系统方案设计与实现 .................................... 14 3.1读卡器基本原理 ................................................ 14 3.2 各模块方案选择 ............................................... 15 3.3总体方案确定 .................................................. 21 第四章 非接触式IC卡技术............................................ 23 4.1射频识别技术 .................................................. 23 4.2 主程序的设计 ................................................. 23 第五章系统硬件设计与实现 ............................................ 14 5.1 显示模块 ..................................................... 14 5.2 MF-RC500读写模块 ............................................. 15

5.2.1 MF-RC500介绍 ........................................... 15 5.2.2 天线模块的设计 ......................................... 17 5.2.3 MF-RC500与AT89S52连接图 ............................... 20

第五章 系统调试 ..................................................... 34 第六章 总结与展望 ................................................... 36 致 谢 ............................................................. 37 参 考 文 献 ........................................................ 38