RFID and Raspberry Pi Based Attendance System

We have previously used RFID in many of our RFID projects and already built a RFID based Attendance System using 8051, here we are going to build RFID Based Attendance System using Raspberry Pi.

In this RFID based Attendance System project, we will explain you that how can we authorize and count attendance automatically by using RFID cards. RFID Technology (Radio Frequency Identification and Detection) is commonly used in schools, colleges, offices and stations for various purposes to automatically keep track of people.  Here we will count the attendance of an authorized person by using RFID.

rfid and raspberry pi based attendance system
RFID and Raspberry Pi Based Attendance System

If you are not familiar with Raspberry Pi, we have created a series of tutorials to learn Raspberry Pi, with interfacing with all the basic components and some simple projects to start with, do check.

Components Used:

  • Raspberry Pi (with booted SD card)
  • Push button
  • Buzzer
  • 16×2 LCD
  • 10k pot
  • 10K Resistor
  • LED
  • 1k Resistor
  • Bread board
  • RFID Reader
  • Power  5 volt
  • RFID tags or Cards
  • Ethernet Cable
  • Connecting wires

RFID Reader and Tags:

RFID is an electronics device which has two parts – one is RFID Reader and other is RFID tag or Card. When we put RFID tag near to the RFID reader, it reads tag data serially. RFID tag has 12 digit character code in a coil. This RFID is working at baud rate of 9600 bps. RFID uses electromagnet to transfer data from Reader to Tag or Tag to Reader.

Working Explanation:

Here Raspberry Pi 3 is controlling the whole the process of this project (User can use any Raspberry Pi Board). RFID Reader reads the RFID card ID, this data is received by Raspberry Pi through UART, then RPi validates the card and shows the results on LCD screen.

When a person put their RFID tag near over the RFID reader to scan, RFID reads tag’s data and sends it to Raspberry Pi. Then Raspberry Pi reads the Unique Identification Number of that RFID tag and then compares this data with predefined data or information. If data is matched with predefined data, then Raspberry Pi increments the attendance of the tag’s person by one and if matched is not matched then microcontroller shows ‘Invalid Card’ message on LCD and buzzer is beeping continuously for some time. And here we also added a push button to see total no. of attendance of all the students. Here we have taken 4 RFID tags in which three are used to record the attendance of three students and one is used as a invalid card.

Circuit Description:

Circuit diagram for this Raspberry Pi Attendance System Project is very simple, which contains Raspberry Pi 3, RFID Reader, RFID Tags, buzzer, LED and LCD. Here Raspberry Pi controls the complete process like Reading Data coming from the Reader, comparing data with predefined data, driving buzzer, driving Status LED and sending status to LCD display. RFID Reader is used to Read RFID Tags. Buzzer is used for indications and driven by inbuilt NPN transistor. LCD is used for displaying status or messages on it.

schematic rfid and raspberry pi based attendance system

For more detail: RFID and Raspberry Pi Based Attendance System

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Follow Us:
Scroll to Top