0% found this document useful (0 votes)
72 views34 pages

Mini 2

The document describes an automated attendance system using fingerprint recognition and SMS alerts. The system uses an Arduino microcontroller, fingerprint sensor and GSM module. It scans fingerprints, matches them to stored templates and sends SMS alerts to notify authorities when attendance is marked. The system aims to streamline attendance taking and provide real-time updates by leveraging fingerprint identification and mobile communication.

Uploaded by

Mi Mi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views34 pages

Mini 2

The document describes an automated attendance system using fingerprint recognition and SMS alerts. The system uses an Arduino microcontroller, fingerprint sensor and GSM module. It scans fingerprints, matches them to stored templates and sends SMS alerts to notify authorities when attendance is marked. The system aims to streamline attendance taking and provide real-time updates by leveraging fingerprint identification and mobile communication.

Uploaded by

Mi Mi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

VISVESVARAYA TECHNOLOGICAL

UNIVERSITY
BELGAUM, KARNATAKA-590014

Automated attendance system based on fingerprint


with SMS alert
A Mini Project report submitted to Visvesvaraya Technological University In partial fulfillment of
requirements for the award of the Degree

BACHELOR OF ENGINEERING
In

ELECTRONICS AND COMMUNICATION ENGINEERING


Submitted By
SWATHI PRABHU 4PM20EC083
UNNATHI H R 4PM20EC089
VAISHANAVI A O 4PM20EC090

Under the guidance


Mr.CHETHAN B R
Assistant Professor,

DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

PES INSTITUTE OF TECHNOLOGY AND


MANAGEMENT
SHIVAMOGGA-577204

2022-2023
PES INSTITUTE OF TECHNOLOGY AND MANAGEMENT
NH-206, Sagar Road, Shivamogga-577204, Karnataka, India.
Affiliated to VTU, Belagavi, Approved by AICTE, New Delhi,and Accredited by NAAC & NBA,
Recognized by Govt. of Karnataka. An ISO 9001:2015 Certified Institute.

Department of Electronics & Communication Engineering


CERTIFICATE

This is to certify that the miniproject work entitled“……………………………”


was carriedout jointly by
Ms..………………………,USN…………………..………,
Ms..………………………,USN…………………..………,and
Ms.………………………,USN……………………….., is a bonafide studentof
PES Institute of Technology & Management in partial fulfillment for the award
Bachelor of Engineering in Electronics & Communication Engineering of
theVisveswaraiah Technological University,Belgaum during the year 2022-23. It
iscertified that all corrections/suggestions indicated for Internal Assessment have
beenincorporated in the Report deposited in the departmental library.

The mini project report has been approved as it satisfies the academic requirements
inrespect of mini project work prescribed for the said Degree.

Mr. CHETHAN B R Dr. Madhavi M.


Assistant. Professor Professor and HOD
and Guide

External Viva
Name & Signature of the
examiners with date:-
1.
2.
Acknowledgement

We would like to place on record my deep sense of gratitude to MR.CHETHAN B R,


Department of Electronics and Communication Engineering, PES Institute of
Technology & Management, Shivamogga for his generous guidance, help and useful
suggestions.

We are indebted to Mr. Jagadish M, Mini Project Coordinator for his assistance. We also
extend our heartfelt gratitude to Dr. Madhavi M., HoD, Department of Electronics &
Communication Engineering and to Dr. Chaitanya Kumar M.V., Principal, for their
advice and suggestions at various stages of the work.

We are extremely thankful to the management of PES Institute of Technology &


Management, Shivamogga for providing us infrastructural facilities to work in, without
which this work would not have been possible.

Lastly, we take this opportunity to offer our regards to all of those who have supported
us directly or indirectly in the successful completion of this project work.

SWATHI PRABHU
UNNATHI H R
VAISHNAVI A O

1
Institute Vision and Mission
Our Vision
To be the most preferred institution for engineering & management education,
research and entrepreneurship by creating professionally superior and ethically strong
global manpower.

Our Mission
To prepare students for professional accomplishments and responsible global citizenship
while fostering continuous learning and to provide state-of-the-art education through the
committed and highly skilled faculty by partnering and collaborating with industry and
R&D institutes.

Department Vision and Mission

Our Vision
To be a leading center of excellence in the field of electronics and communication
engineering for learning and research with professional ethics.
Our Mission
• To provide quality technical education for students to develop into globally
competent professionals.
• To develop a framework for collaboration and multidisciplinary activities to
ensure ethical and value based education to address social needs.

Program Educational Objectives (PEOs)

Electronics and Communication Engineering Graduates within 3-5


years of Graduation should have;
• PEO 1: To develop the ability among students to understand the concept of core
subjects.
• PEO 2: To give exposures to emerging technologies, adequate training and
opportunities to work as team on multidisciplinary projects with effective
communication skills.
• PEO 3: To cultivate ethical practices in Professional, Societal &
Environmental needs by engaging in life-long learning.

Program Specific Outcomes (PSOs)

Electronics and Communication Engineering Graduates Will Have the Ability to;
• PSO1: Analyze and design analog and digital circuits or systems for a given
specification and function.
• PSO2: Implement functional blocks of hardware-software co-designs for signal
processing and communication applications.

2
Abstract:

The automated attendance system based on fingerprint using Arduino with SMS alert is a
solution designed to streamline the attendance process in various institutions, such as
schools, colleges, and organizations. It leverages fingerprint recognition technology to
accurately identify individuals and record their attendance. The system is built using
Arduino, a microcontroller platform, which provides the necessary hardware and software
interfaces for fingerprint scanning and SMS communication.The system consists of several
components, including a fingerprint sensor, Arduino board, GSM module, and a database for
storing attendance records. When a person places their finger on the sensor, the fingerprint is
scanned and compared with the pre-stored fingerprint templates in the database. If a match is
found, the system marks the attendance for that person and sends an SMS alert to a
designated phone number, notifying the relevant authority or guardian about the attendance
status.The Arduino board acts as the central processing unit, coordinating the communication
between the fingerprint sensor and GSM module. It captures the fingerprint data, performs
the matching process, and triggers the SMS alert if necessary. The GSM module enables the
system to send SMS messages to the designated phone number, providing real-time
attendance updates.This automated attendance system offers several advantages over
traditional methods. It eliminates the need for manual attendance taking, reducing
administrative workload and potential errors. The system also enhances accuracy and
security by using fingerprint recognition, ensuring that attendance records cannot be
manipulated. Additionally, the SMS alert feature enables immediate notifications, allowing
for prompt action in case of any irregularities or absences.In conclusion, the automated
attendance system based on fingerprint using Arduino with SMS alert is an efficient and
secure solution for managing attendance in various institutions. By leveraging fingerprint
recognition and SMS communication, the system simplifies the attendance process, improves
accuracy, and enables real-time monitoring and notification.

3
4
TableofContents 5

ListofFigures 6

1 Introduction 1
1.1 Motivation.. .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Objectives. . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Methodology ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.4 BlockDiagram ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Applications.. .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 AdvantagesandDisadvantages... . . . . . . . . . . . . . . . . . . . .
1.7 OrganisationofReport. . .. . . . . . . . . . . . . . . . . . . . . . . .

2 Literaturesurvey
3SoftwareRequirements 69
3.1 Description of software used .. . . . . . . . . . . . . . . . . . . . . . . .
4 SystemBlockDiagram 10
4.1 SoftwareImplementation.. .. . . . . . . . . . . . . . . . . . . . . . . 10

5 ResultAnalysis 12
5.1 Original Image... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5.2 Hidden Image........................ . . . ........5.3 Secret data.. . . . . . . . . . . 15
. . . . . . . . . . . . . . .
9

6 ConclusionandFuturescope 13

References 14
Personal profile 15

4
5
Automated attendance system based on fingerprint with SMS alert 2022-2023

of figures
4.1Methodology ............................................................................................................................. 10

5.1 OriginalImage ................................................................................................................... 12


5.2 Hidden Image ................................................................................................ 12
5.3Hidden Data ........................................................................................................................... 13

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Chapter 1

Introduction

An automated attendance system based on fingerprint using Arduino is an innovative and


efficient way to track attendance in various settings, such as schools, offices, and other
organizations. This system utilizes the unique biometric characteristics of fingerprints to
identify and record attendance data accurately.Traditionally, attendance systems relied on
manual methods, such as paper-based sign-in sheets or ID card swiping. These methods were
prone to errors, time-consuming, and easily manipulated. With the advancement of technology,
automated attendance systems offer a reliable and convenient solution.The Arduino, an open-
source electronic platform, serves as the core of this system. It provides the necessary hardware
and software capabilities to interface with fingerprint sensors and record attendance data. The
fingerprint sensor scans and captures the unique fingerprint patterns of individuals, which are
then compared with the pre-stored data in a database.The system operates in a simple and
efficient manner. When a user places their finger on the fingerprint sensor, it captures an image
of their fingerprint and processes it to extract unique features. These features are compared
with the pre-stored templates of authorized users in the system's database. If a match is found,
the system marks the attendance for that user.The Arduino board processes the data from the
fingerprint sensor and communicates with a display module, such as an LCD screen, to provide
real-time feedback to users. It can also be connected to a computer or network to store
attendance data or generate reports for further analysis.The advantages of an automated
attendance system based on fingerprint using Arduino are numerous. It eliminates the need for
manual record-keeping, reduces human error, and provides accurate and real-time attendance
data. The system is also secure, as fingerprints are unique to each individual, making it difficult
to impersonate or manipulate attendance records.In conclusion, an automated attendance
system based on fingerprint using Arduino offers an efficient, accurate, and secure method for
tracking attendance. By leveraging the power of biometrics and technology, organizations can
streamline their attendance management processes and improve overall efficiency.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

1.1 Objective
The objectives of an automated attendance system based on fingerprint using Arduino with
SMS alert are as follows:Accurate Attendance Tracking,The system should accurately track
attendance based on fingerprint recognition, ensuring precise recording of attendance data
without errors or discrepancies.Real-time SMS Alerts,The system should send real-time SMS
alerts to designated recipients when specific attendance events occur, such as late arrivals,
absences, or unauthorized access attempts. This enables immediate notification and timely
response.Customizable Alert Configuration,The system should provide the flexibility to
customize the SMS alerts, allowing administrators to define the trigger conditions, recipients,
and content of the messages. This customization accommodates the unique requirements of
different organizations or institutions.Proxy Attendance Prevention,By relying on fingerprint
recognition, the system should effectively prevent proxy attendance, ensuring that only the
rightful individual can mark their attendance. This enhances the integrity and accuracy of
attendance records.Emergency Situations,The system should be capable of detecting and
responding to emergency situations, such as prolonged absence or unexpected events. It
should send SMS alerts to predefined emergency contacts, enabling swift action and
support.Attendance Monitoring and Reporting, The system should provide tools for
monitoring and analyzing attendance data. It should generate reports or statistics that help
identify attendance patterns, trends, and potential areas for improvement.User-friendly
Interface,The system should have a user-friendly interface, guiding users through the
attendance process. It should provide clear instructions and feedback to ensure a smooth and
convenient experience for individuals using the system.Data Security and Privacy,The
system should prioritize the security and privacy of attendance data. It should implement
measures to safeguard sensitive information, such as encrypting the data and adhering to
relevant data protection regulations.Error Handling and Validation,The system should handle
errors or exceptions that may occur during the attendance tracking or SMS alert process. It
should perform validation checks to ensure data accuracy and reliable delivery of SMS
alerts.Integration and Scalability,The system should have the capability to integrate with
other systems or software, such as attendance management systems or HR databases. It
should also be scalable, accommodating different settings and varying numbers of users
without compromising performance.By achieving these objectives, an automated attendance
system based on fingerprint using Arduino with SMS alert provides a robust and efficient
solution for accurate attendance tracking, timely communication, and enhanced security in
various educational, corporate, or organizational settings.

1.2 Problem statement


Attendance is an important part of daily classroom evolution. At the beginning & ending of
class , it is usually checked by the teacher, but it may appear that a teacher maymiss someone
or some student answer multiple times. Fingerprint based Attendence system is a problem of
recognizing fingetprint for taking attendence.It also enhances the speed of performing the
attendance task easily.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

1.3 Methadolagy
The design is based on a modular approach. The entire architecture can be divided into 4
different sections which are as follows:
Input section (Fingerprint sensor).
Control section (Arduino).
Display unit (LCD)
Output section (GSM and PC).
The student is expected place his/her finger on the fingerprint scanner.the scanner then
records the unique biometric of the individual and compares it with the database which
contains biometric of all the student’s once a match is obtained the door will open.then passes
this data to the Arduino (ATmega328P) and students attendance gets marked and is displayed
on LCD display. Here the Arduino is the primary element which takes all the important
decisions.The Arduino is connected to two output devices one is the GSM (Global system
for mobile communication) which sends a text message (i.e., SMS) to the required mobile
phone.

1.4 Scope of the project


The scope of a biometric attendance system encompasses the following components and
functionalities:Biometric Technology,The system will utilize biometric technology, such as
fingerprint recognition, facial recognition, or iris scanning, to uniquely identify individuals
based on their physiological or behavioral characteristics.Data Capture,The system will
include hardware devices, such as fingerprint scanners or cameras, to capture biometric data
from individuals during the attendance process.Biometric Matching,The system will perform
biometric matching algorithms to compare the captured biometric data with pre-registered
templates in a database, verifying the identity of individuals.Attendance Tracking,The system
will accurately record attendance by associating the verified identity with the attendance
event, capturing the date, time, and relevant details.User Interface,The system will have a
user-friendly interface to guide individuals through the attendance process, providing clear
instructions and feedback.Database Management,The system will include a database or
storage mechanism to securely store and manage attendance data, enabling efficient retrieval,
analysis, and reporting.Integration with Other Systems,The system may integrate with other
systems or software, such as human resource management systems or payroll systems, to
synchronize attendance data and facilitate administrative processes.Real-time Feedback,The
system will provide real-time feedback to users, indicating successful or unsuccessful
attendance registration. It may use visual indicators, such as displays or LED lights, to
provide attendance status updates.Security and Privacy,The system will prioritize the security
and privacy of biometric data and attendance records. It will employ encryption techniques,
access control measures, and compliance with relevant data protection regulations.Reporting
and Analysis,The system may offer reporting and analysis features, generating attendance
reports, statistics, and insights to aid in attendance management and decision-making
processes.Scalability,The system should be designed to handle different scales of attendance
requirements, accommodating various settings, such as small classrooms, large
organizations, or multi-site deployments.Integration with Access Control,The system may
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023
integrate with access control systems to provide seamless access to authorized areas based
on the verified identity.The scope of a biometric attendance system can vary based on specific
requirements, technology choices, and organizational needs. It may involve additional
functionalities, customization, or integration with other systems to create a comprehensive
and tailored solution for attendance management.

1.5 limitations
An automated attendance system based on fingerprint using Arduino with SMS alert has
several limitations. Here are some common limitations to consider:
• Limited scalability: Arduino boards are generally designed for small-scale projects. If you
want to implement this system for a large number of users, you may face limitations in terms
of processing power, memory, and the number of fingerprint sensors that can be connected to
a single Arduino board.
• Processing speed: Arduino boards are not as powerful as dedicated computer systems, so the
processing speed may be slower. This can lead to delays in fingerprint recognition and
attendance recording, especially if you have a large number of users.
• Limited fingerprint storage: Arduino boards typically have limited storage capacity for storing
fingerprint templates. If you have a large number of users, you may need to consider external
storage options or use additional Arduino boards to accommodate the data.
• False acceptance/rejection rates: Fingerprint recognition systems can have false acceptance
and rejection rates, depending on the quality of the fingerprint sensors used. Lower-cost
fingerprint sensors may have higher rates of false acceptance or rejection, which can affect the
accuracy of attendance recording.
• Lack of real-time data synchronization: Arduino-based systems may not provide real-time data
synchronization capabilities. This means that attendance data may not be immediately
available for analysis or reporting purposes. You may need to manually synchronize the data
with a central database or system.
• Reliance on SMS: SMS alerts are commonly used for notifications in Arduino projects.
However, SMS services can be costly, especially if you have a large number of users or
frequently send messages. Additionally, SMS services may have limitations in terms of
message length and delivery speed.
• Security concerns: Fingerprint-based systems are generally considered secure, but they are not
foolproof. Biometric data, such as fingerprints, can potentially be stolen or replicated.
Adequate measures should be taken to ensure the security of the fingerprint data and the system
as a whole.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

1.6 Advantages
• Students will be more regular in attending their classes since now no password or no attendance
sheet signature is required, so no friend or any other student can make an attendance on behalf
of others as fingerprints are unique for every student.
Teachers do not need to waste their time approximately 15min of 1hour for taking attendance
of students.
• No need to maintain attendance sheet as the attendance are electronically stored in database.
• The system helps the faculty to easily find out defaulters.
• User may easily get attendance history of a particular student.
• It saves time, cost, efforts and institute resources

1.7 Disadvantages
• The only disadvantage is that every class requires a fingerprint reader to access the system.
• There is a lack of Flexibility to identify the person in case of cut or wound or when the
fingerprints are smudged with dirt or grease.
• Fingerprint sensors are sensitive,Which works in their favor if the fingers are clean.
• These sensors are inefficient for the industries like Mining and construction.
• Fingerprint Data can get stolen.

1.8 Application
• The system can be used for schools, colleges or universities for taking down the attendance
• It can be implemented in firms, organized for attendance purpose

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Organisation of Report

Chapter1:IntroductionThis chapter just provides the introduction to our


projectanddiscussesthemotivationandthedifferentobjectivesofourprojectandjustgivesagli
mpseofthemethodologyweusedandwhatwerethechallengesthatwefacedandthesolutiontot
hosechallenges.

Chapter2: Literature SurveyThis chapter gives a summary of the paper we


usedforreferenceandexplainsthemethodologybehinditandhowitcontributedtothemakingo
fourprojectandtheideaswetookfromthedifferentpapers.

Chapter 3: Software Requirements This chapter gives us in-sight into the technical
details of our project such as the software requirementspecificationetc.

Chapter4:MethodologyThis chapter elaborates the whole processand the methodology


behind the implementation of the project in a step-by-stepprocess and provides insight into
programming coding guidelines used during themakingofourproject.

Chapter5:ResultAnalysisInthischapter,wediscusstheoutputsratherthanthe results obtained


after completion of our project with the efficiency of
themodelortheaccuracyofmakingcorrectpredictionsbyourmodel.
Chapter6:ConclusionandFutureScopeHereweprovidetheconclusionob-tained by our
project with the future scope which tries to cover the
probableloopholesinourprojectthatmayoccurinthefutureasthescenarioofthefuturemaybediffere
ntascomparedtonow

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Chapter 2
2.1 Theoritical background
Hardware requirements
Arduino Uno:

It is basically a microcontroller,The main purpose of microcontroller is


Store,Register and Dislpay the data.Here the main purpose of the microcontroller
is to enroll and search the fingerprint. In enrolling, this controller read the template
from the fingerprint sensor and enroll the ID number. This display the ID number
on serial monitor. And then, this controller check the fingerprint with the stored
template in the searching process.If the fingerprint is correct, then displayed on
LCD. Otherwise, the controller don’t give any output.
Finger print :

There are different types of fingerprint Sensors like Optical, Capacitive, Ultrasonic, thermal etc. In
this paper, we are using Optical Fingerprint Sensor Module. It is used to scan the fingerprint of the
user and save the image of the fingerprint in the memory.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

GSN800A

The GSM (Global System for Mobile Communications) is the most widely used digital
mobile phone system today.
SIM800 is a quad-band GSM/GPRS module that works on frequencies 850MHz GSM,
900MHz EGSM, 1800MHz DCS, and 1900MHz PCS.
Here we use this module to send sms/messages.

16×2 LCD Display:

It is a 16 pin device that has 2 rows.


LCD is increasingly being used to replace led because it’s cost is decreasing and it has the ability to
display data in the form of numbers,letters and pictures.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023
Servo motor:

Servo motors or “servos”, as they are known, are electronic devices and rotary or linear actuators
that rotate and push parts of a machine with precision.It is also known as Controlled motor.Here it
enables you to remotely lock and unlock the door.

Buzzer:

A buzzer or beeper is an audio signaling device, which may be mechanical, electromechanical, or


piezoelectric (piezo for short). Typical uses of buzzers and beepers include alarm devices, timers,
train and confirmation of user input such as a mouse click or keystroke.

Software requirements - Arduino IDE:

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

The Arduino IDE (Integrated Development Environment) software is a programming environment


specifically designed for creating and uploading code to Arduino boards. It provides a user-friendly
interface and a set of tools for writing, compiling, and uploading code to Arduino microcontrollers.

Here are the key features and components of the Arduino IDE software:
1.Code Editor: The IDE includes a code editor where you can write and edit your Arduino code. It
provides syntax highlighting, auto-indentation, and code completion to assist you in writing code
efficiently. The editor supports the Arduino programming language, which is a simplified version
of C++.
Verification and Compilation: The Arduino IDE has a built-in compiler that translates your
Arduino code into machine-readable instructions. Before uploading the code to the Arduino board,
you can verify and compile it within the IDE to check for any syntax errors or compilation issues.
2. Library Manager: The Arduino IDE features a library manager that allows you to easily add and
manage libraries for various sensors, modules, and components. It provides access to a vast
collection of pre-built libraries that contain functions and examples for interacting with specific
hardware components.
3.Board Manager: The board manager enables you to install and manage different Arduino board
platforms. It provides an interface to select the appropriate Arduino board model and configure the
IDE settings accordingly. This allows you to target specific Arduino boards and take advantage of
their capabilities.
4.Serial Monitor: The IDE includes a built-in serial monitor tool that allows bidirectional
communication between your computer and the Arduino board via the serial port. You can use it to
send and receive data, monitor sensor readings, debug code, and receive feedback from the Arduino
board.
Upload and Flashing: Once your code is ready, the Arduino IDE facilitates the uploading of the
compiled binary file to the Arduino board. It supports various upload methods, including USB,
serial, and network-based protocols, depending on the Arduino board and connectivity options.
4. Examples and Tutorials: The Arduino IDE comes with a collection of example codes and
tutorials that cover a wide range of Arduino functionalities and components. These examples
provide a starting point for beginners and help them understand how to interact with different
sensors, actuators, and modules.

The Arduino IDE software is available for Windows, macOS, and Linux operating systems. It can
be downloaded from the official Arduino website (https://www.arduino.cc/en/software) free of
charge. The IDE's simplicity and user-friendly interface make it accessible to beginners and
hobbyists, while still offering advanced features for more experienced users.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Chapter 3
Design implementation

Block daigram

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

To create an automated attendance system based on fingerprint using Arduino with


SMS alert functionality, you'll need the following components:
Hardware:
1. Arduino board (such as Arduino Uno or Arduino Mega)
2. Fingerprint sensor module (such as the Adafruit Fingerprint Sensor)
3. GSM module (such as the SIM900A GSM/GPRS module)
4. LCD display (optional, for displaying messages)
5. Breadboard and jumper wires
6. Power supply (USB cable or external power source)
Software:
1. Arduino IDE (Integrated Development Environment)

Here's an overview of the methodology:


1. Connect the fingerprint sensor module to the Arduino board following the
wiring instructions provided by the sensor's documentation. Typically, you'll
need to connect power, ground, and data pins.
2. Connect the GSM module to the Arduino board using the appropriate pins.
Refer to the GSM module documentation for the specific pin connections
required.
3. Install the required libraries in the Arduino IDE. You can do this by navigating
to "Sketch" -> "Include Library" -> "Manage Libraries" and then searching for
and installing the fingerprint sensor and GSM libraries.
4. Write the Arduino code to handle the fingerprint sensor and GSM
functionality. The code should include the following steps:
- Initialize the fingerprint sensor and GSM module.
- Set up the necessary variables and data structures to store fingerprints and
attendance records.
- Continuously monitor the fingerprint sensor for fingerprint detection.
- When a fingerprint is detected, compare it with the stored fingerprints to
identify the user.
- If the fingerprint matches a stored fingerprint, mark the attendance for that
user (e.g., store the timestamp or send it to a server/database).
- Send an SMS alert to a predefined number indicating the attendance has been
recorded.
5. Upload the Arduino code to the Arduino board using the Arduino IDE.
6. Connect the Arduino board to a power source and make sure all the
connections are secure.
7. Test the system by enrolling fingerprints for users and checking if the
attendance is being recorded correctly. Verify that the SMS alerts are being sent
successfully.

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Chapter 4

Result and discussion


Building an automated attendance system based on fingerprint using Arduino
with SMS alert and result analysis is a complex project that requires integration
of several components. I can provide you with a high-level overview of the steps
involved in creating such a system. Here's a step-by-step guide:
1. Hardware Setup:
- Arduino board (e.g., Arduino Uno)
- Fingerprint sensor module (e.g., Adafruit Fingerprint Sensor)
- GSM module (e.g., SIM900A GSM/GPRS module)
- LCD display (optional, for visual feedback)
- LEDs, buzzer, and other necessary components for indication and feedback
2. Fingerprint Enrollment:
- Set up the fingerprint sensor module according to its documentation.
- Write code to enroll fingerprints of each student/staff member into the sensor
module.
- Store the enrolled fingerprints in the module's memory for later comparison.
3. Attendance Recording:
- Write code to capture a fingerprint from the sensor module.
- Compare the captured fingerprint with the enrolled fingerprints in the
module's memory.
- If a match is found, log the attendance of the corresponding student/staff
member.
4. SMS Alert:
- Integrate the GSM module with Arduino and set up the necessary
communication protocols.
- Write code to send SMS alerts to a predefined phone number whenever
attendance is recorded.
- Include relevant information such as the student/staff name and attendance
status in the SMS.
5. Result Analysis:
- Design a system to store and manage attendance records. This can be done
using a database or file storage.
- Write code to analyze attendance data, calculate metrics (e.g., attendance
percentage), and generate reports.
6. User Interface (Optional):
- If you want a visual interface, you can connect an LCD display to Arduino.
- Display real-time attendance information, status messages, and other relevant
data.
It's important to note that the above steps provide a general outline, and you will
need to adapt them based on the specific hardware components and libraries you
are using. Additionally, you will need to have programming knowledge in
Arduino and familiarity with the fingerprint sensor, GSM module, and other
components involved.

Remember to consider privacy and security aspects while implementing such a


system, and ensure compliance with any relevant regulations or policies.
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Chapter 5

Conclusion and futures scope

Conclusion
The main purpose of this project is to monitor the student attendance in lecture, tutorial and laboratory
sessions in more efficient way and send this attendance to their parents. This system resists students from
bunking classes through SMS sending feature to mobile .Biometrics has been used effectively for more than
a decade for time and attendance system.Fingerprint attendance system is a cost effective simplified system
that uses fingerprints for identification.

Future scope

When student is regularly absent within four day or six days, a free voice call is generated to call the
parents mobile number by using GSM technology.For developing a multiple face detection and recognition
device as a replacement of the fingerprint reader for easy login and logout transaction in the system.

References

[1] Author:Venkatesh Seerapu. Title:Fingerprint Identification Based Attendence System with SMS
Notification Volume 10 5 May 2022

[2] Author:Khin San Myint, Mya Mya Nyein. Title:Fingerprint Based Attendence System Using Arduino
Volume 8 Issue 7 July 2018

[3] Author:Ayush Mahajan. Title:Attendance system based on Fingerprint Using Arduino Volume 6 Issue 6
June 2019

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023
Code

Code for enrollment

#include <Adafruit_Fingerprint.h>
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__)
// For UNO and others without hardware serial, we must use software serial...
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
// Set up the serial port to use softwareserial..
SoftwareSerial mySerial(A1, A0);
#else
// On Leonardo/M0/etc, others with hardware serial, use hardware serial!
// #0 is green wire, #1 is white
#define mySerial Serial1
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
uint8_t id;
void setup()
{
Serial.begin(9600);
while (!Serial); // For Yun/Leo/Micro/Zero/...
delay(100);
Serial.println("\n\nAdafruit Fingerprint sensor enrollment");

// set the data rate for the sensor serial port


finger.begin(57600);

if (finger.verifyPassword()) {
Serial.println("Found fingerprint sensor!");
} else {
Serial.println("Did not find fingerprint sensor :(");
while (1) { delay(1); }
}

Serial.println(F("Reading sensor parameters"));


finger.getParameters();
Serial.print(F("Status: 0x")); Serial.println(finger.status_reg, HEX);
Serial.print(F("Sys ID: 0x")); Serial.println(finger.system_id, HEX);
Serial.print(F("Capacity: ")); Serial.println(finger.capacity);
Serial.print(F("Security level: ")); Serial.println(finger.security_level);
Serial.print(F("Device address: ")); Serial.println(finger.device_addr, HEX);
Serial.print(F("Packet len: ")); Serial.println(finger.packet_len);
Serial.print(F("Baud rate: ")); Serial.println(finger.baud_rate);
}

uint8_t readnumber(void) {
uint8_t num = 0;

while (num == 0) {
while (! Serial.available());
num = Serial.parseInt();
}
return num;
}

void loop() // run over and over again


{

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023
Serial.println("Ready to enroll a fingerprint!");
Serial.println("Please type in the ID # (from 1 to 127) you want to save this finger
as...");
id = readnumber();
if (id == 0) {// ID #0 not allowed, try again!
return;
}
Serial.print("Enrolling ID #");
Serial.println(id);

while (! getFingerprintEnroll() );
}

uint8_t getFingerprintEnroll() {

int p = -1;
Serial.print("Waiting for valid finger to enroll as #"); Serial.println(id);
while (p != FINGERPRINT_OK) {
p = finger.getImage();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image taken");
break;
case FINGERPRINT_NOFINGER:
Serial.println(".");
break;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
break;
case FINGERPRINT_IMAGEFAIL:
Serial.println("Imaging error");
break;
default:
Serial.println("Unknown error");
break;
}
}

// OK success!

p = finger.image2Tz(1);
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image converted");
break;
case FINGERPRINT_IMAGEMESS:
Serial.println("Image too messy");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println("Could not find fingerprint features");
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println("Could not find fingerprint features");
return p;
default:
Serial.println("Unknown error");
return p;
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023
}

Serial.println("Remove finger");
delay(2000);
p = 0;
while (p != FINGERPRINT_NOFINGER) {
p = finger.getImage();
}
Serial.print("ID "); Serial.println(id);
p = -1;
Serial.println("Place same finger again");
while (p != FINGERPRINT_OK) {
p = finger.getImage();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image taken");
break;
case FINGERPRINT_NOFINGER:
Serial.print(".");
break;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
break;
case FINGERPRINT_IMAGEFAIL:
Serial.println("Imaging error");
break;
default:
Serial.println("Unknown error");
break;
}
}

// OK success!

p = finger.image2Tz(2);
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image converted");
break;
case FINGERPRINT_IMAGEMESS:
Serial.println("Image too messy");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println("Could not find fingerprint features");
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println("Could not find fingerprint features");
return p;
default:
Serial.println("Unknown error");
return p;
}

// OK converted!
Serial.print("Creating model for #"); Serial.println(id);

p = finger.createModel();
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023
if (p == FINGERPRINT_OK) {
Serial.println("Prints matched!");
} else if (p == FINGERPRINT_PACKETRECIEVEERR) {
Serial.println("Communication error");
return p;
} else if (p == FINGERPRINT_ENROLLMISMATCH) {
Serial.println("Fingerprints did not match");
return p;
} else {
Serial.println("Unknown error");
return p;
}

Serial.print("ID "); Serial.println(id);


p = finger.storeModel(id);
if (p == FINGERPRINT_OK) {
Serial.println("Stored!");
} else if (p == FINGERPRINT_PACKETRECIEVEERR) {
Serial.println("Communication error");
return p;
} else if (p == FINGERPRINT_BADLOCATION) {
Serial.println("Could not store in that location");
return p;
} else if (p == FINGERPRINT_FLASHERR) {
Serial.println("Error writing to flash");
return p;
} else {
Serial.println("Unknown error");
return p;
}

return true;
}

Code for fingerprint attendance

#include <Adafruit_Fingerprint.h>
#include<LiquidCrystal.h>
#include <Servo.h>
#include<SoftwareSerial.h>
SoftwareSerial mySerialgsm(A4,A5);
Servo myservo; // create servo object to control a servo
// twelve servo objects can be created on most boards
int pos = 0; // variable to store the servo position
const int rs = 2, en = 3, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
#if (defined(__AVR__) || defined(ESP8266)) && !defined(__AVR_ATmega2560__)
// For UNO and others without hardware serial, we must use software serial...
// pin #2 is IN from sensor (GREEN wire)
// pin #3 is OUT from arduino (WHITE wire)
// Set up the serial port to use softwareserial..
SoftwareSerial mySerial(A1, A0);
#else
// On Leonardo/M0/etc, others with hardware serial, use hardware serial!
// #0 is green wire, #1 is white
#define mySerial Serial1
#endif
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
void gate(){
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023
for (pos = 0; pos <= 150; pos += 1) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15 ms for the servo to reach the position
}
delay(1500);
for (pos = 150; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15 ms for the servo to reach the position
}
}
int buzz=8;
void setup()
{
pinMode(buzz,OUTPUT);
mySerialgsm.begin(9600);
msg2();
Serial.begin(9600);
while (!Serial); // For Yun/Leo/Micro/Zero/...
delay(100);
Serial.println("\n\nAdafruit finger detect test");

// set the data rate for the sensor serial port


finger.begin(57600);
delay(5);
if (finger.verifyPassword()) {
Serial.println("Found fingerprint sensor!");
} else {
Serial.println("Did not find fingerprint sensor :(");
while (1) { delay(1); }
}

Serial.println(F("Reading sensor parameters"));


finger.getParameters();
Serial.print(F("Status: 0x")); Serial.println(finger.status_reg, HEX);
Serial.print(F("Sys ID: 0x")); Serial.println(finger.system_id, HEX);
Serial.print(F("Capacity: ")); Serial.println(finger.capacity);
Serial.print(F("Security level: ")); Serial.println(finger.security_level);
Serial.print(F("Device address: ")); Serial.println(finger.device_addr, HEX);
Serial.print(F("Packet len: ")); Serial.println(finger.packet_len);
Serial.print(F("Baud rate: ")); Serial.println(finger.baud_rate);
finger.getTemplateCount();
if (finger.templateCount == 0) {
Serial.print("Sensor doesn't contain any fingerprint data. Please run the 'enroll'
example.");
}
else {
Serial.println("Waiting for valid finger...");
Serial.print("Sensor contains "); Serial.print(finger.templateCount);
Serial.println(" templates");
}
lcd.begin(16, 2);
lcd.clear();
// Print a message to the LCD.
lcd.print("Attendance System");
lcd.setCursor(0,1);
lcd.print("using Finger Scan");
delay(1500);
myservo.attach(10);

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023
}
int asa=0;
int fid;
void loop() // run over and over again
{
fid= getFingerprintID();
Serial.println(fid);
delay(50); //don't ned to run this at full speed.
if(fid>=4 && fid<=18 && asa==0){
digitalWrite(buzz,1);
delay(1000);
digitalWrite(buzz,0);
gate();
lcd.begin(16, 2);
lcd.clear();
// Print a message to the LCD.
lcd.print("Attendance taken");
lcd.setCursor(0,1);
lcd.print("Thank You");
delay(1500);
asa==1;

lcd.begin(16, 2);
lcd.clear();
// Print a message to the LCD.
lcd.print("Attendance taken");
lcd.setCursor(0,1);
lcd.print("Message Sending");
msg2();
fid=0;
}
if(fid==4 && asa==1){

lcd.begin(16, 2);
lcd.clear();
// Print a message to the LCD.
lcd.print("Attendance taken");
lcd.setCursor(0,1);
lcd.print("already");
delay(1500);
asa==1;
fid=0;
}
lcd.begin(16, 2);
lcd.clear();
// Print a message to the LCD.
lcd.print("Waiting For");
lcd.setCursor(0,1);
lcd.print("Fingers");
delay(1500);

uint8_t getFingerprintID() {
uint8_t p = finger.getImage();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image taken");
break;
Dept Of ECE,PESITM, SHIVAMOGGA
Automated attendance system based on fingerprint with SMS alert 2022-2023
case FINGERPRINT_NOFINGER:
Serial.println("No finger detected");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_IMAGEFAIL:
Serial.println("Imaging error");
return p;
default:
Serial.println("Unknown error");
return p;
}

// OK success!

p = finger.image2Tz();
switch (p) {
case FINGERPRINT_OK:
Serial.println("Image converted");
break;
case FINGERPRINT_IMAGEMESS:
Serial.println("Image too messy");
return p;
case FINGERPRINT_PACKETRECIEVEERR:
Serial.println("Communication error");
return p;
case FINGERPRINT_FEATUREFAIL:
Serial.println("Could not find fingerprint features");
return p;
case FINGERPRINT_INVALIDIMAGE:
Serial.println("Could not find fingerprint features");
return p;
default:
Serial.println("Unknown error");
return p;
}

// OK converted!
p = finger.fingerSearch();
if (p == FINGERPRINT_OK) {
Serial.println("Found a print match!");
} else if (p == FINGERPRINT_PACKETRECIEVEERR) {
Serial.println("Communication error");
return p;
} else if (p == FINGERPRINT_NOTFOUND) {
Serial.println("Did not find a match");
return p;
} else {
Serial.println("Unknown error");
return p;
}

// found a match!
Serial.print("Found ID #"); Serial.print(finger.fingerID);
Serial.print(" with confidence of "); Serial.println(finger.confidence);

return finger.fingerID;
}

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023
// returns -1 if failed, otherwise returns ID #
int getFingerprintIDez() {
uint8_t p = finger.getImage();
if (p != FINGERPRINT_OK) return -1;

p = finger.image2Tz();
if (p != FINGERPRINT_OK) return -1;

p = finger.fingerFastSearch();
if (p != FINGERPRINT_OK) return -1;

// found a match!
Serial.print("Found ID #"); Serial.print(finger.fingerID);
Serial.print(" with confidence of "); Serial.println(finger.confidence);
return finger.fingerID;
}
void msg2(){
mySerialgsm.println("AT+CMGF=1"); //Because we want to send the SMS in text mode
delay(2000);
mySerialgsm.println("AT+CMGS=\"8904294135\""); // change to the phone number you
using
delay(2000);
mySerialgsm.print("Attendance Taken for id : "+String(fid));//the content of the
message
delay(2000);
mySerialgsm.write(0x1A);
delay(2000);

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Personal Profile

Prof. Kumar received the B.E. degree in Electronics


Engineering from ABC Engg. College in the year 1999, and
M.E. in Data Communication form XYZ in 2001.

His subjects of interest include Image Processing,


Communication Engineering and Data Mining.

Prof. Kumar is a life member of Indian Society of ISTE and


member of IEEE.

Prof. Name
Project Guide

Dept Of ECE,PESITM, SHIVAMOGGA


Automated attendance system based on fingerprint with SMS alert 2022-2023

Dept Of ECE,PESITM, SHIVAMOGGA

You might also like