Arduino Projects

Car Parking System Using Arduino

Car Parking project using arduino

Introduction

In this article, we will explore creating a car parking system using an Arduino microcontroller board, an I2C 20×4 LCD, an MG955 servo motor, and an IR sensor. The parking system will help automate the car parking process by providing real-time information and guiding the driver through the parking space.

We will discuss the components used, their functionalities, and how they work together to create an efficient parking system.

Components Needed

S.N

Component's

Quantity

Link To Buy

1

Arduino Uno

1

2

20x4 LCD Display

1

3

IR Sensor

6

4

MG995 Servo Motor

1

5

Wire

20

6

Zero PCB

1

7

9V Power Supply

1

10

12 1

14

17 1

Circuit Diagram

  • Connect the VCC and GND pins of the IR sensors to the 5V and GND pins of the Arduino board, respectively.
  • Connect the signal pins of the IR sensors (ir_enter, ir_back, ir_car1 to ir_car4) to any available digital input pins on the Arduino ( pins 2, 4, 5, 6, 7, 8).
  • Connect the signal wire of the servo motor to a digital output pin on the Arduino (pin 3).
  • Connect the SDA and SCL pins of the LCD module to the corresponding SDA and SCL pins on the Arduino (A4 and A5 for most Arduino boards).
  • Connect the VCC and GND pins of the LCD module to the 5V and GND pins of the Arduino board, respectively.




circuit diagram 21

Once the circuit connections are made, you can upload the provided code to the Arduino board using the Arduino IDE. The code initializes the sensors, servo motor, and LCD in the setup() function. The loop() function continuously reads the sensor inputs, updates the LCD, and controls the servo motor based on the sensor readings.

Source Code

just flow the image and Install the liquid crystal i2c library

I2C lib e1726999112904

 



GitHub e1697076839430

1

Video

Conclusion

  • With further enhancements, this system can be expanded to handle multiple parking spaces, integrate with mobile applications, or incorporate advanced features like automatic payment systems.

More Arduino Tutorial

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker