Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›IoT & Wireless
  4. ›NFC Readers and Tags

How-to · Intermediate · 3 min read

NFC Readers and Tags

PN532, NTAG Stickers and Reading UIDs With Arduino

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerPN532 or RC522?Choosing NFC tagsReading a tag UIDSecurity and good practiceTry itCommon mistakesFAQsParts and next steps
Short answer

NFC works at 13.56 MHz and lets a reader talk to tags and phones within a few centimetres. The PN532 is the popular reader chip: it supports I2C, SPI and UART, reads MIFARE and NTAG tags, and can write NDEF data such as a web link. NTAG213 holds 144 bytes, NTAG215 504 and NTAG216 888. Do not rely on a tag's UID for security.

Key specs at a glance

Frequency
13.56 MHz, ISO 14443A and NFC
PN532 interfaces
I2C, SPI or UART (HSU), chosen with switches or jumpers
Tags
NTAG213 (144 bytes), NTAG215 (504), NTAG216 (888), MIFARE Classic
Range
A few centimetres with the standard antenna
Supply
3.3 V or 5 V on breakout boards; check the module
Phones
Most Android phones and iPhones read NFC tags with NDEF data
01

PN532 or RC522?

Both read 13.56 MHz tags. The PN532 does more.

ReaderInterfacesStrengthsLimits
PN532I2C, SPI, UARTReads and writes NDEF, works with phones, peer-to-peer and card emulationCosts more
RC522SPI (some UART/I2C)Cheap, easy for learning UIDs; see RC522No phone card emulation, fewer features
PN5180SPISupports ISO 15693 and longer rangeMore complex
PN532
Interfaces:
I2C, SPI, UART
Strengths:
Reads and writes NDEF, works with phones, peer-to-peer and card emulation
Limits:
Costs more
RC522
Interfaces:
SPI (some UART/I2C)
Strengths:
Cheap, easy for learning UIDs; see RC522
Limits:
No phone card emulation, fewer features
PN5180
Interfaces:
SPI
Strengths:
Supports ISO 15693 and longer range
Limits:
More complex
02

Choosing NFC tags

NTAG stickers suit most projects: NTAG213 for a short URL, NTAG215 for amiibo-style data and larger records, NTAG216 for the most memory. MIFARE Classic cards store data in sectors protected by keys, but the encryption is weak. Check the tag shape and antenna: a sticker on metal needs a ferrite-backed tag.

03

Reading a tag UID

Set the PN532 to I2C mode, connect SDA, SCL, 5 V and ground, and use the Adafruit PN532 library.

PN532 read UID (I2C) · Arduino C++Verify & upload in Electrolark
#include <Wire.h>
#include <Adafruit_PN532.h>
Adafruit_PN532 nfc(-1, -1);            // I2C, no IRQ or reset pins

void setup() {
  Serial.begin(115200);
  nfc.begin();
  if (!nfc.getFirmwareVersion()) { Serial.println("PN532 not found"); while (1); }
  nfc.SAMConfig();
  Serial.println("Hold a tag near the reader");
}

void loop() {
  uint8_t uid[7], len;
  if (nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, uid, &len)) {
    Serial.print("UID:");
    for (uint8_t i = 0; i < len; i++) { Serial.print(" 0x"); Serial.print(uid[i], HEX); }
    Serial.println();
    delay(1000);
  }
}
04

Security and good practice

A tag's UID can be cloned, and MIFARE Classic keys can be recovered. Use tags for convenience features such as launching a page, logging in a classroom or tracking inventory, not for door locks or payments unless you use secure cards (such as DESFire) with properly managed keys. For phone-readable tags, write a URL as NDEF so the phone opens it on tap.

05

Try it: Frequency wavelength calculator

Change the values and the diagram and results update as you type.

06

Common mistakes to avoid

  • !Leaving the PN532 mode switches in the wrong position.
  • !Expecting range of more than a few centimetres.
  • !Putting a normal sticker directly on metal.
  • !Using UIDs as passwords.
  • !Writing more data than the tag capacity.
07

Frequently asked questions

Can a phone read my NFC tag?

Yes, if you write the data as NDEF. Most Android phones and recent iPhones read NTAG stickers.

Which NTAG should I buy?

NTAG213 for URLs, NTAG215 for more data, NTAG216 for the most memory.

Is NFC the same as RFID?

NFC is a type of 13.56 MHz RFID with extra features such as phone interaction.

Can the PN532 emulate a card?

It has card emulation features in some modes, but support varies and is limited.

Does it work with ESP32?

Yes, over I2C, SPI or UART with the same Adafruit library.

Parts for this guide

  • Seeed Studio Grove NFC Module PN532 w/ Antenna
    ₹2,429View
  • Waveshare PN532 NFC HAT for Raspberry Pi, Multi-Interface
    ₹2,089View
  • NTAG215 NFC Tag 13.56 MHz 504Byte Sticker – 25x25mm
    ₹49View
  • NXP Semiconductors NTAG213 NFC Sticker – 40mm Diameter Clear PET, 144 Byte Memory
    ₹38View
Shop RFID & NFC

Calculators

Frequency wavelength calculator

Terms in this guide

NFCNear-field communication: the 13.56 MHz standard used by phones and contactless cards. The RC522 reads MIFARE cards but not every NFC tag type.NDEFNFC Data Exchange Format: a standard way to store a URL, text or contact on an NFC tag so phones can read it.RFIDRadio-frequency identification: reading a small tag's ID wirelessly. Hobby readers use 125 kHz (EM4100) or 13.56 MHz (RC522, PN532).MIFARENXP's family of 13.56 MHz contactless cards and fobs (MIFARE Classic 1K is the usual one) read by the RC522.UIDThe unique ID burned into an RFID tag, usually 4 or 7 bytes, that a reader uses to tell tags apart.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.

Projects that use it

Put this into practice: 7 step-by-step builds in our project library use parts from this guide.

Intermediate · 2–3 hoursRFID card door lockView projectIntermediate · 2 hoursRFID talking flashcards for childrenView projectIntermediate · 2–3 hoursRFID card attendance loggerView project
Browse all 7 projects

Keep learning

How-toBeginnerRC522 RFID ReaderThe RC522 is a 13.56 MHz RFID reader that reads MIFARE cards and key fobs from a few centimetres away over SPI.3 min read · IoT & WirelessComponent guideIntermediateFingerprint Sensors (R307, R503, AS608)A fingerprint module such as the R307, R503 or AS608 has its own processor that captures, stores and matches fingerprints.3 min read · SensorsConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsConcept explainerIntermediateSPI ExplainedSPI (Serial Peripheral Interface) is a fast four-wire bus: SCK carries the clock, MOSI carries data from the controller, MISO carries data back, and a separate chip-select (CS) line per device chooses who is listening.3 min read · Electronics FundamentalsBuying guideBeginnerRaspberry Pi HATs ExplainedA Raspberry Pi HAT is an add-on board in the standard 65 x 56.5 mm size that plugs onto the 40-pin GPIO header.4 min read · Boards & MicrocontrollersComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & Microcontrollers

Sources

  • NXP PN532 user manual
  • NXP NTAG213/215/216 data sheet
  • NFC Forum NDEF specification

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerPN532 or RC522?Choosing NFC tagsReading a tag UIDSecurity and good practiceTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹4,605

Seeed Studio Grove NFC Module PN532 w/ Antenna · Waveshare PN532 NFC HAT for Raspberry Pi, Multi-Interface · NTAG215 NFC Tag 13.56 MHz 504Byte Sticker – 25x25mm · NXP Semiconductors NTAG213 NFC Sticker – 40mm Diameter Clear PET, 144 Byte Memory

Run itChange the inputs and watch the output
Serial monitor115200 baud
Hold a tag near the reader

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question