Iot Based Car Parking Management System With An Ap PDF
Iot Based Car Parking Management System With An Ap PDF
Iot Based Car Parking Management System With An Ap PDF
Abstract—With the population on the rise, urban areas congestion continues to become a
major transportation problem. As number of cars increases, the demand for parking spaces
rises, thus causing insufficient availability of parking spaces. This paper presents a new cloud
based parking management system implemented on the Internet-of-Things technology network
architecture that increases user convenience and parking management.Drivers are able to view
parking availability online, and proceed to reserve a parking space. The parking system is
designed based on zone control architecture using NodeMCU, thus allowing easy management
and implementation. An eight hexadecimal character is generated for both entry and exit access
codes, and sent to the driver's email and mobile phone via SMS. Parking information are
relayed and stored in the server using RESTful API implemented using Laravel PHP
technology. Parking spot information like entry and exit times can be requested through the
API.
1. INTRODUCTION
Population growth is a great concern in urban areas. As the population grows, the number of car also
increases and the demand for parking spaces rises. Even though more parking facilities are built, there are still
several problems in utilization. A major problem involves the time wasted searching for parking places, which
not only causes road congestion and irate drivers searching for empty parking spaces, but also has a big negative
impact on the environment.
Clearly, a solution is needed that will be hassle free for the parking users. The solution proposed here
allows the driver to make a reservation online. The system will be monitored in a real time and will allow users
to make reservations for parking as well as make payments online. [1], [2]
For example, in Israel in 2016, the average time spent looking for parking is twenty (20) minutes each
time they park, fifty-five hours (55) is the average time a driver wastes each year looking for parking. Not only is
time wasted searching for parking, but thirty (30) percent of urban traffic is caused by drivers searching for
parking and four point eight billion (4.8) hours are wasted in traffic. [6]
In addition to the time spent searching for parking, three point nine (3.9) billion gallons of fuel every
year is wasted and this in turn causes pollution to our environment. [6] In a current survey, researchers have
found that in one year, searching for parking has created the equivalent of thirty-eight (38) trips around the
world, burning 1.7 lakh litre of fuel and producing 730 tons of CO 2. [9]
According to [6] about thirty-eight thousand and three hundred (38,300) drivers are killed, four point
four (4.4) million are seriously injured searching for parking space.
Parking systems based on plate number recognition have major problems considering that plate
numbers are different in terms of size, colour and type depending on countries. These systems are restricted to
seven alphanumeric characters, of which four are numbers and 3 letters, and can only analyse the plate number
with single row plate number. [8] Hence, there is a need to develop a system that is not dependent on the plate
numbers to recognize the vehicle.
Parking systems that utilize image-processing techniques are expensive because cameras are costlier
than sensors. They also have larger storage and processing requirements and more specifications. [3] These
systems are also susceptible to weather conditions, which confuse the images; however, this problem can be
addressed by filtering the images in a high-quality transform. [1], [2] Therefore, there is need to design a system
that is robust, affordable and that is not impacted by changing weather conditions.
Most of the existing parking systems have a management structure that uses ticket payment and vehicle guiding,
which results into employing many full-time management personnel and high maintenance and management
cost. [7]
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
Many people to tend forget their parking space location, especially when they park their car in
unfamiliar lot or when the parking lot is big and this causes frustration and inconvenience to the parking user. [7]
It is always a problem for parking managers to decide on a system implementation because of fear of increased
cost, time and integration issues with their current system. This result in them taking a slower approach to
replacing old systems, which prolongs the problem [4]. This system aims to minimise integration issues and help
foster acceptance at a comfortable pace, hence properly managing the changeover process.
There is also wasted space in some current car parking locations. In these locations, there are more
parking spaces per vehicle, and most are empty most of the time. The need, location, and cost must be considered
and convenience-driven to increase sustainability [5].
Although smart parking solutions have been successful, there are no citywide solutions across the disjointed
public and private parking suppliers, thus making them uncoordinated [10]. If occupancy data exists, they lack
standardization or accessibility and do not have an integration API that would allow access of these data. Hence,
there is the need of having a universal API to make data more accessible and standardized [11], [12].
2. PROPOSED METHODOLOGY
2.1. Block Diagram
The designed system is composed of five levels, these are: sensor, network, middleware, application and
mechanical. The sensor and mechanical level exists in the parking lot, where they’re used to detect a vehicle, and
control entry and exit. Communication and transmission of information to the servers is done wirelessly, and the
middleware act as a bridge between the two systems. Fig.1 depicts critical functionalities of each sub-system.
The client parking system primarily handles vehicle detection, uploading of lot status to server, and configuring
the LEDs. The parking system server receives these information and processes it to determine the total available
parking in the specified location. The information is also saved as historical data, of which can be retrieved using
the API.
2
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
Access Control
The access control system is comprised of an LCD, 4x4 keypad and servo motor that is attached to a
microcontroller that captures input from the user and forwards to the network module that performs verification
of the access code from the server.
There are two sets of gates, i.e. main entry and exit, and, reservation entry and exit gates as shown in Fig. 4. The
main entry and exit gates allow the user to park in the normal parking lots, and are required to proceed to the
reservation parking lots in order to enjoy the reservation.
3
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
The system is configured to capture a password length of eight characters. When less characters are
detected, it automatically issues an error, and dismisses the rest if more than eight. The number of permutations
for generating an eight character HEX password at random is as follows:
Safety mechanisms are in place to prevent use of the same access code on gate sets, i.e. when an entry access
code is used to enter the main entry gate, it can’t be used again for the main entry gates, but can be used in the
reservation entry gates. However, once the entry access code is used at both main and reservation gates, the
access code is purged and can’t be used again. Fig. 5 shows the function spec requirements used in the access
control system.
4
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
LEDs to the servers. The gate access node captures the access code, transmit it to the servers, and waits for a
response, which is then sent back to the individual gate controller to allow or deny access.
The current setup is designed optimum performance and efficiency, thus only two parking spots and gate access
controllers are connected to their respective nodes. The designed software program is generic since the node can
be reconfigured easily by changing a header identifier.
Reservation
5
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
6
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
7
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
Fig. 15: Prototype system showing gate vehicle parked at parking lot
4. TESTING RESULTS
4.1Gate Access system
Simulation results of the gate access system is shown in Fig. 16 yields a success rate total average of 94
percent.The keypad capture input feature scored the lowest success rate of 80 percent. After troubleshooting, it
was found the simulation was not running in real time, as the computer was overloaded.
The LCD simulation was able to show all outputs but failed on one occasion, thus achieved a 90 percent success
rate. The remainder of the system like system reset after entering the access code, opening and closing of gates,
and system timeout after incomplete input achieved a 100 percent success rate.
8
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
9
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
The R-squared mean, also known as the coefficient of determination, is computed to determine how
close the data are to the fitted regression line. For opening and closing boom gates the R-squared are 0.0036 and
0.0236 respectively. The overall average angles for opening and closing is 92.65° and 0.95° respectively.
Fig. 20 shows the results of the performance tests. It is noticed that test run seven (7) took the longest
time of 8.2 seconds to execute a full cycle of the test. The second slowest test run was eight (8) and nine (9),
which both took 8 seconds to complete. T3 is the longest wait time, since it waits for an average of 3.12 seconds
till the gate close. On average, the total time it took for the system to complete this test was 7.76 seconds. T1, T2,
T3 and T4 took an average of 1.61, 1.55, 3.12, and 1.48 seconds respectively.
In summary, no errors were observed in the usability and performance tests. The system is capable of
accepting input form the user via the keypad, process and transmit it to the server, receive a response and open
the boom gates as designed
5. CONCLUSION
Thus, an IOT based car parking management system with API is designed. The CPMS is composed of
WSN that are used to detect and collect information of vehicles at parking spots back to a centralized server,
hosted using cloud-based services. All vehicle and parking information can be easily viewed and acquired using
a web app and API, respectively.
The system data/information allows users to view available parking lots, and proceed to reserve them.
Users are required to register using their emails and can reserve using any internet-enabled device. The system
automatically generates two access codes, for entry and exit, when a parking space is available, and then sends
10
International conference on computer vision and machine learning IOP Publishing
IOP Conf. Series: Journal of Physics: Conf. Series 1228 (2019) 012066 doi:10.1088/1742-6596/1228/1/012066
them to the user’s email and phone (SMS). The results show that the system is capable of operating at an
accuracy of 100 percent.
Once the user reaches the car park zone, they’re required to enter the entry access code at the gate
access terminal. The gate access terminal captures the input and transmits it to the server for validation and
verification. Upon successful verification, the user can enter the parking lot. The same is repeated upon exit, thus
increasing security and integrity of the system. It takes roughly less than 1.61 seconds for verification with the
server and gates to open.
At the parking space level, the vehicle detection system, which is composed of an ultrasonic sensor and
hall-effect sensor, accurately detects a height below 20 cm with 99.79 percent. It can 100 percent detect a vehicle
with a ride height below 1cm. This shows that the combination of these techniques greatly improves vehicle
detection at a parking space.
References
[1] H. Al-Kharusi Intelligent Car Parking Management System Palmerston North New Zealand Massey
University 2014
[2] H. Al-Kharusi andI Al-Bahadly Intelligent Parking Management System Based on Image Processing
Scientific Research 2014.
[3] P Almeida L S Oliveira E J Silva A. J Britto, and A. Koerich Parking Space Detection using Textural
Descriptors International Conference on Systems Man, and Cybernetic 2013.
[4] M. Chen C Hu and T Chang The Research on Optimal Parking Space Choice Model in Parking Lots
3rdInternational Conference on Computer Research and Development (ICCRD) 2011.
[5] L L Elena Polycarpou Smart parking solutions for urban areas 2013.
[6] A. Israel Intergated Mobility. Transport Redefined ITS America 2016.
[7] L. Meng D. Cheng and Z WeiminThe Research of Intelligent Parking System based on Internet of Things
Technology International Journal of Computer Applications 124(6) 2015.
[8] Muhammad Mahbubur Rashid, Abiodun Musa Aibinu, MD. Ataur Rahman Automatic Parking Management
System and Parking Fee Collection Based on Number Plate Recognition International Journal of Machine
Learning and Computing 2 2012.
[9] F I Shaikh P J Jadhav and S P. Bandarkar Smart Parking System Based on Embedded System and Sensor
Network International Journal of Computer Applications 140(12) p. 51 2016.
[10] R. Yusnita and M N Fariza A Secure Parking Reservation System Using GSM Technology International
Journal of Computer and Communication Engineering 2(4) p. 518-520 2013.
[11] J. Anitha Y Thoyajakshi A Ramya V SravanuPrashant Kumar Intelligent Parking System using Android
application International Journal of Pure and Applies mathematics 114(7) p. 165-174 2017.
11