🎉
ESPBoards Store is Now Open! Find the best ESP32, ESP8266 boards & accessories

RC522 RFID/NFC Module

RC522 RFID/NFC Module image

View on Amazon

Overview

The RC522 RFID/NFC module offers an affordable and reliable solution for integrating NFC and RFID functionality into your projects. Its compact size, multi-protocol support, and robust performance make it a great choice for a wide range of applications.

About RC522 RFID/NFC Module

The RC522 is a cost-effective and compact RFID/NFC module designed for proximity identification and security applications. It supports multiple communication protocols (SPI, I²C, UART), making it easy to integrate with ESP32, Arduino, and other microcontrollers.

Key Features

  • Multi-Protocol Support – Communicates via SPI, I²C, and UART.
  • ISO/IEC 14443 Type A Compatibility – Works with RFID/NFC cards and tags.
  • Versatile Applications – Ideal for access control, payment systems, and secure authentication.
  • Compact & Low Power – Suitable for embedded security projects.

With its flexibility and affordability, the RC522 is a great choice for NFC-based applications requiring secure and contactless authentication. 🚀

Where to Buy

Get Your RC522

RC522 RFID/NFC Module

Starting from

3.00$ per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

💡 Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specs

RC522 Specifications

Complete technical specification details for RC522 RFID/NFC Module

📊 Technical Parameters

Communication Protocols SPI, I2C, UART
Operating Voltage 3.3V
Supported Standards ISO/IEC 14443 Type A
Operating Temperature -20°C to +80°C
Dimensions 40mm x 60mm x 3mm
Pin Configuration

RC522 Pinout

The RC522 supports multiple communication protocols (SPI, I²C, UART) with 8 main pins for interfacing.

Visual Pinout Diagram

Pinout Diagram Primary
RC522 RFID/NFC Module pinout
8
Total Pins

Pin Types

Power
2
Control
1

Quick Tips

Supports

ISO/IEC 14443 Type A RFID/NFC tags (13.56 MHz),[object Object]

[object

Object],[object Object]

SPI

is the most widely used interface for RC522

Pin Descriptions

Pin NameTypeDescriptionNotes
1 VCC
Power

Power supply input (3.3V). Typically 3.3V for most modules.

Some modules support 5V - check your specific module.

2 GND
Power

Ground connection. Connect to system ground.

3 RST
Control

Reset signal (active low). Used to reset the module.

Connect to GPIO for software reset control.

4 IRQ
Interrupt

Interrupt signal output. Triggers when card is detected.

Optional - can be left unconnected for polling mode.

5 MISO
SPI

SPI Master In Slave Out. Data from RC522 to microcontroller.

Connect to ESP32 MISO (GPIO 19).

6 MOSI
SPI

SPI Master Out Slave In. Data from microcontroller to RC522.

Connect to ESP32 MOSI (GPIO 23).

7 SCK
SPI

SPI clock line. Clock signal for SPI communication.

Connect to ESP32 SCK (GPIO 18).

8 SDA/SS
SPI/I2C

SPI: Slave Select (chip select). I²C: Serial Data line.

For SPI: Connect to any GPIO (e.g., GPIO 5). For I²C: data line.

Connection Guide

Wiring RC522 to ESP32

To interface the RC522 with an ESP32 via SPI, connect VCC to 3.3V, GND to ground, and the SPI pins (MISO, MOSI, SCK, SDA/SS) to the corresponding ESP32 SPI pins.

Visual Wiring Diagram

Wiring Diagram Recommended
RC522 RFID/NFC Module wiring with ESP32
8
Connections

Connection Status

Required
7
Optional
1

Protocol

SPI

Pin Connections

RC522 PinConnectionESP32 PinDescription
1 VCC Required
3.3V

Power supply. Use 3.3V for most modules.

2 GND Required
GND

Ground connection.

3 RST Required
GPIO 4

Reset control. Any available GPIO pin.

4 MISO Required
GPIO 19

SPI MISO - data from RC522 to ESP32.

5 MOSI Required
GPIO 23

SPI MOSI - data from ESP32 to RC522.

6 SCK Required
GPIO 18

SPI clock signal.

7 SDA/SS Required
GPIO 5

SPI Slave Select (chip select). Any available GPIO.

8 IRQ Optional
Optional GPIO

Interrupt pin for card detection (optional).

SPI

is the recommended interface (most reliable and well-documented)

Use

MFRC522 library for Arduino/ESP32 compatibility

[object

Object]

[object

Object]

[object

Object]

IRQ

pin optional - polling mode works fine for most applications

Orient

antenna parallel to RFID tag for best reading performance

Add

100µF capacitor across VCC and GND for stable operation

Help & Support

RC522 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

RC522 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up RC522

The ESP32 RC522 RFID/NFC Module is a powerful NFC sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the RC522 into your ESP32 project and bring your ideas to life!