Iot Domain Analyst (Ece3502) : Experiment-6
Iot Domain Analyst (Ece3502) : Experiment-6
EXPERIMENT-6
SMART PARKING SYSTEM
SKAND VIJAY
18BEC0089
L35+L36
To Create Smart Parking System, giving details of the circuit and procedure followed for
achieving the same.
THEORY:
Tinkercad is a free, online modeling program that runs in a web browser, known for its
simplicity and ease of use. Since it became available in 2011 it has become a popular
platform for creating models for 3D printing as well as an entry-level introduction to
constructive solid geometry in schools.
COMPONENTS:
Components Quantity
Arduino Uno R3 1
LCD 16 x 2 1
250 kΩ Potentiometer 1
600 Ω Resistor 1
Ultrasonic Distance Sensor 3
Arduino Uno R3 1
LCD 16 x 2 1
PLATFORM:
1. Tinkercad: Tinkercad is a free, online 3D modeling program that runs in a web
browser, known for its simplicity and ease of use.
WORKING PRINCIPLE:
➢ Ultrasonic Sensor is an electronic device which measures the distance of a target object
by producing ultrasonic sound waves, and converting the reflected sound into an
electrical signal .For the proposed system, the ultrasonic sensors are used for each
parking slot to check the presence of the vehicle.
➢ A liquid crystal display is a display that uses liquid crystalline materials to produce
visible image. Here is how the system works, when current is applied to such
crystalline material, it becomes opaque thereby blocking the backlight behind the
screen, hence, that particular area becomes dark relative to other areas. The character
to be displayed assumes this dark area of the screen.
ALGORITHM:
1. Firstly connecting the 5V supply pin from the Arduino to one of the lines of the
breadboard and the Ground (GND) pin of the Arduino to another line of pins of the
breadboard.
2. Connect VCC on the ultrasonic sensor to the 5V pin on the Arduino. Connect the Trig
pin on the ultrasonic sensor to pin on the Arduino. Connect the Echo pin on the ultrasonic
sensor to pin on the Arduino. Connect the GND on the ultrasonic sensor to GND on the
Arduino.Doing this for all the three sensors.
3. Put a condition if the distance is less than 100 cm in any of ultrasonic sensor in a
particulat slot turn on the LCD and predict the empty slot.
4. LCD 16x2 is used to display the Free slots as output after detection is sensed by the
sensors.
5. Baud rate kept is 9600
FLOWCHART:
START
SYSTEM INITIALIZE
CHECK
PRESENCE OF
OBJECT/VEHICLE
YES NO
OUTPUT DISPLAY ON
LCD FOR FREE SLOTS
END
CIRCUIT CONFIGURATION:
CODE:-
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#define t1 10
#define t2 9
#define t3 8
void setup() {
lcd.begin(16,2);
lcd.setCursor(0,0);
Serial.begin (9600);
}
void loop()
{
float d1 = 0.01723 * readDistance(t1, t1);
float d2 = 0.01723 * readDistance(t2, t2);
float d3 = 0.01723 * readDistance(t3, t3);
delay(100);
}
Case-1:- When there is No car infront of the ultrasonic sensor it shows all slots
are free and a new car can have 3 positions to get parked.
Case-3:-When the cars are parked in all the slots, LCD will show Parking Full
and there is No Slot free.
Figure 4 Output of Circuit Configuration When Object is there infront of All the Sensors
OBSERVATIONS:
• Distance in cm and inches is shown near ultrasonic sensor rather than conventional
time as we have calculated and converted the time taken by the signal into the
distance covered by it. (conventionally ultrasonic sensor signal travel at a speed of
sound (340m/s).
CONCLUSION:
✓ If the distance of car is less than 100cm then the LCD will start showing the other
available slots(if any).
✓ The conclusion of the proposed system adds multiple benefits over the traditional
parking system. The time-consuming problem of searching and navigating to the
parking slot is solved. As an effort to reduce environmental problems fuel wastage is
also reduced and online payment eliminates the need for parking receipts. Therefore
we can say that the system provides a very efficient, environmentally friendly solution
to tackle the rising parking problem in the cities.