Arduino Projects

RC522 RFID And GSM Based Attendance System

RFID And GSM Based Attendance System Using Arduino

Introduction

  • 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

S.N

Components

Quantity

1

Arduino Nano

1

2

RC-522 RFID Module

1

3

16×2 LCD Display with I2C

1

4

GSM Module (SIM900a)

1

5

RED LED

1

6

GREEN LED

1

7

Zero PCB

1

8

USB cable (for programming the Arduino)

1

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. It requires connections to the SPI pins (MISO, MOSI, SCK) and additional pins for chip selection (NSS) and reset (RST).
  • Multiple Card Detection: The module has the capability to detect multiple RFID tags or cards in its proximity simultaneously. This allows for efficient reading and processing of multiple tags within range.
  • Embedded Antenna: The RC522 module has an integrated antenna, eliminating the need for an external antenna. This simplifies the module’s setup and integration into projects.

RFID TAG

    • 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 or written to the tag during manufacturing. This unique ID distinguishes each tag from others and allows for individual tracking and identification.

GSM SIM900A

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, allowing easy integration into projects. Some versions of the SIM900A module may also provide additional interfaces such as SPI (Serial Peripheral Interface) or I2C (Inter-Integrated Circuit).

16×2 LCD Display

  • A 16×2 LCD display 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.

Component2

When an LCD display 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. The microcontroller acts as the master and the LCD display module as the slave. The I2C interface allows for multiple devices to be connected on the same bus, each with a unique address.

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

RTC()

RFID()

GitHub

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

Video

 

More Arduino Tutorial

Conclusion

  • By combining the power of the RC522 RFID module, 16×2 LCD display, 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.

Prateek

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...❤️

One Comment

Leave a Reply

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

Back to top button