Sunteți pe pagina 1din 8

RFID Reader Mifare 13.

56 MHz Sunrom Part#


RC522 with 2x Tags - Serial 1422
Output
Easy to use, Reads Unique Tag ID and outputs as Serial Data Packet
in ASCII fixed length format. Contactless RFID, 3.3V-5V, Range
User's
around 3cm, based on NXP MF-RC522+STM8 chipset Manual

Doc Version: 1
29-Jun-16

A quality product, proudly made in India by

Electronics
http://www.sunrom.com/m/1422
1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output

Table of Contents

Introduction .................................................................................................................................... 3
Features .......................................................................................................................................... 3
Applications .................................................................................................................................... 3
Status LEDs..................................................................................................................................... 3
Interfacing with Microcontroller or USB-UART TTL..................................................................... 4
Specifications .................................................................................................................................. 4
Module Pin Details.......................................................................................................................... 4
Output Format ................................................................................................................................ 5
Baud Rate Setting ........................................................................................................................... 5
Board Schematic ............................................................................................................................. 6
Product Dimensions ........................................................................................................................7
Support ........................................................................................................................................... 8
Disclaimer ....................................................................................................................................... 8

Page 2/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output
Introduction

Mifare RC522 is the high integrated RFID card reader which works on non-contact 13.56mhz
communication, is designed by NXP as a low power consumption, low cost and compact size
read and write chip, is the best choice in the development of smart meters and portable hand-
held devices.

We have combined the RC522 chipset with STM8 microcontroller to provide tag output as Serial
Output UART data packet. It's easy to use with any microcontroller or PC.

Board Block Diagram

RC522 Reader Chip STM8 Microcontroller


SPI Output with Power Regulator
Serial UART Output

Features

• Simple to Use
• TTL Level Serial UART output
• LEDs for Power & Valid Tag
• Baud rate can be 9600 or 115200
• Works on 3.3V or 5V

Applications

• Security Systems
• Access Control
• Door Lock
• Attendance

Status LEDs

There are two LEDs on board, one is power LED which is Green in color and comes on as soon
as given power. The other LED is status LED which is Red in color which comes on when it gets
valid serial data packet.

Page 3/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output
Interfacing with Microcontroller or USB-UART TTL

If you want to operate with microcontroller then it's very simple to connect just 3 pins of
modules like below.

If you want to operate with a PC then use a typical USB-UART of TTL level(not RS232) with
same connections like below.
RF ID Reader Your Microcontroller
or
USB-UART TTL

GND GND

+3/5V +3/5V

TX-OUT RXD-IN

Specifications

Parameter Value
Working Voltage 3.3V to 5V DC regulated power supply
Current Consumption 25 mA
Frequency of Operation 13.56 MHz
Serial Baud rate 9600 bps or 15200 bps depending on jumper setting
Baud rate format 8-N-1; 1 Start bit, 8 Data bits, 1 Stop Bits, No Parity
RFID range 3 centimeters
On Board controller STM8S003F3
RFID Chipset NXP MF-RC522

Module Pin Details

Pin Details
GND Common Ground
+3/5 Regulated positive power input 3.3V to 5V DC
TX-OUT Transmit Output - UART TTL level - Connects to RXD pin of microcontroller

Page 4/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output
Output Format

Each tag has unique ID, When it is brought in range on reader, it outputs its ID as serial output
in following format.

10 Byte ASCII Output - FIXED LENGTH


Start Character - 1 Byte Tag ID: 8 Bytes End: Enter Key Code: 1 Byte
'#' ASCII Fixes XXXXXXXX 0X0D HEX OR 13 DECIMAL

Baud Rate Setting

There is a PCB jumper on board J2. We provided it open condition which means 9600 bps baud
rate. You can short it with a soldering iron, if you want 115200 bps baud rate for module.

Page 5/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output
Board Schematic

VCC VCC
U1
STM8S003F3
R1 C1 9 20
10K 100n VDD TIM2_CH2/A4/PD3 19
A3/PD2
NRST 4 17 SPI_MISO
NRST SPI_MISO/PC7 16 SPI_MOSI
SPI_MOSI/PC6 15 SPI_SCK
C2 18 SPI_SCK/PC5 14 SPI_SS
100n SWIMTIM1_CH4/A2/PC4 13 RC522_IRQ
TIM1_CH3/PC3 12 RC522_RESET
I2C_SCL/PB4 11
I2C_SDA/PB5 1 JB CN4
TIM2_CH1/PD4 RC522 READER
VCC 8 2 TX SIP8
CN2 VCAP TX/A5/PD5 3 RX 8 VCC
SWIM C3 RX/A6/PD6 10 7 RC522_RESET
1 1uF 1206 TIM2_CH3/PA3 6 6 GND
3V3 2 PA2 5 STS_LED 5 RC522_IRQ
SWIM 3 7 PA1 4 SPI_MISO
GND 4NRST VSS 3 SPI_MOSI
NRST 2 SPI_SCK
1 SPI_SS
VCC

R2
10K D1
1N4148 CN1
RX SIP4
RXD 4
TX R3 TXD 3
100R VDD 2
1 +-

VCC VCC

R4 R5 J1
1K 1K VCC VDD

VCC U2 VDD
D2 D3 662K
R-LED G-LED 2 3
OUT IN
GND
STS_LED C4 C5
1

1uF 1206 1uF 1206

J2
JB

Sunrom Electronics http://www.sunrom.com


Title RFID Reader
Code 1422 Rev 1
Date: Wednesday , June 29, 2016 Sheet 1 of 1

Page 6/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output
Product Dimensions

Board Dimensions in mm

60mm

RFID BOARD

49 mm
MICROCONTROLLER BOARD

39mm
26mm

100 mm

Page 7/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422


1422 RFID Reader Mifare 13.56 MHz RC522 with 2x Tags - Serial Output

Support

Sunrom Electronics offers free technical support (www.sunrom.com/contact) for


customers, until the end of the product’s lifetime, so if something goes wrong, we’re ready and
willing to help!

Technical Support is available by email only and scope is limited to problem faced during use of
the use of product and does not cover end user programming and hardware troubleshooting.

Each product passes through strict quality checks before it reaches you. So if something is not
working out right, the first thing to doubt is the connections or programming of your hardware.

Disclaimer

Sunrom Electronics assumes no responsibility or liability for any errors or inaccuracies that may
appear in the present document. Specification and information contained in the present
schematic are subject to change at any time without notice.

Copyright © 2016 Sunrom Electronics. All rights reserved.

Page 8/8 Doc Version: 1 29-Jun-16 http://www.sunrom.com/m/1422

S-ar putea să vă placă și