CABLE THEFT MONITORING SYSTEM USING GSM MODEM (CTMS) SYAZWAN BIN MOHD NAZRI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Similar documents
COLOR SORTING SYSTEM WITH ROBOT ARM YEOW KHANG YUNG

DEVELOP A LINEAR MEASUREMENT SENSOR SYSTEM ANG SEI QI

MOHDSHAMSULANUARBMOHDSABru

AUTOMATIC CABLE STRIPPER

AN IMPROVEMENT OF VOLTAGE QUALITY IN LOW VOLTAGE DISTRIBUTION SYSTEM USING DYNAMIC VOLTAGE RESTORER ABBA LAWAN BUKAR UNIVERSTI TEKNOLOGI MALAYSIA

INTRODUCTION OF INDEXED PUBLICATION SEMAKAN PENERBITAN RADIS KATEGORI INDEXED PUBLICATION

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

8-BITS X 8-BITS MODIFIED BOOTH 1 S COMPLEMENT MULTIPLIER NORAFIZA SALEHAN

ISMAEEL OTUOZE AUDU. A thesis submitted in fulfilment of the requirements for the award of the degree of Master of Architecture

(a) Tidak melebihi 500 patah perkataan (b) Ditulis dalam Bahasa Malaysia dan Bahasa Inggeris

THE TRANSLATION OF FIGURATIVE LANGUAGE IN KAZI NAZRUL ISLAM S POEMS SHAFIA AKHTER

THE APPLICATION OF FINITE ELEMENT METHOD IN BURGERS EQUATION NURUL AKIDAH BINTI ADNAN

DEVELOPMENT OF LCD DISPLAY DATA CAPTURING SYSTEM FOR INDUSTRIAL PURPOSE OOI YI FONG

UNIVERSITI MALAYSIA PERLIS. PLT106 Digital Electronics [Elektronik Digital]

UNIVERSITI SAINS MALAYSIA. First Semester Examination. 2014/2015 Academic Session. December 2014/January 2015

MODELING AND CONTROLLER DESIGN OF A HOT AIR BLOWER SYSTEM KHAIRUL NIZAR SYAZWAN BIN WAN SALIHIN WONG

PERCEIVED IMAGE OF CHINESE TOURIST ON MALACCA WORLD HERITAGE SITES LIEW JAN FUI UNIVERSITI TEKNOLOGI MALAYSIA

DEE2034: DIGITAL ELECTRONICS

KENJI MIZOGUCHI CINEMATOGRAPHIC STYLE (LONG TAKE) IN 'THE LIFE OF OHARU' (1952).

THE INFLUENCE OF THE DISCORD IN BUILDING DISTINCTIVNESS ON THE PERCEPTION OF TEHRAN S CITY IDENTITY

ABSTRAK. Modeling Language (UML) yang terdiri dar i use cases, gambaraj ah aktiviti,

DETERMINISTIC AUTOMATIC TEST PATTERN GENERATION FOR BUILT-IN SELF TEST SYSTEM

CONVOLUTION ENCODER FOR FORWARD ERROR CORRECTION AHMAD TERMIZI BIN MOHD AZMI

PERSEPSI PELAJAR TERHADAP KUALITI PERSEKITARAN DALAMAN (IEQ) PERPUSTAKAAN RABIYATUL AKMA BINTI DAUT

OPERASI PERKHIDMATAN SOKONGAN. PERPUSTAKAAN SULTAN ABDUL SAMAD Kod Dokumen: OPR/PSAS/GP01/ILB GARIS PANDUAN IDENTIFIKASI DAN MELABEL BAHAN

DESIGN OF A LOW COST DIGITAL LOCK

Taklimat Penerbitan Buku Penyelidikan 24 Mac 2014

INVESTIGATING MULTIPLE FAN BEAM PROJECTION TECHNIQUE USING OPTICAL FIBRE SENSOR IN PROCESS TOMOGRAPHY

INSTRUCTION: This section consists of FOUR (4) structured questions. Answer ALL questions.

ENHANCED ASPECT LEVEL OPINION MINING KNOWLEDGE EXTRACTION AND REPRESENTATION MAQBOOL RAMDHAN IBRAHIM AL-MAIMANI UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI MALAYSIA PERLIS. EET107 Digital Electronics I [Elektronik Digit I]

APLIKASI MUDAH ALIH PEMANTAUAN PESAKIT DI ZON KRITIKAL DAN SEPARA KRITIKAL JABATAN KECEMASAN PUSAT PERUBATAN UNIVERSITI KEBANGSAAN Malaysia

UNIVERSITI MALAYSIA PERLIS. DMT 233 Digital Fundamental II [Asas Digit II]

AN IMPROVISED THREE-DIMENSIONAL SLOPE STABILITY ANALYSIS BASED ON LIMIT EQUILIBRIUM METHOD BY USING PARTICLE SWARM OPTIMIZATION ROOHOLLAH KALATEHJARI

EEU 202 ELEKTRONIK UNTUK JURUTERA

PANDUAN PENYEDIAAN PENULISAN ILMIAH UNTUK PENYELIDIKAN DAN PROJEK TAHUN AKHIR FAKULTI SENI GUNAAN DAN KREATIF

ROBUST GAMELAN BONANG HAMMER ACTUATOR LAM SOON TENG

UNIVERSITI PUTRA MALAYSIA DEPTH FRAME LOSS CONCEALMENT FOR WIRELESS TRANSMISSION UTILISING MOTION DETECTION INFORMATION MOHAMADREZA RANJBARI

Sesi Pengenalan Perpustakaan MODUL WEBOPAC. Program Literasi Maklumat 2017 Perpustakaan Sultan Abdul Samad

ANALISA TERHADAP KARAKTERISTIK FILEM CULT. Mohd Rasyidi Bin Talib

UNIVERSITI MALAYSIA PERLIS. EKT 124 Elektronik Digit 1 [Digital Electronics1]

ANUGERAH PENERBITAN BUKU UiTM 2017 KRITERIA, SYARAT & PERATURAN

ROAD SHOW PENERBITAN BOOK CHAPTERS

FIGURATIVE EXPRESSIONS IN JOHN STEINBECK S THE PEARL A THESIS BY: ENY NOVEYONA PURBA REG. NO

UNIVERSITI PUTRA MALAYSIA COPYRIGHT UPM OPTICAL AND ELECTRICAL PROPERTIES OF ORGANIC AND POLYMER LAYERS OF LIGHT EMITTING DIODE STRUCTURE

UNIVERSITI PUTRA MALAYSIA TOWARD A PRAGMATIC CONCEPTION OF METAPHOR CHARBATI YOUSSEF FBMK

UNIVERSITI PUTRA MALAYSIA NEW TUNABLE ALL-FIBER OPTICAL COMB FILTER BASED ON MACHZEHNDER INTERFEROMETER

UNIVERSITI SAINS MALAYSIA. Second Semester Examination 2012/2013 Academic Session. June 2013 EEE 130 DIGITAL ELECTRONIC I [ELEKTRONIK DIGIT I]

DESIGN METHOD TO TRANSMIT AND RECEIVE SOURCE SYNCHRONOUS SIGNALS USING SOURCE ASYNCHRONOUS TRANSCEIVER CHANNELS

UNIVERSITI MALAYSIA PERLIS. EKT 124 Digital Electronics 1 [Electronik Digit 1]

UNIVERSITI PUTRA MALAYSIA MEANING AND VALUE OF HUMOR IN THE LIVES OF ELDERLY MALAYS IN PUTRAJAYA, MALAYSIA

PERBANDINGAN REKA BENTUK BUKU LAPORAN TAHUNAN UNIVERSITI AWAM MALAYSIA

PEMBANGUNAN SISTEM PNEUMATIK DI DALAM RADAS/MESIN PEMBUNGKUSAN BUKU UNTUK KEGUNAAN HARIAN MUHAMMAD WAZIR SHAFIQ BIN ARIPIN

ANUGERAH PENERBITAN BUKU UiTM 2017 KRITERIA, SYARAT & PERATURAN

PENGESAHAN PENYELIA. Tandatangan :... : Dr. Rafidah Binti Hasan. Tarikh :...

SOCIETY A PAPER UNIVERSIT. Universitas Sumatera Utara

APLIKASI PERMAINAN MUDAH ALIH ANATOMI MANUSIA BERASASKAN ANATOMI MANUSIA

ANUGERAH PENERBITAN BUKU UiTM 2013 KRITERIA, SYARAT & PERATURAN

SITUATION TYPES IN THE NOVEL HARRY POTTER AND THE PRISONER OF AZKABAN A THESIS BY: MASYITA RISMADI REG. NO

UNIVERSITI TEKNOLOGI MARA KAMPUS PUNCAK PERDANA SHAH ALAM SELANGOR

APLIKASI WEB PEMBELIAN BUKU TERPAKAI MENGIKUT KADAR POPULAR DAN ULASAN PENGGUNA (TRADEBOOK) Nur Atikah Syafika Bt Mazlihan Rodziah Latih

MODEL SENI BINA PENYIMPANAN KUERI DI JABATAN PERKHIDMATAN AWAM MALAYSIA HERRNIWATI NGATIMAN KAMSURIAH AHMAD

DASAR PENGKATALOGAN & PENGKELASAN

V ' -IP.: V^i-tiS. rt i ' sj/vlfist

ANUGERAH PENERBITAN BUKU UiTM 2012

UNIVERSITI MALAYSIA PERLIS. EKT 124 Digital Electronics1 [Elektronik Digit 1]

CULTURAL UNTRANSLATABILITY IN TO KILL A MOCKINGBIRD TRANSLATED INTO INDONESIAN BY FEMMY SYAHRANI

UNIVERSITI PUTRA MALAYSIA MULTIPLE WAVELENGTH LASER UTILIZING HYBRID ERBUIM AND BRILLOUIN GAINS IN DISPERSION COMPENSATING FIBER MOHAMMED AJIYA

CROSS CULTURAL PRAGMATICS: POLITENESS STRATEGY USED IN RUSH HOUR MOVIE. Nur Hayati Uswatun Hasanah Suharno. English Department, Faculty of Humanities

ANALYSIS OF SENTENCE STRUCTURE ON KINNEY S DIARY OF A WIMPY KID: THE LAST STRAW

UNIVERSITI SAINS MALAYSIA. CMT222/CMM321 Systems Analysis & Design [Analisis & Reka Bentuk Sistem]

DESIGN AND 90NSTRUCTION OF A

DESIGN VISION SYSTEM TO RECOGNIZE THE SCRIBED NUMBER ON THE WAFER LIAW GEOK PHENG

UNIVERSITI SAINS MALAYSIA EEE 230 ELEKTRONIK DIGIT II

DESIGN AND CONSTRUCTION OF A PULSE-RATE MEASURING DEVICE OBAITAN ANNE-MARIE 2004/18843EE. A Thesis submitted to the Department Of Electrical And

ANALYSIS OF PERFORMANCE PRACTICE THROUGH COMPARISON OF MULTIPLE RECORDINGS: THE SONATA NO.1 IN C (OP.1) BY JOHANNES BRAHMS ( ) LEE SEOW PHING

IOT BASED SMART ATTENDANCE SYSTEM USING GSM

UNIVERSITI PUTRA MALAYSIA TV GHOST CANCELLATION SYSTEM USING SWITCHED CAPACITOR CIRCUITS SEEDAHMED SHARIF MAHMOUD FK

Visual And Verbal Communication In Michael Jackson s Video Clip Entitled Black Or White. Abstrak

How to Produce & Transform?

SISTEM PENJEJAKAN BAS EKSPRES (BusEx.Track) SITI HAIRANI BINTI HARUN PROF. MADYA DR. MOHAMMAD FAIDZUL BIN NASRUDIN

SUBORDINATIONS IN TO KILL A MOCKINGBIRD BY HARPER LEE

The Leading Character s Personality To Become An Idealist Portrayed In Jon Krakauer s Into The Wild A THESIS. BY Faishal Hafizh REG. NO.

EEE ELEKTRONIK DIGIT I

IEG 102 INTRODUCTION TO ENVIRONMENTAL TECHNOLOGY [PENGANTAR TEKNOLOGI PERSEKITARAN]

On the design of turbo codes with convolutional interleavers

O/144 - c Tankh DEVELOP SEPARATION. E FOR IN-VEI-nuLb lnr V AINIVthNi s Y STEM (IVIS) LEE HOW CHEH

KAJIAN TERHADAP PANGGUNG WAYANG JENIS LAMA DAN BARU (SINEPLEKS) DARI SEGITEKNOLOGIPENAYANGAN (SATU KAJIAN ASAS) OLEH HARYATIHASHIM

BORANG PENGESAHAN STATUS TESIS 4

PANDUAN MENULIS BIBLIOGRAFI

SUBORDINATIONS IN PAULO COELHO S NOVEL BRIDA

UNIVERSITI PUTRA MALAYSIA MUSICAL AND TEXTUAL ANALYSES OF LULLABIES AND FOLKTALES OF DUSUN LABUK AT EASTERN SABAH, MALAYSIA

Risiko Pembangunan Sistem Secara Penyumberluaran : Pengujian Menggunakan Teknik Proses Analisis Berhirarki

BUKU VS E-BUKU: TRANSFORMASI ERA DIGITAL. Nor Hazidah Awang Perpustakaan Universiti Malaya Kuala Lumpur

Title of Manuscript (Format and Guidelines for Manuscript Preparation and Submission to Jurnal Kejuruteraan)

BINA PURI MEDIA CLIPPINGS

The Malaysiana Conference Collection of the University of Malaya Library: The First Phase

Analisis Data Kualitatif. MTE3133: Penyelidikan Tindakan

KATA KUNCI: Keberkesanan buku elektronik, Network Security, Pengajaran dan Pembelajaran (P&P).

Keywords: Web 2.0; Library 2.0; Social networking software; Academic libraries; Malaysia

Transcription:

CABLE THEFT MONITORING SYSTEM USING GSM MODEM (CTMS) SYAZWAN BIN MOHD NAZRI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

CABLE THEFT MONITORING SYSTEM USING GSM MODEM (CTMS) SYAZWAN BIN MOHD NAZRI This Report Is Submitted In Partial Fulfillment of Requirements for the Bachelor Degree of Electronic Engineering (Electronic Telecommunication) Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka June 2014

ii UNIVERSTI TEKNIKAL MALAYSIA MELAKA FAKULTI KEJURUTERAAN ELEKTRONIK DAN KEJURUTERAAN KOMPUTER BORANG PENGESAHAN STATUS LAPORAN PROJEK SARJANA MUDA II Tajuk Projek : CABLE THEFT MONITORING SYSTEM USING GSM MODEM (CTMS) Sesi Pengajian : 1 3 / 1 4 Saya SYAZWAN BIN MOHD NAZRI (HURUF BESAR) mengaku membenarkan Laporan Projek Sarjana Muda ini disimpan di Perpustakaan dengan syaratsyarat 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)

iii I admit that this report is my own work except that every such abstract and citation only has I explained the source. Signature:... Name: SYAZWAN BIN MOHD NAZRI Date: 6 JUNE 2014

iv I declared that I have read this work and in my opinion this work is adequate in terms of scope and quality for the purpose of awarding a Bachelor s Degree of Electronic Engineering (Electronic Telecommunication). Signature:... Supervisor s Name: ENGR. SITI AMANIAH BT MOHD CHACHULI Date: 6 JUNE 2014

v Special dedicated to my beloved family, lecturer, friend and those people who have guided and inspired me throughout my journey of education.

vi ACKNOWLEDGEMENT First and foremost, I would like to express my heartily gratitude to my supervisor, Engr. Siti Amaniah Bt Mohd Chachuli for the guidance and enthusiasm given throughout the progress of this final year project. My appreciation also goes to my family who has been so tolerant and supports me all these years. Thanks for their encouragement, love and emotional supports that they had given to me. I would also like to thank our Final Year Project and Fabrication Lab Technician, En. Imran bin Mohammed Ali for their co-operations, guidance and helps in fabricate the PCB of this project. There is no such meaningful word than..thank You So Much.

vii ABSTRACT This project is about cable theft monitoring system using GSM modem (CTMS) using programmable interface controller (PIC) microcontroller system, voltage divider, temperature sensor and several other devices. The main problem is cable theft activity is always happen although lot of methods have been developed by Telekom Malaysia to solve and reduce cable case theft such as cable theft prevention campaigns at the national level among the community, organizing security patrols, wiping grease on telecom poles, replacing existing cable with fiber cables and I- Watch System installation. The objective of this project is to design and develop a cable theft monitoring system using GSM Modem (CTMS). It is a low cost system. The output of this system can be divided into two parts which are display mode and message mode. For display mode, liquid crystal display (LCD) is used to display the percentages of voltage and circuit temperature. For message mode, the microcontroller activate the GSM module and GSM send alarm messages when the cable is cut and send back messages when the cable is in normal condition. For the temperature changes, temperature sensor is function when the circuit box temperature is more than 40ºC and GSM also send alarm messages. The microcontroller is operating when sensor detects the voltage drop on cable from two roads either Jln Bendahara-Jln Teluk Piah Kanan or Jln Tgh Masjid- Jln Tebuk Sri Makmur. The two roads are referring to the either one road that the occurrence of cable theft or both of the road. The percentages of voltage drop and temperature changes is displayed on the LCD display. Advantages of this project are low cost, easy to manage and can reduce cable theft cases.

viii ABSTRAK Projek ini bertujuan menghasilkan satu sistem pemantauan kabel curi menggunakan GSM modem (CTMS) dengan menggunakan sistem pengawal mikro (PIC), pembahagi voltan, sensor suhu dan beberapa peranti lain. Masalah utama adalah aktiviti kecurian kabel sentiasa berlaku walaupun banyak kaedah telah dibangunkan oleh Telekom Malaysia untuk menyelesaikan dan mengurangkan kecurian kes kabel seperti kempen pencegahan kecurian kabel di peringkat kebangsaan di kalangan masyarakat, membuat rondaan keselamatan, menyapu minyak gris pada tiang telekom, menggantikan kabel sedia ada dengan kabel gentian optik dan pemasangan system I-Watch. Objektif projek ini adalah untuk mereka bentuk dan membangunkan sistem pemantauan kabel curi menggunakan GSM modem (CTMS). Ia adalah sistem kos yang rendah dan berkesan. Keluaran sistem ini boleh dibahagikan kepada dua bahagian iaitu mod paparan dan mod mesej. Bagi mod paparan, paparan kristal cecair (LCD) digunakan untuk memaparkan peratusan voltan dan suhu litar. Bagi mod mesej, pengawal mikro mengaktifkan modul GSM dan GSM menghantar mesej penggera apabila kabel dipotong dan menghantar kembali mesej apabila kabel adalah dalam keadaan biasa. Bagi perubahan suhu, sensor suhu berfungsi apabila suhu litar sistem adalah lebih daripada 40ºC dan GSM juga menghantar mesej penggera. Mikropengawal sedang beroperasi apabila sensor mengesan kejatuhan voltan pada kabel dari dua jalan sama ada Jln Bendahara-Jln Teluk Piah Kanan atau Jln tgh Masjid-Jln Tebuk Sri Makmur. Dua jalan adalah merujuk kepada salah satu jalan yang berlakunya kecurian kabel atau kedua-dua jalan. Peratusan penurunan voltan dan suhu perubahan dipaparkan pada paparan LCD. Kelebihan projek ini adalah kos rendah, mudah untuk mengurus dan boleh mengurangkan kes-kes kecurian kabel.

ix TABLE OF CONTENTS CHAPTER TITLE PAGE REPORT STATUS VERIFICATION FORM ii DECLARATION iii SUPERVISOR COMFIRMATION iv DEDICATION v ACKNOWLEDGEMENT vi ABSTRACT vii ABSTRAK viii TABLE OF CONTENTS ix LIST OF TABLES xiv LIST OF FIGURES xv LIST OF ABBREVIATIONS xix

x 1 INTRODUCTION 1 1.1 Introduction 1 1.2 Problem Statement 2 1.3 Objectives 4 1.4 Scope of Work 4 1.5 Significant of Study 4 1.6 Chapter Organization 5 2 LITERATURE REVIEW 6 2.1 Previous Research on Cable Theft Monitoring System 6 2.1.1 Anti-Cable Theft System with Adjustable 6 Capacitance and Adjustable Inductance 2.1.2 Anti-Cable Theft System with Alarm System 8 2.1.3 Installation of Conductors and Ground Bars to Copper 2.1.4 Global System for Mobile Communication (GSM) 8 12 2.1.5 Sensor 14 2.2 Microcontroller 14 2.2.1 PIC 16F877A Microcontroller 15 2.2.2 Interrupt 17 2.3 GSM/GPRS Module 17

xi 2.4 Input/output System 19 2.4.1 Sensor 19 2.4.2 Buzzer 20 2.4.3 LCD Display 20 2.5 C Language Programming 22 2.6 Code Compose Studio (CCS) C Compiler 22 2.7 Conclusion 23 3 METHODOLOGY 24 3.1 Introduction 24 3.2 Methodology Flow of Project 26 3.3 Overview of the project 27 3.4 Circuit Development 29 3.4.1 Voltage divider 29 3.4.2 PIC 16F877A Microcontroller Circuit for GSM Modem 32 3.4.3 Crystal Oscillator Circuit 34 3.4.4 MAX 232 Circuit 35 3.4.5 RS 232 Communication Settings 37 3.4.6 Hyper Terminal Settings 38 3.5 Software Implementation 39 3.5.1 Programming via C Language 39

xii 3.5.2 Program Subroutine 40 3.5.3 The Hex File 41 3.5.4 Simulating via ISIS Software 42 3.5.5 Burning Hex file using Tiny Bootloader 43 3.6 Hardware Development 44 3.7 Discussion 45 4 RESULT AND DISCUSSION 46 4.1 Case 1: Voltage Drop 46 4.2 Case 2: Temperature Changes 51 4.3 Analysis Data 53 4.4 PIC-Modem Interfacing Result 55 4.5 Circuit Combination Result 55 5 CONCLUSION AND RECOMMENDATIONS 57 5.1 Conclusion 57 5.2 Recommendations 58

xiii REFERENCES 59 APPENDIX A 62 APPENDIX B 65 APPENDIX C 66

xiv LIST OF TABLES TABLE TITLE PAGE 1.1 The statistics of cable loss in Kuala Selangor from year 2007 until year 2013 3 2.1 16x2 LCD Control Pins 21 3.1 Expected results for voltage drop 28 3.2 Expected results for temperature change 29 3.3 Pin Configuration for MAX 232 36 4.1 The performance of voltage drop 50 4.2 The performance of temperature changes 53 4.3 The random value of voltage drop performance 54 4.4 The random value of temperature changes performance 54

xv LIST OF FIGURES FIGURE TITLE PAGE 2.1 The principle of anti-theft monitoring 7 2.2 The principle diagram of capacitance current 7 2.3 Logic diagram for judging the cables 8 2.4 Theft Deterrent Composite Cable 9 2.5 Copper Bonded Steel Conductor 10 2.6 Pipe Mount Theft Deterrent Ground Assembly 11 2.7 Wall Mount Theft Deterrent Ground Assembly 11 2.8 Tower Mounted Theft Deterrent Ground Assembly 12 2.9 Flow chart of the developed μc code 13 2.10 Microcontroller Chip 14 2.11 PIC16F877A Pin Configuration 16 2.12 Microcontroller Interface with External Devices 17

xvi 2.13 GSM/GPRS Module 18 2.14 LCD (Hitachi HD44780, 16x2) 22 3.1 Project flow 25 3.2 Flow Chart of Project Planning 26 3.3 Overview of the project 28 3.4 A typical voltage divider 30 3.5 Voltage divider for 12V 30 3.6 Voltage divider for 9V 31 3.7 Voltage divider for 6V 31 3.8 Voltage divider for 3V 32 3.9 The PIC 16F877A Microcontroller circuit for GSM Modem 32 3.10 Schematic Diagram of Power Supply for PIC 16F877A 33 Microcontroller 3.11 Pin Configuration for PIC 16F877A Microcontroller 34 3.12 Oscillator circuit for PIC 16F877A Microcontroller 34 3.13 MAX 232 Circuit 35 3.14 Pin Diagram for MAX 232 35 3.15 Modem-PC Interfacing 37

xvii 3.16 PIC-PC Connection via MAX 232 38 3.17 Hyper Terminal Settings 39 3.18 Steps Programming Implementation 40 3.19 Project Configurations 41 3.20 The Hex File 41 3.21 Circuit Simulation via ISIS 42 3.22 ISIS Project Settings 43 3.23 Burning via Tiny Bootloader 43 3.24 Testing the circuit with 12V power supply 44 3.25 Installation of overall circuit with the hardware 45 4.1 The connection for the circuit with 12V power supply 47 4.2 100% display at LCD screen (Normal Condition) 47 4.3 The buzzer and bulb warning light is active when voltage 48 drop 4.4 0% displays at LCD screen (Alarm Condition) 48 4.5 Alarm Message for Jln Bendahara-Jln Teluk Piah Kanan 49 4.6 The message for Jln Bendahara-Jln Teluk Piah Kanan in 49 Normal Condition 4.7 Alarm Message for Jln Tengah Masjid-Jln Tebuk Sri 49

xviii Makmur 4.8 The message for Jln Tengah Masjid-Jln Tebuk Sri Makmur 50 in Normal Condition 4.9 The method to make the temperature sensor activate the PIC 52 16F877A Microcontroller 4.10 Alarm Message when the temperature more than 40ᴼC 52 4.11 The Messages that show the temperature is in Normal 52 Condition 4.12 PIC 16F877A-Modem Interfacing Result 55 4.13 Combination of Schematic Diagram 56 4.14 The Circuit and Hardware Implementation 56

xix LIST OF ABBREVIATIONS RM TM PDRM GSM LCD PIC CPU IMEI CCS BBS V - Ringgit Malaysia - Telekom Malaysia - Polis DiRaja Malaysia - Global System for Mobile Communications - Liquid-Crystal Display - Peripheral Interface Controller - Central Processing Unit - International Mobile Equipment Identity - Code Compose Studio - Bulletin Board Systems - Volt - Input/output - Read/Write IO R/W

1 CHAPTER 1 INTRODUCTION This chapter consists of six parts which are introduction, problem statement, objective, scope of work, significant of study and chapter organizations. 1.1 Introduction Nowadays, telecom cable thefts have been increased in Malaysia. Losses year by year incurred by Telekom Malaysia Company were so great and it was spend about millions of dollars each year up to RM42 million in 2012 [1]. Various methods have been applied by Telekom Malaysia to overcome this problem such as cable theft prevention campaigns at the national level among the community [2], organizing security patrols [1], wiping grease on telecom poles [1], I-Watch (An Anti- Theft Cable Detection and Escalation System) installation [3], and replacement of existing cable to fiber cables [4]. As part of the campaign, TM has begun communicating the community service messages through print media, electronic media (TV and radio), outdoor and online media [2]. For the security, TM is collaborating with PDRM, the local authorities, the other telecommunication company and utilities providers as these are the key stakeholders in mitigating the

2 cable theft issue [2]. TM seeks the cooperation from all parties especially from local community and members of the public in ensuring the communication facilities provided are preserved and protected from any undesired incident such as cable theft, vandalism and any incident which results in interruption of telecommunication services [2]. In order to reduce the number of cable theft cases, an alarm system developed by Telekom Malaysia (TM) is introduced which is Anti- Theft Cable Detection and Escalation System (I-Watch). I-Watch is a system which alerts telecom's operatives when the thieves attempt to cut a cable, and it also informs the security guard exactly where the incident is happening [1]. All efforts have been undertaken to reduce the rate of cables loss but cable theft activity is always happen. In this project, a cable theft monitoring system using GSM modem (CTMS) will be proposed. 1.2 Problems Statement There are a lot of methods have been developed by Telekom Malaysia to solve and reduce cable case theft such as cable theft prevention campaigns at the national level among the community, organizing security patrols, wiping grease on telecom poles, replacing existing cable with fiber cables and I-Watch System installation. Recently, I-Watch System has been used to prevent cable theft, however the cost for the installation of I-Watch System is expensive but still less effective because it uses human energy to catch the thief. Location of the incident and the distance to reach the location also cause the system is less effective due to criminals targeting rural areas and far from human to do cable theft activity.

3 Table 1.1: The statistics of cable loss in Kuala Selangor from year 2007 until year 2013 [5] Year 2007 2008 2009 2010 2011 2012 2013 Total Area Kuala Selangor 123 113 68 64 104 52 45 569 Sasaran 90 72 35 33 52 35 33 350 Tanjong Karang - - 65 79 92 116 59 411 Sekinchan - - 147 100 62 222 45 576 Batang Berjuntai 53 44 30 51 34 29 28 269 Ijok 111 67 9 28 27 23 33 298 Total 377 296 354 355 371 477 243 2473 Referring to the TM statistical schedule the number of cable theft in the area of Selangor, 2012 is highest cable theft in Selangor from year 2007 until 2013. The most numerous cases for 2007 and 2008 are the area of Kuala Selangor. This is caused by copper cable is installed in the first area of Kuala Selangor in Selangor. In 2008, the number of cable loss theft is decreasing compared in 2007. This is due to cable theft prevention campaign implementation and monitoring of the TM patrol in the area most of the loss cable [2]. Sekinchan and Tanjong Karang areas are new area in Kuala Selangor from year 2009 and were the highest number of cases contributor compared to other areas. Cable thefts rise in 2012 even though TM has been using the I-watch system [1]. I-watch is a system which alerts the TM team the moment when thieves attempt to cut a cable, and informs them exactly where the incident is happening. It triggers the alarm and TM teams will be dispatched to the scene. However, their safety comes first and if the situation is dangerous, TM teams will wait for the police [1]. In 2013, the number of cable loss theft is decreasing compared in 2012. This is due to I-watch system is installed at the place that always happen cable theft which is Sekinchan and Tanjong Karang thus reduce cable theft for 2013.

4 Therefore, a new low cost system will be proposed in this project to help in reducing the activities of cable theft. 1.3 Objective of Study There are two objectives to be achieved in this project. The objectives are: 1. To design and develop a cable theft monitoring system using GSM Modem (CTMS). 2. To analyze overall performance of CTMS in terms of percentage of detection. 1.4 Scope of Works The scope of works for this project as follows: 1. The buzzer and alarm light is function when the cable is cut. 2. GSM send alarm messages when the cable is cut and send back messages when the cable is in normal condition. 3. Temperature sensor is function when the circuit box temperature is more than 40ºC and GSM also send alarm messages. 4. LCD display is used to show the changes of voltage and circuit temperature. 5. PIC 16F877A Microcontroller will be used in this project to develop the program and C programming is used in the program. 1.5 Significant of Study From the perspective of society, this project can help the society to reduce and prevent activities of cable theft. Also that, this project also can reduce the cost of