1 11111111111umpir.ump.edu.my/15281/1/design and dvelopment of smart car parking system using... ·...

6
PERPUSTAKAAN UMP 1 11111111111 0000108163 DESIGN AND DVELOPMENT OF SMART CAR PARKING SYSTEM USING ARDUINO AND ANDROID CHANG JIAN FEI This thesis is submitted as partial fulfilment of the requirements for the award of the Bachelor of Mechatronics Engineering (Hons.) Faculty of Manufacturing Engineering Universiti Malaysia Pahang JUNE 2015 PERPUSTAKAAN U) UN1VERS TI MALAYSIA PAHANG No. Peroiehri No. Pariggilan 108163 Fr Tam.; 5 MAR 2016

Upload: others

Post on 03-Sep-2019

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

PERPUSTAKAAN UMP

1 11111111111 0000108163

DESIGN AND DVELOPMENT OF SMART CAR PARKING SYSTEM USING ARDUINO AND ANDROID

CHANG JIAN FEI

This thesis is submitted as partial fulfilment of the requirements for the award of the Bachelor of Mechatronics Engineering (Hons.)

Faculty of Manufacturing Engineering Universiti Malaysia Pahang

JUNE 2015

PERPUSTAKAAN U) UN1VERS TI MALAYSIA PAHANG

No. Peroiehri No. Pariggilan

108163 Fr Tam.;

5 MAR 2016

Page 2: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

TABLE OF CONTENTS

Page

SUPERVISOR'S DECLARATION

STUDENT'S DECLARATION

ACKNOWLEDGEMENTS iv

ABSTRACT v

ABSTRAK vi

TABLE OF CONTENTS vii

LIST OF TABLES ix

LIST OF FIGURES x

CHAPTER 1 INTRODUCTION 1

1.1 Overview 1

1.2 Problem Statement 2

1.3 Objective 2

1.4 Project Scope 2

1.5 Thesis Outline 2

CHAPTER 2 LITERATURE REVIEW 4

2.1 introduction 4

2.2 Literature Review 4

2.2.1 Parking guidance system (Case Study 1) 4

2.2.2 Normal Car Park System (Case Study 2) 6

2.2.3 Incident happen in car park (Case Study 3) 7

CHAPTER 3 METHODOLOGY 8

3.1 Introduction 8

3.2 Project Flow of the Project 9

vii

Page 3: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

viii

3.3 Block Diagram of the Project 10

3.4 Process flow chart of the system 11

3.5 Conceptual design of the car park layout 12

3.6 Entrance programming flow chart 13

3.7 Smart Car Park Management Flow Chart 14

3.8 Guidance Mechanism (Tri color LED) 15

3.9 Security Mechanism 15

3.10 Real time monitoring system and payment unit 16

3.11 Electrical Circuit 16

3.12 Arduino Connection Pin 20

3.13 Project Time Line 21

CHAPTER 4 RESULT AND DISCUSSION 23

4.1 Introduction 23

4.2 Result of Car Park Smart Management 24

4.3 Result of Security Car Park 29

4.4 Result of Smart Light Indicator 30

4.5 Graphical User Interface of the Car Parking System 32

4.6 Android App for the Payment of the Car Parking System 36

4.7 Discussion 37

4.7.1 How Servo Motor Worked 38

4.7.2 Circuit Design Consideration 40

CHAPTER 5 CONCLUSION AND RECOMEMDATION 42

5.1 Conclusion 42

5.2 Recommendation 42

REFERENCES 44

APPENDIX A Arduino Coding 46

APPENDIX B App Inventor Coding 67

APPENDIX C Part of the Data Sheet of Servo Motor 68

Page 4: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

LIST OF TABLES

Table No. Page

2.1 Accident happen in the car park in Malaysia shopping complex 5

3.1 Arduino pin connection 18

3.2 Arduino Mega and Uno pin connection 20

ix

Page 5: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

LIST OF FIGURES

Figure No. Page

2.1 Parking guidance system from Sigma Technology Sdn Bhd 5

2.2 Ultrasonic detection area 5

2.3 East Coast Mall car park condition 6

3.1 Project flow chart 9

3.2 Block diagram of the system 10

3.3 Process flow chart of the system 11

3.4 Car park conceptual design 12

3.5 Programming flow chart of the entrance 13

3.6 Programming flow chart of the smart management car park 14

3.7 The programming flow chart of the security mechanism 15

3.8 Electrical circuit of tri color LED 17

3.9 Electrical circuit of LCD and 7 segment 17

3.10 Electrical circuit of servo(spike) and push button 18

3.11 Electrical circuit of 6 IR sensor 18

3.12 Electrical circuit of Arduino Mega and UNO 19

3.13 Gantt chart for FYP 1 21

3.14 Gantt chart for FYP 2 22

4.1 Finished car parking layout before powering up 23

4.2 Finished car parking layout after powering up 24

4.3 LCD show "Park Al Please". 25

4.4 LCD show "Park A2 Please" 25

4.5 LCD show "Park A3 Please" 26

4.6 LCD show "Park A4 Please" 26

4.7 LCD show "Park A5 Please" 27

x

Page 6: 1 11111111111umpir.ump.edu.my/15281/1/Design and dvelopment of smart car parking system using... · CHAPTER 4 RESULT AND DISCUSSION 23 4.1 Introduction 23 4.2 Result of Car Park Smart

xi

4.8 LCD show "Park A6 Please" 27

4.9 LCD show "Car Park is Full" 28

4.10 LCD show "Park Al please" and it is the nearest compare with A6 28

4.11 The security system is activated after the car park is occupied 29

4.12 The security system is deactivated after the driver make payment 29

4.13 All LED is Green when all the car park bay is available 30

4.14 All LED is Red when all the car park bay is available 30

4.15 All LED is Blue when all the car is leaving the car park bay 31

4.16 Loading page of the CP Solution software 32

4.17 Login page of the CP Solution software 32

4.18 Monitoring page of the CP Solution software before 33

connected to Arduino com

4.19 Error show "Connection failed and Please Try Again" 33

4.20 CP Solution software connected to right Arduino corn 34

4.21 Monitoring system is matched with the hardware which 34 are A3, A4 and AS is empty parking slot.

4.22 Monitoring system is matched with the hardware which 35 is Al is leaving parking slot

4.23 The pay station unit for the car park system 35

4.24 The pay station unit for the car park system allow user 35 to select the spot they parked

4.25 The interface of the android app 36

4.26 Block language of the MIT App Inventor for Bluetooth 37 connectivity

4.27 Eclipse JAVA coding for Bluetooth connectivity 38

4.28 Pulse Width Modulator signal graph of a servo motor 38