MUSIC SYNCHRONIZED LIGHTING SITI HAWA BINTI MAT ISA

Similar documents
18V TO 1000V BOOST CONVERTER BENNEDICT BALLY ANAK NAROK UNIVERSITI MALAYSIA PAHANG

A DESIGN METHODOLOGY FOR A SELF-OSCILLATING ELECTRONIC BALLAST AMIRA BINTI MUSTAPA

BORANG PENGESAHAN STATUS TESIS

BORANG PENGESAHAN STATUS TESIS

DEVELOPMENT OF REMOTELY OPERATED UNDERWATER VEHICLE AFIQ FIKRI BIN HAMID UNIVERSITI MALAYSIA PAHANG

FIR FILTER FOR MAKHRAJ RECOGNITION SYSTEM AIMI NADIA AZMI

BORANG PENGESAHAN STATUS TESIS

PINEAPPLE DISTRIBUTION CLASSIFICATION USING RGB AND FUZZY EZRIN TASNIM BIN ABDUL GANI

FABRICATION OF PERPETUAL MOTION WATER DRINKING TOY BIRD CHEE SAI HOW UNIVERSITI MALAYSIA PAHANG

DESIGN AND IMPLEMENTATION OF ORTHOGONAL FREQUENCY DIVISION MULTIPLEXING RECEIVER NORAZNI BINTI YUSOFF

DESIGN AND FABRICATE A FLEXIBLE TOILET HOSE WITH SPOOL ABDULLAH MUNZIR BIN ZUL SAFARUDDIN UNIVERSITI MALAYSIA PAHANG

Faculty of Mechanical Engineering UNIVERSITI MALAYSIA PAHANG

UNIVERSITI MALAYSIA PAHANG BORANG PENGESAHAN STATUS TESIS

PORTABLE DISTANCE MEASUREMENT MOHD ASHRAF BIN MD SAID

LINE TRACKING ROBOT USING VISION SYSTEMS CHE ROHAZLI BIN CHE MAZLAM

MERLIN MIABOT PRO ROBOT SOCCER (2 WHEELS) MUHAMMAD ASYRAF BIN BADARUDDIN

DEVELOPMENT OF A TOOL TO DESIGN AC HARMONIC FILTER FOR HVDC TRANSMISSION SYSTEM CHA KWAN HUNG. A thesis submitted in fulfillment of the

SMART COLOR SORTING ROBOT SITI NADRAH BINTI SELAMAT

SPEED CONTROL OF PNEUMATIC CYLINDER USING ON/OFF VALVE AND PWM SITI AMIRAH BINTI MOHD PADLI

BORANG PENGESAHAN STATUS TESIS

UNIVERSITI MALAYSIA PAHANG BORANG PENGESAHAN STATUS TESIS JUDUL: PREDICTION OF GRINDING MACHANABILITY WHEN GRIND HAYNES 242 USING WATER BASED COOLANT

AN ADAPTIVE ALGORITHM FOR THE TUNING OF TWO INPUT SHAPING METHODS NUR HAFIZAH BINTI HASSAN

OPTIMUM DESIGN OF RECTIFYING CIRCUIT OF RF ENERGY TRANSFER RAHMIYENI BINTI ASWIR

WEARABLE ANTENNA FOR 2.4GHz FREQUENCY FOR WLAN APPLICATION NUR RAFEDAH BINTI SATAR

PERFORMANCE EVALUATION OF OPTICAL AMPLIFIER IN WDM SYSTEM PEH PO ING

LINE FOLLOWING ROBOT

MICROSTRIP BANDPASS FILTER DESIGN (COMBLINE) MOHAMAD HAMIZAN BIN TUAH

NURHASLINDA BINTI MUSTAFFA KAMAL

DESIGN AND ANALYSIS OF A LOW POWER OPERATIONAL AMPLIFIER USING CADENCE NABILAH BINTI SK.ABD.AZIZ

DESIGN AND IMPLEMENTATION OF A LOW COST PORTABLE AND COMPACT 2.4 GHZ SPECTRUM ANALYZER

GENERALIZED CHEBYSHEV MICROWAVE FILTER FOR WIDEBAND APPLICATIONS LIM FENG SHENG

MELISSA SARA ECHA ANAK GABRIEL

AN AUTOMATIC POURING MACHINE ADNAN BIN AHMAD

DESIGN AND DEVELOPMENT OF SEMG ACQUISITION SYSTEM USING NI MYRIO FOR PROSTHESIS HAND LIAO SHING WEN

DESIGN OF APPLICATION WIRELESS HOME SPEAKER SYAFIQAH BINTI SHAHRUZZAMAN

THE DESIGN OF ANTIPODAL VIVALDI ANTENNA USING GRAPHENE NURUL SYUHADA BINTI HASIM UNIVERSITI TEKNIKAL MALAYSIA MELAKA

POWER AMPLIFIER DESIGN FOR ULTRA-WIDEBAND APPLICATIONS MUHAMMAD SYAHIR BIN YOSUF

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

DESIGN OF THERMOELECTRIC ENERGY HARVESTER USING LTC 3108 BOOST CONVERTER MUHAMMAD ZULHAIZER BIN AB RASHID

WIRELESS POWER TRANSFER FOR ELECTRIC VEHICLES AMALUDDIN BIN ZAINUDDIN

PROPAGATION COVERAGE FOR COMMERCIAL BUILDINGS SCENARIOS USING RAY TRACING TECHNIQUES NURUL HASLIN BT NURYA YA

DESIGN AND SIMULATION OF ADAPTIVE CRUISE CONTROL USING MATLAB/SIMULINK MOHD FIRDAUS BIN JAHAR

CHILD SAFETY MONITORING SYSTEM

DESIGN OF RECTIFIER WITH IMPEDANCE MATCHING CIRCUIT FOR RF ENERGY HARVESTING ENA BINTI AMILHAJAN

WIRELESS WEATHER STATION BY USING ZIGBEE

IMAGE RESTORATION USING MEAN, MEDIAN AND ADAPTIVE FILTER ADELINE CHUA JIA MIN UNIVERSITI TEKNIKAL MALAYSIA MELAKA

COMPARISON OF PERFORMANCE OF VARIOUS OP-AMP TOPOLOGIES USING CMOS 0.13µm TECHNOLOGY NURUS SAADAH BT CHE MAT

CURVE TRACER USING MICROCONTROLLER ASYRAF TAQIUDDIN BIN AHMAT TAHIR

FABRICATION OF UWB BANDPASS FILTER KAMARUL ARIFFIN BIN OMAR. Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka

WIRELESS ENERGY TRANSFER MOHD NASUHA BIN MOHAMAD ZIN

LOG PERIODIC ANTENNA DESIGN SITI NORHIDAYAH BINTI HJ. MOHAMED

AN ANALYSIS OF SIGLE-LAYER DIFFERENTIAL CPW-FED NOTCHED-BAND TAPERED-SLOT UWB ANTENNA MUHAMMAD FATHI BIN AZHAR

DESIGN OF RECTIFYING CIRCUIT WITH IMPROVED RF-DC CONVERSION FOR WIRELESS POWER TRANSFER CHAN CHUN YEW UNIVERSITI TEKNIKAL MALAYSIA MELAKA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT 2 BENU 4984 TITLE:

A COMPARATIVE STUDY OF TOPOLOGY CONTROL ALGORITHM IN WIRELESS SENSOR NETWORK MUHAMAD IZZAT AFIFI BIN ROSLAN

LOCALIZATION AND POSITIONING via Wi-Fi SIGNALS MOHD IDZWAN BIN OTHMAN

UNIVERSITI TEKNIKAL MALAYSIA MELAKA DESIGN ANALYSIS OF A PRESS MACHINE FOR DISPOSABLE PET BOTTLE

THE DESIGN OF OPTIMUM INVERTER JUSTIN ANAK JAMES

DESIGN OF DUAL BAND FREQUENCY SELECTIVE SURFACE NORSHAHIDA BINTI MOHD SAIDI B

PROJECT S TITE EH ZHENG YI

AN ARRAY ANTENNA DESIGN FOR RF ENERGY HARVESTING SYSTEM SHARIF AHMED QASEM AHMED

NOR NABILAH SYAZANA BINTI ABDUL RAHMAN

VISION SYSTEM BASED HEIGHT MEASURING MACHINE ROZEANA BINTI ABD RAHMAN

ENERGY SCAVENGING FOR MOBILE AND WIRELESS DEVICE USING HIGH-EFFICIENCY RECTIFIER CIRCUIT LEE YOUHUI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

Signature : Supervisor : Mr. Loi Wei Sen

STUDY OF DESIGN CONSIDERATION AND PERFORMANCE ANALYSIS OF SUBSTRATE INTEGRATED WAVEGUIDE COMPONENTS ADILAH BINTI ABU SAMAH

A NEW APPROACH FOR INDUSTRIAL PRODUCT INSPECTION BASED ON COMPUTER VISION AND IMAGE PROCESSING TECHNIQUE MOHD KHAIRULDIN BIN HASSAN

AHMAD HIEDZUANUDDIN BIN AHMAD KHIDIR

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

MICROSTRIP LEAKY WAVE ANTENNA DESIGN FOR WLAN APPLICATION NURLIYANA BT ABD MALIK

AHMAD RIDZUAN BIN AB. WAHAB

EFFECT OF TERRAIN FEATURES ON WAVE PROPAGATION NURASLINDA BINTI ADNAN

UNIVERSITI MALAYSIA SARAWAK

GSM-900 MOBILE JAMMER MOHD ZAIDI BIN HUSIN

UNIVERSITI TEKNIKAL MALAYSIA MELAKA DEVELOPMENT OF INTERACTIVE MACHINING PROCESS DESIGN AND MACHINING TIME CALCULATION

LOW-COST AUTOMATIC HEADLIGHT DIMMER SYSTEM KHAIRUL HAZWAN BIN ABU BAKAR

REAL-TIME PHYSICAL HUMAN MACHINE INTERACTION FOR ROBOTIC ARM NURUL ATIQAH BINTI ABD GHANI

DESIGN OF RF POWER AMPLIFIER WITH DIFFERENT BIASING BASED ON GREEN DESIGN TECHNIQUE MUHAMMAD ASHRAF BIN SABRI

CENTRALIZED WIRELESS SENSOR NETWORK DEPLOYMENT MAGESWARAN A/L R JAGANATHAN

Universiti Teknikal Malaysia Melaka (UTeM)

DESIGN OF REAL-TIME HUMAN MACHINE INTERACTION FOR ROBOTIC ARM WITH MONITORING SYSTEM MUHAMMAD AKMAL SAFIRA BIN SAFIEE

Study of Laser Cutting Machine & Its Application in Malaysian Industries

ADAPTIVE OFDM WIRELESS COMMUNICATION DEVELOPMENT FOR WIRELESS MEDICAL IMAGE TRANSMISSION IN DIFFERENT RESOLUTION MUHAMMAD WAFI BIN MOHAMAD YUSAK

DUAL THRESHOLD VOLTAGE FOR HIGH PERFORMANCE DOMINO LOGIC

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

SECURITY EQUIPMENT USING BIOMETRICS MUHAMAD FIRDAUS BIN JUSOH

UNIVERSITI TEKNIKAL MALAYSIA MELAKA OPTIMIZATION OF FDM PARAMETERS WITH TAGUCHI METHOD FOR PRODUCTION OF FLEXIBLE ABS PART

MATERIAL DETECTING AND HANDLING ROBOTIC ARM NURULHUDA BINTI JALIL

Signature. Supervisor :.. ~.~H-.~.~0~P..?.j.~H~~~.. ~.~.~ Date :...?./!!./~~ ~

TEXTILE ANTENNA MOHD NAZRY BIN MOHAMMAD

IMPROVED GPS SINGLE POINT POSITIONING USING WEIGHTED LEAST SQUARE METHOD LOH KAH HOW

DESIGN OF INTEGRATED FILTER-ANTENNA FOR WIRELESS COMMUNICATIONS NOOR AZIAN BINTI JONO UNIVERSITI TEKNIKAL MALAYSIA MELAKA

PERPUSTAKAAN UTHM * *

COMPACT BUTLER MATRIX DESIGN NORJANNAH BINTI NORDIN

SMS BASED EARLY FLOOD WARNING SYSTEM USING RASPBERRY PI ABDULLAH AZAM BIN SHAHRIN UNIVERSITI TEKNIKAL MALAYSIA MELAKA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

DESIGN OF A LOW NOISE AMPLIFIER FOR 5-6GHz APPLICATIONS NUR DIYANA BINTI ISMAIL

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

FINGER VEIN VERIFICATION. Krishna Veni A/P Selvan

Transcription:

MUSIC SYNCHRONIZED LIGHTING SITI HAWA BINTI MAT ISA 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 : MUSIC SYNCHRONIZED LIGHTING Sesi Pengajian : 2008/2009 Saya SITI HAWA BINTI MAT ISA 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 48 FELDA BUKIT TEMBAGA 06300 KUALA NERANG KEDAH Tarikh:.. Tarikh:..

iii I hereby declare that this report is the result of my own work except for quotes as cited in the references. Signature : Supervisor s Name : Siti Hawa Binti Mat Isa Date : 30 April 2009

iv 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 : Mr Mazran Bin Esro Date : 30 April 2009

For my beloved mum and dad v

vi ACKNOWLEDGEMENT Alhamdulillah, thanks to Allah, I finally am able to complete my final year project and thesis as well within the allocated time. First of all, I would like to take this opportunity to express my appreciation to some organizations or individuals who kindly contributed to successfully completion of my final year project in UTeM. With the cooperation and contributions from all parties, the objectives of the project; soft-skills, knowledge and experiences were gained accordingly. To begin with, I would like to convey acknowledgement to our faculty final year project members especially my project supervisor, Encik Mazran Bin Esro for his cooperation and involvement from the beginning until the end of my project development. His effort to ensure the successful of students under his responsibility was simply undoubtful. Thanks for the invaluable advices given before, while or after completion of the project. Furthermore, I would like to extend my sincere acknowledgement to my parents and family members who have been very supportive throughout the project and giving me the encouragement all the time. Their understanding and support in term of moral and financial were entirely significance towards the project completion. Last but not least, my appreciation goes to my fellow colleagues in UTeM, especially for those who come from FKEKK. Their willingness to help, opinions and suggestion on some matters, advices and technical knowledge are simply precious while doing upon completion of my final year project.

vii ABSTRACT The purpose of this project is to develop the music synchronized lighting system to be used at Malacca buildings. The music synchronized lighting is project which is when music is played, the lighting on and off pattern will change according to the music. This project involves analog amplifiers and filters to distinguish the sound of different frequencies. The signal will trigger different type of lighting pattern as if the light pattern is dancing all along with the music. It also would be able to show the light pattern according with the various type of music. normally the light and music is used when there are celebrations like Christmas Day, launch ceremony, concert light or any other function. In other case usually, music and light used separately. This means, music and light are used together, but light does not lighting synchronized with the music. The objective of this project is to take an audio signal and transform it to a light show. Besides, it is also to filter audio signal within unique frequency ranges to power individual LED s using band pass filter. In this project, the light pattern is developed can be controlled by software using PIC 16F877A program. Other than that, the band pass filter will be designed to pass the frequencies within a certain range and rejects (attenuates) frequencies outside that range. It is expected that this project is successfully developed to be used at Malacca buildings. By implementing this product, it will be an attraction for tourist to come to Malacca. Other than that, this product can also make a not so interesting audio signal and transform it into an exciting, visually stimulating light show.

viii ABSTRAK Projek ini adalah untuk menghasilkan satu sistem lampu yang bergerak mengikut muzik untuk diaplikasikan pada bangunan di Melaka. Sistem yang menggerakkan lampu ini adalah satu projek yang mana bila muzik dimainkan, penyalaan corak lampu akan berubah mengikut rentak muzik. Projek ini melibatkan penapis untuk membezakan bunyi pada frekuensi yang berlainan. Isyarat akan memicu corak lampu yang berlainan di mana corak lampu akan menyala-nyala mengikut muzik dan mampu untuk mempersembahkan corak lampu berdasarkan pelbagai jenis muzik. Namun, sistem ini tidaklah digunakan secara meluas di mana ia hanya digunakan apabila terdapat sesuatu perayaan seperti Hari Krismas, upacara pelancaran, lampu konsert, atau sebarang majlis lain. Dalam hal yang lain, biasanya, muzik dan lampu digunakan secara berasingan. Ini bermaksud, muzik dan lampu digunakan bersama, tetapi lampu tidak menyala segerak dengan muzik. Objektif projek ini ialah untuk mengambil satu isyarat audio dan mengubahnya kepada pergerakkan lampu, menapis isyarat audio kepada julat-julat frekuensi yang unik untuk menyalakan setiap LED dengan menggunakan band pass filter. Dalam projek ini, corak lampu terhasil boleh dikawal dengan perisian menggunakan pengaturcaraan PIC 8F877A. Selain daripada itu, band pass filter akan direka bentuk untuk melepaskan frekuensi-frekuensi di dalam sesuatu julat dan membuang frekuensi-frekuensi luaran julat isyarat itu.. Di harapkan projek ini berjaya dihasilkan untuk digunakan pada bangunan-bangunan dimelaka. Dengan mengaplikasikan produk ini, ia akan menjadi daya tarikan kepada pelancong yang datang ke bandaraya Melaka. Selain itu, produk ini juga boleh membuatkan satu isyarat audio yang membosankan dan mengubah ia kepada satu yang menghiburkan dengan persembahan lampu yang menarik.

ix CONTENTS CHAPTER TOPIC PAGE TITLE DECLARATION DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK CONTENTS LIST OF TABLES LIST OF FIGURES LIST OF ABBREVIATION LIST OF APPENDIXS i iii v vi vii viii ix xiii xiv xvi xvii I INTRODUCTION 1.1 Introduction 1 1.2 Project Objectives 2 1.3 Problem Statement 3 1.5 Project Scope 3 1.6 Project Methodology 5 1.7 Thesis Structure 6

x II LITERATURE REVIEW 2.1 Overview 8 2.2 Microcontroller 8 2.2.1 Why Microcontroller 10 2.2.2 Identifying suitable Microcontroller 13 2.3 PIC Microcontroller 13 2.3.1 The PIC16F877A Advantages and 16 Disadvantage 2.3.2 Pin Diagram 17 2.3.3 Advantage of using Microcontroller 17 2.4 Filter 18 2.4.1 Band pass filter 19 2.5 Operational Amplifier 21 2.5.1 Circuit Notation 21 2.5.2 LM741 Operational Amplifier 22 2.6 Light-Emitting Diode (LED) 23 2.7 Analog to Digital Converter 25 2.7.1 Application to music recording 25 2.7.2 Other application 26 2.8 Software 26 2.8.1 Proteus VSM 26 2.8.1.1 Schematics Entry 27 2.8.2 CCS C Compiler 27 2.8.3 C Languages 28 2.8.3.1 Advantages of C Language 28 2.6.3.2 Disadvantages of C Language 28

xi III PROJECT METHODOLOGY 3.1 Introduction 29 3.2 Flow Chart Methodology 30 3.3 Project Methodologies 31 3.4 Flow Chart Description 31 3.4.1 Project Title 31 3.4.2 Information about the Project 32 3.4.2.1 Implementation 32 3.4.3 Project Circuit Design and Testing 33 3.4.3.1 Pattern the Line Current 34 By Using Protues Software 3.4.3.2 Etching the Circuit on the 35 PCB Board 3.4.3.3 Drill the Hole of Component 37 Base on the Board 3.4.3.4 Integrate the Components on 37 the Board 3.4.3.5 Soldering process 38 3.4.4 Combining Final Product 39 3.5 Hardware Development 40 3.6 Software Programming 40 3.6.1 Flow chart of source code 41

xii IV RESULT AND DISCUSSION 4.1 Introduction 43 4.2 Output of Filter 43 4.3 Output LED Pattern 47 4.4 Discussion 48 V CONCLUSION AND RECOMMENDATION 5.1 Introduction 49 5.2 Conclusion 49 5.3 Recommendation 50 REFERENCES 51 APPENDIX 52

xiii LIST OF TABLES NO TITLE PAGE 2.1 Types of Microcontroller 11 2.2 Comparison between Two Types of PIC 16

xiv LIST OF FIGURES NO TITLE PAGE 1.1 Block diagram of music synchronized lighting 4 1.2 Overall Project Flow 5 2.1 The PIC 16F877A 13 2.2 Pin Diagram of PIC 16F877A 17 2.3 Example of Band pass filter 20 2.4 Circuit diagram symbol for an op-amp 21 2.5 DIP pin out for 741-type operational amplifier 22 2.6 The part of and LED and the I-V diagram for diode an LED 24 3.1 Flow chart of this project 30 3.2 The Flow Process of Project Circuit Design 33 3.3 LED Schematic 34 3.4 PIC Schematic 34 3.5 Filter Schematic 35 3.6 LED Circuit 35 3.7 Filter Circuit 36 3.8 PIC Circuit 36 3.9 The Board after Drilling Process 37 3.10 Light Circuit 37 3.11 Complete Filter Circuit 38 3.12 The Components Base after Soldering Process 38 3.13 Combination of the hardware 39

xv 3.14 The Complete Model 39 3.15 Overall flow chart of source code 41 4.1 Filter Circuit 44 4.2 Signal from music 44 4.3 Bandpass filter signal 45 4.4 Signal after going through bandpass filter 45 4.5 Signal of music from filter using oscilloscope 46 4.6 The pattern of the light 47 4.7 LED Output 48

xvi LIST OF ABBREVIATION LED - Light Emitting Diode CD - Compact Disc CPU - Central Processing Unit PC - Personal Computer RAM - Random Access Memory I/O - Input / Output ROM - Read-Only Memory ADC - Analog to Digital Converter EEPROM - Electrically Erasable Programmable Read-Only Memory EPROM - Erasable Programmable Read-Only Memory A/D - Analog to Digital D/A - Digital to Analog ICD - In-Circuit Debugger CCP - Capture Compare PSP - Parallel Slave Port LCD - Liquid Crystal Display PCB - Printed Circuit Board PIC - Programmable Interface Chip PWM - Pulse Width Modulation UART - Universal Asynchronous Receiver/ Transmitter

xvii LIST OF APPENDIXS NO TITLE PAGE A DATASHEET OF PIC 16F877A MICROCONTROLLER 53 B PROGRAM 1 (source code for ADC) 61 C PROGRAM 2 (source code LIGHT PATTERN) 62 D CODING FOR SIMULATION IN MATLAB 65

CHAPTER I INTRODUCTION 1.1 Introduction The synchronized lightning show will incorporate several aspects of electrical engineering. The project s interesting in its design and overall visual effects. The system can synchronize the light movement pattern on a building to the sound of music being played. The purpose of designing the system is to create a tourist attraction spot in Malacca. The project will focus on building a prototype (small scale model) using small light (LED) decorated around the building. When music is being played, the lighting pattern will change according to the music. The project involved filters to distinguish the sound of different frequencies. The signal will trigger different type of lighting pattern as if the light pattern is dancing along with the music.

2 1.2 Objectives The objectives of this project are: 1. To take an audio signal and transform it to a light show 2. To filter audio signal into unique frequency ranges to power individual LED s. 3. To present the beat of the song to a lighting pattern 4. To apply this product to building in Malacca. 5. To be able to learn and use the PIC 16F877A programming At the end of this project, all of the objectives must be achieved. It is to make sure that the project operates smoothly and follow the main concept of the project by using the suitable components, software and equipments. In order, to make the beat of the music synchronized with the lights, it needs a filter to distinguish the frequency and the light pattern will be controlled by the software. So, the source code must be developed in the software using PIC C COMPILER. After that, the program will be installed into the PIC 16F877A chip to control the movement and operation of the light to synchronize with the music. 1.3 Problem Statement

3 Nowadays, this product, music and light doesn t use widely. It is only used when there is a celebration like Christmas Day, launch ceremony, concert light or any other function. So, the main objective of this project is to produce music synchronized lighting to be use at Malacca building. This is because; Malacca is the one of historical city in Malaysia which is having the most tourist visits. Meanwhile, this system can make the whole building in Malacca much more interesting, and at the same time the environment will be more cheerful. 1.4 Scope of Project The goal of this project is to build a two stage circuit which will convert an audio signal from a CD to a light show. The first stage will filter the audio signal into high and low frequencies. The second stage will amplify these signals in order to power the corresponding light show. The prototype is a small scale model using small light (LED) decorated around the building. When the music is being played, the light pattern will change according to music. PIC used to control the pattern of the LED. C programming language is used to write program to the PIC by using CCS C Compiler. Proteus software will be used to design the layout of PCB. Input for this system is come from the laptop speaker where the music is played whereas the output at light (LED). The combinations from all equipment make this music synchronized lighting more interesting. Below is the block diagram that shows the concept of the operation for this music synchronized lighting.

4 AUDIO FILTER PIC LIGHT PATTERN Figure 1.1 Block diagram of music synchronized lighting Audio Signal: The output of a laptop Band Pass Filter: use op-amp filters to extract the mid-range frequencies from the audio signal. Then use this signal to determine when to have the high frequency light on or off according to the signal. It will also determine the brightness of the light based on the frequency. PIC: PIC used to control the pattern of the LED. Light (LED): This will be the main visual component of the light show. It will light up when the power amplifiers tells it to.

5 1.5 Methodology Figure 1.2 shows the process flow throughout the project. The project is conducted according to the processes shown below: Start Literature review Software Hardware Develop the source code/ programming Assemble the entire component Run the simulation NO Testing the circuit FAIL YES PASS Integrate into a system Troubleshooting Testing project FAIL PASS END Figure 1.2 Overall project flows

6 Figure 1.2 shows the overall project flow. The project started with background study or literature review. Research is done in order to know the requirement of the music synchronized lighting which covers the required components, the circuit, the source code and the prototype design. After completing the literature review, this task is divided into two parts. First part is development of hardware which the design of the circuit and component assembly are carried out before then testing the circuit. The project continues with PIC 16F877A programming which is the crucial part of the process. Finally, the program is tested into the circuit and modified in some parts in order to improve the system functionality. 1.6 Thesis Structure The structure of this report is about the flow of the project. This report is consists of five chapter that cover the introduction, literature review, research methodology, result, discussion, conclusion and recommendation. Chapter I, will discuss about brief introduction of the project, the objectives, the problem statement, the scope of project and methodology are briefly discussed to provide the reader an understanding about the project. Chapter II is about literature review which includes the concept, theory and perspective the project. This is useful in order to solve the problem encountered and any hypothesis that is related to the research of methodology. Chapter III is describes the research methodology of the project. This chapter will discuss the method or approach that used in project development including the hardware and software aspect.

7 Chapter IV is discusses briefly on the observations, results and the analysis of the project methods acquired during the development of the project. This chapter also consists of recorded data analysis and the result of the project. Chapter V is covers the discussion of whole contents of the report. There will be suggestion for improvement process in the future research. This chapter emphasizes on advantages and disadvantages of this project.