You are on page 1of 6

2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Web-based Student Attendance System using RFID


Technology
Murizah Kassim, Hasbullah Mazlan, Norliza Zaini, Muhammad Khidhir Salleh
Faculty of Electrical Engineering
Universiti Teknologi MARA
40450 Shah Alam, Selangor, Malaysia
murizah@salam.uitm.edu.my, hasbullahmazlan@gmail.com, drnorliza@salam.uitm.edu.my, khidhir193@gmail.com

Abstract— This paper describes the development of a student place. In terms of attendance analysis, the lecturer also has to
attendance system based on Radio Frequency Identification perform manual computation to obtain the students’ attendance
(RFID) technology. The existing conventional attendance system percentage, which normally consume a lot of time.
requires students to manually sign the attendance sheet every
time they attend a class. As common as it seems, such system Having said the limitations imposed by the conventional
lacks of automation, where a number of problems may arise. This attendance recording system, we propose a solution in the form
include the time unnecessarily consumed by the students to find of an attendance tracking system based on RFID technology.
and sign their name on the attendance sheet, some students may The main idea behind the system is to capture student
mistakenly or purposely signed another student’s name and the attendance in a semi-automated way where the students are
attendance sheet may got lost. Having a system that can required to flash their student card at the RFID reader upon
automatically capture student’s attendance by flashing their entering the classroom. This way, the student ID is instantly
student card at the RFID reader can really save all the mentioned captured by the reader, after which the data is sent to the online
troubles. This is the main motive of our system and in addition server for recording purpose [3]. Such system promotes a more
having an online system accessible anywhere and anytime can organized and systematic student attendance recording.
greatly help the lecturers to keep track of their students’ Having the attendance data instantly uploaded to the online
attendance. Looking at a bigger picture, deploying the system server prevents data loss, while allowing the data to be
throughout the academic faculty will benefit the academic available and accessible to the lecturers or other academic
management as students’ attendance to classes is one of the key
staffs as long as they are connected to the internet [4]. The
factor in improving the quality of teaching and monitoring their
students’ performance. Besides, this system provides valuable
system also helps to automatically compute the percentage of
online facilities for easy record maintenance offered not only to attendance for each individual student. One related project was
lecturers but also to related academic management staffs referred [5], where an attendance system using the RFID
especially for the purpose of students’ progress monitoring. technology was developed in the university environment. This
work was taken as guidance in developing our web-based
Keywords-RFID, students attendance, online system, web, student attendance system by using the RFID technology.
sensor
II. SYSTEM DESIGN
I. INTRODUCTION The web-based student attendance system using Radio
The most common means of tracking student attendance in Frequency Identification (RFID) technology promotes semi-
the classroom is by enforcing the students to manually sign the automated recording of student attendance, developed
attendance sheet, which is normally passed around the especially for the university. In drawing the system design, a
classroom while the lecturer is conducting the lecture. There number of web-based methods and frameworks have been
are numerous disadvantages of using such system. For reviewed and referred [6-7]. Some comparisons performed on
instance, lecturers with a large class may find the hassle of the different technologies being used in the similar systems
having the attendance sheet being passed around the class and were also learnt [8]. Related research on the system-
the manual signing of attendance by students are burdensome development and testing were also reviewed to provide
and most likely distract them from teaching and getting full guidance in customizing and evaluating the process, while
attention from the students [1]. Besides, as the attendance sheet learning the disciplined approach in designing the proposed
is passed around the class, some students may accidentally or system [9-13].
purposely sign another student's name. The first case leads to a
Our proposed system consists of three main modules
student missing out their name, while the latter leads to a false
namely the RFID reader module, Data Reporter module and
attendance record. Another issue of having the attendance
Web server module. Those modules are integrated together in
record in a hardcopy form is that a lecturer may lose the
order to allow its full functionality. Each module carries its
attendance sheet [2]. As a consequence of that, lecturer can no
own functions and special features. The general process flow is
longer trace the students overall attendance record throughout
illustrated in Figure 1, where all of these components are
the particular semester. Apart from that, a lecturer also has
involved and operational.
limited access to the single-copy record, e.g. only at the work

978-1-4673-2036-8/12/$31.00 ©2012 IEEE 213


2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

AC900
RFID reader Student
ID card

Figure 3: Data Transmission between an RFID reader and a student card

Figure 1: The overall student attendance recording process B. Data Reporter


Data Reporter is a component that fetches all logging data
from the RFID reader such as the captured student ID, time and
date for every 30 minutes interval. The collected data are then
passes to the online server, which will record the data into the
database. This component should always be kept up and
running and needs to be automatically restarted each time the
operating system reboots.

C. Web Server
The web server here refers to either hardware (computer) or
software (application) that helps to deliver content publicly
accessible through the Internet. It provides the web site
Figure 2: System Architecture of the web-based student attendance system functionality by accepting requests from the user’s browser and
using RFID
responds by sending back HTML documents (Web pages) and
The overall architecture of the system is illustrated in files. To enable the system dynamic functionalities, the web
Figure 2, where the three main components are shown. Each of server hosts the data collector component, a database and the
these components will be described in the following sub- graphical user interface (GUI) pages enabling online
sections. interaction with the system users.

A. RFID Reader and Tag D. Data Collector


RFID reader is the device capable of reading and retrieving The role of the online data collector is to continually listen
information stored inside the RFID tags. There are two types of to incoming data sent by the Data Reporter component. The
RFID reader, which are the active and passive RFID readers. received log data will then be inserted to the database for
Active RFID reader can detect an active RFID tag while recording purpose.
passive RFID reader can only detect passive RFID tag at a few
centimeters away from the reader. The RFID reader being used E. Database
in the system is a low cost reader for reading passive RFID A database is defined as an organized collection of data and
tags. It operates at 0~ 400C temperatures, 20~80% of humidity, tailored to our system, our database is employed to mainly
125 kHz frequency and 12V power supply [7]. The effective store the data captured by the RFID reader. Secondarily the
detection range of the reader is around 5-8cm. database is also used to store data gathered from the online
Each RFID tag has a unique serial number or ID. There are web-interface, such as class schedule and students personal
three types of RFID tags which are active, semi-passive and information. In offering more features to the users, our online-
passive. The main difference between these RFID tags is that system can manipulate the recorded student attendance record
active and semi-passive RFID tags require internal battery by querying the database for complex data retrieval [14]. This
while passive RFID tags do not use any internal battery. includes automated operation, such as summarizing an
Adapted to our scope of work, the student cards being used to individual student attendance by calculating the attendance
identify each individual student are the RFID cards that consist percentage for a particular course.
of passive RFID tag, which do not require internal battery [6].
When such cards are passed through the field generated by a F. Graphical User Interface (GUI)
compatible Reader, they transmit information back to the The GUI component of the system is purposely developed
Reader [7]. Figure 3 illustrates how data transmission is for friendly interaction with the users. Both types of users,
performed between an RFID reader and a student card. namely the students and academic staffs are given unique

214
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

access to their individual member area, where the students can


access their personal information, while the academic staffs can
monitor their students information. The developed GUI is in
the form of dynamic web pages, which are database driven.
This signifies that the information displayed on the web pages
are constructed based on the data extracted from the database.
The web pages are categorized into four modules, namely the
User List, Log, Timetable and Attendance. The pages are
developed using the Hypertext Preprocessor (PHP) scripting
language and compatible with all major web browsers [15].

III. SYSTEM IMPLEMENTATION


Based on the system design presented earlier, the system
implementation was carried out. The overall process flow of
Figure 5: Network connection multiple RFID Reader to Web Based Attendance
system implementation is illustrated in Figure 4, which System server
composed of 5 main steps. The deployment of networked
RFID readers is also illustrated in Figure 5.
B. Web Development
The web application was initially developed on a local host
that runs the XAMPP server. Having such web server hosted
on the local host allows the PHP scripts to be developed and
locally tested and debugged. Besides the web server, a database
server is also run on the local host allowing the scripts’
connectivity with the database. The database design will be
briefly described next.

C. MySQL Database
The web-based Student Attendance system is connected
directly to a MySQL database. In general, there are four main
tables created to store the collected data. A table called the Log
table is used to store all users’ logging data that include the
check-in date and time, paired with the student ID. These data
are initially captured by the Data Reporter component from the
RFID reader, which are then submitted to the Data Collector,
which is responsible in storing the data onto the database. The
User table is another table in the database that is used to record
the students’ details that include their profile information such
as name, address, email, phone number and etc. Courses
information such as the course code, scheduled class venue,
start and end time class are loaded into the Timetable table.
Meanwhile the analyzed students’ attendance information is
recorded in the Attendance database. A set of pre-defined SQL
Figure 4: Overall process flow in developing the Web Based Student's queries are written into common functions allowing easy data
Attendance System
insertions, update and retrievals for web-page displaying
purpose.
A. RFID System Device
The system employs RFID-Mifare terminals as the readers, D. Web Graphical User Interface (GUI) Design
which can be installed across all classrooms or laboratories, A user is allowed to enter the member area by logging in to
each denoting a specific venue [15-16]. These readers are the system via a login form. This type of authentication is
connected to a hub or a switch through RJ45 port or also important in order to prevent access by unauthorized users. The
known as LAN port. In this setting, the hub or switch is linked system grants access to 3 different types of users namely the
to a router for internet access, which is required in order to Administrator, Lecturer and Student. According to the user
connect the RFID readers to the Data Reporter component via type, each user is given the specific level of access. For
TCP/IP protocol. instance, the Administrator level is given an access not only to
view but to moderate and modify data in the system. In
contrast, other user levels will be given only limited access to
the system.
For easy reference, the GUI is designed with the horizontal
style for navigation menu. For administrators, a navigation

215
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

menu is given that provides links to the four main


functionalities of the system. These include the “User List”
function for adding and removing the students’ personal
details. “Log” function is provided for the purpose of
monitoring the students’ check-in details. The “Timetable”
function is used to manage the classes’ schedule, while the
“Attendance” function is to monitor the students’ attendance.
Figure 6 shows the navigation-menu design of the system.

Figure 7: The hardware and application testing process flow

Figure 6: GUI navigation menu

IV. SYSTEM TESTING AND RESULT


To ensure the system correctness and completeness, system
testing has been performed across the system environment that
includes the client-side application, server-side application and
the hardware.

A. Hardware and Application Integration Testing


RFID Reader was tested by having it to capture the ID and
current timestamp for several RFID student cards in order to
ensure the device is not malfunction and operates as desired.
Firstly, a new student card is flashed to the RFID Reader to
capture and recognize the card’s unique ID. The captured ID is
then used to register the mapped student ID into the system.
Once registered, the student card can then be used by flashing it
to the RFID Reader to record the student attendance. For this
purpose, the log data, which include the current timestamp, is
also recorded.
Figure 8: The online system testing process flow
The next step was to set up the Data Reporter component so
that it is able to fetch log data from RFID Reader and pass it to
Data Collector. Both Data Reporter component and the log B. Online System
table (in the database) are then monitored for new log data Unit testing for each online component was performed by
specifically to detect whether Data Reporter has successfully monitoring the outputs they produced through a web browser.
fetched and passed the log data to Data Collector, which will Such testing was done while coding each of the defined
store the data into the log table. If no new log data was component. In detailed, after coding a particular function of a
recorded, Data Reporter and Data Collector components would particular online component in PHP, the result or output is
be debugged and reconfigured until they successful perform the observed through the web browser. If there was no display or
required function. Figure 7 illustrates the process flow of the an error was displayed, the recently coded function will be
hardware and application testing. debugged through a PHP editor. The similar test was
performed to validate SQL queries performed onto the
database. If an SQL query was found to return a wrong result,
then the query would be debugged to attain the desired result.

216
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

Once all online pages are correctly displayed, an integrated significantly improve the current manual process of student
system testing would be performed between the RFID reader attendance recording and tracking system, especially in a
and the online system together to complete the overall system university or school environment. The system promotes a semi-
testing. Figure 8 illustrates the process flow of the online automated approach in capturing the student attendance, i.e. by
system testing. having the students to flash their student cards to the RFID
reader.
C. System Testing Results
In general, our aim to develop a prototype of a Web Based
Student Attendance System was successful. The user-login
authentication process was successfully tested, which prevents
an unauthorized access into the system. Once a user is
successfully logged in, the user is given the access to the main
page that displays a menu listing a set of features offered to the
user. Figure 9 illustrates the Web Based Student Attendance
System login interface.
Figure 10 shows the system Web Based Student Attendance
System Users List page, viewable only by the system
administrator. On this Users List page, all users’ details are Figure 11: Web Based Student Attendance System User details page
displayed. In addition the administrator may choose to display
a list of users according to their role, namely administrator, In addition, a number of other advantages are gained by
lecturer or student role. From the displayed list, the having an online web-based system, acting as a central
administrator is allowed to add new users or to delete existing repository of student attendance record. Firstly all processes of
users by clicking the delete or add user button. Figure 11 shows managing the student attendance record are performed online,
a page displaying the student’s detailed information. This page allowing administrators and lecturers to view or modify the
is called the Student Attendance System User details page. For users’ data through any computer via the web browser, as long
the similar feature, an administrator may view details of all as they are connected to the Internet. This way, no specific
users, while a lecturer may only view details of users identified software installation is required. The captured student
as student. A particular student may only view details of their attendance data are also processed and analyze automatically
own account. On such page, an administrator can edit details of with less risk of data loss, compared to a manual filing
any user and a lecturer may edit details of a student but a approach. Specific to lecturers or teachers, they can easily
student is not allowed to do any modification to their data. monitor their students’ attendance online and this could
improve the quality of teaching since less time is needed to
manage the student attendance record. The developed system
can be improved and upgraded further, e.g. by extending the
system with new features and modules or by improving the
web-interface layout with new display style. Better yet the
system can be enhanced further to offer another significant
enhancement where the system can be extended to monitor
staff attendance record.

REFERENCES
[1] Gatsheni, B.N., R.B. Kuriakose, and F. Aghdasi. Automating a student
class attendance register using radio frequency identification in South
Figure 9: Web-Based Student Attendance System login menu Africa. in Mechatronics, ICM2007 4th IEEE International Conference
on. 2007.
[2] Mahyidin, M.F. Student Attendance Using RFID System. 2008
December 2012]; Available from: http://umpir.ump.edu.my.
[3] Tokiwa, Y., K. Nonobe, and M. Iwatsuki. Web-based tools to sustain the
motivation of students in distance education. in Frontiers in Education
Conference, 2009. FIE '09. 39th IEEE. 2009.
[4] He, Z. and J. Zheng. Design and Implementation of Student Attendance
Management System Based on MVC. in Management and Service
Science, 2009. MASS '09. International Conference on. 2009.
[5] Company, C. Web Based RFID System. http://www.chiyu-t.com.tw/
2011 [cited 2011 April 2011].
Figure 10: Attendance List menu [6] Kassim, M. and S. Yahya. A case study: Reliability of smartcard
applications and implementation in university environment, Malaysia. in
2009 International Semiconductor Device Research Symposium, ISDRS
V. CONCLUSION '09. 2009. USA.
The developed Web-Based Student Attendance System
using Radio Frequency Identification technology will

217
2012 IEEE Control and System Graduate Research Colloquium (ICSGRC 2012)

[7] Lim, T.S., S.C. Sim, and M.M. Mansor. RFID based attendance system.
in Industrial Electronics & Applications, 2009. ISIEA 2009. IEEE
Symposium on. 2009.
[8] Kassim, M., C.K.H.C.K. Yahaya, and M.N. Ismail. A prototype Of Web
Based Temperature Monitoring system. in 2010 2nd International
Conference on Education Technology and Computer (ICETC), . 2010.
Shanghai, China.
[9] Yahaya, C.K.H.C.K., M.N. Ismail, and M. Kassim. A study on
automated, speech and remote temperature monitoring for modeling
Web based temperature monitoring system. in 2010 2nd International
Conference on Education Technology and Computer (ICETC). 2010.
Shanghai, China.
[10] Yahaya, C.K.H.C.K., et al., A framework on halal product recognition
system through smartphone authentication, in (2011) Lecture Notes in
Electrical Engineering. 2011. p. 49-56.
[11] Sulaiman, N.A. and M. Kassim. Developing a customized software
engineering testing for Shared Banking Services (SBS) System. in 2011
IEEE International Conference on System Engineering and Technology,
ICSET 2011. 2011. UiTM, Shah Alam, Malaysia.
[12] Sulaiman, N.A., M. Kassim, and S. Saaidin. Systematic Test and
Evaluation Process (STEP) approach on Shared Banking Services (SBS)
System identification. in 2010 2nd International Conference on
Education Technology and Computer (ICETC). 2010. Shanghai, China.
[13] Sulaiman, N.A. and M. Kassim. An approach using RUP Test Discipline
process for Shared Banking Services (SBS) system. in (2010) 2nd
International Conference on Computer Research and Development,
ICCRD 2010. 2010. Kuala Lumpur, Malaysia.
[14] Qaiser, A. and S.A. Khan. Automation of Time and Attendance using
RFID Systems. in Emerging Technologies, 2006. ICET '06. International
Conference on. 2006.
[15] Aljawarneh, S., et al. A Web Client Authentication System Using Smart
Card for e-Systems: Initial Testing and Evaluation. in Digital Society,
2010. ICDS '10. Fourth International Conference on. 2010.
[16] Wahab, M.H.A., et al. Web-based laboratory equipment monitoring
system using RFID. in Intelligent and Advanced Systems (ICIAS), 2010
International Conference on. 2010.

218

You might also like