A SIMPLE ID DETECTION USING INFRARED SENSORS NOOR FARHANA HALIL BT ABDUL RAZAK

Similar documents
IMPROVEMENT OF BUS ROOF SECTION

AIR CONDITIONING STUDY FOR AUTOMOTIVE APPLICATION ALAUDDIN HAFIZ BIN YUSOF UNIVERSITI MALAYSIA PAHANG

SMART GARDEN SYSTEM NURSHAHNEEM BINTI MOHD SAID

FENCE INTRUDER DETECTION SYSTEM (FIDS) CHUINK BENG CHEONG

ANALYSIS AND MEASUREMENT FIBER OPTIC FAULT BY USING OPTICAL TIME DOMAIN REFLECTROMETER (OTDR) AKWANIZAM BIN AZMI

GAS LEAKAGE MONITORING OVER THE NET WITH RASPBERRY PI MOHD FAEZ BIN AHMAD RAZLI

WIRELESS SECURITY SYSTEM UKASYAH BIN MAHAMOD

Development of Anti-Theft Door System for Lecturer s Room

MOTORCYCLE ANTI-THEFT SYSTEM (MATS) MUHAMAD ALIF BIN ABU

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

STORAGE WATER TANKS CLEANING ROBOT AFIZRUL IMAN BIN MOHAMED

GSM MOBILE CAR ALARM SYSTEM NURHAZWANI BT SALEH

Samsiah binti Mohamad

Design and Fabrication of Solar Assisted Drying Machine

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA. Improving of Cool Air Evacuation Process for Home Application

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

A COMPARISON BETWEEN TRADITIONAL PAVEMENT REHABILITATION METHOD AS COMPARED TO RECYCLING METHOD SITI MAZZUANA BINTI SHAMSUDDIN

Design and Development of Prototyping High Pressure and High Temperature Steam Cleaning Jet

PENGARUH KEDUDUKAN DAN KEADAAN TAPAK KE ATAS KOS PEMBINAAN TAPAK TELEKOMUNIKASI SURYYANY BT ABD RANI UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

IDENTIFICATION OF AUDIO AND ROOM PARAMETERS FOR OPTIMUM SPEECH INTELLIGIBILITY IN ROOM NG TSING CHUN UNIVERSITI TEKNOLOGI MALAYSIA

ASSESSMENT OF PARKING DEMAND IMPACT ON ADJOINING ROADWAY NETWORK WAN NUR ALIFFA WAN RAMLI

ASSESSMENT OF URBAN GREEN SPACE BASED ON LANDSCAPE ECOLOGICAL PRINCIPLES SITI SYAMIMI BINTI OMAR

APPLICATION OF BIM IN EARLY STAGE DESIGN COST ESTIMATION

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

POROSITY ARCHITECTURE IN ECOLOGICAL DESIGN TAN KWON CHONG

A Suitable Development Trend in Linear City Based On Smart Growth A Case Study in Lanzhou Urban Area ZHOU WEI

EFFECT OF FINE AGGREGATE ANGULARITY ON RUTTING RESISTANCE OF ASPHALT CONCRETE AC10

ANALYSIS OF HEAT GAIN AGAINST COOLING CAPACITY AT OCCUPIED BUILDING KOH KELVIN

VISUAL REPRESENTATION OF NATURE IN THE LIBRARY SOMAYEH ROUSTAEI SADRY UNIVERSITI TEKNOLOGI MALAYSIA

GEOGRAPHICAL ANALYSIS OF LIBYAN AIRPORTS AND THEIR POTENTIAL AS A HUB OF AIR TRANSPORTATION FOUAD D S ABDULWAFI UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

GREEN HIGHWAY ECOLOGY AND ECOSYSTEM PRESERVATION AND RESTORATION MUDATHIR OMER ADAM ARBAB

FLOOD MAPPING FOR SUNGAI BUNUS MOHD IRSYAM NOORFAWANA BIN MASRI

NAZANEEN AHMED NASROULLA

STUDY OF INTERNAL HEAT EXCHANGER EFFECTS ON CAR AIR CONDITIONING SYSTEM CHAN HONG KET

UNIVERSITI TEKNOLOGI MARA IMPLICATION OF NIGHT-TIME LEISURE ACTIVITIES TOWARDS PLACE IDENTITY OF URBAN PUBLIC PARK IN SHAH ALAM AND PUTRAJAYA

A STRUCTURED CRITICAL SUCCESS FACTORS MODEL FOR THE IMPLEMENTATION OF GREEN RETROFIT PROJECTS REHMAASHINI JAGARAJAN UNIVERSITI TEKNOLOGI MALAYSIA

EVALUATION OF CRACK RELIEF LAYER FOR ROADS AND HIGHWAYS KHAIRUL HAFIZ BIN MUSTAFA

CENTRE OF STUDIES FOR BUILDING SURVEYING FACULTY OF ARCHITECTURE, PLANNING AND SURVEYING UNIVERSITI TEKNOLOGI MARA

FIRE ALARM WITH SECURITY SYSTEM MOHAMED FAIZ BIN MOHAMED MUSA

WIRELESS Temperature Monitoring System for Blood Bank using Zigbee. Keywords: Temperature monitoring system; ZigBee; LabVIEW; internet; alarm

HEAT TRANSFER CHARACTERISTICS OF A HEAT EXCHANGER JAMIATUL ADAWIAH BT AB. SIDEK UNIVERSITI TEKNIKAL MALAYSIA MELAKA

SISTEM PBNGUJIAN TAPAK CADAI\IGAN BINAAN HALIZAH BINTI AHMAD

THERMAL PERFORMANCE OF POTTED PLANTS IN MITIGATING INDOOR TEMPERATURE IN TROPICAL CLIMATE SHAHRUL BIN CHE ON UNIVERSITI TEKNOLOGI MALAYSIA

DESIGN FACTORS THAT INFLUENCE THE EFFECTIVE USE OF MEYDAN IN IRAN REIHANEH SADAT HAJMIRSADEGHI UNIVERSITI TEKNOLOGI MALAYSIA

DYNAMIC ANALYSES OF COMPOSITE FOOTBRIDGES EXCITED BY PEDESTRIAN INDUCED LOADS FARAZ SADEGHI UNIVERSITI TEKNOLOGI MALAYSIA

DESIGN OF A RECYCLE BIN TIN CAN CRUSHER MUHAMMAD HANIS BIN MUHAMMAD ZULKIFLI

DESIGN AND CONSTRUCTION OF A MICROCONTROLLER BASED UNDER AND OVER VOLTAGE PROTECTION DEVICE WITH ALARM NAT BEREGHA EREMIEMI (2006/24462EE)

PHYSICAL ATTRIBUTES ON PLACE ATTACHMENT IN MALAYSIAN URBAN PARKS HADI EBADI UNIVERSITI TEKNOLOGI MALAYSIA

HEDGES USED IN BACKGROUND OF THE STUDY SECTIONS OF ENGLISH DEPARTMENT THESES: A CASE STUDY AT DIAN NUSWANTORO UNIVERSITY THESIS

TABLE OF CONTENTS CHAPTER TITLE PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

WIRELESS BASED HOME SECURITY WITH AUTOMATION SYSTEM WAN NORZIELA BINTI WAN ROSLI

RDG 334 Theory and History of Design (Sejarah dan Teori Seni Reka)

.,- '. '.. I.. \ " ; \. " / [i IlilrJII~'~ri1l1~m i ~:III'j'11 II. II ' ' ..' 1-- '. _.:"". h, ".,'.".

AQUAPONIC SYSTEM FOR SELF-SUSTAIN LIVING YAN YEN QUN

FMNA SYSTEM (FORGET ME NOT ALERT SYSTEM) SHARON BOON KHAI YEN

SECTION A : 50 MARKS BAHAGIAN A : 50 MARKAH INSTRUCTION: This section consists of TWO (2) structured essay questions. Answer ALL questions.

Kuliah 1 : Pengenalan Kepada Teknologi Maklumat & Komunikasi

NUTRIENT LEACHING IN PEAT AND LATERITIC SOIL TREATED WITH INORGANIC AND ORGANIC FERTILISER

DETERMINATION OF WARNING DETECTION PARAMETERS BASED ON DATA PORTAL DETECTION OF RADIATION IN PORT KLANG, MALAYSIA

PROPOSE AND DESIGN A CANVAS SHOES CLEANER MACHINE NUR SYAFIQAH BINTI ISMUINI

SUSTAINABILITY ASSESSMENT OF COMPACT-CITY DEVELOPMENT USING GEODESIGN APPROACH AHMED ABDULHAFEDH OWAID UNIVERSITI TEKNOLOGI MALAYSIA

FIBER NETWORK CABLING. By: Abdul Hak Bin Mahat (ILPS)

LANDFILL SITE SUITABILITY USING GEOGRAPHIC INFORMATION SYSTEM AND ANALYTICAL HIERARCHY PROCESS

UNIVERSITI TEKNOLOGI MARA

NAZANEEN AHMED NASROULLA

Final Year Project Report

UNIVERSITI TEKNOLOGI MARA

UNIVERSITI PUTRA MALAYSIA

Signature : MOHD ZAMRI BIN IBRAHIM

UNIVERSITI PUTRA MALAYSIA INTEGRATING PUBLIC ART IN MALAYSIAN URBAN LANDSCAPE

UNIVERSITI SAINS MALAYSIA. Second Semester Examination Academic Session 2008/2009. April/May RPK Urban Design [Rekabentuk Bandar]

HUMIDITY CONTROL SYSTEM FOR ROLLING AND FERMENTING ROOM OF A TEA FACTORY

UNIVERSITI PUTRA MALAYSIA SUSTAINABILITY OF STREET FURNITURE DESIGN IN URBAN MALAYSIA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

DESIGN AND ANALYSIS OF ELECTRICAL IRON USING BOOTHROYD DEWHURST DFMA METHODOLOGY MOHD HAZUAN BIN MOHD ZAWAWI

PROJEK PERUMAHAN KAWASAN PULAU

DESIGN AND DEVELOPMENT OF FOOD WASTE COMPACTOR ROZAIDI BIN ROZMAN

TABLE OF CONTENTS. iii iv vi. vii. xii xiii xvii xix

THE DESIGN AND FABRICATION OF AN OIL VACUUM CLEANER FOR INDUSTRIAL USE

DESIGN AND CONSTRUCTION OF A WAILING ALARM SIREN SYSTEM ZUBAIR LARABA RAKIYA 200S/22108EE DEPARTMENT OF ELECTRICAL/COMPUTER ENGINEERING

HEDGES IN GEORGE W. BUSH S SPEECHES

ANALYSIS PERFORMANCE OF WAJA CAR AIR-CONDITIONING SYSTEM MUHAMAD AMIRUDIN BIN KAMALRUL BADRI

URBAN REGENERATION ISSUES OF SECTION 13 PETALING JAYA KHAIRUL NISA BINTI HARON UNIVERSITI TEKNOLOGI MALAYSIA

ANALYZE ThJ SPRINKLER SYSTEM IN tjw LECTURE ROOM USINO CID (COMPUTATIONAL FLUID DYNAMICS) ANALYSIS. WJHAMAD KHUMAJM fin r,jzaiman

INSTRUCTION: This section consists of SIX (6) structure questions. Answer FOUR (4) questions only.

EARHTHING PERFORMANCE OF HV/MV SUBSTATION AND ITS EFFECT ON NEARBY STRUCTURES NORNIKMAN BIN RAHIMIN

CENTRE OF STUDIES FOR BUILDING SURVEYING FACULTY OF ARCHITECTURE, PLANNING AND SURVEYING UNIVERSITI TEKNOLOGI MARA

NEW CONCEPT OF FURNITURE DESIGN BY USING SPACE SAVING APPROACH TAN BOON CHAI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

MUIHAMAD RUSYDI BIN AL!

Salam Pengenalan F2F Pertama - pelajar KOM3305 (PJJ)

UNIVERSITI TEKNOLOGI MARA THE CONDITION OF OUTDOOR SCULPTURES IN ASEAN SCULPTURE GARDEN KUALA LUMPUR: A CONSERVATION STUDY NORA SOFIA MOHAMED YURAN

DESIGN AND CONSTRUCTION OF OVER-VOLTAGE AND UNDER VOLTAGE PROTECTIVE DEVICE WIT.H REMOTE CONTROL

UNIVERSITI TEKNOLOGI MARA EFFECTIVENESS OF VESICULAR ARBUSCULAR MYCORRHIZA ON ROOT DEVELOPMENT OF SAGO PALM PLANTLETS

ASSESSING GREENWAY NETWORK CONNECTIVITY FOR UNIVERSITY CAMPUS NORAINI BT BAHARI

APPROVAL. Signature : Supervisor name : Date : Signature : Panel name : Date :

PLACENESS BAGI PASAR BESAR DAN BAZAR DI KAMPUNG JAWA, MELAKA AHMAD AMZAR BIN ABDULLAH

Transcription:

A SIMPLE ID DETECTION USING INFRARED SENSORS NOOR FARHANA HALIL BT ABDUL RAZAK This report is submitted in partial fulfillment of the requirements for the award of Bachelor of Electronic Engineering ( Electronic Industry ) With Honours Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka April2010

UNIVERSTI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER BORANGPENGESAHANSTATUSLAPORAN PROJEK SARJANA MUDA II Tajuk Projek Sesi Pengajian A SIMPLE ID DETECTION USING INFRARED SENSORS Saya NQQR.f.ABJJANAHALlL.~lliiJ.AaP..UL.RAZAK (HURUF BESAR) mengaku membenarkan Laporan Projek Sarjana Muda ini disimpan di Perpustakaan dengan syaratsyarat kegunaan seperti berikut:- 1. Laporan adalah hakrnilik Universiti Teknikal Malaysia Melaka. 2. Perpustakaan dibenarkan membuat salinan untuk tujuan pengajian sahaja. 3. Perpustakaan dibenarkan mernbuat salinan laporan ini sebagai bahan pertukaran antara institusi pengajian tinggi. 4. Sila tandakan (..J ) : SULIT* D TERHAD** D *(Mengandungi maklumat yang berdaijah keselamatan atau kepentingan Malaysia seperti yang termaktub di dalam AKT A RAHSIA RASMI 1972) **(Mengandungi maklumat terhad yang telah ditentukan oleh organisasi/badan di mana penyelidikan dijalankan) [~] TIDAK TERHAD Disahkan oleh: Alamat Tetap: 62, JALAN PISANO RAJA, KAMPUNG MELA YU, A YER IT AM, 11500, PULAU PINANG (COP DAN T ANDA T ANGAN PENYELIA) FARID AAAfAT 81N AZIOIN Pensyaral'l Fakulti Kejuruteraan Elektronik Dan Keturuteraan Kon.uu'"' Universiti Teknikal Malaysia M!!laka (UTuM ) Karung Berkunci No 1752 Pejabat Pos Durian Tunggal 7i109 Durian Tunggal, Melaka Tarikh: 30 APRIL 2010 Tarikh: 30 APRIL 20 I 0

i I hereby declare that this report is result of my own effort except for works that have been cited clearly in the references. Signature Author Date :. : Noor Farhana Halil Binti Abdul Razak :.

ii I hereby declare that I have read this report and in my opinion this report is sufficient in terms of the scope and quality for the award of Bachelor of Electronic Engineering (Electronic Industry) With Honours Signature Supervisor s Name Date : : Mr. Farid Arafat B Azidin :

To my beloved Parents, Family and Friends iii

iv ACKNOWLEDGEMENT I would like to take this opportunity to express my gratitude to all the parties that have been assisting me throughout the duration of my final year project report. First and foremost, I would like to shower a million thanks to my supervisor, Mr. Farid Arafat Bin Azidin who has been of outmost help and patience. From the first I started my project design until the end of my PSM II, he has been my source of motivation, inspiration, and my guiding light. All the input towards the practical has tremendously benefited me in various aspects. I would also like to take this opportunity to show my appreciation to Dr. Lim Kim Chuan and Pn. Yusmarnita Bt Yusop the assessor. Thanks for always being receptive towards any new ideas and suggestion that was brought forward during our meeting on 8 April 2010. All your comments during Presentation PSM II was taken seriously and kept in a corner of my mind at all times while developing this report successfully.

v I would like to take this chance to express my thanks to the management of Faculty Electronics and Computer Engineering (FKEKK), UTeM, for give me the opportunity to use all the facilities in FKEKK especially all the equipment in the laboratory in order to complete my project work. Without the kind cooperation from all the people, this project would not be able to be completed in such as smooth manner. Special thanks are also directed to some of UTeM lecturer for freeing up their busy schedule and spend time with me in order to help me figure out my project. Last but not least I would like to thank all my family members and friends who have been extremely supportive throughout the duration of the entire practical and helping me to complete my final year project report.

vi ABSTRACT The ID detection is design for used in unlocking outdoor gate system. This project is to develop an electronic sensor for ID detection using 4x2 matrix infrared sensors where it can detect self-implemented blocking code. The card is set up for easy usage. The sensor used in this project is the infrared sensor. The main objective of this project is to design an ID Detector by using IR sensors and PIC microcontroller. It is also to develop and implement a system which uses infrared sensors, PIC 16F877A, LCD display, LED display and buzzer alarm. Moreover, this project is to design a low cost ID detector for simple application. The ID Detector is implementing to avoid animal or intruders to enter into the court easily. It is for the reason of environmental protection and to avoid any damage to the courts. Moreover, this ID Detector can be used for reservation system which happened to make the owner of the court easy maintaining the courts privacy. When the card is inserted in the ID detector, the sensors will detect the code and send the information to the PIC microcontroller which then activates the green LED. A valid ID detection will be display on the LCD. An invalid ID detection will be display on the LCD and follows by red LED and buzzer.

vii ABSTRAK Pengesan ID direka untuk menghasilkan sistem membuka kunci gerbang luar. Projek ini adalah untuk menghasilkan sebuah sensor elektronik untuk mengesan ID dengan menggunakan sensor inframerah 4x2 matrix dimana ia diimplementasikan untuk mengesan kod. Kad sudah ditetapkan untuk kegunaan mudah. Sensor yang digunakan dalam projek ini adalah sensor inframerah. Tujuan utama projek ini adalah untuk menghasilkan sebuah pengesan ID dengan menggunakan sensor inframerah dan mikrokontroler PIC. Selain itu, pengesan ID dihasilkan untuk melaksanakan sistem yang menggunakan sensor inframerah, PIC 16F877A, layar LCD, LED dan penggera buzzer. Selain itu, projek ini direka untuk pengesan ID kos rendah. Pengesan ID ini dihasilkan adalah untuk mengelak haiwan atau penceroboh dari masuk ke gelanggang dengan mudah. Penghasilan ID ini adalah untuk sebab perlindungan alam sekitar dan untuk mengelakkan kerosakan pada gelanggang. Selain itu, pengesan ID boleh digunakan untuk sistem tempahan oleh pemilik gelanggang untuk menjaga privasi gelanggang miliknya. Saat kad dimasukkan ke dalam pengesan ID, sensor akan mengesan kod dan menghantar maklumat tersebut kepada PIC mikrokontroler yang kemudian mengaktifkan LED hijau. Sebuah pengesanan ID yang sah akan dipaparkan pada LCD. Sebuah pengesanan ID tidak sah akan dipaparkan pada LCD dan diikuti dengan LED merah dan buzzer.

viii TABLE OF CONTENTS CHAPTER ITEM DECLARATION DEDICATION ACKNOWLEDGMENT ABSTRACT ABSTRAK TABLE OF CONTENTS LIST OF TABLES LIST OF FIGURES LIST OF APPENDIX PAGE i-ii iii iv-v vi vii viii-x xi xii-xiii xiv 1 INTRODUCTION 1 1.1 Introduction 1-2 1.2 Objective 2 1.3 Problem Statement 3 1.4 Scope of work 4 1.5 Methodology 5 1.6 Thesis Structure 6 2 LITERATURE REVIEW 7 2.1 Introduction 7 2.2 ID Detector 8 2.3 Comparison with Existing Project 9 2.4 PIC Microcontroller 10

ix 2.4.1 Introduction 2.4.2 Power Supply 2.5 Display Unit 2.5.1 Introduction 2.5.2 Liquid Crystal Display (LCD) 2.6 Sensors 2.6.1 Infrared (IR) Sensors 10-15 15 16 16 16-19 19-21 21-22 3 METHODOLOGY 23 3.1 Introduction 23-24 3.2 Hardware 25 3.2.1 System Block Diagram 25 3.2.2 Power Supply Circuit 3.2.3 Main Controller Circuit 3.2.4 Infrared Sensor Circuit 3.2.5 LCD Display Module 3.3 Software 3.3.1 MPLab C Compiler 3.3.2 C Language 3.3.2.1 The Structure of C Program 3.3.3 Programming 3.3.3.1 Initialize 3.3.3.2 Main Program 3.3.3.3 Verifying ID 3.3.3.4 Invalid ID 26-27 27-28 28-29 29-30 31 31 31-32 32-33 33 33-34 35 36-37 37-38 4 RESULT AND DISCUSSION 39 4.1 Introduction 39 4.2 Power Supply Circuit Analysis 4.3 Main Controller Circuit Analysis 4.4 Sensors Circuit Analysis 4.5 Display Circuit Analysis 40 40-42 43 44-46 5 CONCLUSION AND SUGGESTIONS 47 5.1 Introduction 47 5.2 Conclusion 48

x 5.3 Suggestions 49 REFERENCES 50 APPENDIX A 51-70 APPENDIX B APPENDIX C 71-74 75-76

xi LIST OF TABLES Table 2.1: Comparison between my projects with the previous projects Table 2.2: LCD differences Table 2.3: Comparison between LCD and personal computer Table 2.4: Sensor characteristic that need to be consider. Table 2.5: Comparison of sensors Table 3.1: Connection Port of LCD display 9 17-18 18 20-21 22 30

xii LIST OF FIGURE Figure 2.1: Existing Project 1 9 Figure 2.2: Existing Project 2 9 Figure 2.3: Clock/instruction Cycle 13 Figure 2.4: Pin diagram 14 Figure 2.5: Liquid Crystal Display (LCD). 19 Figure 2.6: IR sensor 22 Figure 3.1: Block Diagram for the whole system. 25 Figure 3.2: LM7805 regulator. 26 Figure 3.3: Schematic circuit of +5V power supply. 27 Figure 3.4: Main controller circuit 28 Figure 3.5: Infrared Sensor Circuit 29 Figure 3.6: LCD display circuit 30 Figure 3.7: Initialize Ports 34 Figure 3.8: Main Program 35 Figure 3.9: Verifying ID 36 Figure 4.0: CARD1 Verification 36 Figure 4.1: Invalid ID detection 38 Figure 4.2: Final Project 40 Figure 4.3: Valid ID detected 41 Figure 4.4: Invalid ID detected 42 Figure 4.5: Infrared Sensors Circuit & Card Slot 43 Figure 4.6: Displaying Project Title 44

xiii Figure 4.7: Displaying System Activated Figure 4.8: Verifying ID display Figure 4.9: Valid ID display Figure 4.10: Invalid ID display 44 45 45 46

xiv LIST OF APPENDIX APPENDIX A APPENDIX B APPENDIX C SOFTWARE DEVELOPMENT MICROCHIP 16F877A DATA SHEET LM7805 DATA SHEET 51-70 71-74 75-76

CHAPTER 1 INTRODUCTION 1.1 Introduction The ID detection is design for used in unlocking outdoor gate system. This project is to develop an electronic sensor for ID detection using 4x2 matrix IR sensors where it can detect self-implemented blocking code. The card is set up for easy usage. An additional advantage of it safety is the fact that sensors is set up on the internal part, whereas the code is set up on the card. In this case the unlocking gate system is ensured only if the codes on the card make contact with the sensor in the ID detector. The sensor used in this project is the infrared sensor. Infrared sensor is use to detect the code that on the card. The infrared sensor is then connected to the PIC microcontroller which is programmed to identify the code that is on the card.

2 The ID detection is a small database system programmed in PIC microcontroller. The PIC microcontroller used in this project is PIC16F877A. When the card is inserted in the ID detector, the sensors will detect the code and send the information to the PIC microcontroller which then activates the green LED. A valid ID detection will be display on the LCD. An invalid ID detection will be display on the LCD and follows by red LED and buzzer. 1.2 Objectives There are several objectives that are to be achieved at the end of the project which includes: i. To design an ID Detector by using IR sensors and PIC microcontroller. ii. To develop and implement a system, which uses; Infrared Sensors, PIC 16F877A, LCD display, LED (green and red) and buzzer alarm. iii. To design a low cost ID detector for simple application. iv. To learn about the art of programming in C language.

3 1.3 Problem Statement Nowadays, the outdoor gates such as courts gate is unlocked and widely open whenever no one is using it. So when the gate is unlocked, there are many possibilities can happened such as animals or intruders can enter the courts without any reason anytime. Furthermore, the carpet used in tennis courts, basketball courts and many other courts is expensive. The ID Detector is implementing to avoid animal or intruders to enter into the court easily. It is for the reason of environmental protection and to avoid any damage to the courts. Moreover, this ID Detector can be used for reservation system which happened to make the owner of the court easy maintaining the courts privacy. It is also to avoid any intruders which are not registered entering the courts. ID Detector is implementing for easy usage and a user friendly type. It is not necessary to use an expensive type of ID detector for a simple gate system. So for this type of gate system, a low cost ID Detector can be used.

4 1.4 Scope of Work As to ensure the completion of project achieves the stated objectives, the project shall be completed within these scopes: i. To built an ID detector using 4X2 matrix IR sensor in the field of outside gate system. ii. To construct a compact design capable for gate system. iii. To study the operation of; Microcontroller. Infrared Sensor iv. To identify; The accurate and stable circuit. Suitable programming and its implementation

5 1.5 Methodology To achieve the goal that has been set in the objectives of this project, certain methods shall be used.

6 1.6 Thesis Structure Chapter 1 will be discussed about an introduction of the project. The main idea is about the background and objectives of the project will be discussed. Chapter 2 is about literature review of the project. This project discusses the concept of the research and how it related with the theory. Chapter 3 is explanation about the methodology and process that taken to complete the project. It consist the detail development of this project. Chapter 4 is about the result obtaining based on the methodology used. The obtained result will be analyze and based on the objectives and problem statement. Chapter 5 is about the discussion and summary of project achievement. It also includes the conclusion and recommendation that can be taken for future improvement of the project.

CHAPTER 2 LITERATURE REVIEW 2.1 Introduction This chapter is upon the study on PIC microcontroller, LCD display, Infrared sensors, LED display and Buzzer Alarm. The PIC microcontroller discussed more towards the capability of it and thorough detail on the functions and the operations of it.

8 2.2 ID Detector In designing this project, the requirement is as below: i) Requires Proximity Card For different card code used. ii) The ID can be detected by using Infrared Sensor controlled by a programmable microcontroller; Features an alphanumeric LCD display - interacts with the user. iii) Requires LED display To shows valid ID display Green LED and invalid ID display Red LED. iv) Requires Buzzer It will turned on when ID card fully slotted in, valid ID detected and also when detected invalid ID. When it detected invalid ID card, buzzer will turned on the alarm continuously until the card is removed.