文档介绍:基于单片机的RFID读写器设计
摘要
射频识别(Radiofrequency identification ,RFID),又称电子标签(E-Tag),是一种利用射频信号自动识别目标对象并获取相关信息的技术。随着技术的进步,RFID应用领域日益扩大,现已涉及到人们日常生活的各个方面,并将成为未来信息社会建设的一项基础技术。因此,研究、设计和开发RFID系统具有十分重要的理论意义和实际意义。
论文系统地论述了射频识别系统和读卡器的理论分析,研究了射频识别系统中的许多关键技术,并提出了射频识别读卡器的设计方案。
本文首先分析了射频识别技术的基本原理、研究方向和应用情况。在充分研究了射频卡的基本原理、技术特点、国际相关标准后,进而提出了基于STC11F32单片机的射频读卡器系统设计的方法。设计采用MFRC522射频读写模块在STC11F32单片机的控制下实现对Mifare卡的读写访问操作。
硬件部分设计主要包括单片机控制电路设计,射频模块设计,天线电路设计,串行通信电路设计,声音提示及显示电路设计等,其中详细讨论了读卡器的软件设计方法。软件设计包括单片机处理程序,射频基站芯片RC522的基本操作、Mifare卡操作程序设计、声音提示及显示部分程序等。论文中系统地讨论了软件实现读卡器与Mifare卡之间通信所要求的请求应答、防冲撞、选卡片、认证、读写等功能模块的实现原理。
关键词:射频识别,读卡器,IC卡,STC11F32,MFRC522
Abstract
Radio frequency identification (radio frequency identification, RFID), also known as electronic tags (e-Tag), is an RF signal automatic target recognition and access to relevant information technology. With the advances in technology, RFID applications widening, has been involved in all aspects of people's daily lives, and will e a basic technology of the future information society. Therefore, research, design and development of RFID systems has important theoretical and practical significance.
Discusses the theoretical analysis of radio frequency identification system and card reader to the paper system, many of the key technology of radio frequency identification system, and the design of radio frequency identification reader.
This paper firstly analyzes the basic principle of radio frequency identification technology, the research direction and application. In the full study of RF Card basic principle, technical characteristics, relevant international standards, and then put forward based on STC11F32 single chip RF card reader system design method. The design adopts MFRC522radio frequency read write module in STC11F32under the control of a single-chip puter to realize Mifare card read and write access operations.
The hardware part of the design including the MCU control circuit design, design of the RF module, Antenna circuit desi