SlideShare a Scribd company logo
Page 1 of 34
Diploma in
Electronics, Computer and Communication
Engineering
Final Year Project Report
Project Title:
Development of Attendance and Access System
Project Supervisor:
Mr Ang Chee Kiong
Project Student:
Liew Chong Kit (101193J)
Acknowledgement
Page 2 of 34
I would like to thank my supervisor, Mr Ang Chee Kiong for his
guidance and support throughout our 12 weeks of final year project. He
gave me a clear guideline on what the project is about and what we are
suppose to do. He also provides useful feedback for my project. I also
appreciate that she trusts me to do our project independently.
Secondly, I would like to thank the laboratory technician. He has
provided all the necessary equipments that I need for this project
Lastly I will also like to thank our week 6 and 12 presentation assessor
Madam Low for her time, patience and also advice for our presentation
and project.
Abstract
Page 3 of 34
The goalof this projectis to design and develop a web based attendance and access
system using LABView.
Main software required:
LABView
Microsoft Access
Software Developmentkit(SDK) for the Fingerprint reader.
Main hardware required:
Fingerprint Reader
Smart Card Reader
Page 4 of 34
USB Camera
Driver Needed:
Databaseconnectivity toolkit
IMAQdxand IMAQ toolkit
VISA toolkit
Table of Contents
Page 5 of 34
Abstract
Acknowledgement
Table of Contents
1. Introduction
1.1 Background information
2. Project Objective(s)
3. Project Scope
3.1 Program Flow
4. Software Development
4.1 LABView
5. Hardware Development
5.1 Fingerprint reader - Digital persona
5.2 USB camera - Logitech
5.3 Card scanner - RF ID eas Inc
6. Database
7. Capture images
8. E-mail alert
9. Web services
10. Problems Encountered
11. Gantt Chart
Page 6 of 34
12. Conclusion
9.1 Accomplishment/Outcome
9.2 Future Enhancement
13. Appendix
1. Introduction
1.1 Background information
Page 7 of 34
The attendance and access systemusing biometric (fingerprint) reader
is commonly used for identification and security checks throughoutthe
work place. The systemcan be used in applications such as PC/LAN
logon, visitor management, time/attendance user authorization,
seminar, fitness or training attendance, and many more.
2. Project Objectives
Page 8 of 34
To design and develop a web based systemfor attendance taking and
access control using biometric (fingerprint) reader.
3. Project Scope
3.1 Program Flow
Page 9 of 34
This projectrequires the studentto design and develop web based attendance
and access systemusing LAB View. The systemrecords theattendance using
biometric (fingerprint) reader, updates the database, activate access device and
generates web based reportas requested by the systemadministrator.
4. Software Development
4.1 LABView
Page 10 of 34
LABView is system design software that provides engineers and scientists with the
tools needed to create and deploymeasurementand control systems through
unprecedented hardware integration. LABViewinspires you to solve problems,
accelerates your productivity, and gives you the confidence to continually innovate.
Accelerate Your Productivity
You can getmore done in less time with LABView through its comprehensive system
design environment,unique graphicalprogramminglanguage,built-in engineering-
specific libraries of software functions and hardware interfaces; and data analysis,
visualization, and sharing features.
Innovate With Confidence
You can bring your vision to life with LABView.Through a world-class ecosystem of
partners and technology alliances,a global and active usercommunity, and
consistentannual releases,you can have the confidence to continually innovate.
Why use LABView?
NI LABViewis a graphical programming language designed forengineers
and scientists to develop test, control, and measurementapplications. The
Page 11 of 34
intuitive nature of LABViewgraphical programming makes it easy for
educators and researchers to incorporate the software in a range of
courses and applications. With LABView, educators and researchers can
use a graphical system designapproach to design, prototype,and deploy
embeddedsystems.It combines the power of graphical programming with
hardware to dramatically simplifyand accelerate the developmentof
designs.
Graphicalsystem design is a modernapproach to designing,prototyping,
and deploying embedded systems.It combines opengraphical
programming with hardware to dramatically simplify development.
Software benefits
LABViewprovides the flexibility of a powerful programming language
without the complexityof traditional developmentenvironments.
 Easy to Learn and Use
 Complete Functionality
 Integrated I/O Capabilities
Studentbenefits
 Accelerated Learning
 Industry Standard
5. Hardware Development
5.1 Fingerprintreader – Digital persona
Page 12 of 34
U.are.U 4500 Fingerprint Reader
The U.are.U 4500 Reader is a USB fingerprint reader featuring an elegant, sleek
design with a soft, cool blue glow and, of course, the unsurpassed performance
Digital Persona is known for. Made for power-users and shared environments, the
4500 is the natural choice for those that want and need the very best. Here’s a
look at justsome of its features and benefits:
The U.are.U 4500 fingerprintreader is designed for use with Digital Persona’s full
range of software: Digital Persona Pro for Active Directory and Digital Personal
SDKs for your own applications.
Some of the many applications and verticals markets in which the U.are.U
Readers may be used include:
 Drug dispensary  Health Club membership
Page 13 of 34
 Prescriptionfulfillment
 Time and Attendance
 Point of Service (Retail and
Restaurant)
access
 Finance and Banking
account access
 Law Enforcement
 State and Local
Government
Easy-to-use
To use, simply place a finger on the reader window and the reader quickly and
automatically captures and encrypts the fingerprint image before sending it to the
Digital Persona Identity Engine for verification.
Digital Persona products utilizeoptical fingerprintscanning technology for
superior image quality and productreliability. The combination of an U.are.U
4500 FingerprintReader with the Digital Persona Identity Engine produces an
unmatched ability to recognizeeven the mostdifficult fingerprints.
5.2 USB Camera - Logitech
QuickCam Pro 4000
Page 14 of 34
Combining a digital zoom,built-in microphone,and high-quality VGACCD sensor,
the QuickCam Pro 4000 lets you express yourcreativity like a pro.
Set it up on any monitor
The flexible back lets you shape it to match your monitor's profile. Or use the camera with
its base on anyflat surface.
Automatic face-tracking follows your actions!
It's easy to stay the centre of attention during your video IM or video calling session.It
automatically zooms in and follows your movements.
5.3 Card scanner - RF ID eas Inc
The USB modelemulates a keyboard and keystrokes the card’s ID and/orsite code
to the cursor’s location on the screen.The readercan be configured to add
keystrokes before and after the card’s data. The serialversion, available in RS-232,
Ethernet, or USB Virtual Com, delivers the card’s data in ASCII.
6 Database
Page 15 of 34
First, start by doing the LABViewtutorial. At http://www.ni.com/white-paper/7466/en
So that u will get the hang on howthe LABViewworks. And some basic functions of the
LABViewto make your work easier.
Secondly, do some research aboutthe projectand download the LABViewtoolkits needed
for the project.
Start of the Project
I used a card scannerinstead ofa fingerprint readerbecausethe
fingerprint readerhas notarrived yet.
Make a simple database.
Start the projectby making a simple database table at Microsoft Access,called “Student”.
Which contain 3 columns,“Student Name”, “Admission Number”and “Card Number”. And
the change the file type of .dsn.So the LABViewis able to call the database table.
The Card Number can getit from the LABViewcode of the card scanner (Given by Mr Ang).
By scanning the card to knowwhat is the card numberofyour student card. So that it able
to knowwhich student tapped in. At this partyou, also need to read up on SQL statements
on how it works. http://www.w3schools.com/sql/sql_where.asp
If notyou will might have a hard time doing at the later part of the project.
At the same time Download 2 toolkit called “ VISA” and “Database Connectivity “. VISA
toolkit is too call USB instrument. While Database connectivity is for calling database from
Microsoft access and more to LABView.
Page 16 of 34
File Name:USB Serial Read.vi
So the LABViewis able to read the admission number from the “Student” database table
and display the student information onto the Table (on the front panelbelow).
File Name:FYP.vi The Pink box is SQL statement.
Page 17 of 34
Main VI: open connection.vi, selectdata.vi, data variant to data, close connection.vi
Combine with card scanner.
After calling the database table is successful.Combine it with the card scannerLABView
code.So when a card is scanned,the LABView is able to read the card number from the
“Student” database table and display the student information onto the Table (on the front
panelbelow). File Name:FYP_2.vi
Main VI: open connection.vi, selectdata.vi, data variant to data, close connection.vi
Page 18 of 34
Now the modification of the LABViewcode will be in the “True & False”case structure
(which is the inner box (Above)). Outside of the “True & False”case structure will remain the
same till the fingerprint readerarrive.
Time In.
From the database table at the Microsoft access add on a newtable, called “Attendance”.
This table contain 5 columns.3 columns will be the same as the “Student” table, and adds
on “Time In” and “Time Out”.
This table used onlywhen the studenttaps their card and the Time In will be shown.
The LABViewwill pick up which student tapped in, at the “Student” database table and
insert the student’s name,admission numberwith the Time In into the “attendance”
database table. At this pointthe Time In and Time Out will be the same timing. Because the
on the later part the Time Out will be update when the studenttap out.
File Name:FYP_4.vi
The image belowshows the changes in the “True & False”case structure.
Page 19 of 34
Main VI: open connection.vi, selectdata.vi, data variant to data(s), insert data.vi, close
connection.vi
Time Out
At this partneeded to create anotherdatabase table which is called “Attendance Record”.
So when the student tap out, it will able to keep a record of the student from whattime to
what time this studenttapped in and outon which date. And delete the data at “Attendance”
database table. So it will not keep updating the time out even if this student taps in the
second time. The “Attendance Record”table will also be using at web service (point 7)
This part needs more VIs. First, need to check whetherthe studenthave alreadytapped in.
The highlighted box (SQL statement) is calling the “Attendance “database table and getthe
card number(which just scanned).And it checked through execute query.vi, get
properties.vi and Fetch recordsetdata.vi. (At the highlighted triangle tool)At the fetch
recordsetdata.vi will send outan array (data). If it is an empty array, it will showTRUE (the
student have not tapped in before) so needed to insert this student into the “attendance”
database table. If showFALSE (the student have tapped in before) so needed to update the
Time Out of this student and keep the record ofthis studentat “Attendance Record”
database table. At this point, needed another“True & False”case structure.
Page 20 of 34
There are no changes on the front panel.
File Name:FYP_5.vi
Main VI: open connection.vi, execute query.vi, getproperties.vi, Fetch recordsetdata.vi and
free object.vi
Inside this new “True & False”case structure.
At the True case,is where the studenthas not tapped in before. Therefore, it needed to
insert the student information with the Time In into “Attendance” database table. This is
similar with the Time In part, just that you putthe insertdata.vi inside of the “True & False”
case structure.
Main VI: Insert data.vi
At the False case,is where the studenthas tapped in before. Therefore, it needed to update
the Time Out of this student. And keep it as a record and insertit into “Attendance Record”
database table, and delete the data at “Attendance” database table. So that the students
Page 21 of 34
able to taps in the second time. This part needed more time to do.
Main VI: update data.vi, selectdata.vi, data variant to data(s), insertdata.vi, and delete
data.vi.
7 Capture student image
When the studenttaps in, it also able to capture the student faces. At the database table
“Attendance” and “Attendance Record”, needed to add on one column call “Image”. The
“Image” column will showwhere the image been stored.It will showsomething like this:
“C:UsersmyProjectDesktopFYP Project (IMPT)ProjectsImage123.png” at the database
table.
At the same time, you needed to download a toolkit call “IMAQdx”. So that it able to run the
camera on LABView.
The Boolean button mustnot be turn on,as it acts as a tool to stop the camera case
structure to keep on looping.
Page 22 of 34
File Name:FYP_6
The capture image is done within the “True & False”case structure which at the same
location where student information and Time In is. Now is just need to add in another
column for the “Image” which mention at the beginning.So that it will insert together with the
student information and Time In into the “Attendance” database table.
And the image will automatic save into the location (folder) you want.
Page 23 of 34
Main VI: IMAQdx open camera.vi, IMAQdx configure grab.vi, IMAQdx grab.vi, IMAQdx start
acquisition.vi, IMAQ write file.vi
Page 24 of 34
8 E-mail Alert
E-mail Alert is to alert the administrators to knowwhich student did not come at a certain
time.
Before starting on to this part, read a bit aboutSMTP to understand howemail
messages are sent,otherwise you'll probablyfind that your messages don'tget
delivered and you won't knowwhy.
Page 25 of 34
9 Web Services
Web Services is to allow administrators to access into studentrecords through the web, by
typing in the studentadmission number. The LABViewwill getthe data from “Attendance
Record”database table which was done at Database part(point 5).
Do the tutorial before starting to move onto the project. At http://zone.ni.com/reference/en-
XX/help/371361H-01/lvhowto/build_web_service/#Creating_VIs_WS
Making Web Services is just like calling the database (which is almost the same done in the
beginning ofthe project and display it on the table at LABView.
First, code the LABView on howu wants the program to display your database.
Formine, type in the studentadmission numberand it will display that studentattendance
records.
Page 26 of 34
Second,make sure the program run normally (no errors) on LABView,before putting it onto
the web.
Third, put the program onto the web.
Go to tools > options
Then u will come to this window. And click web server. The rest can leave it. Then click OK.
Enable the web server by clicking the appropriate checkbox. The default port
number for the web server is 80. U can change to other port number.
Page 27 of 34
Specify a list of client IP addresses that are allowed to access the Web Server.
Each IP address may be granted controlling privileges, viewing only privileges, or
denied access. An asterisk (*) as shown is the Visible VIs and Browser access list
that grants access to any IP address.
Click okay after setting.
Page 28 of 34
Go to tools > web publishing tool
You will come to this window.Select the VI to display on the web and ‘Tick’ Embedded.So
the usercan control it on the web. And click next.
Page 29 of 34
You can change the title and the HTML contentfor the Web page.And click Next.
You can change the file name which changes the URL also. And click Save to Disk > OK.
Page 30 of 34
This is howit looks like on the Web. *Make sure the VI is open* so that the Web will run
properly. After typing in the new admission number,a black tick will appearbelowthe “Edit”.
Make sure click on the tick before running it. (Unable to screenshotto showit here)
Page 31 of 34
10 Problem Encounters & solutions
1. At the very begin of the project, cannotopen the file to display on LABView.
Because it is the wrong type of file . The file needs to be in .dsn file type.
2. Unfamiliar with Lab view. Because a lot of tools was still unknown to me.
All I can do is to Google the name/howitworks. Or go to NI forum.
3. SQL statements.
Find tutorial for SQL statements.
4. SMTP Server
Need to understand howthe SMTP server sends the email works by looking through
the tutorial.
5. LABViewof the send emailis working,butcannotsend outemail to personal
account.
6. When running LABView,atthe partwhere running the camera it will promptyou
where you want to save the image.
7. Do notknowhow to use LABViewto run with fingerprint reader.
Page 32 of 34
11 Gantt Chart
Page 33 of 34
10. Conclusions
Page 34 of 34
11. Appendix
 http://forums.ni.com/
 http://www.w3schools.com/sql/sql_where.asp
 http://digital.ni.com/public.nsf/allkb/151C96CC8EFAB6A78
6256CC2007C1178
 http://www.ni.com/white-paper/7466/en
 http://joule.ni.com/nidu/cds/view/p/id/2821/lang/en
 http://zone.ni.com/reference/en-XX/help/371361H-
01/lvhowto/build_web_service/#Creating_VIs_WS
 http://sine.ni.com/nips/cds/view/p/lang/en/nid/209060
 http://asgpjl-010/student.html
 http://digitalpersona.com/Biometrics/Hardware-Products/U-are-U-
4500-Reader/4500-Reader/

More Related Content

PDF
Asistencia | Live Face Recognition | Python
Naomi Kulkarni
 
PDF
Face recognition attendance system
JigarPatel597
 
DOCX
student supervision system
Dhruti Ranjan Bag
 
DOCX
Major File On web Development
Love Kothari
 
PDF
Infopedia Report
bikramagarwal
 
PPTX
Project Documentation Student Management System format.pptx
AjayPatre1
 
PDF
Facial recognition attendance system
Kuntal Faldu
 
PPTX
COLLEGE TRANSPORT MANAGEMENT SYSTEM.pptx
ronaldocr718
 
Asistencia | Live Face Recognition | Python
Naomi Kulkarni
 
Face recognition attendance system
JigarPatel597
 
student supervision system
Dhruti Ranjan Bag
 
Major File On web Development
Love Kothari
 
Infopedia Report
bikramagarwal
 
Project Documentation Student Management System format.pptx
AjayPatre1
 
Facial recognition attendance system
Kuntal Faldu
 
COLLEGE TRANSPORT MANAGEMENT SYSTEM.pptx
ronaldocr718
 

What's hot (20)

DOCX
Face Recognition Attendance System
Shreya Dandavate
 
PPTX
Online Job Portal (UML Diagrams)
Syed Muhammad Zeejah Hashmi
 
PDF
Report on web development
AJEETKUMAR932614
 
DOCX
Face detection and recognition report
hetvi naik
 
DOCX
Minor project Report for "Quiz Application"
Harsh Verma
 
DOCX
College Management System project
Manish Kushwaha
 
PPT
Web Development on Web Project Presentation
Milind Gokhale
 
PPTX
Attendance system based on face recognition using python by Raihan Sikdar
raihansikdar
 
PDF
HOSPITAL MANAGEMENT SYSTEM project report
PDEA's college of engineering, Pune
 
PPTX
Cab booking system india
Custom Soft
 
PDF
Chat Application | RSD
Rajon
 
PDF
Web Development on Web Project Report
Milind Gokhale
 
PDF
Computer Science Internship Report PDF Leena AI
shadowhazard77
 
DOCX
Computer science industrial training report carried out at web info net ltd ...
rashid muganga
 
PDF
e commerce project report,E-Commerce,Eshop,report
BabluAgrahari
 
PDF
Smart attendance system using facial recognition
VigneshLakshmanan8
 
PDF
Software Engineering Final Year Project Report
judebwayo
 
PDF
Project report
Vikram Singh
 
DOC
Clothing Store and Management System
Ashwini0951
 
DOCX
A project on taxi
549manish
 
Face Recognition Attendance System
Shreya Dandavate
 
Online Job Portal (UML Diagrams)
Syed Muhammad Zeejah Hashmi
 
Report on web development
AJEETKUMAR932614
 
Face detection and recognition report
hetvi naik
 
Minor project Report for "Quiz Application"
Harsh Verma
 
College Management System project
Manish Kushwaha
 
Web Development on Web Project Presentation
Milind Gokhale
 
Attendance system based on face recognition using python by Raihan Sikdar
raihansikdar
 
HOSPITAL MANAGEMENT SYSTEM project report
PDEA's college of engineering, Pune
 
Cab booking system india
Custom Soft
 
Chat Application | RSD
Rajon
 
Web Development on Web Project Report
Milind Gokhale
 
Computer Science Internship Report PDF Leena AI
shadowhazard77
 
Computer science industrial training report carried out at web info net ltd ...
rashid muganga
 
e commerce project report,E-Commerce,Eshop,report
BabluAgrahari
 
Smart attendance system using facial recognition
VigneshLakshmanan8
 
Software Engineering Final Year Project Report
judebwayo
 
Project report
Vikram Singh
 
Clothing Store and Management System
Ashwini0951
 
A project on taxi
549manish
 
Ad

Viewers also liked (15)

DOTX
Final fyp report template
Sil Fa
 
PDF
Final Year Project Presentation (June 2015) : INVESTIGATION OF SHEAR BEHAVIOU...
Asadullah Malik
 
PDF
47533870 final-project-report
Mohammed Meraj
 
PDF
NAMRC39: Micro-scratch testing and simulations for adhesion characterizations...
The University of Alabama
 
PDF
Advanced insrumentation lab manual
Gautam sai teza
 
PDF
report_FYP_Nikko_23582685
Nikko Hermawan
 
PPTX
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
Varun Kambrath
 
PPT
Fyp proposal writing
Asyikin Rahim
 
PDF
90981041 control-system-lab-manual
Gopinath.B.L Naidu
 
PDF
process control instrumentation lab and labview report
Hari Krishna
 
PPTX
SIMULATION OF TEMPERATURE SENSOR USING LABVIEW
Pooja Shukla
 
DOC
Final project report format
Masud Sarkar
 
DOC
FYP1 Progress Report (final)
waqas khan
 
PPTX
Real time Vital Signs Monitorong Using NI LabVIEW
Talha Patel
 
PDF
Customer Relationship Management Module Project Report
sachinkumar Bharadva
 
Final fyp report template
Sil Fa
 
Final Year Project Presentation (June 2015) : INVESTIGATION OF SHEAR BEHAVIOU...
Asadullah Malik
 
47533870 final-project-report
Mohammed Meraj
 
NAMRC39: Micro-scratch testing and simulations for adhesion characterizations...
The University of Alabama
 
Advanced insrumentation lab manual
Gautam sai teza
 
report_FYP_Nikko_23582685
Nikko Hermawan
 
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
Varun Kambrath
 
Fyp proposal writing
Asyikin Rahim
 
90981041 control-system-lab-manual
Gopinath.B.L Naidu
 
process control instrumentation lab and labview report
Hari Krishna
 
SIMULATION OF TEMPERATURE SENSOR USING LABVIEW
Pooja Shukla
 
Final project report format
Masud Sarkar
 
FYP1 Progress Report (final)
waqas khan
 
Real time Vital Signs Monitorong Using NI LabVIEW
Talha Patel
 
Customer Relationship Management Module Project Report
sachinkumar Bharadva
 
Ad

Similar to Final Year Project Report (20)

DOC
Lab management
logumca
 
PPTX
Visitor and vendor access management system
techlead-india
 
PDF
Student Attendance Management System with Fingerprint Software
ijtsrd
 
PPTX
BIOMATRICS
Dinesh199329
 
PPTX
face_detection_att.pptx
DeeJeeV
 
PDF
IRJET- Lab Monitoring System
IRJET Journal
 
PPTX
Face detection project.pptx
mohammadzaid568683
 
PDF
IRJET- Biometric Attendance System
IRJET Journal
 
PPTX
Student information system project report
Suman Chandra
 
PPT
Fingerprint Attendance project final PPT
Dhanajayan K
 
PPTX
predefense presentation
Alphonse Bisangabagabo
 
PPTX
MINOR PROJECT-1[1].pptxb jwjeye6swhqhwhwe
sunnyphotography601
 
PDF
Human Data Acquisition through Biometrics using LabVIEW
Yayah Zakaria
 
PDF
Human Data Acquisition through Biometrics using LabVIEW
IJECEIAES
 
PPTX
Biometrics fingerprint
Sagar Verma
 
PPTX
student database management system
Md. Riadul Islam
 
DOC
Fingerprint based attendance record system
Pvrtechnologies Nellore
 
PDF
Web Application Applying AI to Photo Editing
trieunt6
 
PPTX
A proposal for the automation of attendance system
Aj Aligonero
 
PPTX
Boimetric using 8051
Shilpa Nayak
 
Lab management
logumca
 
Visitor and vendor access management system
techlead-india
 
Student Attendance Management System with Fingerprint Software
ijtsrd
 
BIOMATRICS
Dinesh199329
 
face_detection_att.pptx
DeeJeeV
 
IRJET- Lab Monitoring System
IRJET Journal
 
Face detection project.pptx
mohammadzaid568683
 
IRJET- Biometric Attendance System
IRJET Journal
 
Student information system project report
Suman Chandra
 
Fingerprint Attendance project final PPT
Dhanajayan K
 
predefense presentation
Alphonse Bisangabagabo
 
MINOR PROJECT-1[1].pptxb jwjeye6swhqhwhwe
sunnyphotography601
 
Human Data Acquisition through Biometrics using LabVIEW
Yayah Zakaria
 
Human Data Acquisition through Biometrics using LabVIEW
IJECEIAES
 
Biometrics fingerprint
Sagar Verma
 
student database management system
Md. Riadul Islam
 
Fingerprint based attendance record system
Pvrtechnologies Nellore
 
Web Application Applying AI to Photo Editing
trieunt6
 
A proposal for the automation of attendance system
Aj Aligonero
 
Boimetric using 8051
Shilpa Nayak
 

Final Year Project Report

  • 1. Page 1 of 34 Diploma in Electronics, Computer and Communication Engineering Final Year Project Report Project Title: Development of Attendance and Access System Project Supervisor: Mr Ang Chee Kiong Project Student: Liew Chong Kit (101193J) Acknowledgement
  • 2. Page 2 of 34 I would like to thank my supervisor, Mr Ang Chee Kiong for his guidance and support throughout our 12 weeks of final year project. He gave me a clear guideline on what the project is about and what we are suppose to do. He also provides useful feedback for my project. I also appreciate that she trusts me to do our project independently. Secondly, I would like to thank the laboratory technician. He has provided all the necessary equipments that I need for this project Lastly I will also like to thank our week 6 and 12 presentation assessor Madam Low for her time, patience and also advice for our presentation and project. Abstract
  • 3. Page 3 of 34 The goalof this projectis to design and develop a web based attendance and access system using LABView. Main software required: LABView Microsoft Access Software Developmentkit(SDK) for the Fingerprint reader. Main hardware required: Fingerprint Reader Smart Card Reader
  • 4. Page 4 of 34 USB Camera Driver Needed: Databaseconnectivity toolkit IMAQdxand IMAQ toolkit VISA toolkit Table of Contents
  • 5. Page 5 of 34 Abstract Acknowledgement Table of Contents 1. Introduction 1.1 Background information 2. Project Objective(s) 3. Project Scope 3.1 Program Flow 4. Software Development 4.1 LABView 5. Hardware Development 5.1 Fingerprint reader - Digital persona 5.2 USB camera - Logitech 5.3 Card scanner - RF ID eas Inc 6. Database 7. Capture images 8. E-mail alert 9. Web services 10. Problems Encountered 11. Gantt Chart
  • 6. Page 6 of 34 12. Conclusion 9.1 Accomplishment/Outcome 9.2 Future Enhancement 13. Appendix 1. Introduction 1.1 Background information
  • 7. Page 7 of 34 The attendance and access systemusing biometric (fingerprint) reader is commonly used for identification and security checks throughoutthe work place. The systemcan be used in applications such as PC/LAN logon, visitor management, time/attendance user authorization, seminar, fitness or training attendance, and many more. 2. Project Objectives
  • 8. Page 8 of 34 To design and develop a web based systemfor attendance taking and access control using biometric (fingerprint) reader. 3. Project Scope 3.1 Program Flow
  • 9. Page 9 of 34 This projectrequires the studentto design and develop web based attendance and access systemusing LAB View. The systemrecords theattendance using biometric (fingerprint) reader, updates the database, activate access device and generates web based reportas requested by the systemadministrator. 4. Software Development 4.1 LABView
  • 10. Page 10 of 34 LABView is system design software that provides engineers and scientists with the tools needed to create and deploymeasurementand control systems through unprecedented hardware integration. LABViewinspires you to solve problems, accelerates your productivity, and gives you the confidence to continually innovate. Accelerate Your Productivity You can getmore done in less time with LABView through its comprehensive system design environment,unique graphicalprogramminglanguage,built-in engineering- specific libraries of software functions and hardware interfaces; and data analysis, visualization, and sharing features. Innovate With Confidence You can bring your vision to life with LABView.Through a world-class ecosystem of partners and technology alliances,a global and active usercommunity, and consistentannual releases,you can have the confidence to continually innovate. Why use LABView? NI LABViewis a graphical programming language designed forengineers and scientists to develop test, control, and measurementapplications. The
  • 11. Page 11 of 34 intuitive nature of LABViewgraphical programming makes it easy for educators and researchers to incorporate the software in a range of courses and applications. With LABView, educators and researchers can use a graphical system designapproach to design, prototype,and deploy embeddedsystems.It combines the power of graphical programming with hardware to dramatically simplifyand accelerate the developmentof designs. Graphicalsystem design is a modernapproach to designing,prototyping, and deploying embedded systems.It combines opengraphical programming with hardware to dramatically simplify development. Software benefits LABViewprovides the flexibility of a powerful programming language without the complexityof traditional developmentenvironments.  Easy to Learn and Use  Complete Functionality  Integrated I/O Capabilities Studentbenefits  Accelerated Learning  Industry Standard 5. Hardware Development 5.1 Fingerprintreader – Digital persona
  • 12. Page 12 of 34 U.are.U 4500 Fingerprint Reader The U.are.U 4500 Reader is a USB fingerprint reader featuring an elegant, sleek design with a soft, cool blue glow and, of course, the unsurpassed performance Digital Persona is known for. Made for power-users and shared environments, the 4500 is the natural choice for those that want and need the very best. Here’s a look at justsome of its features and benefits: The U.are.U 4500 fingerprintreader is designed for use with Digital Persona’s full range of software: Digital Persona Pro for Active Directory and Digital Personal SDKs for your own applications. Some of the many applications and verticals markets in which the U.are.U Readers may be used include:  Drug dispensary  Health Club membership
  • 13. Page 13 of 34  Prescriptionfulfillment  Time and Attendance  Point of Service (Retail and Restaurant) access  Finance and Banking account access  Law Enforcement  State and Local Government Easy-to-use To use, simply place a finger on the reader window and the reader quickly and automatically captures and encrypts the fingerprint image before sending it to the Digital Persona Identity Engine for verification. Digital Persona products utilizeoptical fingerprintscanning technology for superior image quality and productreliability. The combination of an U.are.U 4500 FingerprintReader with the Digital Persona Identity Engine produces an unmatched ability to recognizeeven the mostdifficult fingerprints. 5.2 USB Camera - Logitech QuickCam Pro 4000
  • 14. Page 14 of 34 Combining a digital zoom,built-in microphone,and high-quality VGACCD sensor, the QuickCam Pro 4000 lets you express yourcreativity like a pro. Set it up on any monitor The flexible back lets you shape it to match your monitor's profile. Or use the camera with its base on anyflat surface. Automatic face-tracking follows your actions! It's easy to stay the centre of attention during your video IM or video calling session.It automatically zooms in and follows your movements. 5.3 Card scanner - RF ID eas Inc The USB modelemulates a keyboard and keystrokes the card’s ID and/orsite code to the cursor’s location on the screen.The readercan be configured to add keystrokes before and after the card’s data. The serialversion, available in RS-232, Ethernet, or USB Virtual Com, delivers the card’s data in ASCII. 6 Database
  • 15. Page 15 of 34 First, start by doing the LABViewtutorial. At http://www.ni.com/white-paper/7466/en So that u will get the hang on howthe LABViewworks. And some basic functions of the LABViewto make your work easier. Secondly, do some research aboutthe projectand download the LABViewtoolkits needed for the project. Start of the Project I used a card scannerinstead ofa fingerprint readerbecausethe fingerprint readerhas notarrived yet. Make a simple database. Start the projectby making a simple database table at Microsoft Access,called “Student”. Which contain 3 columns,“Student Name”, “Admission Number”and “Card Number”. And the change the file type of .dsn.So the LABViewis able to call the database table. The Card Number can getit from the LABViewcode of the card scanner (Given by Mr Ang). By scanning the card to knowwhat is the card numberofyour student card. So that it able to knowwhich student tapped in. At this partyou, also need to read up on SQL statements on how it works. http://www.w3schools.com/sql/sql_where.asp If notyou will might have a hard time doing at the later part of the project. At the same time Download 2 toolkit called “ VISA” and “Database Connectivity “. VISA toolkit is too call USB instrument. While Database connectivity is for calling database from Microsoft access and more to LABView.
  • 16. Page 16 of 34 File Name:USB Serial Read.vi So the LABViewis able to read the admission number from the “Student” database table and display the student information onto the Table (on the front panelbelow). File Name:FYP.vi The Pink box is SQL statement.
  • 17. Page 17 of 34 Main VI: open connection.vi, selectdata.vi, data variant to data, close connection.vi Combine with card scanner. After calling the database table is successful.Combine it with the card scannerLABView code.So when a card is scanned,the LABView is able to read the card number from the “Student” database table and display the student information onto the Table (on the front panelbelow). File Name:FYP_2.vi Main VI: open connection.vi, selectdata.vi, data variant to data, close connection.vi
  • 18. Page 18 of 34 Now the modification of the LABViewcode will be in the “True & False”case structure (which is the inner box (Above)). Outside of the “True & False”case structure will remain the same till the fingerprint readerarrive. Time In. From the database table at the Microsoft access add on a newtable, called “Attendance”. This table contain 5 columns.3 columns will be the same as the “Student” table, and adds on “Time In” and “Time Out”. This table used onlywhen the studenttaps their card and the Time In will be shown. The LABViewwill pick up which student tapped in, at the “Student” database table and insert the student’s name,admission numberwith the Time In into the “attendance” database table. At this pointthe Time In and Time Out will be the same timing. Because the on the later part the Time Out will be update when the studenttap out. File Name:FYP_4.vi The image belowshows the changes in the “True & False”case structure.
  • 19. Page 19 of 34 Main VI: open connection.vi, selectdata.vi, data variant to data(s), insert data.vi, close connection.vi Time Out At this partneeded to create anotherdatabase table which is called “Attendance Record”. So when the student tap out, it will able to keep a record of the student from whattime to what time this studenttapped in and outon which date. And delete the data at “Attendance” database table. So it will not keep updating the time out even if this student taps in the second time. The “Attendance Record”table will also be using at web service (point 7) This part needs more VIs. First, need to check whetherthe studenthave alreadytapped in. The highlighted box (SQL statement) is calling the “Attendance “database table and getthe card number(which just scanned).And it checked through execute query.vi, get properties.vi and Fetch recordsetdata.vi. (At the highlighted triangle tool)At the fetch recordsetdata.vi will send outan array (data). If it is an empty array, it will showTRUE (the student have not tapped in before) so needed to insert this student into the “attendance” database table. If showFALSE (the student have tapped in before) so needed to update the Time Out of this student and keep the record ofthis studentat “Attendance Record” database table. At this point, needed another“True & False”case structure.
  • 20. Page 20 of 34 There are no changes on the front panel. File Name:FYP_5.vi Main VI: open connection.vi, execute query.vi, getproperties.vi, Fetch recordsetdata.vi and free object.vi Inside this new “True & False”case structure. At the True case,is where the studenthas not tapped in before. Therefore, it needed to insert the student information with the Time In into “Attendance” database table. This is similar with the Time In part, just that you putthe insertdata.vi inside of the “True & False” case structure. Main VI: Insert data.vi At the False case,is where the studenthas tapped in before. Therefore, it needed to update the Time Out of this student. And keep it as a record and insertit into “Attendance Record” database table, and delete the data at “Attendance” database table. So that the students
  • 21. Page 21 of 34 able to taps in the second time. This part needed more time to do. Main VI: update data.vi, selectdata.vi, data variant to data(s), insertdata.vi, and delete data.vi. 7 Capture student image When the studenttaps in, it also able to capture the student faces. At the database table “Attendance” and “Attendance Record”, needed to add on one column call “Image”. The “Image” column will showwhere the image been stored.It will showsomething like this: “C:UsersmyProjectDesktopFYP Project (IMPT)ProjectsImage123.png” at the database table. At the same time, you needed to download a toolkit call “IMAQdx”. So that it able to run the camera on LABView. The Boolean button mustnot be turn on,as it acts as a tool to stop the camera case structure to keep on looping.
  • 22. Page 22 of 34 File Name:FYP_6 The capture image is done within the “True & False”case structure which at the same location where student information and Time In is. Now is just need to add in another column for the “Image” which mention at the beginning.So that it will insert together with the student information and Time In into the “Attendance” database table. And the image will automatic save into the location (folder) you want.
  • 23. Page 23 of 34 Main VI: IMAQdx open camera.vi, IMAQdx configure grab.vi, IMAQdx grab.vi, IMAQdx start acquisition.vi, IMAQ write file.vi
  • 24. Page 24 of 34 8 E-mail Alert E-mail Alert is to alert the administrators to knowwhich student did not come at a certain time. Before starting on to this part, read a bit aboutSMTP to understand howemail messages are sent,otherwise you'll probablyfind that your messages don'tget delivered and you won't knowwhy.
  • 25. Page 25 of 34 9 Web Services Web Services is to allow administrators to access into studentrecords through the web, by typing in the studentadmission number. The LABViewwill getthe data from “Attendance Record”database table which was done at Database part(point 5). Do the tutorial before starting to move onto the project. At http://zone.ni.com/reference/en- XX/help/371361H-01/lvhowto/build_web_service/#Creating_VIs_WS Making Web Services is just like calling the database (which is almost the same done in the beginning ofthe project and display it on the table at LABView. First, code the LABView on howu wants the program to display your database. Formine, type in the studentadmission numberand it will display that studentattendance records.
  • 26. Page 26 of 34 Second,make sure the program run normally (no errors) on LABView,before putting it onto the web. Third, put the program onto the web. Go to tools > options Then u will come to this window. And click web server. The rest can leave it. Then click OK. Enable the web server by clicking the appropriate checkbox. The default port number for the web server is 80. U can change to other port number.
  • 27. Page 27 of 34 Specify a list of client IP addresses that are allowed to access the Web Server. Each IP address may be granted controlling privileges, viewing only privileges, or denied access. An asterisk (*) as shown is the Visible VIs and Browser access list that grants access to any IP address. Click okay after setting.
  • 28. Page 28 of 34 Go to tools > web publishing tool You will come to this window.Select the VI to display on the web and ‘Tick’ Embedded.So the usercan control it on the web. And click next.
  • 29. Page 29 of 34 You can change the title and the HTML contentfor the Web page.And click Next. You can change the file name which changes the URL also. And click Save to Disk > OK.
  • 30. Page 30 of 34 This is howit looks like on the Web. *Make sure the VI is open* so that the Web will run properly. After typing in the new admission number,a black tick will appearbelowthe “Edit”. Make sure click on the tick before running it. (Unable to screenshotto showit here)
  • 31. Page 31 of 34 10 Problem Encounters & solutions 1. At the very begin of the project, cannotopen the file to display on LABView. Because it is the wrong type of file . The file needs to be in .dsn file type. 2. Unfamiliar with Lab view. Because a lot of tools was still unknown to me. All I can do is to Google the name/howitworks. Or go to NI forum. 3. SQL statements. Find tutorial for SQL statements. 4. SMTP Server Need to understand howthe SMTP server sends the email works by looking through the tutorial. 5. LABViewof the send emailis working,butcannotsend outemail to personal account. 6. When running LABView,atthe partwhere running the camera it will promptyou where you want to save the image. 7. Do notknowhow to use LABViewto run with fingerprint reader.
  • 32. Page 32 of 34 11 Gantt Chart
  • 33. Page 33 of 34 10. Conclusions
  • 34. Page 34 of 34 11. Appendix  http://forums.ni.com/  http://www.w3schools.com/sql/sql_where.asp  http://digital.ni.com/public.nsf/allkb/151C96CC8EFAB6A78 6256CC2007C1178  http://www.ni.com/white-paper/7466/en  http://joule.ni.com/nidu/cds/view/p/id/2821/lang/en  http://zone.ni.com/reference/en-XX/help/371361H- 01/lvhowto/build_web_service/#Creating_VIs_WS  http://sine.ni.com/nips/cds/view/p/lang/en/nid/209060  http://asgpjl-010/student.html  http://digitalpersona.com/Biometrics/Hardware-Products/U-are-U- 4500-Reader/4500-Reader/