FENCE INTRUDER DETECTION SYSTEM (FIDS) CHUINK BENG CHEONG

Similar documents
IMPROVEMENT OF BUS ROOF SECTION

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

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

SMART GARDEN SYSTEM NURSHAHNEEM BINTI MOHD SAID

WIRELESS SECURITY SYSTEM UKASYAH BIN MAHAMOD

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

Development of Anti-Theft Door System for Lecturer s Room

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

STORAGE WATER TANKS CLEANING ROBOT AFIZRUL IMAN BIN MOHAMED

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

GSM MOBILE CAR ALARM SYSTEM NURHAZWANI BT SALEH

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

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

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Samsiah binti Mohamad

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

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Design and Fabrication of Solar Assisted Drying Machine

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

FIRE ALARM WITH SECURITY SYSTEM MOHAMED FAIZ BIN MOHAMED MUSA

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

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

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

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

POROSITY ARCHITECTURE IN ECOLOGICAL DESIGN TAN KWON CHONG

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

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Signature : MOHD ZAMRI BIN IBRAHIM

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

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

Virtual Boundary System Using Passive Infrared Sensor

FLOOD MAPPING FOR SUNGAI BUNUS MOHD IRSYAM NOORFAWANA BIN MASRI

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

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

XBee Based Industrial And Home Security System

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

APPLICATION OF BIM IN EARLY STAGE DESIGN COST ESTIMATION

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

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

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

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

UNIVERSITI PUTRA MALAYSIA INTEGRATING PUBLIC ART IN MALAYSIAN URBAN LANDSCAPE

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

S3F8S28. Smoke Detector. Revision 0.00 February Samsung Electronics Co., Ltd. All rights reserved.

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

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

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

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

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

Firefighting Robot. I. Introduction

Break-in Detector and Alarm System

ENACTMENT OF SCADA SYSTEM FOR JUDICIOUS DWELLING

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

Petrol Bunk Automation with Prepaid Card using GSM Identification

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

Multi Security System

Kuliah 1 : Pengenalan Kepada Teknologi Maklumat & Komunikasi

SISTEM PBNGUJIAN TAPAK CADAI\IGAN BINAAN HALIZAH BINTI AHMAD

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

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

NAZANEEN AHMED NASROULLA

Construction of Wireless Fire Alarm System Based on ZigBee Technology

Android Operated Intelligent Fire Extinguishing Vehicle

IOT Based Intelligent Bin for Smart Cities

AUTOMATIC STREET LIGHT CONTROL SYSTEM USING MICROCONTROLLER

CRUSH: Cognitive Radio Universal Software Hardware

UNIVERSITI PUTRA MALAYSIA

Automatic Customer Counter and Payment Tool for Shopping Centers and commercial spaces

ACTIVE INFRARED BARRIER

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

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

BOILED WATER TEMPERATURE MEASUREMENT SYSTEM USING PIC MICROCONTROLLER

Section PERIMETER SECURITY SYSTEMS

PRELIMINARY STUDY ON BRICKS DRYING PROCESS USING MICROWAVE TECHNOLOGY SALEM SALAH ABDULLAH BAGABER UNIVERSITI TEKNOLOGI MALAYSIA

TABLE OF CONTENTS CHAPTER TITLE PAGE DECLARATION DEDICATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK

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

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

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

Microcontroller based design for Tele-sensing and extinguishing fire

Smart Home Security System Design Sensor Based on Pir and Microcontroller

PES s College of Engineering Phaltan, Shivaji University Kolhapur, Maharashtra, India

An FPGA Spectrum Sensing Accelerator for Cognitive Radio

Homework 5: Theory of Operation and Hardware Design Narrative

The design of the human body infrared thermometer

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

Design of Microwave Anti-theft Alarm Based on Microcontroller

Team Rescue X: Autonomous Firefighting Robot

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

Cadence Design of clock/calendar using 240*8 bit RAM using Verilog HDL

OPERATING MANUAL. EchoTherm PROGRAMMABLE DIGITAL CHILLING INCUBATOR MODELS IN35, IN45 and IN55-12VDC. DOCUMENT NUMBER IN35-03 Revised 15 May 2015

CBI-064. User Manual. Caddx to KNX-BUS Interface

INTREPID Perimeter Intrusion Detection System

VEHICLE SAFETY WITH DIALLING SYSTEM AND AUTOMATED LOCATION TRACKER

KOLEJ UNIVERSITI TEKNOLOGI TUN HUSSEIN ONN BORANG PENGESAHAN STATUS TESIS SISTEM KA WALAN BANJIR DENGAN MENGGUNAKAN MIKROPENGA WAL

AQUAPONIC SYSTEM FOR SELF-SUSTAIN LIVING YAN YEN QUN

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

A Real-Time Approach for Home Security and Alert System using CAN Protocol

OPERATING MANUAL MOLECULAR DIMENSIONS, INC. PROGRAMMABLE DIGITAL CHILLING INCUBATOR MODELS MD5-601 AND MD5-603

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

Transcription:

FENCE INTRUDER DETECTION SYSTEM (FIDS) CHUINK BENG CHEONG This report is submitted in partial fulfillment of the requirements for the award of Bachelor of Electronic Engineering (Computer Engineering) With Honours Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka April 2009

UNIVERSTI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER BORANG PENGESAHAN STATUS LAPORAN PROJEK SARJANA MUDA II Tajuk Projek : Fence Intruder Detection System (FIDS) Sesi Pengajian : 2 / 2008/2009 Saya CHUINK BENG CHEONG (HURUF BESAR) mengaku membenarkan Laporan Projek Sarjana Muda ini disimpan di Perpustakaan dengan syarat-syarat kegunaan seperti berikut: 1. Laporan adalah hakmilik Universiti Teknikal Malaysia Melaka. 2. Perpustakaan dibenarkan membuat salinan untuk tujuan pengajian sahaja. 3. Perpustakaan dibenarkan membuat salinan laporan ini sebagai bahan pertukaran antara institusi pengajian tinggi. 4. Sila tandakan ( ) : SULIT* (Mengandungi maklumat yang berdarjah keselamatan atau kepentingan Malaysia seperti yang termaktub di dalam AKTA RAHSIA RASMI 1972) TERHAD* (Mengandungi maklumat terhad yang telah ditentukan oleh organisasi/badan di mana penyelidikan dijalankan) TIDAK TERHAD Disahkan oleh: (TANDATANGAN PENULIS) (COP DAN TANDATANGAN PENYELIA) Alamat Tetap: NO 180, KPG BATU JONG, 18000 KUALA KRAI, KELANTAN. Tarikh: 22 APRIL 2009 Tarikh:..

DECLARATIONS I hereby declare that this report is the result of my own work except for quotes as cited in the references. Signature :... Author :... Date :...

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 (Computer Engineering) With Honours. Signature Supervisor s Name Date :.. :.. :..

Special thanks to my family, project supervisor and friends

ACKNOWLEDGEMENT First and foremost, I m very grateful to all those who contributed time, concern and efforts to teach in order to provide and to pass on knowledge. At the same time, I would like to special thanks to my supervisor; En. Imran Bin Ibrahim, because of his comments, critiques, and suggestion were taken seriously to make me understand the world of engineering. Their supports have leaded me to practice and learn more and more from them in order to be an engineer in the future. I also wish to thank the countless individuals who have shared their suggestion and evaluations in my works all the time. However, the experience that I have gained would not been made possible without the guidance of all engineers, assistant engineers, technicians and operators. And finally, I also appreciate the flagging support of my friends who had providing lots of constructive criticism and the way of an engineer should be. It would not have been possible to complete a report of this magnitude without the support from them.

ABSTRACT Nowadays, many house break-in cases involved the usage of weapon occur especially in the urban area. One of the main reason that lead to the cases is lack of precaution. An effective security system can assure the safety of the resident. Security system can be categorized into few categories, one of them is Fence Intruder Detection System (FIDS). This system emphasize on the safety of the outside of the house perimeter. A tight security sytem at least can reduce the percentage of the intrusion to occur. This system functioned by placed the sensors on the fence that able to sense any vibration. As a notification to the house owner, the system will activate an alarm to inform the user that an intrusion had occured. Webcam added in the system to monitor the situation on the outside of the house area. A Graphical User Interface (GUI) also created as control panel to the system. The webcam will record the situation of the fence area once intrusion detected.

ABSTRAK Pada masa terdekat, banyak kes pecah rumah bersenjata berlaku terutamanya terutamanya di kawasan bandar. Salah satu faktor utama berlakunya kejadian ini kerana kurangnya langkah keselamatan dari mangsa sendiri. Langkah keselamatan yang berkesan diyakini dapat mengurangkan kes pecah rumah. Sistem keselamatan tergolong dalam pelbagai jenis, salah satu daripadanya ialah Sistem Keselamatan Pengesan Kawasan Berpagar. Sistem ini menekankan aspek keselamatan pada kawasan luar rumah. Sistem kawalan keselamatan yang ketat pada kawasan pagar rumah sekurang-kurangnya dapat memberikan amaran sebelum penceroboh berjaya memecah masuk ke dalam rumah. Sistem ini berfungsi dengan meletakkan alat pengesan pada bahagian pagar yang dapat mengesan sebarang getaran. Alat pengesan ini akan mengaktifkan alat penggera sebagai tanda amaran kepada tuan rumah. Kamera diaplikasikan dalam sistem ini untuk merakamkan situasi semasa kejadian berlaku. Satu sistem kawalan dengan menggunakan komputer juga dihasilkan dengan Visual Basic 2008. Sebarang kegiatan yg dikesan oleh alat pengesan akan dirakamkan melalui kamera pada sistem kawalan.

TABLE OF CONTENTS CHAPTER CONTENT PAGE PROJECT TITLE DECLARATIONS DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK TABLE OF CONTENTS LIST OF TABLES LIST OF FIGURES LIST OF ABBREVIATIONS LIST OF APPENDIX i iii v vi vii viii ix xii xiii xv xvi I INTRODUCTION 1.1 BACKGROUND STUDY 1 1.2 OBJECTIVE 2 1.3 PROBLEM STATEMENT 3 1.4 SCOPE 3 1.5 METHODOLOGY 3 1.6 REPORT STRUCTURE 4 II LITERATURE REVIEW 2.1 INTRODUCTION 5

2.2 PERIPHERAL INTERFACE CONTROLLER (PIC) 5 2.2.1 MICROCONTROLLER-PIC 16F877A 7 2.3 RS 232 SERIAL PORT 13 2.3.1 NULL MODEM CABLES 15 2.3.2 VOLTAGE LEVELS 16 2.3.3 DATA FLOW CONTROL 17 2.4 PROTEUS 7 PROFESSIONAL 18 2.5 COMPILER 19 2.5.1 INTRODUCTION TO CCS COMPILER 19 2.6 SENSOR 21 2.6.1 INFRA-RED SENSOR 21 2.6.2 SHOCK SENSOR 22 2.7 CASE STUDY 24 2.7.1 CASE STUDY 1 24 2.7.2 CASE STUDY 2 (Electro-Fence) 25 2.7.2.1 LATEST TECHNOLOGY AND SAFETY 25 2.7.2.2 KEY FEATURES 25 2.7.2.3 ULTIMATE SECURITY AND EASY TO OPERATE 26 2.7.2.4 SPECIFICATIONS 26 2.8 WIRELESS CONNECTION 27 2.8.1 ENCODER 27 2.8.2 DECODER 30 2.8.3 RF MODULE 33 2.9 MICROSOFT VISUAL BASIC 2008 EXPRESS EDITION 34 III PROJECT METHODOLOGY 3.1 INTRODUCTION 36 3.2 HARDWARE DEVELOPMENT 37

3.2.1 PROTEUS 7 PROFESSIONAL 40 3.2.2 SENSOR IMPLEMENTATION 42 3.2.3 WIRELESS CONNECTIVITY 43 3.2.3.1 ENCODER & DECODER 43 3.3 SOFTWARE DEVELOPMENT 45 3.3.1 GRAPHICAL USER INTERFACE (GUI) VIA VISUAL BASIC 2008 46 IV RESULT 4.1 INTRODUCTION 48 4.2 HARDWARE FABRICATION AND CIRCUIT TESTING 49 4.3 WIRELESS DATA TRANSMISSION 52 4.4 GRAPHICAL USER INTERFACE (GUI) VIA VISUAL BASIC 54 V CONCLUSION 5.1 INTRODUCTION 57 5.2 CONCLUSION 57 5.3 FUTURE WORKS 58 REFERENCES 59

LIST OF TABLE NO TITLE PAGE 2.1 Key Features of PIC 16F877A 8 2.2 Operation of each pin 10 2.3 Special Function Register 12 2.4 Pin Out Description (DB9) 13 2.5 connection between 2 pc 15 2.6 Circuit Class & Logic 16 2.7 Specifications 26 2.8 HT12E Pin Description 28 2.9 HT12D Pin Description 31 3.1 Possibility of Zone detection 41

LIST OF FIGURE NO TITLE PAGE 2.1 Peripheral Interface Controller (PIC) 5 2.2 PIC 16F877A 7 2.3 Block Diagram of PIC 16F877A 9 2.4 RS232 pin out 13 2.5(a) Connection overview 14 2.5(b) RS232 null modem 14 2.6 Voltage level for RS232 16 2.7 ISIS 7 Professional User Interface 18 2.8 PIC CCS Compiler Interface 20 2.9 Basic Circuit for Infrared Sensor 21 2.10 Encoder and Decoder 27 2.11 HT12E 27 2.12 Timing transmission for the HT12E 28 2.13 Flowchart of HT12E operation 29 2.14 HT12ED 30 2.15 Flowchart of HT12D operation 32 2.16(a) Transmitter module 33 2.16(b) Receiver module 33 3.1 Flow Chart of Hardware Development 37 3.2(a) FIDS block diagram (Transmitter) 38 3.2(b) FIDS block diagram (Receiver) 39 3.3 Schematic of PIC 16F877A 40 3.4 Relay Connection 42 3.5 Encoder Decoder connectivity 43

3.6 Flow Chart of Software Development 45 3.7 Visual Basic 2008 Express Edition 46 3.8 List Box 47 3.9 Picture box 47 4.1 Front view of the house model 49 4.2 Top view of the house model 49 4.3 Side view of the house model 50 4.4 Control panel unit 50 4.5(a) Zone 2 intruded 51 4.5(b) Zone 1, 2 & 3 intruded 51 4.5(c) Zone 1, 2 & 4 intruded 51 4.6 Wireless transmission indicators 52 4.7 RF Transmitter 52 4.8 RF Receiver 52 4.9 Graphical User Interface (GUI) 54 4.10 Image Capture 55 4.11 Image Capture Recorded Video in MPEG form 56

LIST OF ABBREVIATIONS FIDS - Fence Intruder Detection System SFR - Special Function Register PIC - Peripheral Interface Controller RAM - Random Access Memory ROM - Read Only Memory GUI - Graphic User Interface ADC - Analog Digital Converter DAC - Digital Analog Converter EEPROM - Electrically Erasable Programmable Read-Only Memory CCP - Capture/Compare/PWM PWM - Pulse Width Module DTE - Data Terminal Equipment DCE - Data Circuit-terminating Equipment LED - Light Emitter Diode UTeM - Universiti Teknikal Malaysia Melaka RF - Radio Frequency VT - Valid Transmission TE - Transmission Enabled

LIST OF APPENDIX NO TITLE PAGE A1 PIC16F877A- Coding 60 A2 VB2008 GUI- Coding 62

CHAPTER I INTRODUCTION 1.1 BACKGROUND STUDY As the burglary cases increase seriously nowadays, it will become a big threat to our society in terms of safety especially. Burglary is a crime the essence of which is entry into a building for the purposes of committing an offence. Usually that offence will be thieves, but most jurisdictions specify others which fall within the ambit of burglary. The thieves were intentionally to steal the properties of the victims and may commit physical offence too. Serious actions and alternatives had been taken by the government to reduce the numbers of burglary cases.[1] However, these crime cases keep increasing especially in the urban area though various actions had been taken. Improve the security system is one of the action that can effectively overcome these problems. Fence Intruder Detection System also known as FIDS is one of the security system that able to prevent the thieves from break into the house. FIDS operate by focus on the outside of the house area, specified sensors or detector placed onto the fence. The FIDS functioned as a security system in the housing area by sending alert signal as the thieves or burglaries are detected. To increase the efficiency of the system, camera will be added on the system to record video once the intruder is detected. The video captured will be stored in computer s memory through certain program. The captured data then useful as evidence for the police or investigator to track the person involved.

1.2 OBJECTIVE The main objective of this project is to design a Fence Intruder Detection System (FIDS) that capable to track the existence of burglars efficiently. Most of the system available in market was expensive in term of cost and easily hacked by the intruder. Hence, this project is mainly developed to reduce the number of burglary cases in the housing area. The fence intruder detection system designed also must be low cost and high efficiency. Another objective of this project is to reveal the capability of the PIC16F877A microcontroller. Microcontroller is an integrated chip that combined all the system in microcomputer. Generally, PIC used to store the instructions the operating system. In this project, PIC microcontroller used to convert the analog input received from the sensors into digital signal before transmits the data to control panel. Besides, designer also will be exposed to the various functions of Visual Basic. Visual Basic used to create a Graphical User Interface (GUI) that act as control panel to the FIDS system. The system able to capture and store data by using suitable program that linked to Visual Basic. Hence, Visual Basic functioned to monitor the operating system through the central unit processing. Before construct the hardware part, designer must test the designed circuit whether function properly or otherwise. Proteus Schematic Simulation and CCS Compiler is the suitable program to build and test the system. Proteus used to build the circuit while CCS Compiler is compiler for the microcontroller. Simulation is important so that any modification or improvement can be done to the designed system. Besides, the cost of construction also can be minimize by reduce the number failure in circuitry construction.

1.3 PROBLEM STATEMENT A false alarm can be defined as an alarm condition that resulted from something other than a break-in, fire or an actual emergency situation. When a sensor operates, it is hardly false, and it is usually a true indication of the present state of the sensor. A more appropriate term is nuisance, indicating that the alarm activation is inconvenient, annoying, or vexatious. A sensor unable to differentiates between the motion of human and animal. Hence, the alarm system frequently creates the nuisance alarm that becomes a problem to residents. Over time, repeated false alarms in a certain area may cause occupants to start to ignore all alarms, knowing that each time it will likely be a fake. 1.4 SCOPE OF WORK This project is subjected to several scope and limitations that are narrowed down to the study. One of the main subjects is to develop an interface between hardware and software of the microcontroller. Besides, this project also subjected to construct the model of security system that focus on the house perimeter. 1.5 METHODOLOGY First and foremost, designer needs to construct the circuit by using Proteus simulation and compile with source code by using CCS compiler. After the circuit finish designed, construct the circuit to the real board. The development of the board required etching process by eliminating the unwanted line of the circuit. PIC 16F877A microcontroller is used to store the instruction by using assembly language (asm file). Then connect the FIDS system to computer through RS232 serial port that functions as the control panel. Design a Graphical User Interface (GUI) by using Visual Basic. The GUI used to monitor the operation of the system. MAX 232 integrated circuit is used to interface the computer and the circuit developed. Additional camera will be put on the house replica to surveillance the house area.

1.6 REPORT STRUCTURE Chapter one briefly introduces the overall of the project titled Fence Intruder Detection System (FIDS). The introduction consists of overview, objective, problem statement, scope of work, methodology and structure report. Meanwhile, chapter two discuss about the background of study related to FIDS system. Literature review will produce overall structure of the FIDS system which shows the relation between project research and theoretical concept. Chapter three will explain about the project methodology. Project methodology give details about the method used to solve problem to complete the project. The methods used such as collecting data method, process and analysis data method, modeling and etc. Chapter four consists of result and discussion to all an initial result, finding and analyses during the research. Finally, this PSM report ended with the project conclusion. This chapter concludes the project findings, analysis of project achieved and suggestion for the future research.

CHAPTER II LITERATURE REVIEW 2.1 INTRODUCTION This chapter is a literature review on theoretical concepts applied in this project. This chapter includes with the brief explanation on the operation of Fence Intruder Detection System (FIDS), what are microcontroller, RS232 and sensor. 2.2 PERIPHERAL INTERFACE CONTROLLER (PIC) PIC is a family of Harvard architecture microcontrollers made by Microchip Technology, derived from the PIC1640 originally developed by General Instrument's Microelectronics Division. The name PIC initially referred to "Programmable Interface Controller". Figure 2.1 Peripheral Interface Controllers (PIC)

PICs are popular due to their low cost, wide availability, large user base, extensive collection of application notes, availability of low cost or free development tools, and serial programming (and re-programming with flash memory) capability. The PIC architecture can be generally characterized by the following features: a) separate code and data spaces (Harvard architecture) b) a small number of fixed length instructions c) most instructions are single cycle execution (4 clock cycles), with single delay cycles upon branches and skips d) a single accumulator (W), the use of which (as source operand) is implied (ie is not encoded in the opcode) e) All RAM locations function as registers as both source and/or destination of math and other functions. f) a hardware stack for storing return addresses g) a fairly small amount of addressable data space (typically 256 bytes), extended through banking h) data space mapped CPU, port, and peripheral registers i) the program counter is also mapped into the data space and writable (this is used to implement indirect jumps) Unlike most other CPUs, there is no distinction between "memory" and "register" space because the RAM serves the job of both memory and registers, and the RAM is usually just referred to as the register file or simply as the registers.

2.2.1 MICROCONTROLLER- PIC 16F877A Generally, there are many types of PIC had been produced based on specification for each of them. Besides, the construction of the latest PICs also improved by referring to the previous construction. For this project, designer had chosen the PIC 16F877A based on the suitability to this project. Below is the data sheet of the PIC 16F877A that consist of 40 pins.[2] [3] Figure 2.2 Figure of PIC16F877A Table 2.1 list down the device features for the PIC 16F877A. The special features of these devices efficiently help the designer to construct the circuit. For example, designer no need to use integrated circuit of Analog-Digital Converter nor Digital-Analog Converter to convert the signal through the PIC since that the ADC/DAC already integrated in the PIC. [4]

Table 2.1 Key Features of PIC 16F877A Key Features Operating Frequency RESET (and Delays) PIC16F877A DC - 20 MHz POR, BOR (PWRT, OST) FLASH Program Memory 8K (14-bit words) Data Memory (bytes) 368 EEPROM Data Memory 256 Interrupts 14 I/O Ports Ports A,B,C,D,E Timers 3 Capture/Compare/PWM Modules 2 Serial Communications MSSP, USART Parallel Communications PSP 10-bit Digital-to-Analog Module Instruction Set 8 input channels 35 instructions