Smart Parking System Using Arduino
1. Introduction
With the rapid increase in the number of vehicles, managing parking spaces efficiently has
become a major challenge. Traditional parking systems require manual supervision and often
lead to congestion, wastage of time, and inefficient use of space. To overcome these problems,
an automated parking system is needed.
This project presents a Smart Parking System using Arduino, which uses two ultrasonic
sensors, one servo motor, and a buzzer to control vehicle entry and detect parking availability.
The system automatically opens and closes a gate and alerts users when the parking space is
occupied.
2. Analysis
The system is designed to:
Detect the presence of a vehicle at the entry point
Check whether the parking slot is available
Automatically control a gate using a servo motor
Provide audio alerts using a buzzer
Two ultrasonic sensors are used:
Sensor 1 detects a vehicle at the entrance
Sensor 2 checks whether the parking space is occupied
Based on the sensor readings, the Arduino makes decisions and controls the servo motor and
buzzer accordingly.
3. Ultrasonic Sensor
An ultrasonic sensor works on the principle of sound wave reflection. It sends ultrasonic waves
and measures the time taken for the waves to reflect back after hitting an object. Using this
time, the distance between the sensor and the object is calculated.
In this project, ultrasonic sensors are used to:
Detect vehicles
Measure distance to determine presence or absence of a vehicle
4. Ultrasonic Sensor – Technical Data Sheet
Parameter Specification
Model HC-SR04
Operating Voltage 5V DC
Operating Current 15 mA
Measuring Range 2 cm – 400 cm
Measuring Angle 15°
Trigger Input 10 µs TTL pulse
Echo Output TTL pulse proportional to distance
Frequency 40 kHz
5. Components Used in the Project
1. Arduino Uno
Arduino Uno is a microcontroller board based on the ATmega328P. It acts as the brain of the
system, processing sensor data and controlling output devices like the servo motor and buzzer.
2. Ultrasonic Sensors (2x)
Ultrasonic sensors are used to detect vehicles by measuring distance. One sensor is placed at
the entrance and the other inside the parking area.
3. Servo Motor
A servo motor is used to control the parking gate. It rotates to a specific angle to open or close
the gate when a vehicle is detected.
4. Buzzer
A buzzer provides audio alerts. It activates when the parking space is full or when a vehicle is
detected incorrectly.
5. Jumper Wires
Jumper wires are used to connect all components to the Arduino board.
6. Power Supply / USB Cable
Provides power to the Arduino and the connected components.
6. Circuit Diagram
Circuit Description (Textual):
Ultrasonic Sensor 1:
o VCC → 5V
o GND → GND
o Trigger → Digital Pin
o Echo → Digital Pin
Ultrasonic Sensor 2 connected similarly to different digital pins
Servo Motor:
o VCC → 5V
o GND → GND
o Signal → PWM Digital Pin
Buzzer:
o Positive → Digital Pin
o Negative → GND
7. Working Observation
1. When a vehicle approaches the entrance, Ultrasonic Sensor 1 detects it.
2. The Arduino checks Ultrasonic Sensor 2 to see if the parking slot is free.
3. If the slot is available:
o The servo motor opens the gate
o The vehicle enters the parking area
4. If the slot is occupied:
o The gate remains closed
o The buzzer turns ON to alert the driver
5. After the vehicle enters, the servo motor closes the gate automatically.
The system works accurately and responds in real time.
8. Challenges and Limitations
Ultrasonic sensors may give inaccurate readings in dusty or noisy environments
Limited to small parking areas
Cannot identify vehicle type or number
Requires stable power supply
Works best for short-range detection only
9. Applications
Shopping malls
Offices and universities
Residential parking areas
Hospitals
Small commercial parking systems
10. Recommendations
Use LCD or LED display to show parking status
Integrate IoT for online monitoring
Use multiple parking slots
Add RFID or camera system for vehicle identification
Improve accuracy using advanced sensors