Community project

RFID Student Attendance Logger

Photo of RFID Student Attendance Logger
Generated with AI

AR-JAY MORETE

Published November 24, 2026

This RFID attendance logger automatically records student check-ins using RFID card readers and stores attendance data with precise timestamps. The system displays real-time information on an LCD screen and provides audio feedback through a buzzer when cards are scanned, making it ideal for classrooms, labs, or training facilities.

The guide includes a complete parts list, wiring diagram for connecting the MFRC522 RFID module, I2C LCD display, DS3231 real-time clock, and microSD card storage, plus step-by-step assembly instructions and Arduino firmware to get the attendance logger up and running.

Wiring diagram

Wiring diagram for RFID Student Attendance Logger
Loading diagram…

Gather all the parts

QtyComponent
1

MFRC522 RC522 SPI module

3.3 V power and divider-shifted inputs

1

LCD 16x2 I2C

16x2 character LCD display with I2C backpack

1

Adafruit DS3231 Precision RTC Breakout

DS3231 precision real-time clock breakout with integrated TCXO and crystal for accurate timekeeping over I2C.

1

Adafruit #254 microSD breakout

5 V power input, onboard regulation and input level shifting

1

Active 5V piezo buzzer, rated 10 mA max

Internally driven low-current DC piezo indicator

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

1 kΩ (1%)

Through-hole resistor (current-limiting in series with an LED)

1

Resistor

220 Ω

Through-hole resistor (current-limiting in series with an LED)

1

LED

green

Standard 3mm/5mm through-hole LED. A current-limiting series resistor is added automatically.

1

Resistor

220 Ω

Through-hole resistor (current-limiting in series with an LED)

1

LED

yellow

Standard 3mm/5mm through-hole LED. A current-limiting series resistor is added automatically.

1

Resistor

220 Ω

Through-hole resistor (current-limiting in series with an LED)

1

LED

red

Standard 3mm/5mm through-hole LED. A current-limiting series resistor is added automatically.

Assemble it in 5 steps

1. Set up the power rails with USB unplugged

Use a breadboard and jumper wires. Use red for 5V, orange for 3V3, black for GND, and blue for signals. Join ground rails, including across any breaks. Keep the two positive rails separate. Use a regulated 5V USB supply through the Uno USB jack only.

2. Build the four RFID dividers

Use twelve 1% 1 kΩ resistors. Each signal goes through its first resistor to the reader input junction. Put two more resistors end to end from that junction to ground. Keep wires short. Connect the reader MISO directly to D12 and leave IRQ open. Use MFRC522-compatible 13.56 MHz ISO 14443A tags.

  • Never connect the reader to 5V. Verify reader current stays within the Uno 3.3V pin's 50 mA limit.

3. Wire the four-pin LCD and clock

Use one 5V 16x2 LCD with an I2C backpack. Connect VCC to 5V and GND to GND. Connect SDA to Uno A4 and SCL to Uno A5, sharing those wires with the DS3231. Adjust contrast on the backpack. Verify the LCD address differs from the RTC address (0x68). Install the RTC backup cell specified by its maker.

4. Wire the shared SPI storage

On the Adafruit 254 breakout, VCC is marked 5V, MOSI is DI, MISO is DO and SCK is CLK. Leave its 3V output and CD pin open. Insert a FAT32 microSD card with power off. Verify any substitute accepts 5V power and logic and releases MISO when CS is high. A 3.3V-only substitute requires its own adequately rated 3.3V supply and input level conversion.

5. Add indicators and buzzer

Fit each LED with its own 220 Ω resistor and put its shorter cathode leg to ground. Connect the positive buzzer lead to D8 only for a 5V active piezo rated at 10 mA or less; higher-current or magnetic buzzers need a driver circuit instead.

Review all connections

1. Connections between "r1" and "Arduino"

Functionr1Arduino
digitalP1GPIO 10

2. Connections between "rfid" and "Arduino"

FunctionrfidArduino
digitalSDA → Resistor P2EXT
digitalSCK → Resistor P2EXT
digitalMOSI → Resistor P2EXT
digitalRST → Resistor P2EXT
powerVCC3V3
groundGNDGND
digitalMISOGPIO 12

3. Connections between "r2" and "Arduino"

Functionr2Arduino
digitalP1 → Resistor P2EXT

4. Connections between "r3" and "Arduino"

Functionr3Arduino
digitalP1 → Resistor P2EXT
groundP2GND

5. Connections between "r4" and "Arduino"

Functionr4Arduino
digitalP1GPIO 13

6. Connections between "r5" and "Arduino"

Functionr5Arduino
digitalP1 → Resistor P2EXT

7. Connections between "r6" and "Arduino"

Functionr6Arduino
digitalP1 → Resistor P2EXT
groundP2GND

8. Connections between "r7" and "Arduino"

Functionr7Arduino
digitalP1GPIO 11

9. Connections between "r8" and "Arduino"

Functionr8Arduino
digitalP1 → Resistor P2EXT

10. Connections between "r9" and "Arduino"

Functionr9Arduino
digitalP1 → Resistor P2EXT
groundP2GND

11. Connections between "r10" and "Arduino"

Functionr10Arduino
digitalP1GPIO 9

12. Connections between "r11" and "Arduino"

Functionr11Arduino
digitalP1 → Resistor P2EXT

13. Connections between "r12" and "Arduino"

Functionr12Arduino
digitalP1 → Resistor P2EXT
groundP2GND

14. Connections between "lcd" and "Arduino"

FunctionlcdArduino
groundGNDGND
powerVCC5V
i2cSDAGPIO 18
i2cSCLGPIO 19

15. Connections between "rtc" and "Arduino"

FunctionrtcArduino
powerVIN5V
groundGNDGND
i2cSDAGPIO 18
i2cSCLGPIO 19

16. Connections between "sd" and "Arduino"

FunctionsdArduino
powerVCC5V
groundGNDGND
digitalCSGPIO 14
digitalMOSI → Resistor P1EXT
digitalMISO → MFRC522 RC522 SPI module MISOEXT
digitalSCK → Resistor P1EXT

17. Connections between "bz1" and "Arduino"

Functionbz1Arduino
digitalPOSGPIO 8
groundNEGGND

18. Connections between "r13" and "Arduino"

Functionr13Arduino
digitalP1GPIO 15

19. Connections between "green" and "Arduino"

FunctiongreenArduino
digitalANODE → Resistor P2EXT
groundGNDGND

20. Connections between "r14" and "Arduino"

Functionr14Arduino
digitalP1GPIO 16

21. Connections between "yellow" and "Arduino"

FunctionyellowArduino
digitalANODE → Resistor P2EXT
groundGNDGND

22. Connections between "r15" and "Arduino"

Functionr15Arduino
digitalP1GPIO 17

23. Connections between "red" and "Arduino"

FunctionredArduino
digitalANODE → Resistor P2EXT
groundGNDGND

Deploy the firmware

#include <Arduino.h>
// Hardware-only reference: both SPI chip selects idle high.
void setup() {
  digitalWrite(10, HIGH);
  pinMode(10, OUTPUT);
  digitalWrite(A0, HIGH);
  pinMode(A0, OUTPUT);
}
void loop() {}

Remix this project

Make it yours in one click

Open a full copy of this project in your own Schematik workspace, diagram, code, parts, and assembly steps included. Swap the sensor, add features, or redesign the whole thing with AI. The author's original stays untouched.

Open in Schematik