Arduino Projects

RC522 RFID And GSM Based Attendance System

RFID And GSM Based Attendance System Using Arduino


  • In this article, we create an attendance system using the RC522 RFID module and GSM technology. This system will allow you to efficiently track attendance in various settings such as schools, and offices.

RFID GSM Based Students Attendance 3 scaled e1686487932885

  • Here we used RFID technology with the Arduino platform, we can easily identify and record attendance data, and send SMS to parents using GSM in real-time. Let’s use the components and make the step-by-step to build this attendance system.

Components Required





Arduino Nano



RC-522 RFID Module



16×2 LCD Display with I2C



GSM Module (SIM900a)









Zero PCB



USB cable (for programming the Arduino)


Arduino Nano

  • The Arduino Nano is a compact size microcontroller board based on the ATmega328P IC. It is part of the Arduino family of development boards with the popular Arduino environment. However, the Nano is small in size and is a total of 14 digital pins available and a total of 8 analogue pins available and also supports UART, SPI and I2C  Communication.

Motion Detection And Temperature Monitoring System Using Arduino1

ATmega328P microcontroller

  • The clock speed of 16 MHz.
  • The flash is memory 32KB for storing the program code
  • The SRAM for 2KB of data storage
  • The EEPROM of 1KB for non-volatile storage.
  • The digital and analog input/output pins can be used to interface with sensors, actuators, and other electronic components. It totals 14 digital I/O pins & 8 analog input pins.

The supports

  • UART (Universal Asynchronous Receiver&Transmitter)
  • SPI (Serial Peripheral Interface),
  • I2C (Inter-Integrated Circuit).
  • These all are interfaces with other devices such as sensors, displays, and wireless modules.

RC-522 RFID Module

  • RC522 – RFID Reader / Writer 13.56MHz with Cards Kit includes a 13.56MHz RF reader cum writer module that uses an RC522 IC and two S50 RFID cards.
  • The MF RC522 is a highly integrated transmission module for contactless communication at 13.56 MHz. RC522 supports ISO 14443A/MIFARE mode.

RC 522 RFID Module6

Key Features

  • Operating Frequency: The RC522 module operates at a frequency of 13.56 MHz, which is the standard frequency for many RFID systems.
  • SPI Interface: The RC522 module communicates with a microcontroller (such as Arduino) using the Serial Peripheral Interface (SPI) protocol.


    • The RC522 RFID tag, also known as an RFID card or transponder, is a small electronic device that contains a unique identification number or data. It is designed to be read by an RFID reader, such as the RC522 module, which uses radio frequency signals to communicate with the tag.

RC 522 RFID Module2

  • Unique Identification- Each RC522 RFID tag has a unique identification number, which is typically pre-programmed to the tag during manufacturing.


The SIM900 GSM/GPRS module is a versatile communication module that allows devices to connect to the Global System for Mobile Communications (GSM) network and transmit data over the General Packet Radio Service (GPRS).

Gsm SIM900A
GSM Module


Key Features

  • Quad-Band Operation: The SIM900A module supports quad-band operation, which means it can operate on four different GSM frequency bands: 850 MHz, 900 MHz, 1800 MHz, and 1900 MHz. This feature ensures compatibility with GSM networks worldwide.
  • Communication Interfaces: The module offers various communication interfaces to interact with external devices. It typically includes UART (Universal Asynchronous Receiver-Transmitter) for serial communication with microcontrollers like Arduino.

16×2 LCD Display

  • A 16×2 LCD is a liquid crystal display that can display 16 characters in two rows.
  • The “16×2” notation indicates the number of character positions available on the display.
  • The I2C (Inter-Integrated Circuit) interface is a communication protocol that allows for easy and efficient communication between microcontrollers and peripheral devices.


When an LCD is connected using the I2C interface, it typically requires fewer pins compared to a direct parallel connection, making it more convenient for projects with limited available pins on the microcontroller.

  • I2C Interface: The I2C interface uses a master-slave communication protocol.

Circuit Diagram

Circuit Diagram 5

Source Code 

  • Upload the code to the Arduino Nano using the Arduino IDE.
  • Test the system by scanning RFID tags and verifying if the attendance information is displayed on the LCD.

Necessary library




Project Demo

RFID GSM Based Students Attendance 3 scaled e1686487932885

RFID GSM Based Students Attendance 2

RFID GSM Based Students Attendance System With SMS Alert11

RFID GSM Based Students Attendance System With SMS Alert10

RFID GSM Based Students Attendance System With SMS Alert2

RFID GSM Based Students Attendance System With SMS Alert1


More Arduino Tutorial


  • By combining the power of the RC522 RFID module, 16×2 LCD, Arduino Nano, and GSM technology, we have created an efficient attendance system capable of real-time monitoring. This system provides accurate attendance data that can be used for various applications.
  • It is a versatile and cost-effective solution for organizations that require an automated attendance tracking system. Experiment with different features and enhancements to customize the system according to your specific needs.


Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker