Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: G Vinayaka Bharadwaj, Harshita Hegde, Husain Totanawala, M Krishna Saharsh, Prof. Druva Kumar S
DOI Link: https://doi.org/10.22214/ijraset.2022.45454
Certificate: View Certificate
Parking has become a serious issue in metropolitan cities, because of the increasing number of automobiles. Crowded places like malls have multi-storey parking which provides cars with parking on multiple levels stacked vertically to increase the number of parking spaces and requires printing of a lot of tickets. The user usually wastes his/her time and efforts in search of the availability of the free space in such parking lots. This project uses an IoT based smart parking system which provides an optimal solution for the above mentioned problem.
I. INTRODUCTION
With the growth in population and economic development, the number of people owning vehicles has increased. Thus, parking is becoming one of the major problems for cities and-frustrating for the users to search for a parking spot in a parking lot of malls, hotels or at work.
Today, convenient parking and modern retail go hand in hand. Malls have multi- storey parking lots, with space to hold anywhere between 500– 10,000 two and four-Wheeler’s depending on their size and popularity. For consumers with private vehicles, a parking lot is the first point of contact with a mall.
A well maintained and convenient lot works wonders for the business. Parking management and security have the potential to significantly increase customers. Thus an efficient automated system which allocates a parking space, guides the driver to the allocated spot and deducts the parking fee, will save time for the user.
II. EXISTING SYSTEM
Existing system in the parking domain requires the user to download an app in order to book the parking slot. The user is given the liberty to book a slot for their parking. However, it poses a lot of drawbacks. Each mall may have different dedicated application for their parking. The users who booked a slot may not even turn up. Our system doesn’t require the user to download any application. The use of QR code for the entry is an unique idea and hasn’t been implemented much. The finding of the nearest parking slot for the car is also our own unique concept along with provision of a route map as an image is fairly new.
III. SCOPE OF THE PROJECT WORK
In today’s world, parking our vehicles is a matter of concern. With so many people having multiple vehicles and travelling everywhere, finding a parking slot is very difficult. So we have come up with a solution which not only enables you to find a perfect parking slot but it will also show you the shortest distance to get there making this tedious job simple. The inclusion of a QR based ticket over traditional paper ticket can prevent the losing the parking ticket. The entry gate can be controlled by the user at the entrance.
IV.METHODOLOGY
The system architecture has 3 tiers, the lowest level com- prises sensing functionality, the middle tier deals with data collection and the upper tier handles data storage, processing and client interfaces. The sensors used in the project commu- nicate with the database over the internet.
Create a HTML page to display the ticket and host the HTML page on the web to create URL link. Create QR code
For the ticket that is to be displayed at the entrance. Control the servo motor using raspberry Pi and code the servo motor to work according to the actions made on the HTML page. Control the entry gate using the user’s phone from the link present in the ticket. The gate has to be closed after the car passes. IR sensors at the parking space detect the car and sends data to ThingSpeak. The algorithm collects data from ThingSpeak and provides the nearest parking slot available. The ticket prompts questions to users during the exit gate. The final amount to be paid is displayed in the ticket. At the exit gate, the gate opens when a car is sensed and closes after it passes.
A. Raspberry pi
It is a low cost,credit card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse.It’s capable of doing everything a desktop computer can do. [14] In this model, the Raspberry pi is the main processing unit which performs all the actions necessary for smooth functioning of the model. It controls the sensors and runs the motors simultaneously while communicating with the Arduino and cloud for information. [15]
B. Arduino
Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. [17] In this project, it is used to control the display module to display the QR.
C. IR Sensors
An infrared sensor (IR sensor) is a radiation-sensitive opto- electronic component with a spectral sensitivity in the infrared wavelength range 780 nm-50 µm. IR sensors are now widely used in motion detectors, which are used in building services to switch on lamps or in alarm systems to detect unwelcome guests. It is used to sense the presence of the car in the parking lots and at the entry and exit gates. [26]
D. TFT Display
A thin-film-transistor liquid-crystal display (TFT LCD) is a variant of a liquid-crystal display that uses thin-film-transistor technology to improve image qualities such as address ability and contrast. [25] TFT LCD’s are used in appliances including television sets, computer monitors, mobile phones, handheld devices, video game systems, personal digital assistants, nav- igation systems, projectors, and dashboards in automobiles. TFT display is used to display the QR for the nearest available parking spot for this project.
E. Servo Motor
A Servo Motor is a rotary or linear actuator that produces torque and can rotate with great precision, and also have a precise control over its angular or linear position, acceleration and velocity. [22] It is used as a gate at the entrance and exit in this system. [23]
F. Cloud
An IoT cloud is a massive network that supports multiple devices and applications. ThingSpeak is an open-source soft- ware written in Ruby which allows users to communicate with internet enabled devices. It facilitates data access, retrieval and logging of data by providing an API to both the devices and social network websites. Fields are created for each parking slot so that the sensor readings can be stored and retrieved. These fields are updated by the IR sensors connected to the Raspberry Pi. [27] The data can be visualized in either XML, JSON or CSV format. This same data is utilized by the Pi to determine the closest slot that is available for parking.
G.Threading
Multiple sensors need to operate constantly in various loops, and simple straight-line looping is ineffective. One sensor can only be active at once. As a result, another strategy had to be used. Threading is the name of this procedure. [28] A process’s path of execution is called a thread. It enables you to use the interpreter to execute numerous operations simultaneously. It is also referred to as a light procedure. By separating a process into several threads, it enables parallelism. For instance, MS Excel makes use of several threads to format text, handle inputs, create tables, and more. A thread in a program is a set of lines of instructions that can run separately from other code. A thread is different from a process. Threads are present in a process ad they run in a shared memory space. Processes run in different memory spaces and are independent of each other. Threads are dependent and share results with other threads. [29]
There are 4 threads used in the project:
Each thread has separate loops and are run indefinitely until the program is force stopped. Hence, to collaborate all the threads, multi-threading is done. Multithreading is defined as the ability of a processor to execute multiple threads concurrently.
H. Algorithm
V. IMPLEMENTATION
A QR generator is used to generate QR for the mall network and unique QRs for each parking slot. The QR to connect to the mall network is placed before entering into the parking. The QR for the nearest available slot is displayed with the help of TFT. The user on scanning the QR is directed to a webpage which consists of the ticket, a timer and a button to open the gate. The Gate at the entrance can be controlled by the user himself. IR sensors are used to sense the vehicle at the parking slot and update the database.
Arduino IDE is used to code the Arduino board for our specifications and functions. HTML and CSS is used to design the webpage which will help guide the driver to his/her parking slot. The database is stored in cloud and an algorithm to find the nearest available spot is programmed.
A. Hardware and software requirements
a. Raspberry pi
b. Arduino Uno
c. IR sensors
d.Display module
e.Servo motor
f.Connecting wires
2. Software
a. Software services: Arduino IDE, Atom IDE
b. HTML and CSS
c. QR Generator
Fig. 4. Connections for TFT Display
VI. ADVANTAGES / APPLICATIONS
VII. RESULTS AND SIMULATION
The model consists of automated gates at the entrance and exit. The gate at the entry opens when the QR is scanned and the user prompts the gate to open. The gate remains open for a brief time. The duration before which the gate closes is intimated to the user. At the exit gate, the sensor senses the car and opens the gate. The sensors at the parking area or slot are predicted to constantly monitor the presence of the vehicle in the slot. They communicate to the central system to report on the availability of the parking slot as soon as the vehicle leaves the parking area so that the next vehicle may find the closest parking slot instead of taking rounds in the basements. This project aims to provide the nearest available parking spot. This is achieved by using an algorithm that prioritizes the closest empty spot from the periodically updated database on the occupancy of the parking slots. The ticket generated using the QR shall display time present in the mall and the slot allotted to the vehicle to park.
VIII. CONCLUSION The growth of the Internet of Things has given rise to new possibilities in terms of smart cities. Smart parking facilities and traffic management systems have always been at the core of constructing smart cities. We have proposed an intelligent system which will help vehicle owners park their vehicle with ease and save time and fuel in parking complexes. This system will ease the parking system in malls and offices.
[1] Bhat A., Gummanur B., Priya L., Nagaraja J. (2021) An IoT-Based Smart Parking System Using Thingspeak. In: Panigrahi C.R., Pati B., Mohapatra P., Buyya R., Li KC. (eds) Progress in Advanced Computing and Intelligent Engineering. Advances in Intelligent Systems and Computing, vol 1199. Springer, Singapore. https://doi.org/10.1007/978- 981-15-6353-9. [2] Ali, G.; Ali, T; Irfan, M.; Draz, U.; Sohail, M.; Glowacz, A; Sulowicz, M.; Mielnik, R.; Faheem, Z.B.; Martis, C. IoT Based Smart Parking System Using Deep Long Short Memory Network. Electronics 2020, 9, 1696.https://doi.org/10.3390/electronics9101696. [3] Chi-Hung Chuang, Luo-Wei Tsai, “Vehicle License plate recognition using super resolution technique”, 2019 11th IEEE International Conference on Advanced Video and Signal Based Surveillance (AVSS). [4] Pahang, “Development of an Automatic Parallel Parking System for Nonholonomic Mobile Robot”, International Conference on Electrical, Control and Computer Engineering Pahang, Malaysia. [5] Huang Cai-mei, He Zhi-kun, “Design of Reverse Search Car System for Large Parking Lots Based on NFC Technology”, 2019 IEEE. [6] Giuliano Benelli, Alessandro Pozzebon, “An Automated Payment System for Car Parks Based on Near Field Communication Technology”, University of Siena, Italy benelli, alessandro.pozzebon @unisi.it. [7] Abhirup Khanna “IoT based Smart Parking System” University of Petroleum and Energy Studies (UPES) Dehradun, Uttarakhand, 2017. [8] A. Khanna and R. Anand, ”IoT based smart parking system,” 2016 International Conference on Internet of Things and Applications (IOTA), 2016, pp. 266-270, doi: 10.1109/IOTA.2016.7562735. [9] M. Venkata Sudhakar, A. Anoora Reddy, K. Mounika, M. Sai Kumar and T. Bharani, ”Development of smart parking management system”, Materials Today: Proceedings, 2021. [10] Ali, G., Ali, T., Irfan, M., Draz, U., Sohail, M., Glowacz, A., Sulowicz, M., Mielnik, R., Faheem, Z. and Martis, C., 2020. IoT Based Smart Parking System Using Deep Long Short Memory Network. Electronics, 9(10), p.1696. [11] BOZTAS¸ , G. and AYDOG? MUS¸ , O¨ ., 2021. Implementation of Pure Pursuit Algorithm for Nonholonomic Mobile Robot using Robot Operating System. Balkan Journal of Electrical and Computer Engineering, 9(4), pp.337-341. [12] Zhang, M., Zhou, L. and Cai, W., 2012. Smart Parking System Based on Wireless Sensor Network for Large Parking Lots. Applied Mechanics and Materials, 195-196, pp.889-894. [13] Ubaya, H., 2012. Design of Prototype Payment Application System With Near Field Communication (NFC) Technology based on Android. Computer Engineering and Applications Journal, 1(1), pp.1-12. [14] ”What is a Raspberry Pi?”, Raspberry Pi, 2022. [Online]. Available: https://www.raspberrypi.org/help/what-20is-a-raspberry-pi/. [15] ”Raspberry Pi”, open source, 2022. [Online]. Available: https://opensource.com/resources/raspberrypi . [16] ”Advantages of Raspberry Pi”, All about circuits, 2022. [Online]. Available: https://www.allaboutcircuits.com/technical-articles/10- reasons-raspberry-pi-isnt-a-good-choice-forcommercial-products/ . [17] ”What is Arduino?”, Arduino.cc, 2022. [Online]. Available: https://www.arduino.cc/en/Guide/Introduction. [18] ”Atom IDE- Wikipedia”, En.wikipedia.org, 2022. [Online]. Available: https://en.wikipedia.org/wiki/Atom(texteditor) . [19] ”HTML CSS”, w3c.org, 2022. [Online]. Available: https://www.w3.org/standards/webdesign/htmlcss . [20] ”Python Programming Language”, softronic automation, 2022. [Online]. Available: https://softronicautomation.com/python-2/ . [21] ”Quick Response Code”, Investopedia.com, 2022. [Online]. Available: https://www.investopedia.com/terms/q/quick-response-qr-code.asp . [22] ”Servo Motors”, Kollmorgen.com, 2022. [Online]. Available: https://www.kollmorgen.com/enus/products/motors/servo/servo-motors. [23] ”What is a Servo Motor? - Understanding the basics of Servo Motor Working”, Circuitdigest.com . 2022. [Online]. Available: https://circuitdigest.com/article/servo-motor-working-and-basics. [24] ”Thin-film-transistor liquid-crystal display - Wikipedia”, En.wikipedia.org, 2022. [Online]. Available: https://en.wikipedia.org/wiki/Thin-film-transistor-liquid-crystaldisplay. [25] ”TFT Display”, US micro products, 2022. [Online]. Available: https://www.usmicroproducts.com/learn/tfts . [26] ”Infrared Sensor”, Infratec.in, 2022. [Online]. Available: https://www.infratec.in/sensordivision/service-support/glossary/infrared- sensor/. [27] ”ThingSpeak IoT”, Thingspeak.com, 2022. [Online]. Available: https://thingspeak.com/pages/learn-more. [28] ”Threading in Operating Systems”, Geeksforgeeks.com, 2022. [Online]. [29] Available: https://www.geeksforgeeks.org/thread-in-operating-system/ [30] ”Multi-threading in Python ”, Geeksforgeeks.com, 2022. [Online]. Available: https://www.geeksforgeeks.org/multithreading-python-set- 1/?ref=gcse.
Copyright © 2022 G Vinayaka Bharadwaj, Harshita Hegde, Husain Totanawala, M Krishna Saharsh, Prof. Druva Kumar S. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET45454
Publish Date : 2022-07-08
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here