SMS BASED EARLY FLOOD WARNING SYSTEM USING RASPBERRY PI ABDULLAH AZAM BIN SHAHRIN UNIVERSITI TEKNIKAL MALAYSIA MELAKA BORANG PENGESAHAN STATUS TESIS JUDUL: SMS Based Early Flodd Warning System Using Raspberry Pi SESI PENGAJIAN: Sem 2 2014/2015 Saya Dr Fahmi Arif mengaku membenarkan tesis (PSM/Sarjana/Doktor Falsafah) ini disimpan di Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dengan syarat-syarat kegunaan seperti berikut: 1. Tesis dan projek adalah hakmilik Universiti Teknikal Malaysia Melaka. 2. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan untuk tujuan pengajian sahaja. 3. Perpustakaan Fakulti Teknologi Maklumat dan Komunikasi dibenarkan membuat salinan tesis 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 di tentukan oleh organisasi/badan di mana penyelidikan dijalankan) ________ TIDAK TERHAD ______________________________ ______________________________ (TANDATANGAN PENULIS) (TANDATANGAN PENYELIA) Alamat tetap: No. 8 Jalan TU37, Dr Fami Arif Taman Tasik Utama 75450, Ayer Keroh, Melaka Tarikh: ______________________ Tarikh: _____________________ i SMS BASED EARLY FLOOD WARNING SYSTEM USING RASPBERRY PI ABDULLAH AZAM BIN SHAHRIN This report is submitted in partial fulfillment of the requirements for the Bachelor of Computer Science (Computer Networking) FACULTY OF INFORMATION AND COMMUNICATION TECHNOLOGY UNIVERSITI TEKNIKAL MALAYSIA MELAKA 2015 ii DECLARATION I hereby declare that this project report entitled SMS BASED EARLY FLOOD WARNING SYSTEM USING RASPBERRRY PI Is written by me and is my own effort and that no part has plagiarized without citations. STUDENT : __________________________________ Date: ____________ (ABDULLAH AZAM BIN SHAHRIN) SUPERVISOR : __________________________________ Date: ____________ (DR FAHMI ARIF) iii ACKNOWLEDGEMENTS Alhamdulillah and thanks to Allah Almighty for letting me finished my subject of BITU3973 – Projek Sarjana Muda in this final year in UTeM which had started on 23 February 2015 to 4 September 2015. First of all I would like to thank my helpful Supervisor, Dr Fahmi Arif for his well teaching, guidance, and advice throughout this project. Dr Fahmi has helped me in the completion of my Projek Sarjana Muda System. He helped me solved all the problems that I had and also suggested all the brilliant ideas for making the system complete. I am very grateful to have him as my supervisor. I would also like to thank my father, mother and other families for their endless support in my studies all these years. They kept constantly reminded me to do my best for this Projek Sarjana Muda subject. I would also like to thank all my friends especially those who work together to build this system and also all my classmates for their wise ideas throughout this project. Thanks to all my friends who had been very supportive during the hardships. Thanks to the outsiders or anyone too, who had involved either directly or indirectly in developing this SMS BASED EARLY FLOOD WARNING SYSTEM USING RASPBERRY PI. This whole program had really brought us together and made us appreciate the true value of friendships as well as to respect each other. iv ABSTRACT Floods are the most damaging natural disaster in this world. When it happened, it can destroy the community and killed many lives. The government would end up spending billions of dollars to recover the affected area. It is crucial to develop a flood control system as a mechanism to reduce the flood risk. Getting a quick feedback regarding the rise of the water level would help the surrounding area to take early pre-caution such as move away quickly to a safer and higher place. Thus, this project is about designing a system that can measure the speed of the rise of the water level at the potential flooded area. Waterfall model is used as the methodology in this project. The water sensor, Raspberry Pi and GSM module are the hardware used in the system. Raspberry Pi is used to collect the data from the water sensor and transmit the data to GSM Module to send the alert by using an SMS via a mobile phone. The analysis will be done to show how the Raspberry Pi will be integrated with the smartphone to give an alert. The system will be tested in order to ensure that all specifications needed have been met. A performance test will also be ran in order to see the efficiency of the system. v TABLE OF CONTENTS CHAPTER SUBJECT PAGE DECLARATION ii ACKNOWLEDGEMENT iii ABSTRACT iv TABLE OF CONTENT v LIST OF TABLE vii LIST OF FIGURES ix CHAPTER 1 INTRODUCTION 1.1 Introduction 1 1.2 Problem Statements 2 1.3 Project Questions 3 1.4 Project Objective 3 1.5 Project Scope 4 1.5.1 Component Used 4 1.5.2 Testing Environment 6 1.6 Project Contribution 6 1.7 Thesis Organization 7 1.8 Conclusion 8 CHAPTER 2 LITERATURE REVIEW 2.1 Introduction 9 vi 2.2 Flood 9 2.3 Raspberry Pi 10 2.4 System Development Methodology 13 2.5 Related Work/Previous Work 17 2.5.1 Flood-Pi: Flood Detection on Raspberry Pi 18 2.5.2 Flood Monitoring System Using GSM 19 2.5.3 Water Level Monitoring and Flood Alert System 21 2.6 Critical review of current problem and justification 24 2.7 Proposed Solution/Further Project 25 2.8 Conclusion 26 CHAPTER 3 PROJECT METHODOLOGY 3.1 Introduction 27 3.2 Methodology 28 3.3 Project Milestones 31 3.4 Conclusion 34 CHAPTER 4 ANALYSIS AND DESIGN 4.1 Introduction 35 4.2 Problem Analysis 35 4.3 Requirement Analysis 36 4.3.1 Data Requirement 36 4.3.2 Functional Requirement 37 4.3.3 Non-Functional Requirement 37 4.3.4 Others Requirement 37 4.4 Detailed Design 39 4.5 Conclusion 42 vii CHAPTER 5 IMPLEMENTATION 5.1 Introduction 43 5.2 Environment Setup 43 5.3 Conclusion 47 CHAPTER 6 PROJECT TESTING 6.1 Introduction 48 6.2 Results and Analysis 48 6.2.1 Full Volume Flow Rate 49 6.2.2 Half Volume Flow Rate 57 6.3 Conclusion 66 CHAPTER 7 PROJECT CONCLUSION 7.1 Introduction 67 7.2 Project Summarization 67 7.3 Project Contribution 68 7.4 Project Limitation 69 7.5 Future Works 69 7.6 Conclusion 70 REFERENCE 71 APPENDIX 73 viii LIST OF TABLE TABLE TITLE PAGE 1.1 Problem Statement 2 1.2 Summary of Project Questions 3 1.3 Summary of Project Objective 4 1.4 Summary of Project Contributions 6 2.1 Specifications of Raspberry Pi Model B+ 11 2.2 Specifications of Water Sensor 12 2.3 Specifications of Huawei mobile broadband E173 12 2.4 Advantage and Disadvantage of Waterfall model 14 2.5 Advantage and Disadvantage of Rapid Application 15 Development 3.1 Gantt Chart 33 3.2 Milestones 33 6.1 Time Between Real and System Time 49 6.2 Sensor 1 Message Time 51 6.3 Sensor 2 Message Time 53 6.4 Water Speed Differences 55 6.5 Time Between Real and System Time 57 6.6 Sensor 1 Message Time 59 6.7 Sensor 2 Message Time 61 6.8 Water Speed Differences 63
Description: