top of page

Smart attendance system using Arduino

Heading 1

Businesswomen Walking in Hallway

Radiofrequency identification is a technology that uses radio waves to transfer data from an electronic tag, called RFID tag or label, attached to an object, through a reader for the purpose of identifying and tracking the object. The RFID technology is a matured technology that has been widely deployed by various organizations as part of their automation systems. In this study, an RFID based system has been built in order to produce a time-attendance management system. This system consists of two main parts which include: the hardware and the software. The hardware consists of the motor unit and the RFID reader. The RFID reader, which is a low-frequency reader (125 kHz), is connected to the host computer via a serial to USB converter cable. The Time-Attendance System GUI was developed using visual basic.Net. The Time-Attendance Management System provides the functionalities of the overall system such as displaying live ID tags transactions, registering ID, deleting ID, recording attendance and other minor functions. This interface was installed on the host computer.


The aim of this project is to build an Arduino based attendance system. This project uses RFID technology to make a note of every student entering into the classroom and also to calculate the time resides in the class. In this proposed system, every student is allotted with an RFID tag. The process of attendance can be done by placing the card near the RFID reader. It a system which can be installed institutions for attendance. Everyone is allotted a UID card with unique identification They show the UID card to the RFID RC 522 modal card, then the system fetch their identification and mark an attendance.

The tag's information is stored electronically. The RFID tag includes a small RF transmitter which transmits an encoded radio signal to interrogate the tag, and receiver which receives the message and responds with its identification information. Some RFID tags do not use a battery. Instead, the tag uses the radio energy transmitted by the reader as its energy source. The RFID system design includes a method of discriminating several tags that might be within the range of the RFID reader. RFID can be used in many applications. A tag can be affixed to any object and used to track and manage inventory, assets, people, etc. For example, it can be affixed to cars, computer equipment, books, mobile phones, etc. The Healthcare industry has used RFID to reduce counting, looking for things and auditing items. Many financial institutions use RFID to track key assets and automate compliance. Also with recent advances in social media RFID is being used to tie the physical world.


Components Required

  1.  Arduino Uno .
  2.  Rfid  Rc522 Card .
  3.  Bread board .
  4.  220 Ohm resistor .
  5.  Buzzer .
  6.  16*2 LCD .
  7.  Jumper wire .
  8.  LED .
  9.  Battery 5v

Circuit Diagram:-

                          (Figure 1)

Programming Arduino for Smart attendance system

#include <SPI.h>

#include <MFRC522.h>

#include <LiquidCrystal.h>

#define RST_PIN 9

#define SS_PIN 10

MFRC522 mfrc522(SS_PIN, RST_PIN);

int const RedLed=6;

int const GreenLed=5;

int const Buzzer=8;

void setup() {

Serial.begin(9600);

while (!Serial);

SPI.begin();

mfrc522.PCD_Init();

delay(800);

mfrc522.PCD_DumpVersionToSerial();

Serial.println(F("Scan PICC to see UID, SAK, type, and data blocks..."));

pinMode(RedLed,OUTPUT);

pinMode(GreenLed,OUTPUT);

pinMode(Buzzer,OUTPUT);

}

void loop() {

if ( ! mfrc522.PICC_IsNewCardPresent()) {

return;

}

// Select one of the cards

if ( ! mfrc522.PICC_ReadCardSerial()) {

return;

}

String content= "";

byte letter;

for (byte i = 0; i < mfrc522.uid.size; i++)

{

content.concat(String(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "));

content.concat(String(mfrc522.uid.uidByte[i], HEX));

}

Serial.println();

Serial.print("Name: ");

content.toUpperCase();

if (content.substring(1) == "56 A5 26 F9")

{

Serial.println("sonesh yadav");

Serial.print("Roll No:");

Serial.println("1904723");

Serial.print("Mobile No:");

Serial.println("9457277850");

digitalWrite(GreenLed,HIGH);

delay(800);

digitalWrite(RedLed,LOW);

digitalWrite(Buzzer,HIGH);

delay(800);

digitalWrite(Buzzer,LOW);

digitalWrite(GreenLed,LOW);

delay(800);

}

else if (content.substring(1) == "41 3D 9B 20")

{

Serial.println("Ashish kushwah");

Serial.print("Roll No:");

Serial.println("1904684");

Serial.print("Mobile No:");

Serial.println("8954242805");

digitalWrite(RedLed,HIGH);

delay(800);

digitalWrite(GreenLed,LOW);

digitalWrite(Buzzer,HIGH);

delay(800);

digitalWrite(Buzzer,LOW);

digitalWrite(RedLed,LOW);

delay(800);

}

else {

Serial.println("Invalid");

delay(800);

}

}

Applications

  1.  RFID Sensed Device Access using Arduino.
  2. Indication of Parking Availability System
  3. RFID Technology based Car Parking Management.
  4.  Paid Car Parking with RFID technology.

-----------------------------------------------------------------------------------------------------------------------

This project is made by Sonesh Kumar and Ashish Kushwah.

bottom of page