Page 1 of 19
Page 1 of 22
13.56MHz RFID Mifare® Read/Write Module
▲ Complete Read/Write module with built-in transceiver antenna
▲ Auto checks for presence of a tag and upload ID need no command
▲ Contactless operating frequency 13.56 MHz
▲ Supports ISO14443A /MIFARE® ,Mifare® Classic1K,Mifare® Classic 4K
▲ SPI Interface, baud rate19200bps
▲ Fast data transfer Contactless communication up to 106KHz
▲ Secure Encrypted contactless communication
▲ Ideal for emoney,secure access and fast data collection applications
▲ Typical Operating Distance: 0 – 60 mm
▲ Operating Voltage :DC 3.0-5.5V
▲ Watchdog timer
▲ 1 LED indicator, 3 I/O pins for external use
▲ 512 bytes eeprom
▲ Unique serial number on each device
▲ Size: 58mm × 35mm × 6mm
▲ Weight:10g
YHY502B
Page 3 of 19
Page 3 of 22
2. Introduction
YHY502BTG is a compact 13.56MHz RFID Read / Write module designed for ISO14443A
standard and supports Mifare® Classic 1K, Mifare® Classic 4K transponders. It is controlled
by external device over UART with simple protocols defined in this sheet.
YHY502BTG can be easily and quickly integrated into RFID applications with very less
effort. Mifare® Classic is a secure memory (1Kbyte, 4KByte) chip/card often called
contactless smart card. The reason it is called smartcard is because it has increment and
decrement functions designed for especially payment systems. Mifare® Classic family of
tags is being used in RFID applications where very high security and fast data collection
systems are required. This family of tags has contactless communication speed up to 106
KHz and uses very strong encryption techniques. If the user want to copy or modify the
content of the Mifare®Classic family of tags then he needs the correct key(s) when it is
protected. As a result Mifare® become ideal for e-money applications, secure access, data
storage and fast data collection systems. Not only limited with these applications but
printed antenna technology makes possible to find very thin and low cost Mifare® tags (e.g.
labels,stickers) so that extending the field of RFID applications.
3. Mifare®Brief Technical Information
For Mifare® tag memory organization and communication principles please refer to Mifare® S50
en.pdf document (Standard Card IC MF1 IC S50) of NXP. Mentioned document gives functional
specification of the IC used in Mifare® 1K tags. Same communication principles are valid for
Mifare® 4K (MF1 IC S70) tags. Documents can be downloaded at http://www.nxp.com.
Communication principles are greatly simplified by YHY502BTG module. When read or write the
card, it just need to send one read/write command with keyA/B for authenticate, the module would
perform request, anticoll and select card itself.
4. Communication Protocols
4.1 Command lists:
This chapter describes the protocol and commands which is used by the YHY502BTG to
communication with host.