2.1 Introduction 8
2.2 Attendance And Access Control System Using RFID System Concept
9 2.3 Identification System
10 2.3.1 Automated fingerprint identification
11 2.3.2 Barcode system
12 2.3.3 Radio Frequency Based IdentificationRFID
12 2.3.3.1
RFID Reader 12
2.3.3.2 RFID Tag
14 2.4 Existing Attendance System
14 2.4.1 RFID Based Attendance System
AT89S52 + RFID 15
2.4.2 Time Attendance System by Tutis
Technologies Limited 15
2.4.3 Smart Clock 16
2.4.4 Automation of Time and Attendance using RFID Systems
17
3 COMPONENT AND SOFTWARE OVERVIEW
3.1 Introduction
19 3.2
Chosen Components 19
3.2.1 Hardware overview 20
3.2.1.1 Microcontroller 22
3.2.1.1.1 PIC16F876A by
Microchip 23
3.2.1.2 PIC programmer 26
3.2.1.2.1 UIC00BUSB ICSP
PIC Programmer 26
3.2.1.3 Power Supply 27
3.2.1.3.1 Voltage Regulator
28
3.2.1.4 RFID 29
3.2.1.4.1 IDR-232 RFID Reader 29
3.2.1.4.1.1 RFID-IDR 232N setup 30
3.2.1.4.2 RFID Card 34
3.2.1.5 LCD Display 34
3.2.1.6 Others Components
35 3.2.1.6.1 Capacitors
35 3.2.1.6.1.1 Polarised capacitors
large values, 1µF 35 3.2.1.6.1.2 Unpolarised capacitors
small values, up to 1µF 36 3.2.1.6.2
LED 38
3.2.1.6.3 Resistors
39 3.2.1.6.4
Transistors 40
3.2.1.6.4.1 Types Of
Transistor 41
3.2.1.6.4.2 Connecting
41
3.2.1.6.5 Crystal oscillator
42 3.2.2 Software Overview
42 3.2.2.1 RFID-IDR-232N Protocol
42 3.2.2.2 The C language
43 3.2.2.3 Microsoft Visual Basic
44 3.2.2.3
CCS MPLAB IDE 45
4 METHODOLOGY
4.1 Procedures in Designing the Project
46 4.2
PCB Board Development 48
4.3 Software design
49 4.3.1 Initialization of Program
49 4.3.1.1 Ports Configurations
50 4.3.1.2 Preassigned ID
50
5 RESULT AND DISCUSSION
5.1 Introduction
52 5.2
Attendance And Access Control System Using RFID System Test Result
51 5.3
Test On System 51
5.4 The Database for Attendance and access control
system using RFID system 5
5.4.1
First step 56
5.4.2 Second Step 56
5.4.3 Third step
57
6 CONCLUSION AND RECOMMENDATION
6.1 Conclusion
58 6.2
Problems 58
6.3 Recommendations
59 6.3.1 Hardware Improvement
59 6.3.2 Software Improvement
59
REFERENCES 60
APPENDIX A 61
APPENDIX B 68
APPENDIX C 70
LIST OF FIGURES
NO. TITLE
PAGE
1.1 Flow chart of Attendance And Access Control System
Using RFID System 5
2.1 A fingerprint scan
9 2.2
An example of barcode 10
2.3 An example of long range RFID Reader and its applications
11 2.4
A Times Attendance System device 15
2.5 A Smart Clock using magnet stripe as identification.
16 3.1
Block diagram of Time Attendance And Access Control System Using RFID System
20 3.2
The Hardware Circuit 21
3.3 The Hardware circuit with RFID
21 3.4
Block Diagram of Microcontroller the microcontroller.
22 3.5
The PIC16F876A microcontroller 24
3.6 The PIC16F876A pin diagram
25 3.7
Connection of cable to box header of UIC00B and box header of development board
27 3.8
Schematic circuit of 5V DC supply. 28
3.9 LM7805
29 3.10
IDR-232 RFID reader 30
3.11 Connect RJ11 cable connector into RFID Reader
31 3.12
The communication line has to be connected to serial port of PC 31
3.13 Hyper Terminal
32 3.14
The protocol of the RFID Reader. The extra byte of data at the first and the last of tag ID’s
33
3.15 The diagram of LCD display
35 3.16
Symbol Of Capacitor And Example For Polarised Capacitor 37
3.17 Example And Symbol For Unpolarised Capacitor
37 3.18 a
Light Emmitting Diode 38
3.18 b The Symbol of LED
38 3.19
Transistor 40
3.20 Moss Common Case Styles Of Transistor
41 3.21
Microsoft Visual basic 2010 start page 44
4.1 Work flow in designing Attendance and Access Control System
Using RFID System 47
4.2 Completed Circuit Routing
48 4.3
The Flow chart of the process inside microcontroller 49
5.1 Code Under MPLAB IDE
52 5.2
Attendance And Access Control System Using RFID System Standby Mode.
53 5.3
Identifying Sample 1 54
5.4 Identifying Sample 2.
54 5.5
Identifying Sample 3. 54
5.6 the system display . CAMERA ACTIVATING”. ”WAITING
GUARD TO OPEN THE GATE 55
5.7 Security log in.
56 5.8
Password And The Database Success 56
5.9 View the database
56
LIST OF TABLES
NO. TITLE
PAGE
3.1 Table pin name and application
25 3.2
Example of wire color output 33
3.3 Pin connections of LCD Display.
35 3.4
The Resistor Colour Code 39
4.1 ID number and the Plat number.
50
LIST OF APPENDICES
NO TITLES
PAGE A
Code of program 61
B Schematic
68 C
PIC16F876A datasheet 70
LIST OF ABBREVIATIONS
PIC Programmable Integrated Circuit
PC Personal Computer
IDE Integrated Development Environment
PSM Projek Sarjana Muda
LCD Liquid Crystal Display
CHAPTER 1
INTRODUCTION
1.1 Project Introduction