










































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











































This project increases the efficiency of the smart-parking system (SPS) and develops a network architecture based on the Internet-of-Things (IoT) technology. It is inevitable for the people to update with the growing technology and generally people are facing problems in parking lots in a city. Our smart parking system helps users to reserve a parking space before coming into the parking lot. This system will accommodate both the IoT users and the non IoT users. A user-friendly android application is developed through which the IoT users would be able to reserve the parking spot very easily with the help of smartphone. IoT users can reserve their parking in advance which would save their time in finding a spot to park their car. A website is also developed for the admin where the reservation record can be viewed, and on spot reservation can be made for the non IoT users when they reach at the entrance of the parking lot, by the operator. Users will not have direct access to this website. This system avoids the unnecessary travelling time through filled parking lots during rush hours. Thus, it reduces the fuel consumption which in turn reduces carbon emissions in the atmosphere. The hardware used in the system is Raspberry Pi which is a mini computer. Sonar sensors are used to detect the presence of the vehicle in the parking lot. There is a bi-directional communication in the system. A cloud based server is having the record of reservations, the status of reservation is remotely sent to the raspberry pi. When the vehicle reaches the desired parking space the sensors update the status in cloud based server. The LEDs are also installed at each parking slot to tell the status of that parking space. To indicate the status LEDs of three different color are used, red, yellow and green. Green LED indicates the slot is empty and is not yet reserved, the yellow indicates that the slot is reserved but not occupied, red indicates that the slot is occupied by the vehicle.
The idea of Internet of Things (IoT) began with things with identity communication devices. The devices could be followed, controlled or checked utilizing remote PCs associated through Internet. IoT expands the utilization of Internet giving the correspondence, and in this manner between devices and real-world objects, or 'Things'. Internet implies an immense worldwide system of associated servers, PCs, tablets and mobiles utilizing the globally utilized conventions and interfacing frameworks. Internet empowers sending, getting, or conveying of data. The objects are detected and controlled over the already formed network joining the physical world into the computer based framework. This makes the system cost effective with greater accuracy and productivity with less or no human involvement. Over the years with the rapid growth of population, parking in the urban areas has become a serious issue. Usually the parking spots are located manually so a lot of time is wasted while roaming around the fully packed parking lots to find the best spot to park the vehicle. One doesn’t even find the parking spot of his own choice, but usually far away from the desired location. Waiting in long queues to find the parking spot contributes to traffic congestion in commercial areas. The drivers get frustrated in hustle of finding the parking which causes road rage and accidents in the congested area. On the other hand, the carbon emissions from the vehicles pollute the environment and contributes to global warming. This project overcomes this problem by implementing a cloud based smart parking system (SPS) using internet of things (IoT). Our system not only accommodates the IoT user but also deals with the non IoT users as well. This system can be implemented in the existing parking lots and require minimum human involvement to operate. An android application is developed for the IoT user to reserve the parking spot. A webpage is also developed for the admin where admin can view the status of each parking space that it is empty, reserved, or a vehicle is parked.
Reservation history can also be viewed from the webpage and admin can also reserve the parking spot from this webpage. Due to the advancement of technology over the years the smartphones became popular and are widely used. With the help of smartphone, the IoT users would be able to use an android application to reserve a parking spot. It is a user friendly mobile application which will facilitate the IoT users. Unlike IoT users the non IoT users will not be using an app for making reservation rather they will be allocated the parking on spot. When they will reach at the entrance of the parking lot they would request the operator to manually reserve their parking spot and depending on the availability of the vacant space they would be allocated a parking spot. Unlike conventional parking areas where driver has to roam around in search of the parking spot and has a minimum success rate, this smart parking system would much of the time and fuel which is wasted in roaming around the fully packed parking lots.
SPS could be implemented in various ways; different micro controllers could be used such as Arduino boards or Raspberry pi. Vacant spaces could be detected with the help of a video camera or Raspberry pi camera to detect the empty parking space and update the information in the main server in real time. Other technologies can also be used to detect the presence of the vehicle such as radio frequency identification (RFID) tags, infrared sensors, pressure sensors and ultra-sonic sensors. This information could be accessed by the user with the help of smartphone application and on website by the admin. In the city of Perth, Australia smart eye sensors equipped with RFID have been installed which records the arrival and leaving of the vehicle in the parking area. This ensures that people could get vacant parking space when they arrive at the location thus reducing stress level of the driver which causes road rage and lowers traffic congestion [1]. In Moscow, Russia SENSIT technology is being used to detect the vacant parking space. These sensors consist of magnetic field and infra-red eye to detect the availability of parking and to record for how long the parking space was being consumed [2]. In a research for finding parking space through DSRC communication, a system is proposed in which user can reserve parking space with the help of smartphone. When the user enters the parking lot, he will be guided towards the allocated parking slot to him with a help of small map which involves wireless transmission through dedicated short-range communication protocol (DSRC). To guide the vehicle to the allocated parking slot inertial navigation system is also proposed [3]. Another research proposes the implementation of smart parking system by interconnecting IEEE 802.15.4, RFID and UHF frequency. The system can have updated record of the status of parking spaces and with the help of software application can direct users towards the empty parking spaces [4].
SPS technology Pros Cons Image Processing Does not require extra sensors Lot of cameras are required to cover whole parking lot Accuracy reduces when light is poor Infrared Sensors Low cost Short range Ultrasound Sensors Low cost Interference from other sound sources Collecting information with the help of sensors such as video sensors or using camera images involves digital image processing (DIP) which is an expensive way to implement the SPS. Infrared sensors detect IR images based on temperature variants of objects, so they can’t detect difference in objects that have a similar temperature range [5]. Ultra-sonic sensors can measure the distance by sending the sound waves and receiving the echo and then calculating the time between transmitting and receiving the echo. The speed of sound is approximately 340 m/s so placing the time calculated above and speed of sound in speed formula and equating it gives us the accurate distance of the object. The disadvantage of this sensor is that it can be hindered by the other ultra-sonic sound waves coming in its range [6].
Smart parking system would be able to facilitate the users for a best parking solution specially in the overcrowded areas. Through an android application the IoT users will be able to reserve a parking spot. If vacant parking slots are available in the parking area the IoT users will be notified about it on the application before making a parking request. As soon as they will make a request, a vacant parking slot will automatically be assigned to them and they will be given a passcode which will be later on used to enter the parking lot. While reaching the entrance of the parking lot the IoT user will press the push button installed on the entry point. Then a passcode will be required to open the barrier of the parking lot controlled by servo motor. If valid passcode is entered, he will be permitted to enter the parking lot. For non IoT users there is a facility of on spot reservation. When the non IoT users will reach the entrance of the parking lot operator sitting at the entrance of the parking lot will reserve a parking spot for them if there are any vacant spaces available, through website designed for admin. Raspberry Pi 2 is used as a main component in this project because of its efficiency and portability. It is itself a mini computer having its own RAM and GPIO pins used for interfacing with other devices. Webserver is having the record of the reservations and Raspberry Pi is bidirectionally communicating with the webserver. Graphical user interface is displayed on the laptop using VNC viewer which provides a remote desktop connection. Raspbian is the operating system installed on Raspberry Pi.
To keep the data of reservations an online database is created on SQL server. With the help of ODBC driver user application is connected to the database server. The database contains 2 tables, one table contains data about new reservation and the other contains information about the status of parking slots. Web page is also designed particularly for the admin. For this purpose, a domain name is assigned to the web page which can be accessed from anywhere. The
The above concept for both the IoT user and the non IoT user is well explained in the following flow chart:
Raspberry pi 2 is used as a main hardware in this project. It is a mini computer having its CPU and RAM making it efficient. It is a portable and palm sized computer having all the essential features of a personal computer. For graphical user interface it can be connected to a monitor or LCD display through HDMI cable. It can also be connected to a remote desktop connection for the laptop or computer display.
The first generation of the raspberry was released in February 2012. Till now several generations of the raspberry pi have been released. We are using raspberry pi 2 model B in our project which have following specifications: 900 MHz 64-bit quadcore ARM Cortex A7 processor 1GB RAM Ethernet port HDMI port MicroSD card slot 250 MHz GPU’ 4 USB ports 40 pins out of which 26 are GPIO
Insert the bootable micro SD card containing NOOBS files into the raspberry pi and give 5-volt supply to it. To view the graphical user interface of this minicomputer for programing and interaction with its interface, there are different methods among which 2 are as follows: 1) LCD Display For setting up the Raspberry Pi for the first time we need to connect the Raspberry Pi with the LCD. An HDMI cable is required, one side is plugged into HDMI port of the Raspberry Pi and the other to the LCD. Plug in the standard micro USB cable to the Raspberry Pi to power it on. Now the graphical user interface can be viewed on the screen. Attach a keyboard and mouse to the Raspberry pi by simply plugging in these peripherals to the USB ports of this minicomputer to interact with the interface. 2) Laptop Display Raspberry Pi can also be connected to laptop which means graphical user interface could be displayed on the laptop screen. Since the HDMI port in the laptop is only for the output display so we cannot directly connect Raspberry Pi with laptop through HDMI cable. We must create a bridge connection between Raspberry Pi and laptop. For this purpose, Real VNC could be installed on laptop. It is a software which creates a remote desktop connection. This software connects the devices through IP address, so we have to download a software which can scan the IP address of our Raspberry pi. In our project we used ‘Advanced IP scanner’. In this software we have to define a range of IP addresses and the software automatically detects the IP Address of the devices in that range.
If we are using Raspberry Pi for the very first time we require a monitor or LCD to configure for VNC viewer. Write the command ‘sudo raspi-config’ in the terminal window and enable SSH and VNC as shown below: The power supply can be given through laptop by inserting a standard micro-USB cable into the USB port of laptop. To establish a bridge connection, connect the laptop and Raspberry Pi with the standard ethernet cable but first we have to change the adapter settings under the network and sharing center in laptop as following:
2- Now open the wifi properties in the adapter settings, go to internet connection sharing and allow other network users to connect through this computer’s internet connection and select the ethernet port on which the Raspberry Pi is connected.
3- Now open the ‘Advanced IP scanner’ and give a range of IP address in such a way that IP address given in the ethernet properties, internet protocol version 4 IPv4 comes in this range. This IP scanner will detect the IP address of the Raspberry Pi as shown below.