Acknowledgement Untill Table of Content I-xi

download Acknowledgement Untill Table of Content I-xi

of 9

description

Acknowledgement Untill Table of Content I-xi

Transcript of Acknowledgement Untill Table of Content I-xi

ACKNOWLEDGEMENT

Alhamdulillah, a lot of praise and syukur to Allah. I wish to express my sincere gratitude and appreciation to Puan Nazatul Shima binti Saad as my supervisor for the valuable guidance and good advice. She inspired us greatly to work in this project. Her willingness to motivate us to contributed tremendously to our project.

I wish to express my cordial gratitude to the all people who have played a crucial role in the research for this project, without their active cooperation the preparation of this project could not have been completed within the specified limit.

The next person I would like to acknowledge is my fellow friends who supported me throughput this project utmost cooperation and patience.

Finally, an honorable mention goes to my family and friends for their understanding and support on me in completing this project. Without helps of the particular that mentioned above, I would face many difficulties while doing this project.

APPROVAL AND DECLARATION SHEET

This project report entitled Automatic Light System using Arsduino was prepared and submitted

By

Tg Muhammad Nazmi bin Tg Mohd Amran112020630

has been found satisfactory in terms of scope, quality and presentation as partial fulfillment of the requirement for theDiploma Engineering (Computer Engineering)in Universiti Malaysia Perlis(UniMAP).

Checked and Approved by

______________________(PUAN NAZATUL SYIMA BINTI SAAD)Project SupervisorSchool of Computer and Communication EngineeringUniversiti Malaysia Perlis

September 2014

SISTEM LAMPU AUTOMATIK MENGGUNAKAN ARDUINO

ABSTRAK

Projek ini akan membentangkan reka bentuk, pembinaan, pembangunan, kawalan dan penilaian sistem lampu automatik. Sistem lampu automatik tujuannya digunakan dari sekitar, dikesan oleh sensor gerakan untuk menyimpan tujuan tenaga. LDR yang merasakan cahaya dari sekitar dan hasilnya akan ditunjukkan pada LED. Fungsi PIR Sensor Gerakan untuk mengesan gerakan dari sekitar . Sistem lampu automatik mengandungi gabungan sensor dengan integrasi pengaturcaraan terkawal yang bermakna dalam kes ini menggunakan Arduino (ATmega 328) sebagai pengawal utama. Projek ini juga memberi prestasi yang dijangkakan sistem cahaya automatik, pembinaan perkakasan dan pembangunan perisian untuk mengumpul data prestasi. Akhirnya, prestasi sistem ini akan dinilai dengan membandingkan data prestasi kepada teori.

AUTOMATIC LIGHT SYTEM USING ARDUINO

ABSTRACT

This project will present the design, construction, development, control and evaluation of an automatic light system. A automatic light system is a motion applied from surrounding, sensed by motion sensor for saving energy purpose. The LDR sensed the light from surrounding and the result will be shown on the LED. PIR Motion Sensor functions to sense the motion from surrounding. This automatic light system contains combination of sensor with integration of embedded controlled programming which means in this case using Arduino (ATmega 328) as the main controller. This project also presents the expected performance of the automatic lightsystem, construction of hardware and software development to gather the performance data. Finally, this system performance will be evaluated by comparing performance data to the theoretical.

SUPERVISORS DECLARATION

I hereby declare that I have checked this project and in my opinion, this project is adequate in terms of scope and quality Diploma Engineering (Computer Engineering) in University Malaysia Perlis (UniMAP).

Signature: Name of Supervisor: PUAN NAZATUL SYIMA BINTI SAAD

TABLE OF CONTENTS

ACKNOWLEDGMENTiAPPROVAL AND DECLARATION SHEET iiABSTRAK iiiABSTRACTivSUPERVISORS DECLARATION vTABLE OF CONTENTS viLIST OF TABLESviiiLIST OF FIGURES ix

CHAPTER 1 INTRODUCTION 11.1 Project Background 1.2 Problem Statement 1.3 Objectives1.4 Scope of Study1.5 Summary by Chapter

CHAPTER 2 LITERATURE REVIEW32.1Introduction 2.2Arduino2.3Arduino C Language2.4Software used2.4.1Arduino IDE Software2.5Hardware Components2.5.1Arduino ATmega3282.5.2PIR Motion Sensor2.5.3LED

CHAPTER 3 METHODOLOGY 10 3.1Introduction3.2Project Flow3.2.1Overall Project Flow3.3Project Planning3.3.1Project Planning using Software Management3.3.2Project Planning using Hardware Management3.3.2.1ATmega3283.4Block Diagram3.4.1Description of Block Diagram3.4.1.1Motion Sensor3.4.1.2Light Dependent Sensor (LDR)3.4.1.3Arduino3.4.1.4 LED

CHAPTER 4 RESULTS AND DISCUSSION 214.1Introduction4.2System Overview4.3Sensor4.4Discussion

CHAPTER 5 CONCLUSION 255.1Conclusion5.2Recommendation for Improvement

REFERENCES 26

APPENDICES 27

LIST OF TABLES

Table 2.1Specification of Arduino Uno board 123.1Balancing Power Consumption164.1Analysis Table23

LIST OF FIGURES

FIGURES NO2.1Example of Arduino C Commands52.2Arduino IDE Software62.3Example Arduino Software in C language Help in Calculation of Multiply72.4Arduino Uno Development Board82.5 PIR Motion Sensor 92.6LED93.1Project Flow113.2Overall Project Flowchart123.3ATmega 328153.4Block Diagram of Project173.5The PIR (Passive Infra-Red)183.4The Light Dependent Resistor (LDR)183.7The Arduino Board193.8The LED204.1Schematic Circuit of The Project224.2PIR Motion Sensor not detecting any motion234.3The Passive Infra-Red (PIR) Sensor24

ix