final year project

7
Final Year Project Smart Restaurant & Autonomous Serving Bahria University Islamabad Supervisor Mr. AbubakarYamin Submitted By Adil Khurshid (01-133142-214) Jawad Shakrullah (01-133142-223) Muhammad Naeem (01-133142-238)

Upload: khangminh22

Post on 09-Feb-2023

2 views

Category:

Documents


0 download

TRANSCRIPT

Final Year ProjectSmart Restaurant & Autonomous Serving

Bahria University IslamabadSupervisor

Mr. AbubakarYamin

Submitted By

Adil Khurshid (01-133142-214)

Jawad Shakrullah (01-133142-223)

Muhammad Naeem (01-133142-238)

Abstract

Restaurant automation means the use of restaurant management system to automate the majoroperations of a restaurant. More recently, restaurants or cafes that are completely or partiallyautomated in the services they are providing. Services may include orders taking, food cooking,serving and billing. Some fully automated restaurants operate without any human intervention aswell. Waiter robots are designed to serve and sometimes replace humans in different ways.Automation of restaurants also allows us to customize our food order.

Our idea is basically to introduce a very user friendly ordering system. It would not involve anywaiters or any other staff. The customer can simply go to restaurant, sit on the desired place andstart ordering. Simply by clicking on the table, your menu card will appear and you can easilyorder through it and then have it on your place.

The main purpose of this project is to avoid all the issues in ordering and management. Using thetechnology, we can reduce the problems, we won't need a lot of waiters, the money used in theirwages will be saved. We won't need a person to manage the waiters. No delay in ordering, alwaysthe correct order will be placed. There won't be any issue in dealing of restaurant with thecustomers and at the top of all this new invention will attract a lot of customers. Adding to yourfood your ordering system will also be a point of attraction.

Contents

1 Introduction 1

1.1Background 2

1.2Problem Description 2

1.3Motivation 3

1.4Project Objectives 3

1.4.1Academic objectives 3

1.4.2Product Objectives 3

1.5Project Scope 3

1.6Methodology ~ 4

1.6.1Requirement Gathering 4

1.6.2Design 4

1.6.3 Implementation 4

1.6.4Testing 4

2Literature Review 5

2.1Existing System : 6

2.2Smart Restaurant Automation 6

2.3Advantages of loT Based Smart Home 6

2.3.1Customization of Food 6

2.3.2Online Ordering of Food 7

2.3.3 Easy Management 7

2.3.4Waiter-less Restaurant 7

2.3.5Attract Customers 7

2.3.6Time Saving 7

3Requirement Specification 8

3.1Application System Requirement 9

3.1.1 Online Food Ordering Application 10

3.1.2 Delivery Boy Application 10

3.1.3 Food Ordering Application Inside Restaurant 10

3.1.4 Food Customization Application Inside Restaurant l0

3.1.5 Web Application for Ordering Management.. 10

3.1.6 Order Placed/Ready Application 11

3.1.7 Kitchen Application 11

3.2 Food Serving Robot 11

3.3 Use Cases 11

3.3.1 Main Use Case 11

3.4 Non- Functional Requirements 23

3.4.1 Reliability 23

3.4.2 Portability 23

3.4.3 Response time 23

3.4.4 Simplicity 23

4 Design & Imlementation 24

4.1 System Architecture 25

4.2 Sequence Diagram 25

4.3 Entity Relationship Diagram 26

4.4 Tools And Technologies 26

4.4.1 Unity 3D 27

4.4.2 Visual Studio 27

4.4.3 Android Studio 27

4.4.4 Rasp berry Pi """"""""""'"'''''''''''''''''''''''''''''''''''''''''''',''''''''''''''''''''''''''' 27

4.4.5 Languages 27

4.4.5.1 C# 27

4.4.5.2 Java 28

4.4.5.3 XML ~ 28

4.4.5.4 MySQL 28

4.4.5.5 HTML 28

4.4.5.6 PHP 28

4.4.5.7 CSS 28

4.4.5.8 [avaxcript 29

4.4.5.9 ISON 29

4.4.5.10 Python 29

4.4.6 Methodology 29

4.4.6.1 Online Food Ordering Appplication 29

4.4.6.2 Web Application for Online Ordering Management 30

4.4.6.3 Delivery Boy Appplication 30

4.4.6.4 Food Ordering Appplication inside restaurant 30

4.4.6.5 Food customization Appplication inside restaurant 31

4.4.6.6 Web Application for Inside Restaurant Ordering Management... .31

4.4.6.7 Order placed/ Ready Application 32

4.4.6.8 Kitchen Application 32

4.4.6.9 Food Serving Robot 32

4.4.6.9.1 Raspberry PL. 32

4.4~6.9.2 Python 34

4.4.6.9.3 DCMotor 34

4.4.6.9.4 H-Bridge 34

4.4.6.9.5 Infrared Sensor 35

4.4.6.9.6 Ultrasomic Sensor 35

4.4.6.9.5 Infrared Sensor 35

4.5 System Implementation 36

5 System Testing and Evaluation 38

5.1 Testing Techniques 39

>.1.1 Verification 39

i.1.2 Validation 39

:.2Unit Testing 39

5.3 Integration testing 39

5.4System Testing 39

5.5Acceptance Testing 39

5.6 Installation Testing 39

5.7Test Cases 40

5.7.1Running Online Ordering Application 40

5.7.2Test Case 2: Login 40

5.7.3Test Case 3: Login 41

5.7.4Test Case 4: Application Connectivity With Server .41

5.7.5Test Case 5: Raspberry Pi Connectivity With Internet .42

5.7.6Test Case 6: Sensors and Keypad connectivity with Reaspberry Pi .42

5.7.7Test Case 7: Raspberry Pi Connectivity wuth H-Bridge &motors ..43

7Conclusion & Future Work 44

8 References 46

List of Figures

Figure 1 Application System Requirement 9Figure 2 Robot System Requirement 9Figure 3 Main Use Case of Online Food Ordering Application 11Figure 4 SignuplLoginiLogout 12Figure 5 View Map 13Figure 6 View Order Status 13Figure 7 Change Password 14Figure 8 Order Food 15Figure 9 Main Use Case of Food Ordering Application 15Figure 10 Signup/LoginlLogout. 16Figure 11 View Menu 16Figure 12 Order Food 17Figure 13 Play Discount Games 18Figure 14 Play Games 18Figure 15 Main Use Case of Food Customization Application 19Figure 16 SignuplLoginILogout. 20Figure 17 View Menu 20Figure 18 Customize Food 21Figure 19 Order Food 22Figure 20 Play Games 22Figure 21 Sequence Diagram of Project 25Figure 22 Entity Relationship Diagram of Food Ordering Application 26Figure 23 Entity Relationship Diagram of Online Food Ordering Application 26Figure 24 Raspberry Pi 33Figure 25 Motors 34Figure 26 H-Bridge 34Figure 27 IR Sensor 35Figure 28 Ultrasonic Sensor 35Figure 29 Software System Implementation 36Figure 30 Robot System Implementation 37