[go: up one dir, main page]

0% found this document useful (0 votes)
5 views14 pages

Parking Assistance System: Govt. Polytechnic College, Chelakkara Department of Computer Engineering

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 14

1

GOVT. POLYTECHNIC COLLEGE, CHELAKKARA


DEPARTMENT OF COMPUTER ENGINEERING

PARKING ASSISTANCE SYSTEM

Embedded System & Real time Operating system


Open Ended Project (2024-25)
Submitted by,
NIRANJANA TT
(REG NO:2201130685)

FIFTH SEMESTER COMPUTER ENGINEERING


DEPARTMENT OF COMPUTER ENGINEERING GPC
CHELAKKARA

DEPARTMENT OF COMPUTER ENGINEERING GPTC,CHELAKKARA


2

GOVT. POLYTECHNIC COLLEGE, CHELAKKARA


Department of Computer Engineering

CERTIFICATE

This is to certify that the open ended project titled “PARKING ASSISTANCE SYSTEM”
was presented by NIRANJANA TT (REG NO:2201130685) in partial fulfilment of the
requirement for the award of Diploma in Computer Engineering by the Department of the
Technical Education, Government of Kerala.

Staff in Charge Head of Department

Place: Chelakkara
Date:

Internal Examiner External Examiner

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


3

DEPARTMENT OF COMPUTER ENGINEERING

COLLEGE VISION
To be an institution par excellence in technical education, striving for
the upliftment of society and sustainable environment

COLLEGE MISSION
1. To impart quality engineering education through state-of- the-
art methodologies and infrastructure.
2. To equip students with appropriate technical competency,
professional ethics and relevant social values for leading a
meaningful career.
3. To foster a sustainable environment through various rural
development initiatives.

DEPARTMENT VISION
To be a centre of excellence in computer engineering by moulding
professionals with technical competence and social responsibility

DEPARTMENT MISSION
1. To provide an environment conducive for all-round
development of students
2. To collaborate with other premier institutions and industries for
academic excellence and to ensure employability.
3. To work with moral and ethical values emphasizing on suitable
development

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


4

ACKNOWLEDGEMENT

I express my sincere thanks to SEENA I.T(Head of Computer Engineering GPTC


CHELAKKARA) and all staff for their kind co- operation for presenting the project.
I also extend my sincere thanks to all other members of the faculty of Computer
Engineering Department and my friends for their co operation and encouragement.

NIRANJANA TT

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


5

ABSTRACT

In this modern era, it has been very difficult for a driver to judge the distance between a
vehicle and obstacle while parking in a blind spot areas like garage. The driver should be
aware of the surroundings in order to park a vehicle safely without any damage. But
without any guidance it will be difficult for a driver to judge the distance manually which
in most of the cases ends up in a collision. This causes damage of property and
sometimes leads to the injuries to the people. In this proposed work, a Parking Assistance
system is introduced to avoid the collision between a vehicle and an obstacle while
parking in a blind spots. While parking, the System detects the presence of obstacles and
alerts the driver accordingly.
The proposed Parking Assistance System aids drivers in safely parking in blind spots, like
garages, by detecting obstacles and alerting them. Using an ultrasonic sensor, the system
calculates the distance between the vehicle and nearby obstacles, with an Arduino board
managing the data. LEDs indicate zones, an LCD displays distance, and a buzzer sounds
when the vehicle is too close. Wall-mounted for easy setup, this system reduces manual
effort, saves time, and helps prevent collisions, damage, and accidents during parking

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


6

TABLE OF CONTENT
CHAPTER TITLE PAGE
1. INTRODUCTION TO EMBEDDED SYSTEM
2. COMPONENTS REQUIRED

3. PIN DIGRAM

4. SAMPLE CODE

5. SAMPLE OUTPUT
6.CONCLUSION

7.REFERENCES

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


7

1.INTRODUCTION TO EMBEDDED SYSTEM

Embedded systems are specialized computing systems designed to perform


dedicated functions or tasks within larger mechanical or electrical systems.
Unlike general-purpose computers, which can run a variety of applications,
embedded systems are optimized for specific control applications, often
integrating hardware and software components in a single package. These
systems are pervasive in modern technology, found in everyday devices such
as household appliances, automobiles, medical equipment, industrial
machines, and consumer electronics
.

Benefits of Using Embedded Systems in Projects:


Efficiency: Optimized for specific tasks, leading to faster
performance. Cost- Effectiveness: Reduced overall costs through
integrated hardware and software
Compact Design: Smaller size, ideal for space-constrained
applications.
Real-Time Operation: Meets strict timing requirements for critical
tasks
Flexibility and Scalability: Can be easily upgraded or modifi

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


8

2.COMPONENTS REQUIRED

HARDWARE

▪ Arduino nano
▪ ultrasonic sensors HC -SR04
▪ 16*2 LCD
▪ buzzer HXd
▪ LED Lights

SOFTWARE

▪ Arduino IDE

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


9

3.PIN DIGRAM

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


10

4.SAMPLE CODE
#include <LiquidCrystal_I2C.h> // Library for I2C LCD #define
TRIG_PIN 9 // Ultrasonic Sensor Trig pin
#define ECHO_PIN 10 // Ultrasonic Sensor Echo pin
#define GREEN_LED 3 // Green LED pin
#define YELLOW_LED 4 // Yellow LED pin
#define RED_LED 5 // Red LED pin #define
BUZZER_PIN 8 // Buzzer pin

// Initialize LCD with address, columns, rows (for 16x2 LCD)


LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() {
lcd.begin(); // Initialize LCD
lcd.backlight(); // Turn on LCD backlight
pinMode(TRIG_PIN, OUTPUT); // Set Trig pin as output
pinMode(ECHO_PIN, INPUT); // Set Echo pin as input
pinMode(GREEN_LED, OUTPUT); // Set LED pins as output
pinMode(YELLOW_LED, OUTPUT);
pinMode(RED_LED, OUTPUT);
pinMode(BUZZER_PIN, OUTPUT); // Set Buzzer pin as output
lcd.setCursor(0, 0);
lcd.print("Parking Assist"); delay(1000);
}
long measureDistance() { digitalWrite(TRIG_PIN,
LOW); delayMicroseconds(2);
digitalWrite(TRIG_PIN, HIGH);
delayMicroseconds(10); digitalWrite(TRIG_PIN,
LOW);
long duration = pulseIn(ECHO_PIN, HIGH);
return duration * 0.034 / 2; // Convert time to distance in cm
}

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


11

String cardUID = "";


for (byte i = 0; i < rfid.uid.size; i++) { cardUID +=
String(rfid.uid.uidByte[i], HEX);
}
if (cardUID.equals(authorizedUID)) { unlockDoor();
} else { rejectAccess();
}
rfid.PICC_HaltA();
}
void unlockDoor() {
digitalWrite(GREEN_LED, HIGH);
digitalWrite(YELLOW_LED, LOW);
myServo.write(90); // Open position
tone(BUZZER, 1000, 200);
delay(3000); // Keep door unlocked for 3 seconds

// Lock the door


myServo.write(0);
digitalWrite(GREEN_LED, LOW);
digitalWrite(YELLOW_LED, HIGH);
}

void rejectAccess() { digitalWrite(RED_LED,


HIGH); tone(BUZZER, 1000, 200);
delay(1000); digitalWrite(RED_LED,
LOW); noTone(BUZZER);
}

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


12

5.SAMPLE OUTPUT

distance measurement parking at 50 cm

parking at 40 cm parking at 20 cm

parking at 9 cm

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


13

6.CONCLUSION AND FUTURE SCOPE

In this project, we have developed a prototype of PAS. Based on the results, it can
be concluded that the system, which is explained in the paper is user friendly and can be
easily installed in the blind spot areas like garage. The efficiency of the system to avoid
the collision between a vehicle and an obstacle during parking is high and effective. The
ultrasonic sensor detects the objects and measures the distance accurately by the results
based on the table 5.1. The distance displayed on the LCD screen helps the driver to
reduced the manual efforts to judge the distance. While parking, the LED’s are useful in
guiding the driver about the respective zones of the vehicle. The buzzer plays an
important as the anti-collision object as it warns the driver or the people present around
the vehicle through a loud noise when the vehicle is too close to the obstacle. Hence,
Parking Assistance System is effective in guiding and assisting the driver to park a vehicle
safely without any collisions or damages while parking in a blind spot areas like garage.

In the future, the parking system developed in this project can be extended by
making the brakes of the vehicle automated by making a connection between the parking
system and brake system. The system should be designed in such away that if the vehicle
is still in motion even when the buzzer is activated, then the brakes should be applied
automatically when it receives a signal from the parking system

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA


14

7.REFERENCE
• www.google.com
• Chat.openai.com
• www.geeksgorgeeks.com

DEPARTMENT OF COMPUTER ENGINEERING GPTC, CHELAKKARA

You might also like