INTRODUCTION 1 LITERATURE REVIEW 5 METHODOLOGY 20 RESULT AND DISCUSSION 39

x TABLE OF CONTENT Abstrak vi Abstract vii Dedication viii Acknowledgement ix Table of Content x List of Tables xiii List of Figures xiv List Abbreviations, Symbols and Nomenclatures xvi

CHAPTER 1: INTRODUCTION 1

1.1 Project Background 1 1.2 Objective of Project 2 1.3 Problem Statement 2

1.4 Scope of Project

3 1.5 Project Significances 3 1.6 Project Outline 3

CHAPTER 2: LITERATURE REVIEW 5

2.1 Smoke Detector System

5 2.1.1 Smoke Alarm Type 6 2.1.1.1 Photoelectric Smoke Alarms 6 2.1.1.2 Ionisation Smoke Alarm 7 2.1.1.3 Carbon Monoxide Alarm 7 2.1.1.4 Alarms for The Hearing-impaired 7 2.1.1.5 Special Mode; for Kitchen and Relocatable Homes 7 2.1.1.6 Heat Alarms 8 2.2 MQ-2 Smoke Sensor Circuit Built With an Arduino 8 2.2.1 Code for Arduino MQ-2 Smoke Sensor Circuit 9 2.3 Arduino Mega 10 xi 2.4 Type of Arduino 11 2.5 Arduino Ethernet Shield 14 2.6 Flamable Gas Smoke Sensor MQ-2 15 2.7 NetGear Wi-Fi Router WGR614 16 2.8 Wi-Fi Versus Bluetooth 17 2.9 Liquid-Crystal Display 19

CHAPTER 3: METHODOLOGY 20

3.1 Introduction 20 3.2 Major Steps in Implementing the Project 21 3.2.1 Planning 22 3.2.2 Analysis 22 3.2.3 Implementing 22 3.2.4 Test 23 3.2.5 Block Diagram 23 3.3 Method of Collecting Data 25 3.4 The Flow Chart of FIREAMS 26 3.5 Project Resource 27 3.5.1 Development of Arduino Mega 27 3.5.1.1 Technical Specification 28 3.5.2 Development of Ethernet Shield 29 3.5.3 Development of Wi-Fi Router 31 3.5.4 Development of MQ-2 Smoke Alarm 33 3.5.5 Development of Liquid-Crystal display 34 3.5.6 Wires 35 3.6 Software Development 36 3.6.1 Arduino IDE 36 3.6.2 Eclipse IDE 36 3.7 Budget and Costing 37 3.7.1 Direct Cost 37 3.7.2 Software Cost 38 xii

CHAPTER 4: RESULT AND DISCUSSION 39

4.1 Project Hardware Layout 39 4.1.1 Component Connection 40 4.2 Hardware Setup 41 4.2.1 Project Prototype 41 4.3 Result 43 4.3.1 Fire Alarm Monitoring System 43 4.3.2 LCD Display 44 4.4 Project Analysis 47 4.4.1 Factor of Volume Over Time 47 4.4.2 Factor of Gas Distance over Time 48 4.4.3 Smoke Reading on Different type of Smoke 49 4.5 The Configuration of Ether Shield 50 4.6 Discussion 51

CHAPTER 5: CONCLUSION AND FUTURE WORK 53