0% found this document useful (0 votes)
7 views

Smart Parking.

Uploaded by

nsaad5921
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Smart Parking.

Uploaded by

nsaad5921
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

CCE323: Embedded Systems

Parking system

Instructor : Dr. Emad Badreldeen Helal

Project Deliverable 1 :Final Report


Group Member ID Major
Aya Shaban Abd 201060093 Communication
alhamed

Bassent Khaled 201060003 Communication


mostafa
Nada saad 201060089 Communication
Dalia magdy ahmed 201060070 Communication

Date :29/4/2024

1
Abstract
Smart Parking System with Arduino This system utilizes an Arduino microcontroller to create a smart
parking management solution.It addresses the common frustration of finding available parking
spaces.
The core components include:
Infrared (IR) sensors: Detect vehicle presence in each parking slot.
Servo motor : Controls a barrier gate at the entrance/exit.
LCD display: Shows real-time information on available parking spaces.The IR sensors continuously
monitor the parking spots.The Arduino processes this data to determine occupancy and displays the
updated availability on the LCD.This Arduino-based smart parking system offers a basic framework
for efficient parking space management, improved driver experience, and reduced congestion while
searching for parking.

2
Contents
1. Introduction
1.1 Introduction…………………………………………………………….
1.2 Problem Definition……………………………………………………..
1.3 Objectives………………………………………………………………
1.4 Structure of the Report…………………….…………………………...
2. Proposed Solution/Algorithm…………..……………………………..……
2.1 Background………………………………………………….………
2.2 Theory Using Block Diagram………………………………………
2.3 Components………………………………………………….……..
2.4 Design / Circuit…………………………………………….………
2.5 Discussion / Simulations/ code……………………………….……
3. Conclusion………………………………………………………….……..
4. References & Appendices ……………………………………………..…

3
1. Introduction
1.1 Introduction
Smart Parking System with ArduinoThe ever-growing number of vehicles on the road has led to a
significant challenge: finding available parking spaces. This struggle wastes time, fuel, and
contributes to traffic congestion.A promising solution is the Smart Parking System, which leverages
technology to optimize parking space utilization and enhance the driver's experience. This project
introduces a cost-effective and practical smart parking system built using an Arduino
microcontroller.
This system offers several advantages:
Real-time parking information: Drivers can easily identify available spaces before entering the
parking area, reducing time spent searching.
Improved traffic flow: By eliminating unnecessary cruising for parking, traffic congestion can be
alleviated.
Enhanced management: Parking operators can gain valuable insights into parking space usage
patterns, allowing for better management strategies.
This Arduino-based system provides a basic yet effective solution for creating a smarter parking
environment. It serves as a stepping stone for further development, with potential for integration with
mobile apps, payment systems, and more complex sensor networks.

1.2 Problem Definitio


Current Scenario:
Traditional parking lots rely on manual methods to indicate occupied/vacant spaces, often using signs
or basic lighting systems.
Finding an available space can be time-consuming and frustrating, leading to driver stress and
increased traffic congestion as vehicles circle searching.
Parking lot management lacks real-time data on occupancy, making it difficult to optimize space
allocation and implement efficient pricing strategies.
Problems Addressed:
This Arduino-based Smart Parking System aims to tackle these issues by:
Limited information: The system provides real-time data on parking space availability, eliminating
the need for drivers to physically search for open spaces.
Inefficiency: By reducing search time, traffic flow improves, minimizing congestion and fuel waste.
Lack of data: The system continuously collects and stores data on parking space usage, enabling
informed decisions for parking lot management.

4
Specific Challenges with Arduino:
Scalability: While Arduino is an excellent platform for prototyping, its processing power and
memory limitations might restrict its application to smaller parking lots.
Sensor Range and Accuracy: Sensor selection (e.g., ultrasonic sensors) is crucial. Their range and
accuracy might be affected by environmental factors or object size variations (motorcycles vs. cars).
Durability and Reliability: The system needs to be designed for continuous operation in potentially
harsh environments (dust, moisture, extreme temperatures).
Addressing the Challenges:
For larger parking lots, consider using multiple Arduino units or explore integration with more
powerful microcontrollers.
Sensor selection should be based on the specific environment and desired accuracy. Explore
alternative sensors like magnetic field sensors or cameras (with privacy considerations).Utilize
weatherproof enclosures and appropriate power supplies to ensure long-term system reliability.
Overall, this Arduino_based Smart Parking System offers a cost-effective approach to address the
challenges of traditional parking management. However, acknowledging its limitations and
exploring potential solutions is crucial for a successful implementation.

1.3 Objectives
A Smart Parking System with Arduino aims to achieve several key objectives:
1 .Enhance driver experience : reduce search time , Improve traffic flow
2 .Optimize Parking management: real-time occupancy data , This data can be used to,Analyze usage
patterns and identify peak hours , Develop pricing strategies based on demand , improve resource
allocation for security and maintenance personnel.
3 .Increase Efficiency and Reduce Costs: minimize infrastructure investment , reduce operational
costs
4 .Lay Foundation for Future Advancements: the Arduino-based system serves as a stepping stone
for further development. It can be integrated with , mobile applications , payment systems ,advanced
sensor networks
Overall, the Smart Parking System with Arduino aims to create a smarter parking experience for both
drivers and parking lot operators by improving efficiency, reducing costs, and laying the groundwork
for future advancements.

5
2. Proposed Solution/Algorithm
2.1 Background we will learn how to make a Smart Parking System using Arduino.That will
only open its gate for parking when there is an available space. If the parking lot is full, the gate will
remain closed, and a message will be displayed on the LCD screen indicating the parking is full.
Additionally, each parking slot will have a display indicating whether it is currently occupied or
vacant.

2.2 Theory Using Block Diagram

6
2.3 Components

You will need:

1x Arduino uno 1x LCD Screen

1x jumper wires

1x breadboard

5x IR sensor 1X Servomotor

7
2.4 Design / Circuit

2.5 Flowchart

8
2.6 Code

#include <Servo.h>
Servo myservo;

int y = 0;
#include <Wire.h>
#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

const int place;}8 ,9 ,10 ,11 { = ][


byte val;]6[
const int in = 7;
const int out = 6;
int count = 0;
int valin = 0;
int valout = 0;
int pos = 0;
int cnt;
void setup{ )(

lcd.init(); // initialize the lcd


lcd.init;)(
lcd.backlight;)(
Serial.begin;)9600(
for (int i = 0; i < 5; i++)
{
pinMode(place[i], INPUT);
}

9
pinMode(in, INPUT);
pinMode(out, INPUT);

myservo.attach;)5(

lcd.begin;)2 ,16(

lcd.setCursor;)0 ,0(
lcd.print("Smart Park");
delay;)2000(
myservo.write;)0(

//for (pos = 0; pos <= 40; pos += 1){


//myservo.write(pos);
//delay;)30(
} //
//delay;)1000(
//for (pos = 40; pos >= 0; pos -= 1){
//myservo.write(pos);
//delay;)30(
} //
lcd.clear;)(
lcd.setCursor;)0 ,0(
count = 0;
}

void loop{ )(
*******************//
lcd.setCursor;)0 ,0(

10
lcd.print("Empty Placse:");
lcd.setCursor;)1 ,0(
for ( y = 0; y < 3; y++) // 5 = 3
{
val[y] = digitalRead(place[y]);
if (val[y] == 1){
lcd.print(y + 1);
}
}

lcd.print;)" "(
valin = digitalRead(in);
valout = digitalRead(out);

if (count >= 3) // 6 = 3
{
count = 3; // 6 = 3
myservo.write(0); delay(1000); myservo.detach;)(
lcd.setCursor;)1 ,5(
lcd.print(" full");
}

********************//
if (valout == LOW){

for (pos = 0; pos <= 90; pos += 1){


myservo.write(pos);
delay;)30(
}

11
while (valout == LOW){
valout = digitalRead(out);
}
count;++

if (count < 4) // 7 = 4
}{

delay;)1000(
for (pos = 90; pos >= 0; pos -= 1){
myservo.write(pos);
delay;)30(
}
}
********************//
if (valin == LOW){

myservo.attach;)5(
for (pos = 0; pos <= 90; pos += 1){
myservo.write(pos);
delay;)30(
}

while (valin == LOW){


valin = digitalRead(in);
}
count;--

if (count <= 0){

12
count = 0;
}

delay;)1000(
for (pos = 90; pos >= 0; pos -= 1){
myservo.write(pos);
delay;)30(
}
}
********************//
lcd.setCursor;)1 ,10(
lcd.print(" cnt:");
lcd.print(count);
if (count >= 3){
lcd.setCursor;)1 ,5(
lcd.print(" full ");
}

13
3. Conclusion
Smart Parking System with Arduino;The Arduino-based Smart Parking System offers a
practical and cost-effective solution to address the challenges of traditional parking
management.This system provides real-time parking information, leading to a significantly
improved driver experience by:
Reducing time spent searching for parking spaces. Minimizing frustration and contributing to
smoother traffic flow. For parking lot operators, the system offers valuable benefits such as:
Real-time data on parking space usage for informed decision-making.
Potential for optimized pricing strategies and resource allocation.While the Arduino platform
provides a solid foundation, acknowledging its limitations is crucial. Scalability for larger
parking lots and sensor selection for specific environments require careful consideration.
Despite these limitations, this system serves as a stepping stone for further development.
Integration with mobile apps, payment systems, and advanced sensor networks can create an
even more sophisticated and user-friendly smart parking experience in the future.

4. References & Appendices


/https://www.geeksforgeeks.org/smart-parking-system-using-arduino

14

You might also like