This document describes an automated vehicle parking system project. It includes:
- An overview of the project and its basic idea to automate vehicle parking
- A block diagram showing the flow from vehicle entry to bill generation
- A flow chart showing the parking allocation and deletion process
- Details of the implementation including protected admin login, vehicle search and allocation using linear search, and ticket/bill generation
- Discussion of modularity and challenges including making the system fully automatic using image processing and incorporating a database.
5. Admin Login
Addition of Vehicle
Bill Receipt
Deletion of Vehicle
Parking Layout
BLOCK DIAGRAM
Starting Time
(T1)
End Time
(T2)
T2 -- T1
5
6. FLOW CHART
Start
Enter the Admin
Name &Password
1. Add Vehicle
Main Menu
2. Parking
Layout
1.Car
2. Bike
Get Vehicle
No.
Add No. to
vehicle
Array[i]
Increment
Counter
Get Start
Time
[Car]
[Bike]
1. Add Vehicle
3. Delete
Vehicle
1.Car
2. Bike
Get Vehicle
No.
Vehicle
No. from
Array[i]
Array[i]=0
Dec.
counter
Get the
Start and
End time
of vehicle
Bill
Generation
4. Exit
Counter Exit
switchd
If i<3
success
If i>3
If count<20
switch v
If count>20( Displays No space for parking)
Main Menu
fail
switch n
While(k)
Vehicle no. not matched
Vehicle no. matched
6
Linear search Alg.
7. 7
IMPLEMENTATION
1.Protected Admin Login:
1. Both the user and password are taken as input
strings
2. String compare was used to verify the Login
3. For Unsuccessful login we gave 2 more attempts
4. By successful Login only, admin can access whole
program
Fig . Admin Login
8. 8
IMPLEMENTATION
2.Search and Allocation:
Parking Layout was taken in 1D-Array, initialized with 0 for both car and bike separately.
we used Linear search for Allocation and Deletion of slot to a Vehicle
Allocation:-
Using Linear Search, goes through the Array for [0] .
If [0] found, it allocates slot and saves respective Vehicle number in that slot.
If [0] not found it warns no space available.
Deletion :-
Taking respective vehicle number from admin .
Using Linear Search, goes through the Array finds the vehicle number
If it founds it make the value that particular index to [0].
If it not founds it warns Vehicle not found.
IMPLEMENTATION
10. 10
IMPLEMENTATION
3.Ticket and Billing Generation:
Fig . Billing and Ticket
Generation
We used Time Function , for capturing real time
from system
Time were captured at vehicle entry and exit
Bill generated on basics of time of vehicle parked
in the slot
Bill was generated when the vehicle exiting from
the slot
IMPLEMENTATION
11. 11
MODULARITY
The whole program is written in
various functions executed using
File level Modularity
The functions were written in two
library files.
No global Variables were used.
Fig . Project files
File Level Modularity
12. CHALLENGES
Reducing the Code line and implementing Code Reusability by implementing the
Functional Level Modularity.
Implementing the masking of the user password.
12
13. Masking the admin password.
Implementation of MACRO’S in code.
Involving the Image processing to make the system fully Automatic and Efficient.
Presence of Data Base in future for more secure and exclusive parking subsystem.
Implementing 2D-Array for Parking slot and get the Vehicle number in string.
FUTURE SCOPE
13