Component guide · Intermediate · 4 min read
NFC Reader and Tag Boards

PN5180 ISO15693 and ISO14443 SPI Reader, M5Stack RFID 2 (WS1850S), YHY502CG UART MIFARE Module, ST X-NUCLEO-NFC03A1, Mikroe NTAG 5 Link Click, Grove NFC Tag (ST25DV64K) and Seeed 13.56MHz Antenna
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
These boards add 13.56 MHz NFC to a microcontroller. The PN5180 is the strongest reader here and also reads ISO15693 library and medical tags that an RC522 cannot. M5Stack RFID 2 is an RC522-style I2C reader on Grove. Dynamic tag boards such as the Grove ST25DV64K and NTAG 5 Link work the other way: a phone writes to them and your microcontroller reads the data over I2C.
Key specs at a glance
- PN5180
- SPI, ISO14443A/B, ISO15693, FeliCa, 5V and 3.3V supplies
- M5Stack RFID 2
- WS1850S, I2C 0x28, MIFARE
- YHY502CG
- UART, ISO14443A MIFARE, 3-5V
- X-NUCLEO-NFC03A1
- CR95HF reader for Nucleo and Arduino headers
- ST25DV64K / NTAG 5
- Dynamic tag, I2C plus phone NFC, energy harvesting
- Antenna
- Seeed 13.56MHz antenna for PN532-type boards
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1PN5180 NFC RFID Reader/Writer Module – SPI Interface, ISO15693, ISO14443 A/B, FeliCa₹619
Option 2M5Stack RFID 2 Unit (WS1850S) – 13.56MHz RFID Reader/Writer Module w/ I2C Interface₹649
Option 3YHY502CG RFID Reader Writer Module UART Interface – 3V-5V, ISO14443A/MIFARE₹1,387
Option 4STMicroelectronics X-NUCLEO-NFC03A1 NFC Card Reader Expansion Board for STM32 Nucleo & Arduino₹2,049
Option 5Mikroe NTAG 5 LINK CLICK (Mikroe-4635) – NFC / RFID Tag & Transponder Board, I²C₹1,889
Option 6Seeed Studio Grove NFC Tag Board (ST25DV64K)₹674
What the NFC reader boards and NFC tag IC boards (PN5180, WS1850S, YHY502, ST25DV, NTAG 5) is
NFC reader boards such as the PN532 and RC522 and tag ICs like NTAG213 and MIFARE Classic let microcontrollers read and write 13.56 MHz cards, stickers and phones.
Choose PN5180 when you need ISO15693 (ICODE library tags) or longer read range; use the PN5180 library and connect both 5V and 3.3V. Choose M5Stack RFID 2 for a quick Grove MIFARE reader on M5 devices. Use a dynamic tag board to set up a device by tapping a phone: write Wi-Fi details or settings from an app, and the ESP32 reads them on boot.
Keep metal and other antennas away from the reader coil, and do not run two readers face to face.
NFC reader boards and NFC tag IC boards (PN5180, WS1850S, YHY502, ST25DV, NTAG 5) pinout
The pins on the NFC reader boards and NFC tag IC boards (PN5180, WS1850S, YHY502, ST25DV, NTAG 5) and what each one does.
| Pin | Function |
|---|---|
| VCC | 3.3V (and 5V on PN5180) |
| GND | Ground |
| SPI | NSS, SCK, MISO, MOSI, BUSY, RST on PN5180 |
| I2C | SDA, SCL on M5 RFID 2, ST25DV, NTAG 5 |
| GPO / FD | Field detect interrupt on tag ICs |
- VCC
- 3.3V (and 5V on PN5180)
- GND
- Ground
- SPI
- NSS, SCK, MISO, MOSI, BUSY, RST on PN5180
- I2C
- SDA, SCL on M5 RFID 2, ST25DV, NTAG 5
- GPO / FD
- Field detect interrupt on tag ICs
Wiring the NFC reader boards and NFC tag IC boards (PN5180, WS1850S, YHY502, ST25DV, NTAG 5)
PN5180 logic is 3.3V only; use an ESP32 or a level shifter with a 5V Arduino.
| NFC reader boards and NFC tag IC boards (PN5180, WS1850S, YHY502, ST25DV, NTAG 5) pin | Connection | Note |
|---|---|---|
| PN5180 5V / 3.3V | 5V / 3V3 | Both needed |
| NSS / BUSY / RST | GPIO5 / GPIO16 / GPIO17 | ESP32 |
| SCK / MISO / MOSI | GPIO18 / 19 / 23 | ESP32 VSPI |
| ST25DV SDA / SCL | GPIO21 / GPIO22 | I2C |
- PN5180 5V / 3.3V
- Connection:
- 5V / 3V3
- Note:
- Both needed
- NSS / BUSY / RST
- Connection:
- GPIO5 / GPIO16 / GPIO17
- Note:
- ESP32
- SCK / MISO / MOSI
- Connection:
- GPIO18 / 19 / 23
- Note:
- ESP32 VSPI
- ST25DV SDA / SCL
- Connection:
- GPIO21 / GPIO22
- Note:
- I2C
Example code
Uses the PN5180-Library by ATrappmann. For MIFARE on M5Stack RFID 2, use the MFRC522_I2C library.
#include <PN5180.h>
#include <PN5180ISO15693.h>
PN5180ISO15693 nfc(5, 16, 17); // NSS, BUSY, RST
void setup() {
Serial.begin(115200);
nfc.begin();
nfc.reset();
nfc.setupRF();
}
void loop() {
uint8_t uid[8];
if (nfc.getInventory(uid) == ISO15693_EC_OK) {
for (int i = 7; i >= 0; i--) { if (uid[i] < 0x10) Serial.print('0'); Serial.print(uid[i], HEX); }
Serial.println();
}
delay(300);
}Setup and tuning
the PN532 supports I2C, SPI and UART (set by switches); the RC522 uses SPI at 3.3 V.
use Adafruit PN532 or MFRC522 libraries.
NTAG213/215/216 work with phones; MIFARE Classic works with RC522 but not all phones.
read range is about 2 to 5 cm; keep metal away from the antenna.
do not rely on card UID alone for access control.
What you need
Shop this list10 of 10 found in our store · ₹8,441
PN5180 NFC RFID Reader/Writer Module – SPI Interface, ISO15693, ISO14443 A/B, FeliCa: the part this guide coversPN5180 NFC RFID Reader/Writer Module – SPI Interface, ISO15693, ISO14443 A/B, FeliCa₹619
M5Stack RFID 2 Unit (WS1850S) – 13.56MHz RFID Reader/Writer Module w/ I2C Interface: another version this guide coversM5Stack RFID 2 Unit (WS1850S) – 13.56MHz RFID Reader/Writer Module w/ I2C Interface₹649
YHY502CG RFID Reader Writer Module UART Interface – 3V-5V, ISO14443A/MIFARE: another version this guide coversYHY502CG RFID Reader Writer Module UART Interface – 3V-5V, ISO14443A/MIFARE₹1,387
STMicroelectronics X-NUCLEO-NFC03A1 NFC Card Reader Expansion Board for STM32 Nucleo & Arduino: another version this guide coversSTMicroelectronics X-NUCLEO-NFC03A1 NFC Card Reader Expansion Board for STM32 Nucleo & Arduino₹2,049
Mikroe NTAG 5 LINK CLICK (Mikroe-4635) – NFC / RFID Tag & Transponder Board, I²C: another version this guide coversMikroe NTAG 5 LINK CLICK (Mikroe-4635) – NFC / RFID Tag & Transponder Board, I²C₹1,889
Seeed Studio Grove NFC Tag Board (ST25DV64K): another version this guide coversSeeed Studio Grove NFC Tag Board (ST25DV64K)₹674
Seeed Studio 13.56MHz NFC Antenna: another version this guide coversSeeed Studio 13.56MHz NFC Antenna₹668
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Solderless breadboard: to build without solderingSolderless Breadboard₹68
Alternatives and when to choose them
- NFC PN532 readers: the common NFC module.
- RFID RC522: low-cost MIFARE reader.
- USB RFID readers and NFC tags: no code needed.
Common mistakes to avoid
- Powering the RC522 from 5 V.
- Mounting on metal.
- Using UID-only access control.
- Wrong interface switch setting on the PN532.
Frequently asked questions
What is the difference between PN532 and RC522?
PN532 supports more tag types and phone NFC; RC522 is cheaper and reads MIFARE.
Which tags work with smartphones?
NTAG213, 215 and 216 work with almost all NFC phones.
Why does my RC522 not read cards?
Check 3.3 V power, SPI wiring and the reset pin.
Can I write data to tags?
Yes, NTAG and MIFARE tags can store small data like URLs.
Is reading the UID secure for door locks?
No. UIDs can be copied, so use tags with encrypted authentication for access control.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
