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. ›Projects
  3. ›NFC + RFID logger

IoT & wireless projects

Attendance logger that reads both NFC and 125 kHz RFID cards

One Arduino reads 13.56 MHz NFC tags with a PN532 and 125 kHz cards with an EM-18, and logs every card with a beep.

By Geekobot Learning Team

Intermediate
Difficulty
2 hours
Build time
₹939
Parts cost
8
Parts
Arduino
Platform
Add all parts · ₹939Start building
  • Learning & classroom
  • Workshop & industry
  • Safety & security
UNO
Tap a part to see what it does
OverviewPartsWiringBuildCodeTroubleshootFAQIdeas

What you'll build

Schools and workshops often have a mix of card types. 13.56 MHz NFC cards and tags (MIFARE, NTAG) need a reader like the PN532, while older 125 kHz EM4100 cards need a reader like the EM-18. This logger reads both, prints the card ID and beeps, ready to send to a sheet or SD card.

What you'll learn

  • The two common RFID frequencies
  • I2C and UART readers
  • Why a card UID is not a secure key
Safety

Tell people what is logged and keep attendance data private.

  1. SensePN532 and EM-18 readers
  2. ThinkArduino reads the card ID
  3. ActSerial log and beep

Parts list

Tick anything you already have and the total updates.

PartQtyPrice
  • UNO
    Uno R3 CH340G ATmega328p Compatible Development Board
    GB-SBCD-0329Guide

    Reads both readers

    × 1₹204₹204
  • PN532 NFC RFID Reader Writer Module V0.0.1 – I2C/SPI/HSU Interface
    GB-SENS-2573

    13.56 MHz NFC reader

    × 1₹289₹289
  • EM-18 RFID Reader Module, 125 kHz
    GB-IOWC-9510Guide

    125 kHz reader with serial output

    × 1₹280₹280
  • RFID / NFC Cards and Tags
    GB-IOWC-9002Guide

    Test cards and tags

    × 1₹14₹14
  • Generic T5577 EM4305 125KHz Reproducible RFID Induction Card – PVC
    GB-SENS-2521Guide

    125 kHz cards for the EM-18

    × 1₹58₹58
  • Buzzer Module 3.3–5V
    GB-AUDO-0001Guide

    Beeps on each read

    × 1₹27₹27
  • Solderless Breadboard
    GB-PROT-0001Guide

    Holds the parts without soldering

    × 1₹18₹18
  • Dupont Jumper Wires (40 pcs)
    GB-WIRE-0001Guide

    Connects the parts

    × 1₹49₹49

Complete kit

8 of 8 parts in one tap

₹939

GST included

3% off these parts while the whole kit stays in your cart

Parts you still need

₹939

8 of 8 parts. Tick anything you already have.

About ₹28,170 before bulk pricing for 30 kits.

Request bulk quote

Learn the parts

  • Atal Tinkering Lab (ATL)
  • 125kHz RFID
  • USB RFID Card Readers and NFC Tags
  • Active vs Passive Buzzers
  • Arduino Uno

Calculators for this build

  • GPIO pin current budget calculator

Wiring

Follow the colours: red is power, dark grey is ground, blue is a signal.

PartPinConnect toNote
PN532 (I2C mode)SDA / SCLA4 / A5Set the module's switches to I2C
PN532IRQ / RSTOD2 / D3
PN532VCC / GND5V / GND
EM-18TXD8 (SoftwareSerial RX)9600 baud
EM-18VCC / GND5V / GND
BuzzerI/OD6
  • PN532 (I2C mode)SDA / SCL → A4 / A5Set the module's switches to I2C
  • PN532IRQ / RSTO → D2 / D3
  • PN532VCC / GND → 5V / GND
  • EM-18TX → D8 (SoftwareSerial RX)9600 baud
  • EM-18VCC / GND → 5V / GND
  • BuzzerI/O → D6
Built it? Check your wiring before you power up.Pick the pin each wire went to and we'll point out swapped pins, power mistakes and pins that clash.

Step-by-step build

0 of 5 done

Code

dual_rfid.inoVerify & upload in Electrolark
#include <Wire.h>
#include <Adafruit_PN532.h>
#include <SoftwareSerial.h>
Adafruit_PN532 nfc(2, 3);          // IRQ, RESET (I2C mode)
SoftwareSerial em18(8, 9);         // RX from EM-18 TX
const int BUZZ = 6;

void beep() { digitalWrite(BUZZ, HIGH); delay(80); digitalWrite(BUZZ, LOW); }

void setup() {
  Serial.begin(115200);
  em18.begin(9600);
  pinMode(BUZZ, OUTPUT);
  nfc.begin();
  if (!nfc.getFirmwareVersion()) { Serial.println("PN532 not found"); while (1); }
  nfc.SAMConfig();
}

void loop() {
  uint8_t uid[7], len;
  if (nfc.readPassiveTargetID(PN532_MIFARE_ISO14443A, uid, &len, 100)) {
    Serial.print("NFC ");
    for (uint8_t i = 0; i < len; i++) { if (uid[i] < 16) Serial.print('0'); Serial.print(uid[i], HEX); }
    Serial.println(); beep(); delay(800);
  }
  if (em18.available() >= 12) {    // 10 ID characters + 2 checksum characters
    char id[13] = {0};
    em18.readBytes(id, 12);
    Serial.print("125k "); Serial.println(id); beep();
    while (em18.available()) em18.read();
  }
}

Run it: what this code does

The sketch above runs here on a simulated Arduino Uno. Move the sliders for the sensors and buttons it reads, and watch the Serial monitor, display and outputs change.

Troubleshooting

PN532 not found+

Check the DIP switches are set to I2C and SDA/SCL are on A4/A5.

EM-18 prints nothing+

It reads only 125 kHz cards; NFC tags will not work on it.

Same card logs twice+

Increase the delay after a read.

FAQ

Is the UID secure?+

No, UIDs can be copied. Use it for attendance, not for locks.

Can the PN532 write tags?+

Yes, NTAG tags can store a URL or text.

Can I log to a sheet?+

Use an ESP32 instead of the Uno and post each ID to a web app.

What parts do I need to build the attendance logger that reads both NFC and 125 kHz RFID cards?+

8 parts: Uno R3 CH340G ATmega328p Compatible Development Board, PN532 NFC RFID Reader Writer Module V0.0.1 – I2C/SPI/HSU Interface, EM-18 RFID Reader Module, 125 kHz, RFID / NFC Cards and Tags, Generic T5577 EM4305 125KHz Reproducible RFID Induction Card – PVC, Buzzer Module 3.3–5V, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.

How hard is it and how long does it take?+

It is a intermediate project and takes about 2 hours. The build on this page has 5 steps.

Do I need to write the code myself?+

No. This page has the complete, tested code (dual_rfid.ino).

Can I see what the code does before I build it?+

Yes. The Run it panel under the code runs this exact sketch on a simulated board. Move the sliders or press the buttons for the sensors it reads, and the Serial monitor, display and outputs react as they will on the real build. It is a simulation, so real readings depend on your parts and wiring.

How much does the attendance logger that reads both NFC and 125 kHz RFID cards cost to build?+

About ₹939 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.

What will I learn from this project?+

The two common RFID frequencies; I2C and UART readers; Why a card UID is not a secure key.

Is it safe to build?+

Tell people what is logged and keep attendance data private.

What can I build next with these parts?+

Ideas that reuse this build: Modbus RS485 reader. They are listed under Take it further on this page.

Take it further

  • Modbus RS485 reader

Related projects

  • NANO
    IoT & wireless
    Intermediate· 2 hours

    GPS speedometer and clock

    A bike or car speedometer that needs no wheel sensor: satellites do the measuring.

    ₹768 · 5 partsArduino
  • UNO1865018650
    IoT & wireless
    Intermediate· 2–3 hours

    GPS route logger

    Records where you went every five seconds, ready to open on a map.

    ₹1,795 · 10 partsArduino
  • UNO
    IoT & wireless
    Intermediate· 2–3 hours

    Wireless doorbell with nRF24L01

    Two boards, two radios: press the button at the gate and it rings indoors.

    ₹426 · 8 partsArduino
  • C3
    IoT & wireless
    Beginner· 1–2 hours

    Wi-Fi weather station dashboard

    Check temperature, humidity and pressure from any phone on your Wi-Fi.

    ₹552 · 5 partsESP32

Learning project. Check every circuit and the datasheet of each part before you power it up.

Run itChange the inputs and watch the output
Buzzer (D6) silent
Serial monitor115200 baud
PN532 not found

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 Share your build