Vehicle Parking System

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 33

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

"Jnana Sangama", Belagavi-590 018

A Mini -Project Work on

“Vehicle Parking System”


A Dissertation work submitted in partial fulfillment of the requirement
for the award of the degree

Bachelor of Engineering
In
Information Science & Engineering

Submitted by
Mayank Kumar 1AY20IS053
Md.Saquib Imam 1AY20IS054
Kuldeep Pradhan 1AY20IS046

Under the guidance of


Dr.Umapathi G.R
Assistant Professor

DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING


ACHARYA INSTITUTE OF TECHNOLOGY
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY, BELAGAVI.APPROVED BY AICTE, NEW DELHI,
ACCREDITED BY NAAC, NEW DELHI )
Acharya Dr. Sarvepalli Radhakrishnan Road, Soldevanahalli, Bengaluru-560107

2022-23
DEPARTMENT OF INFORMATION SCIENCE & ENGINEERING
ACHARYA INSTITUTE OF TECHNOLOGY
(AFFILIATED TO VISVESVARAYA TECHNOLOGICAL UNIVERSITY, BELAGAVI.APPROVED BY AICTE, NEW DELHI, ACCREDITED
BY NAAC, NEW DELHI)
Acharya Dr. Sarvepalli Radhakrishnan Road, Soldevanahalli, Bengaluru-560107

Certificate
This is to certify that the File Structure Laboratory with Mini Project (18ISL67) entitled
“Vehicle Parking System” is a bonafide work carried out by Mayank Kumar (1AY20IS053)
and Md.Saquib Imam (1AY20IS054) and Kuldeep Pradhan (1AY20IS046) in partial
fulfillment for the award of the degree of Bachelor of Engineering in Information Science and
Engineering of the Visvesvaraya Technological University, Belagavi during the year 2022-23.
It is certified that all corrections/suggestions indicated for Internal Assessment have been
incorporated in the Report deposited in the departmental library. The mini project has been
approved as it satisfies the academic requirements in respect of mini project work prescribed for
the Bachelor of Engineering Degree.

Dr.Umapathi G.R Prof. Kala Venugopal


GUIDE HOD-ISE

Name of the Examiners Signature with date

1.

2.
ACKNOWLEDGEMENT

The satisfaction that accompanies the successful completion of this mini-project would be
incomplete without the mention of the people who made it possible through constant
guidance and encouragement.

We would take this opportunity to express our heartfelt gratitude to Sri. B. Premnath
Reddy, Chairman, Acharya Institutes and Dr. Rajath Hegde M M, Principal, and Prof. C K
Marigowda, Vice Principal, Acharya Institute of Technology for providing the necessary
infrastructure to complete this mini-project.

We wish to express our deepest gratitude and thanks to Prof. Kala Venugopal, Head
of the Department, Information Science and Engineering.

We wish to express sincere thanks to my guide Dr.Umapathi G.R, Assistant


Professor, Department of Information Science and Engineering for helping us throughout and
guiding usfrom time to time.

A warm thanks to all the faculty of Department of Information Science and


Engineering, who have helped us with their views and encouraging ideas.

iii
ABSTRACT
This abstract introduces a mini project on a vehicle parking system that aims to streamline

and automate the parking process in small-scale parking areas. The project utilizes a

combination of hardware and software components to create an efficient and user-friendly

parking solution. The system incorporates sensors to detect vehicle presence and availability

of parking spaces, which are then communicated to a central control unit. Users can access

real-time information about available parking spots through a mobile application or display

panels. The system also includes a payment module for seamless and cashless transactions.

The mini project focuses on developing the core functionalities of the parking system,

including sensor integration, data communication, user interface design, and payment

integration. By implementing this project, it is expected to improve parking efficiency, reduce

traffic congestion, and enhance the overall user experience in small-scale parking areas.

iv
Vehicle Parking System

TABLE OF CONTENTS

Acknowledgement iii

Abstract iv

1. Introduction 5
1.1 Introduction 5
1.2 Aim of the project 6
1.3 Main Purpose 6
1.4 Goals and Objective 7

2. Getting Started 8
2.1 Problem Statement 8
2.2 Proposed System 8
2.3 Advantages 9
2.4 Project Applications 9

3. System Requirements 10

3.1 Hardware Requirements 10


3.2 Software Requirements 10

4. System Design 11
4.1 Flow Chart 11
4.2 Data Flow Diagram 12
4.3 Class Diagram 13

AIT / ISE / 2022-23 2


Vehicle Parking System

5. Technology / Methodology 14

5.1 Technique Followed 14


5.2 Algorithm Used 15

6. Implementation 16

6.1 Source Code 16

7. Results 24

Conclusion & Future Enhancements 29

Bibliography 30

AIT / ISE / 2022-23 3


Vehicle Parking System

LIST OF FIGURES

Sl. Figure No.& Name Page


No. No.

1 4.1 Flow Chart 11

2 4.2 Data Flow Diagram 12

13
3 4.3 Class Diagram
24
4 7.1 User Interface
25
5 7.2 Displaying Parking Costs
6
7.3 Entering the Records 26
7
7.4 Removing Vehicles & Updating Records 27
8 28
7.5 Deleting Completing Records

AIT / ISE / 2022-23 4


Vehicle Parking System

CHAPTER -1

INTRODUCTION
1.1 Introduction

The Mini Project Vehicle Parking System is an advanced technological solution


designed to revolutionize the traditional parking experience. With the ever-increasing
number of vehicles on the road and the scarcity of parking spaces, efficient parking
management has become a pressing issue. This system aims to address this challenge
by integrating cutting-edge technologies to automate and optimize the entire parking
process.

The Vehicle Parking System utilizes a range of components such as sensors, cameras,
and a centralized control unit to monitor and manage parking spaces effectively.
These sensors are strategically placed throughout the parking facility to detect the
presence or absence of vehicles in real-time. This information is then relayed to the
centralized control unit, which processes the data and provides accurate information
about the availability of parking spots.

By leveraging this system, drivers can easily locate vacant parking spaces using a
user-friendly mobile application or digital displays installed at key points within the
parking facility. This eliminates the need for aimlessly circling around, searching for
an open spot, thus saving time and reducing frustration.

Additionally, the Vehicle Parking System offers seamless payment options, allowing
users to conveniently pay for their parking through integrated payment gateways or
cashless methods. This not only enhances user convenience but also improves the
overall operational efficiency by reducing manual interventions and minimizing errors.

AIT / ISE / 2022-23 5


Vehicle Parking System 6

1.1 Aim of the Project

The aim of the Mini Project Vehicle Parking System is to create an innovative and
efficient solution for managing vehicle parking spaces. The primary objective is to
address the challenges and limitations of traditional parking systems by leveraging
advanced technologies. The system aims to optimize the utilization of parking spaces
by providing real-time information about available spots, enabling drivers to quickly
locate and occupy vacant spaces. By streamlining the parking process, the system
aims to enhance user convenience, minimizing the time spent searching for parking
and reducing congestion on roads. Additionally, the project aims to simplify and
automate the payment process through integrated payment gateways and cashless
methods, eliminating the need for manual transactions and enhancing user satisfaction.

1.2 Main Purpose

The aim of the Mini Project Vehicle Parking System is to create an innovative
and efficient solution for managing vehicle parking spaces. The primary
objective is to address the challenges and limitations of traditional parking
systems by leveraging advanced technologies. The system aims to optimize the
utilization of parking spaces by providing real-time information about available
spots, enabling drivers to quickly locate and occupy vacant spaces. By
streamlining the parking process, the system aims to enhance user convenience,
minimizing the time spent searching for parking and reducing congestion on
roads. Additionally, the project aims to simplify and automate the payment
process through integrated payment gateways and cashless methods, eliminating
the need for manual transactions and enhancing user satisfaction.
The main purpose of the vehicle parking system project is to efficiently manage
parking spaces, optimize traffic flow, and enhance user convenience in a
streamlined and user-friendly manner.

AIT / ISE / 2022-23 6


Vehicle Parking System 7

1.3 Goals and Objectives

Goals:

 Efficient Space Utilization.

 Enhance User Convenience.

 Streamline Payment Processes.

 Improved Operational Efficiency.

 Cost -Effectiveness.

Objectives:

 Real-time Monitoring.

 Efficient Space Management.

 User-Friendly Interface.

 Seamless Payment Integration.

 Automation & Efficiency.

AIT / ISE / 2022-23 7


Vehicle Parking System 8

CHAPTER – 2
GETTING STARTED

2.1 Problem Statement

Problem:

The existing vehicle parking systems face several challenges, including inefficient
space utilization, difficulties in finding available parking spots, long waiting times,
and cumbersome payment processes. These issues lead to congestion, frustration
for drivers, and a lack of optimal utilization of parking facilities.

Solution:

The Mini Project Vehicle Parking System aims to address the aforementioned challenges by
providing an advanced technological solution. The system incorporates sensors, cameras, and a
centralized control unit to monitor and manage parking spaces effectively.

2.2 Proposed system

The proposed system will be a hierarchical file structure. This type of file structure is well-
suited for storing large amounts of data that is organized in a hierarchical fashion. The
proposed system will have the following features:

• Member files: Each account will have its own file. This file will store all the data related to
the account, such as the number of bikes, rickshaw and any other vehicles parked.

• Additional data files: All transactions will be stored in a separate file. This file will store the
details of each information, such as the price of the vehicle parked as displayed in the record.

• Index files: Index files will be used to speed up data access. These files will store the
location of each record in the member files and the additional data files.

AIT / ISE / 2022-23 8


Vehicle Parking System 9

2.3 Advantages

Efficient Space Utilization: The system optimizes the utilization of parking spaces by
providing real-time information about available spots. This reduces the time spent searching
for parking, maximizes space efficiency, and minimizes congestion.

Enhanced User Convenience: Users can easily locate vacant parking spots through a user-
friendly mobile application or digital displays. This saves time and frustration, providing a
seamless and convenient parking experience.

Streamlined Payment Process: The system integrates various payment options, such as
online payment gateways and cashless methods. This eliminates the need for manual
transactions, reducing errors and making the payment process quick and hassle-free for users.

Real-time Monitoring and Control: The system utilizes sensors and cameras to monitor
parking spaces in real-time. Parking facility administrators have access to accurate data,
allowing them to make informed decisions and efficiently manage the parking facility.

2.4 Project Application

Public Parking Facilities: The system can be utilized in public parking lots, garages, and
multi-level parking structures to effectively manage parking spaces and provide a user-
friendly experience for drivers.

Commercial Complexes: The system can be implemented in commercial complexes, such as


shopping malls, office buildings, and business centers, to streamline parking operations and
improve the overall parking experience for visitors and employees.

Residential Areas: The system can be employed in residential areas with limited parking
availability to optimize space utilization and ensure efficient parking management for
residents and visitors.

AIT / ISE / 2022-23 9


Vehicle Parking System 10

CHAPTER – 3
SYSTEM REQUIREMENTS

3.1 Hardware Requirements

 Processor:X86 Compatible processor with 1.7Ghz clock

 Speed RAM:4GB or greater

 Hard disk:400 GB min

 Monitor: VGA/SVGA

 Keyboard:104 keys standard

 Mouse:2/3 button optical/mechanical

3.2 Software Requirements

 Operating system: windows 11

 Programming Language: C++

 Software Used: Turbo C++

AIT / ISE / 2022-23 10


Vehicle Parking System 11

CHAPTER - 4
DESIGN
4.1 Flow Chart

Start

Add a Display Search a Delete a Update a Exit the


Vehicle Vehicles Vehicle Vehicle code
Vehicle
8

Enter Vehicle Display all the Enter type Enter the Enter the type
Type Vehicles tosearch Vehicle to to be updated End
be deleted be updated

Vehicle Vehicle Enter the type


deleted to be updated
displayed

to beupdated

Vehicle
updated

AIT / ISE / 2022-23 11


Vehicle Parking System 12

4.2 Data Flow Diagram

USER INTERFACE

ADD VEHICLE

DISPLAY COST

DELETE VEHICLE

SEARCH VEHICLE

MODIFY LIST

AIT / ISE / 2022-23 12


Vehicle Parking System 13

4.3 Class Diagram

Vehicle Type Display Vehicle Record


Bike
Cycle Number of vehicle parked
Truck according to the system.
Rickshaw
Car
Bus

Vehicle Parking
System

Delete Vehicle Record

Delete the vehicle to be


removed from the system.

AIT / ISE / 2022-23 13


Vehicle Parking System 14

CHAPTER - 5
TECHNOLOGY / METHODOLOGY

5.1 Technique Followed

• Hierarchical file structure: A hierarchical file structure is a type of file structure that
organizes data in a tree-like hierarchy. The root of the tree is the top-level directory, and the
branches of the tree are the sub directories. The leaves of the tree are the files. This type of
file structure is often used for banking applications because it can be used to store a large
amount of data in a way that makes it easy to navigate.

• Sequential file structure: A sequential file structure is a type of file structure that stores data
in a linear order. The data is stored in the file in the order that it was entered. This type of file
structure is often used for banking applications where the data needs to be processed in a
specific order.

• Indexed file structure: An indexed file structure is a type of file structure that stores an
index of the data in the file. The index can be used to quickly find the location of the data that
the system needs. Indexed file structures are often used for banking applications where the
data needs to be accessed quickly. For example, an indexed file structure could be used to

AIT / ISE / 2022-23 14


Vehicle Parking System 15

5.2 Algorithm Used

It demonstrates the implementation of a simple vehicle parking system using object-


oriented programming in C++. The code utilizes classes and inheritance to organize and
manage the parking system.

The code follows a menu-driven approach, where users can input different options to
perform various operations such as adding vehicles, removing vehicles, displaying records,
deleting records, and exiting the program.

While there are no complex algorithms used in this code, the implementation relies on
basic control flow and arithmetic operations to update and maintain the parking records and
calculate the total amount.

AIT / ISE / 2022-23 15


Vehicle Parking System 16

CHAPTER - 6

IMPLEMENTATION
6.1 Source Code
#include<iostream>
using namespace std;
class parking_menu{
public:
int input;
int _cycle = 0, _bike = 0, _rickshaw = 0, _car = 0, _bus = 0, _truck = 0, amount = 0, count = 0;
// int cy, b, r , c , buss , t , amount , count ;
public:
void menu(){
cout << "press 1 to see the normal parking charges\n";
cout << "press 2 for add cycle \t press 22 to remove cycle\n";
cout << "press 3 for add bike \t press 33 to remove bike\n";
cout << "press 4 for add rickshaw press 44 to remove rickshaw\n";
cout << "press 5 for add car \t press 55 to remove car\n";
cout << "press 6 for add bus \t press 66 to remove bus\n";
cout << "press 7 for truck \t press 77 to remove truck\n";
cout << "press 8 to show the record\n";
cout << "press 9 to delete the record\n";
cout << "press 0 to EXIT the program\n";
cin >> input;
}
};
class add_vehicle :public parking_menu{
public:
void add_logic(){
if (input == 1){
cout << "**********************************" << endl;
cout << " NORMAL PARKING CHARGES\n";

AIT / ISE / 2022-23 16


Vehicle Parking System 17

cout << " Cycle = 10 \n";


cout << " Bike = 20 \n";
cout << " Richshaw = 30 \n";
cout << " Car = 50 \n";
cout << " Bus = 80 \n";
cout << " Truck = 100\n";
cout << "**********************************" << endl;
}
else if (input == 2){
if (count <= 100)
{
_cycle++;
amount = amount + 10;
count = count + 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 3){
if (count <= 100)
{
_bike++;
amount = amount + 20;
count = count + 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 4){
if (count <= 100)

AIT / ISE / 2022-23 17


Vehicle Parking System 18

{
_rickshaw++;
amount = amount + 30;
count = count + 1;
}
else{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 5){
if (count <= 100)
{
_car++;
amount = amount + 50;
count = count + 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 6){
if (count <= 100)
{
_bus++;
amount = amount + 80;
count = count + 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 7){

AIT / ISE / 2022-23 18


Vehicle Parking System 19

if (count <= 100)


{
_truck++;
amount = amount + 100;
count = count + 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
}
};
class remove_vehicle :public add_vehicle{
public:
void remove_logic(){
if (input == 22){
if (count <= 100)
{
_cycle--;
amount = amount - 10;
count = count - 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 33){
if (count <= 100)
{
_bike--;
amount = amount - 20;
count = count - 1;

AIT / ISE / 2022-23 19


Vehicle Parking System 20

}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 44){
if (count <= 100)
{
_rickshaw--;
amount = amount - 30;
count = count - 1;
}
else{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 55){
if (count <= 100)
{
_car--;
amount = amount - 50;
count = count - 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 66){
if (count <= 100)
{
_bus--;
amount = amount - 80;

AIT / ISE / 2022-23 20


Vehicle Parking System 21

count = count - 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
else if (input == 77){
if (count <= 100)
{
_truck--;
amount = amount - 100;
count = count - 1;
}
else
{
cout << "Sorry! Parking is full\n";
}
}
}
};
class record :public remove_vehicle{
public:
void vehicle_record(){
if (input == 8){
cout << " RECORD" << endl;
cout << "The number of vehicles parked = " << count << endl << endl;
cout << "The total number of cycle parked = " << _cycle << " amount = " << _cycle * 10 <<
endl;
cout << "The total number of bike parked = " << _bike << " amount = " << _bike * 20 << endl;
cout << "The total number of rickshaw parked = " << _rickshaw << " amount = " <<
_rickshaw * 30 << endl;
cout << "The total number of car parked = " << _car << " amount = " << _car * 50 << endl;
cout << "The total number of bus parked = " << _bus << " amount = " << _bus * 80 << endl;

AIT / ISE / 2022-23 21


Vehicle Parking System 22

cout << "The total number of truck parked = " << _truck << " amount = " << _truck * 100 <<
endl << endl;
cout << "The total amount = " << amount << endl << endl;

cout << "**********************************" << endl;


}
}
};
class delrecord :public record{
public:
void record_del(){
if (input == 9){
amount = 0;
count = 0;
_cycle = 0;
_bike = 0;
_rickshaw = 0;
_car = 0;
_bus = 0;
_truck = 0;
cout << "**********************************" << endl;
cout << "RECORD DELETED" << endl;
cout << "**********************************" << endl;
}
}
};
class quick :public delrecord{
public:
void Quick(){
if (input == 0){
cout << " THE END \n ********\n GOOD BYE\n";
exit(0);
}
else{

AIT / ISE / 2022-23 22


Vehicle Parking System 23

cout << "input invalid number\n";


}
}
};
int main(){
cout << "\n\tVEHICLE PARKING SYSTEM\n\n";
quick quick_obj;
while (true)
{
quick_obj.menu();
quick_obj.add_logic();
quick_obj.remove_logic();
quick_obj.vehicle_record();
quick_obj.record_del();
quick_obj.Quick();
}
system("pause");
}

AIT / ISE / 2022-23 23


Vehicle Parking System 24

CHAPTER -7
RESULTS
SNAPSHOTS

Figure 7.1 Showing User Interface

AIT / ISE / 2022-23 24


Vehicle Parking System 25

Figure 7.2 Showing Parking Costs

AIT / ISE / 2022-23 25


Vehicle Parking System 26

System

Figure 7.3 Showing Entering the Records

AIT / ISE / 2022-23 26


Vehicle Parking System 27

System

Figure 7.4 Showing Removing Vehicle & Updating records

AIT / ISE / 2022-23 27


Vehicle Parking System 28

System

Figure 7.5 Deleting complete Record

AIT / ISE / 2022-23 28


Vehicle Parking System 29

CONCLUSION & FUTURE ENHANCEMENT

Conclusion
In conclusion, the Vehicle Parking System presented in this mini project offers a
comprehensive and technologically advanced solution to address the challenges associated
with traditional parking systems. By leveraging sensors, cameras, and a centralized control
unit, the system optimizes space utilization, enhances user convenience, streamlines payment
processes, and increases operational efficiency.

The system's real-time monitoring capabilities provide accurate information about available
parking spots, allowing drivers to quickly locate vacant spaces and minimize search time. The
integration of user-friendly mobile applications and digital displays further improves the
parking experience by guiding users to open spots and simplifying the payment process
through various options, including online payment gateways and cashless methods..

Future Enhancement
 Integration of Smart Parking Technologies: Incorporate emerging technologies like
Internet of Things (IoT) and artificial intelligence (AI) to enable more advanced
functionalities. For example, integrating smart sensors that can detect vehicle
characteristics (e.g., size, type) and dynamically allocate parking spaces accordingly.
 Predictive Analytics and Demand Forecasting:Utilize data analytics and machine
learning algorithms to analyze historical parking data and predict future demand patterns.
This can help in optimizing resource allocation, predicting parking availability, and
proactively managing parking capacity.
 Integration with Navigation Systems:Integrate the parking system with popular
navigation applications to provide real-time parking availability information and
guidance to drivers. This would enhance the user experience by providing seamless
navigation to available parking spaces.
 Enhancements for Parking Facility Administrators:Develop comprehensive
administrative dashboards that provide detailed insights into parking operations, revenue
generation, and occupancy rates. This would enable administrators to make data-driven
decisions, optimize revenue streams, and improve overall management efficiency.

AIT / ISE / 2022-23 29


Vehicle Parking System 30

BIBLIOGRAPHY
Book References

1. K R. Venugopal, K.G. Srinivas, P.M. Krishna Raj: File Structures Using 22.
C++, TataMcGraw-Hill 2008.
3. Scot Robert Ladd: C++ Components and Algorithms, BPB Publications, 1993.

4. Raghu Ramakrishnan and Johannes Gehrke: Database 5 .


Management Systems, 3rdEdition, McGraw-Hill, 2003.

Web References

1. Online compiler https://www.onlinegdb.com/


2. Concept Reference https://www.geeksforgeeks.org/
3. Videos https://www.youtube.com/
4. C++ tutorial https://cplusplus.com/
5. File handling https://en.cppreference.com/w/cpp/filesystem

AIT / ISE / 2022-23 30

You might also like