Attendance System using AVR and RFID

This project aims to automate the process of taking attendance on pen and paper and prevent any fraudulent entry. It uses RFID tags to record attendance. Each student is assigned a unique tag, which he/she is required to swipe over the reader to give his/her attendance. This system benefits both the teacher and student as its quick and hassle free. This setup can be used in any educational institution regardless of whichever board they follow. Data is stored in a CSV file which keeps track of each day’s attendance.
System Design: The main component of the system is the RFID reader which transmits a 12-byte ASCII string via the TTL-level SOUT pin. This helps to identify a student from the rest, as each TAG generates a unique ASCII string. This String is then fed to the AVR’s RX line which processes it for marking his/her attendance.
DIY - Waveform Generator using AVR Microcontroller
The start byte and stop byte are used to easily identify that a correct string has been received from the reader (they correspond to a line feed and carriage return characters, respectively). The middle ten bytes are the actual tag’s unique ID. This ID is then matched with the ID stored on MCU’s flash memory to get the name, roll no and other details. Once a match has been found it is then dumped to the SD card along with the date and time stamp.
Attendance System using AVR and RFID Scamatic
Data entry and retrieval: For this project to work Student name and roll number along with their tag ID must be preconfigured in the program. To get the Tag ID of a new RFID card I have written a simple program which can be used when the database is been updated. Adding or editing any info is as simple as modifying the array. All information is stored in 3 different arrays namely “tag”, “name”, “roll”. Care must be taken while editing the information with respect to array index. Whenever there’s a hit with the tag ID the corresponding name and roll number is returned.
Data is stored on a SD card for convenience. Every day a new file gets created with date as the filename (e.g. 5102013.CSV) and records the attendance. File extension is comma separated value (CSV) which can be imported by Excel or MS Access.
Usage: Usage is fairly simple. The Tag card must be brought close to the RFID reader so that the student can record his/her attendance. An LED on board the RFID reader blinks to acknowledge the same.
For more detail:  Attendance System using AVR and RFID


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

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

Scroll to Top