An RFID-based Smart School Attendance and Monitoring System
An RFID-based Smart School Attendance and Monitoring System
College of Engineering and Technology, American University of the Middle East, Egaila, Kuwait
Email: [email protected]
Abstract. In this paper, a smart attendance system for students attending school is proposed. The proposed
attendance system is based on radio frequency identification (RFID) technology to facilitate automation and
convenience. The proposed RFID attendance system (RFID-AS) should be used by school administration to ensure
safety for students, as well as for grading and evaluation purposes. After careful study, passive RFID technology is
selected to be used by the proposed system because of its reasonable cost. The main components of the system are an
RFID tag, an RFID reader, Visual Studio [eXpressApp Framework (XAF) tool], and SQL Server to compare the data
from the RFID tag with the students’ database to record attendance automatically. A graphical user interface (GUI)
is developed using Visual Studio (XAF tool) to allow parents and school faculty to log in and browse the students’
records. Students will pass the classroom door, which will have an integrated RFID reader device to read their RFID.
The paper discusses the design of the solution as well as the testing scenarios.
Keywords: Attendance, RFID, Internet of things (IoT), safety, education, monitoring.
26
RFID Attendance System 27
(MAC) addresses to the instructor’s mobile phone, the Table 1. Constraints for the school attendance system design.
present status of the student can be confirmed. The main Criteria Constraints
drawback of this proposed technique is that a student’s Affordability Privacy
Accuracy RFID can be easily disrupted using
phone is required for attendance, which is not a grantee.
energy at the right frequency.
In Ref. [16], the author describes how an attendance Security of the system RFID tags can be read from far away
management system (AMS) based on Bluetooth and NFC distances using high-gain antennas.
technologies was implemented in a multi-user setting. To User-friendly GUI Using UHF readers can harm students’
verify the user’s identification, it uses their fingerprint and health.
the Bluetooth address of their NFC-enabled phone.
The NFC tag IDs, along with other data related to the
user and their mobile device, are collected by a Java-based According to the survey in the preceding section, the
desktop program, which then sends them to an analyzer majority of attendance systems are designed in non-
for interpretation of the user’s behavior. However, in this practical ways that are costly, unreliable, and time-
instance, as a disadvantage, students must have NFC- consuming (slow). Therefore, the goal of this paper is to
enabled phones to sign in to the classroom. make school attendance tracking easier, look into ways
A fingerprint scanner that is utilized in the school atten- to cut down on absences, and improve communication
dance system was created by Basheer et al. [17]. The between parents and the school to improve safety.
students indicate their presence by pressing their finger- Given that school dropout rates are still high in many
tips against the sensor of the apparatus. The fingerprint countries, the current study aims to expand on the previous
scanner’s lack of dependability and frequent damage are research by developing an intelligent attendance system
disadvantages. Furthermore, it is impractical for recording using RFID (RFID-AS) for schools and universities. Due
attendance because students must wait in a long queue to to its ability to connect “things” to their online virtual
use the fingerprint scanner. identities [20], RFID technology is essential for the imple-
In Ref. [18], face recognition technology is used to mentation of the Internet of Things (IoT) [21, 23]. Finally,
make the AMS more intelligent. This technique involves the paper will test the RFID attendance system in a few
installing a closed-circuit television (CCTV) camera at classrooms at a higher level of education to evaluate the
the entrance to a classroom, which automatically takes a effectiveness of our system [24].
person’s picture and compares it to a database of faces
using an android-enhanced smartphone. Usually, it serves
two purposes. First, determining a student’s attendance by PROJECT AND DESIGN OBJECTIVES,
comparing freshly created facial photos, and second, iden- CRITERIA, AND CONSTRAINTS
tifying those who are unfamiliar with their surroundings,
such as an illegal person. The main design objectives of the proposed attendance
A recent development in picture verification is the use of systems are as follows:
three-dimensional (3D) face recognition, which promises
to match image databases more accurately and be able to (a) To know how to connect an RFID reader with a
identify an individual from various vantage points. Once database and the way the RFID readers are installed
more, the time-consuming comparison of the collected in the school. The RFID reader will read the data and
image with the photos of every student is a challenge in send it to the interface on the server to compare the
this approach; therefore, it is relatively slow. data received with the database on structured query
To measure student attendance on mobile devices, a language (SQL).
student information tracking system for Android is being (b) Develop the process of taking attendance by using
developed in Ref. [19]. This technology lets teachers notify RFID technology.
students about the events that the college will host by (c) Develop a database for students using SQL to take
enabling them to take attendance, update attendance, view attendance automatically.
student bunks, and distribute key information in portable
document format (PDF) formats, such as exam timetables Several criteria as well as some imposed constraints
and question banks. must be respected during the design process of the RFID-
This system works on any device. Any mobile device AS, which are summarized in Table 1.
with the Android operating system can have this system
loaded on it. The issue with this system is that it was built
for the Android platform and cannot be used with iOS or DESCRIPTION OF THE DESIGN
any other mobile operating system. It is also incredibly
time-consuming to record student attendance on a mobile The main design features of the proposed attendance sys-
device. tems are described in the following sections.
28 Wael A. Farag
Proposed Conceptual Design who has permission to edit the database and who can only
view specific data.
The first possible design was to build a real-time location
Also, we used Visual Studio 2019 [32] to write code
system (RTLS) [22] that tracks and pinpoints a person’s
that can identify the reader and connect the reader with
location in real-time in indoor locations. It uses active RFID
the database to compare. Also, this code is written to
tags [25] as unique IDs for each student, multiple RFID
specify some cases; for example, our code doesn’t allow the
reader devices to pinpoint the location of the tag [26], a
scanning of an RFID tag more than once every 10 seconds;
database to hold the necessary data, and a code to connect
this way, the student’s attendance status won’t be taken
the RFID readers with the database for comparison.
twice. Lastly, on the XAF tool, we can print a report on the
The second possible solution is using passive RFID tags
student’s grades, attendance status, and any other data we
as a method of recording attendance in conjunction with
wish to add.
an RFID reader and a database similar to the one for
the RTLS system. The third possible solution is to use
fingerprints [17] rather than RFID tags with the help of HIGH-LEVEL SYSTEM DESIGN
a fingerprint scanner to scan the fingerprints of students,
create a database for students’ fingerprints, and use dig- The highlights of the high-level design of the proposed
ital signal processing to process the fingerprints of these attendance systems are described in the following sections.
students to compare [27] them with this database. In this
article, the second solution is selected, which depends on Attendance and Grade Point Average
passive RFID tags for several reasons that are explained in
the following sections. A study trying to correlate early class attendance
with strong academic performance during the academic
semester was done at the Technical University of Denmark
Reviewing the Selected Solution with Justification
(DTU) [33]. It was done for two years, from 2013 until 2015,
After comparing the three possible solutions we had at and included students of different academic years.
our disposal, it has been decided to go with the second In the study, 78% of the students were male and 22%
solution, which is to build an attendance system using were female, and they were from 24 different majors. Fur-
passive RFID tags. This solution is chosen since it meets ther, 60% of the sampled students were in their freshman
the set criteria of affordability. We want to implement this year, 25% in their sophomore year, and the other 15% were
system in different schools, and one primary factor for in their junior year. The sampled students were divided
schools accepting this system is cost. Our system is not into five groups based on their attendance, and then their
expensive, as passive RFID tags are quite cheap (from academic performance, or grade point average (GPA), was
prices collected from Alibaba.com [28]: 100 RFID tags cost measured for each group.
15 USD and 1 RFID reader cost 80 USD) compared to active In the upper graph of Figure 1, we can see that 60% of
RFID [28]. students attended more than 75% of classes, and it also
Also, passive RFID tags can last much longer than active shows the correlation between attendance and the term
RFID tags since they don’t require batteries to be active; grade of each group. The lower graph of Figure 1 also
instead, they receive the power needed from the reader. shows the variation inside each group. We can observe
Also, readers for RFID tags are cheaper than fingerprint from this graph that the group with the highest attendance
scanners. Also, this system is accurate in taking readings percentage had the highest grades compared to the left-
as it recognizes the student through an ID number rather most group, which had significantly lower grades.
than relying on digital signal processing, which requires a Also, the rate of failing goes from 23% in the left-most
high-quality fingerprint scanner and is time-consuming. group to only 4% in the right-most group, which means
that this study can predict [34] the percentage of failing
Final Design and Preliminary Cost classes. This study shows that there’s a significant corre-
lation (>0.5) between attendance and GPA [33].
Our system consists of a passive RFID tag that holds a
unique identification number unique to that tag only and
Radio Frequency Identification Technology
does not rely on an external battery to function; instead, it
gets its power from the reader as the reader will induce Radio frequency identification, or RFID, is a technology
voltage and current from its magnetic field. The second that uses small microelectronic chips or tags that have
is the RFID reader, which is a device that can power up a unique identity that can be detected wirelessly. RFID
an RFID tag to get the card’s unique ID number, which was first used on aeroplanes in the 1940s to distinguish
will then compare it to the database [29]. For the database, friendly from hostile passengers. Years later, RFID was
we built a database for students on SQL Server [30] using used primarily in small-scale applications such as auto-
eXpressApp Framework (XAF) [31] which allows us to matic registers, electronic toll collection, and anti-theft
manipulate the database freely and allows us to specify applications.
RFID Attendance System 29
Figure 8. Interface for XAF on Visual Studio. Figure 9. Interface for SQL database.
based on the SQL server on when the student enters the The main goal of this project is to find a way to ensure the
school and flashes the ID at the reader.. safety of children in schools, make attendance easier, and
ultimately raise the learning level in classrooms.
Discussion of Design’s Modifications The goal of this project is to develop a system that will
benefit schools, parents, and teachers while saving time
A global system for mobile (GSM) communication module when taking attendance. To accomplish this, we used an
can be added to the attendance server to be used to send RFID tag and reader along with a software program called
a message to the parents if the student did not attend the XAF to quickly take attendance. Additionally, a user log-in
classes. We can also add readers for the buses to track [38] will be created for parents to track their child’s attendance
the moves of the student to ensure their safety. for classes, grades, and a variety of other features.
[3] W Farag, “Lidar and Radar Fusion for Real-Time Road-Objects [21] X. Jia, Q. Feng, T. Fan, and Q. Lei, “RFID technology and its
Detection and Tracking”, Intelligent Decision Technologies 15 (2), applications in Internet of Things (IoT),” 2012 2nd International Con-
291–304, 2021. ference on Consumer Electronics, Communications and Networks
[4] W Farag, “Bayesian Localization in Real-Time using Probabilis- (CECNet), 2012, pp. 1282–1285, DOI: 10.1109/CECNet.2012.6201508.
tic Maps and Unscented-Kalman-Filters”, Journal of Engineering [22] M. Nagiub and W. Farag, “Automatic selection of compiler options
Research 10 (3A), pp. 109–132, 2022. using genetic techniques for embedded software design,” 2013 IEEE
[5] W Farag, “Road-objects tracking for autonomous driving using lidar 14th International Symposium on Computational Intelligence and Infor-
and radar fusion”, Journal of Electrical Engineering 71 (3), 138–149, matics (CINTI), 2013, pp. 69-74, DOI: 10.1109/CINTI.2013.6705166.
2020. [23] Mochamad Fajar Wicaksono, Myrna Dwi Rahmatya, “IoT for Resi-
[6] Novian Adi Prasetyo, Yudha Saintika, “Integration between Moodle dential Monitoring Using ESP8266 and ESP-NOW Protocol”, Jurnal
and Academic Information System using Restful API for Online Ilmiah Teknik Elektro Komputer dan Informatika (JITEKI), Vol. 8(1),
Learning”, Jurnal Ilmiah Teknik Elektro Komputer dan Informatika 2022, pp. 93–106.
(JITEKI), Vol. (2), 2021, pp. 358–367. [24] Wael Farag, “Kalman-filter-based sensor fusion applied to road-
[7] W Farag, “A lightweight vehicle detection and tracking technique for objects detection and tracking for autonomous vehicles”, Proceed-
advanced driving assistance systems”, Journal of Intelligent & Fuzzy ings of the Institution of Mechanical Engineers, Part I: Journal of
Systems 39 (3), 2693–2710, 2021. Systems and Control Engineering, 235(7), pp. 1125–1138, 2021.
[8] Patel, Unnati A., and S. Priya. “Development of a student attendance [25] A. Kalnoskas, “How do RFID tags and reader antennas work?”,
management system using RFID and face recognition: a review.” Analog IC Tips, 2018. [Online]. Available: https://www.analogic
International Journal of Advance Research in Computer Science and tips.com/rfid-tag-and-reader-antennas/. [Accessed: 02-Dec-2018].
Management Studies, Vol. 2(8) (2014), pp. 109–119. [26] KB Patel, HC Lin, AD Berger, W Farag, AA Khan, “EDC draft force
[9] T. S. Lim, S. C. Sim, and M. M. Mansor, “RFID based attendance based ride controller”, US Patent 6,196,327, 2001.
system,” 2009 IEEE Symposium on Industrial Electronics & Applications, [27] W. A. Farag, V. H. Quintana, and G. Lambert-Torres, “Genetic
2009, pp. 778–782, algorithms and back-propagation: a comparative study,” Conference
[10] Hicham El Mrabet, and Abdelaziz Ait Moussa. “IoT-School Atten- Proceedings. IEEE Canadian Conference on Electrical and Computer
dance System Using RFID Technology.” International Journal of Engineering (Cat. No. 98TH8341), 1998, pp. 93–96, vol. 1, DOI:
Interactive Mobile Technologies (iJIM), Vol. 14(14), pp. 95–108, 10.1109/CCECE.1998.682559.
(2020). [28] “Rfid-Rfid Manufacturers, Suppliers, and Exporters on Alibaba.com
[11] M. Kassim, H. Mazlan, N. Zaini and M. K. Salleh, “Web-based stu- Access Control Card”, Alibaba.com, 2019. [Online]. Available: https:
dent attendance system using RFID technology,” 2012 IEEE Control //www.alibaba.com/trade/search?fsb=y&IndexArea=product_e
and System Graduate Research Colloquium, 2012, pp. 213–218. n&CatId=&SearchText=RFID+. [Accessed: 30-Apr-2019].
[12] Chew, Cheah Boon, et al. “Sensors-enabled smart attendance systems [29] W Farag, “Multiple Road-Objects Detection and Tracking for
using NFC and RFID technologies.” Int. J. New Computer Architec- Autonomous Driving”, Journal of Engineering Research 10 (1A),
ture and their Applications, 5 (2015): 19–29. pp. 237–262, 2022.
[13] C.Saraswat, A. Kumar, “ An Efficient Automatic Attendance Sys- [30] “Download Microsoftr SQL Serverr 2019 Express from Official
tem using Fingerprint Verification Technique ”, ChitreshSaraswat Microsoft Download Center”, Microsoft.com, 2019. [Online]. Avail-
et al./(IJCSE) International Journal on Computer Science and Engi- able: https://www.microsoft.com/en-us/download/details.aspx?i
neering Vol. 02, No. 02, 2010, 264–269. d=101064, [Accessed: 22-Apr-2022].
[14] M. Mattam, S. R. M. Karumuri, and S. R. Meda, “Architecture for [31] “Low-Code .NET Application Development for Desktop and the
Automated Student Attendance,” in Proc. IEEE Fourth International Web”, https://www.devexpress.com/products/net/applicatio
Conference on Technology for Education (T4E 2012), pp. 164–167, 18– n_framework/, [Accessed: 5-Nov.-2022].
20 July 2012, DOI: 10.1109/T4E.2012.39. [32] “Download Microsoftr Visual Studio 2019 Express from Official
[15] Vishal Bhalla, Tapodhan Singla, Ankit Gahlot and Vijay Gupta, Microsoft Download Center”, Microsoft.com, 2019. [Online]. Avail-
“Bluetooth Based Attendance Management System”, International able: https://visualstudio.microsoft.com/downloads/, [Accessed:
Journal of Innovations in Engineering and Technology (IJIET) Vol. 3 22-Apr-2022].
Issue 1 October 2013, ISSN: 2319-1058. [33] V. Kassarnig, A. Bjerre-Nielsen, E. Mones, S. Lehmann, and D.
[16] Media Anugerah Ayu, “TouchIn: An NFC Supported Attendance Lassen, “Class attendance, peer similarity, and academic perfor-
System in a University Environment”, International Journal of Infor- mance in a large field study”, PLOS ONE, vol. 12, no. 11, p. e0187078,
mation and Education Technology, Vol. 4, No. 5, October 2014, DOI: 2017.
10.7763/IJIET.2014.V4. [34] Wael Farag, “Safe-driving cloning by deep learning for autonomous
[17] M. K. P. Basheer and C. V. Raghu, “Fingerprint attendance system cars”, International Journal of Advanced Mechatronic Systems,
for classroom needs,” in Proc. India Conference (INDICON), 2012 Inderscience Publishers, Vol. 7(6), pp. 390–397, 2019.
Annual IEEE, pp. 433–438, 7–9, Dec. 2012. [35] Y. Wu, D. Ranasinghe, Q. Sheng, S. Zeadally and J. Yu, “RFID enabled
[18] K. MuthuKalyani and A. VeeraMuthu, “Smart Application For AMS traceability networks: a survey”, Distributed and Parallel Databases,
Using Face Recognition”, Computer Science & Engineering: An vol. 29, no. 5–6, pp. 397–443, 2011.
International Journal (CSEIJ), Vol. 3, No. 5, October 2013, DOI: [36] K. Mansour, W. Farag, and M. ElHelw, “AiroDiag: A sophisticated
10.5121/cseij.2013.3502. tool that diagnoses and updates vehicles software over air,” 2012
[19] Samuel King Opoku, “An Automated Biometric Attendance Man- IEEE International Electric Vehicle Conference, 2012, pp. 1–7, DOI:
agement System with Dual Authentication Mechanism Based on 10.1109/IEVC.2012.6183181.
Bluetooth and NFC Technologies”, International Journal of Com- [37] WA Farag, VH Quintana, G Lambert-Torres, “An optimized fuzzy
puter Science and Mobile Computing, IJCSMC, Vol. 2, Issue. 3, March controller for a synchronous generator in a multi-machine environ-
2013. pg 18–2, ISSN 2320-088X. ment”, Fuzzy Sets and Systems 102(1), 71–84, 1999.
[20] Wael Farag, “An Innovative Remote-Lab Framework for Educa- [38] W. Farag and Z. Saleh, “An advanced vehicle detection and tracking
tional Experimentation”, International Journal of Online Engineer- scheme for self-driving cars,” 2nd Smart Cities Symposium (SCS 2019),
ing, Vol. 13(2), 2017, pp. 68–86. 2019, pp. 1–6, DOI: 10.1049/cp.2019.0222.
34 Wael A. Farag
[39] Wael Farag, “Real-Time Detection of Road Lane-Lines for [41] Wael Farag, “Real-Time Autonomous Vehicle Localization Based on
Autonomous Driving”, Recent Advances in Computer Science Particle and Unscented Kalman Filters”, Journal of Control, Automa-
and Communications, pp. 265–274, Vol. 13(2), April 2020. tion and Electrical Systems 32, pp. 309–325, 2021.
[40] Wael Farag, “A Comprehensive Real-Time Road-Lanes Tracking [42] Wael Farag, “Climacon: An autonomous energy efficient climate
Technique for Autonomous Driving”, International Journal of Com- control solution for smart buildings”, Asian Journal of Control 19
puting and Digital Systems 9(3), pp. 349–362, 2020. (4), 1375–1391, 2017.