Skip to content

πŸš— Smart Parking System using Arduino | Real-time slot detection with PIR sensors, automatic gate control using servos, and live status on LCD. Designed using two breadboards for efficient simulation and hardware implementation.

License

Notifications You must be signed in to change notification settings

Sapfire007/Smart-Parking-System-using-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš— Smart Parking System using Arduino

This is a Smart Parking System built with Arduino UNO, PIR motion sensors, Servo motors, and a 16x2 LCD display. The system uses two breadboards to neatly manage wiring and components. It monitors and updates the availability of parking slots, automates gate control, and displays real-time status on the LCD.

πŸ‘¨β€πŸ’» Project by: Saptarshi Bose


πŸ“Œ Features

  • βœ… Real-time slot availability detection via PIR sensors.
  • πŸšͺ Automated gate control using servo motors.
  • πŸ“Ÿ LCD screen shows up-to-date slot statuses.
  • πŸ” Toggle logic for slot availability based on motion detection.
  • πŸ”’ Prevents gate opening if all slots are occupied.

🧩 Components & Descriptions

πŸ”· Arduino UNO R3

Arduino Uno R3


A microcontroller board based on the ATmega328P. It controls sensors, servos, and the LCD.

πŸ”· PIR Motion Sensor

PIR Sensor


Detects movement. Used to: - Toggle slot availability. - Trigger gate openings.

πŸ”· Servo Motor (SG90)

SG90 Servo


Used to simulate gate movement. Rotates 90Β° to open, and 0Β° to close.

πŸ”· 16x2 LCD Display

16x2 LCD


Displays parking slot availability. Controlled using the LiquidCrystal library.

πŸ”· Potentiometer

Potentiometer


Used to control the **contrast** of the LCD display. Connected to pin V0 of the LCD.

πŸ”· 220Ξ© Resistor

220Ξ© Resistor


Connected in series with the **LCD backlight** (pin A/Anode) to limit current and prevent damage.

πŸ”· Breadboards (x2)

Breadboard


Used for wiring components: - Breadboard 1: Sensors and servos - Breadboard 2: LCD and supporting components

πŸ”· Jumper Wires

Jumper Wires


For easy connections across components and Arduino.

πŸ› οΈ Hardware Summary

Component Quantity
Arduino UNO 1
PIR Motion Sensors 4
Servo Motors 2
16x2 LCD Display 1
Potentiometer 1
220Ξ© Resistor 1
Breadboards 2
Jumper Wires As needed
Power Source 1 (Battery or USB)

πŸ”Œ Pin Configuration

Component Arduino Pin
LCD (RS, E, D4–D7) 12, 11, 5, 4, 3, 2
PIR for Slot 1 Availability 7
PIR for Slot 2 Availability 8
PIR to Open Gate for Slot 1 13
PIR to Open Gate for Slot 2 6
Servo Motor for Slot 1 Gate 9
Servo Motor for Slot 2 Gate 10

🧠 How It Works

  • Slot Toggling Logic:

    • PIR at pin 7 toggles Slot 1 availability.
    • PIR at pin 8 toggles Slot 2 availability.
  • Servo Gate Control:

    • PIR at pin 13 opens Servo 1 gate.
    • PIR at pin 6 opens Servo 2 gate only if at least one slot is available.
  • LCD Display:

    • Displays:
      Slot 1: A / NA
      Slot 2: A / NA
      

πŸ“· Circuit Diagram (Simulation)

Smart Parking System Circuit Simulation

πŸ§ͺ Simulated and tested using Tinkercad or a similar simulation platform.
πŸ”— View the Tinkercad Simulation


πŸ§ͺ Breadboard Usage

  • Breadboard 1:

    • PIR sensors and servo motors.
  • Breadboard 2:

    • LCD, potentiometer, 220Ξ© resistor, and control pins.

πŸ’‘ Future Enhancements

  • Add buzzer/LED alerts for full capacity.
  • Integrate Wi-Fi or Bluetooth for app-based monitoring.
  • Expand to more slots using multiplexers or shift registers.

πŸ“„ License

This project is open-source for educational and non-commercial use.


Made with ❀️ using Arduino and real-world problem-solving by Saptarshi Bose.

About

πŸš— Smart Parking System using Arduino | Real-time slot detection with PIR sensors, automatic gate control using servos, and live status on LCD. Designed using two breadboards for efficient simulation and hardware implementation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages