Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 17

SMART CAR PARKING

SYSTEM

BATCH-08
1) V. Sushma Sri (171FA05066)
2) Ch. Varshitha (171FA05216)
3) P. Akanksha (171FA05321)
ABSTRACT
Nowadays, the Internet of Things(IoT) Plays an
important role in our life by connecting things with
humans via internet and with sensors. This study
proposes a smart system based on the Arduino
components and with some sensors. This system
helps drivers to find an empty parking space
depending on the no of unoccupied slots in the park.
Smart parking can increase the economy by reducing
fuel consumption and pollution in urban cities.
Moreover, it helps to reduce the time of finding car
slot. Finally, the system shows the booked and empty
slots in parking for us.
INTRODUCTION
In this project we have to make an IoT based
car parking slots monitoring system using
Arduino and ultrasonic sensors. Here we have 4
parking slots. Each slot has one ultrasonic sensor
is present. So we have the total of 4 ultrasonic
sensors used in this application. These sensors
are connected to the Arduino. Based on the
distance and the object movement the sensor can
detects and sends the command to the Arduino.
Then the Arduino can displayed in the LCD
which slot is booked and which slot is empty.
Introduction…
This project is very helpful to park the car.
This system solves the parking issue in the
cities and towns as well as in the malls.
By this application we have to manage
our time in the parking.
COMPONENTS
1. Bread Board
2. Ultrasonic sensors-4
3. 20x4 LCD display
4. Arduino UNO
5. Jumper wires
6. USB cables
ULTRASONIC SENSOR
The ultrasonic sensor is very popular sensor used in
many applications where measuring distance or sensing
objects are required. This module has 2 eye like
structures which are used as transmitter and receiver.
The sensor works with the simple formula
Distance=Speed x Time
This sensor has some applications known as object
detection and Obstracle avoidance.
The HC-SR04 uses sonar to determine distance to an
object like bats do. It offers excellent non-contact range
detection with high accuracy and stable readings in an
easy-to-use package.
Ultrasonic sensor…..
Features:
Operating voltage-5v
Theoretical Measuring
distance-2cm to 450cm
Practical Measuring
distance-2cm to 80cm
Accuracy-3mm
Measuring angle covered-
<15degrees
Operating current-<15mA
Operating Frequency-40Hz
LCD DISPLAY
Liquid Crystal Display
is a type of flat panel
display which uses
liquid crystals in its
primary form of
operation. LCD allowed
displays to be much
thinner than cathode ray
tube technology. It
consumes less power.
The display is made up
of millions of Pixels.
ARDUINO UNO
Arduino UNO….
Arduino is a microcontroller. It has 14
digital input output pins in which 6 can be
used as PWM output, a 16MHz ceramic
resonator, a ICSP header, a USB
connection, 6 analog inputs, a power jack
and a reset button. It has 32KB of Flash
memory for storing the code. The
microcontroller is programmed using the
Arduino programming language.
CIRCUIT DIAGRAM
WORKING
The trigger pins of the ultrasonic sensors
are connected to the 3,4,5,6 digital pins of
the Arduino as the output. The echo pins of
the ultrasonic sensor are connected to the
8,9,10,11 digital pins of the Arduino as the
input. The Vcc pins and ground pins are
connected to the Arduino ground and 5v
pins.
Make the connections to the LCD to display
the situation of the slots.
Working…
When we supply the power to the system
after uploading the code the sensors can
detect the objects and measure the
distance. Based on the distance it sends
the command to the Arduino weather the
slots are empty or not.
The sensors can detects each and every
minute and based up on the status with
some delay it can displayed on the LCD.
PROGRAM
int trig1=3,trig2=4,trig3=5,trig4=6,echo1=8,echo2=9,echo3=10,echo4=11;
long duration,distance,slot1,slot2,slot3,slot4;
void setup() {
Serial.begin(9600);
pinMode(trig1,OUTPUT);
pinMode(echo1,INPUT);
pinMode(trig2,OUTPUT);
pinMode(echo2,INPUT);
pinMode(trig3,OUTPUT);
pinMode(echo3,INPUT);
pinMode(trig4,OUTPUT);
pinMode(echo4,INPUT);
}
void ultra(int trig, int echo){
digitalWrite(trig,LOW);
delay(10);
digitalWrite(trig,HIGH);
delay(10);
digitalWrite(trig,LOW);
duration=pulseIn(echo,HIGH);
distance=(duration/2)*0.0341;
}
Program…
void loop() {
ultra(trig1,echo1);
slot1=distance;
ultra(trig2,echo2);slot2=distance;
ultra(trig3,echo3);slot3=distance;
ultra(trig4,echo4);slot4=distance;
if(slot1<15)
Serial.println("slot1 is booked");
else
Serial.println("slot1 is free");
if(slot2<15)
Serial.println("slot2 is booked");
else
Serial.println("slot2 is free");
if(slot3<15)
Serial.println("slot3 is booked");
else
Serial.println("slot3 is free");
if(slot4<15)
Serial.println("slot4 is booked");
else
Serial.println("slot4 is free");
delay(1000);
}
ADVANTAGES
 Optimized parking
 Reduced traffic
 Reduced pollution
 Increased safety
 Reduce parking time
 Reduce fuel consumption
THANK YOU

You might also like