Fiverr gig
$15 — I will help you with your project and simulate it for you
Hire me
🌐 IoT Projects

Smart parking with Arduino

EmbedLab TeamJanuary 23, 20255 min read
Smart parking with Arduino

 

Project Description: Smart Parking Management System

This project implements a smart parking system capable of monitoring parking spots, controlling entry and exit gates using servo motors, and providing visual feedback using LEDs and an LCD. The system leverages the 74HC165 shift register to efficiently monitor the status of 4 parking spots while using minimal Arduino pins.


Key Features

  1. Real-Time Parking Monitoring:

    • Monitors up to 4 parking spots using sensors connected to a 74HC165 shift register.
    • Displays the status of parking spots on a 16x2 LCD:
      • X: Spot is occupied.
      • Y: Spot is free.
  2. Entry and Exit Control:

    • Entry IR Sensor: Detects incoming cars and opens the entry gate if a spot is free.
    • Exit IR Sensor: Detects outgoing cars and opens the exit gate.
  3. LED Feedback:

    • Green LED: Lights up when the gate opens for an incoming car.
    • Red LED: Lights up if the parking lot is full and the entry gate cannot open.
  4. Servo Motor Control:

    • Entry Gate Servo: Opens and closes the entry gate.
    • Exit Gate Servo: Opens and closes the exit gate.
  5. Efficient Resource Usage:

    • Uses a 74HC165 shift register to minimize the number of pins required to monitor parking spots.

Schematic

The connections of the arduino with the shifter, the servo motors, the leds and the ir sensors



System Workflow

  1. Parking Spot Monitoring:

    • Sensors connected to the shift register detect whether a spot is occupied.
    • The status of all spots is displayed on the 16x2 LCD.
  2. Entry Detection:

    • When a car is detected at the entry IR sensor:
      • If there’s at least one free spot:
        • The green LED turns on.
        • The entry gate servo opens for 500 ms, allowing the car to enter.
      • If all spots are full:
        • The red LED turns on for 500 ms, and the gate remains closed.
  3. Exit Detection:

    • When a car is detected at the exit IR sensor, the exit gate servo opens for 500 ms to allow the car to exit.
  4. Real-Time Display:

    • The LCD continuously displays the status of all parking spots.

Hardware connections

The first pins of the arduino with the shifter, the servo motors, the leds and the ir sensors


The second pins of the arduino with the shifter, the servo motors, the leds and the ir sensors


Software Explanation

  1. Initialization:

    • Initializes the LCD, servos, and shift register.
    • Configures the IR sensors and LEDs as inputs/outputs.
  2. Parking Spot Monitoring:

    • Reads the statuses of parking spots from the 74HC165 shift register.
    • Updates the spots[] array and calculates the number of free spots.
  3. Entry Control:

    • If the entry IR sensor detects a car:
      • The entry gate opens if there are free spots.
      • If all spots are full, the red LED turns on to signal a full parking lot.
  4. Exit Control:

    • If the exit IR sensor detects a car, the exit gate opens to allow the car to leave.
  5. LCD Update:

    • Continuously displays the statuses of all parking spots on the LCD.
  6. Shift Register Reading:

    • Reads data from the 74HC165 using clock pulses to determine the occupancy of parking spots.

Full Code


    Applications

    1. Smart Parking Lots:
      • Ideal for managing entry and exit gates in a parking facility.
    2. IoT Integration:
      • Can be expanded to send real-time parking data to an online platform.
    3. Scalable Parking Solutions:
      • Easily expandable to handle more parking spots using additional 74HC165 shift registers.
    Learn how to make a smart parking lot with Arduino Uno through various Arduino Uno easy projects for beginners. Discover engaging Arduino Uno projects with code and explore Arduino Uno Proteus 8 simulations with code to enhance your understanding. Our comprehensive Arduino tutorials cover a variety of Arduino useful projects, including Arduino UNO shift register projects and a detailed shift register Proteus tutorial. Each shift register project with code is designed to help you grasp the concepts better. Check out our Proteus 8 projects featuring the latest Arduino projects and innovative microcontroller projects using Arduino. Whether you’re looking for an Arduino final year project or simply want to expand your skills, we have resources to support your learning journey!
    ET

    EmbedLab Team

    Embedded systems engineer and educator. Writes weekly tutorials at EmbedLab to help beginners ship real hardware.

    Related projects

    Smart home project
    🌐 IoT Projects

    Smart home project

      Project Description This project is a smart environmental monitoring and parking system that integrates multiple sensors and components to perform the following tasks: Environmental Monitoring

    Jan 19 5 min
    Top 5 IoT projects with Arduino UNO and ESP32 — Blynk app, Wi-Fi and smart home
    🌐 IoT Projects

    Top 5 IoT Projects with Arduino UNO & ESP32 — Blynk, Wi-Fi & Smart Home Tutorials (2026)

    The top 5 IoT projects every Arduino UNO and ESP32 maker should build in 2026 — Blynk IoT control, Wi-Fi blink, ESP-WROOM-32 dev board guide, ESP32 Proteus 8 simulation and an Arduino smart home parking system. Each pick links to the full tutorial with free Arduino IDE code, library and wiring.

    May 30 8 min
    Blynk IoT app controlling Arduino UNO and ESP32 over Wi-Fi
    🌐 IoT Projects

    Blynk IoT with Arduino UNO & ESP32 — Free Arduino IDE, Library & App Tutorial

    Complete Blynk IoT tutorial for Arduino UNO and ESP32 Arduino: install the Arduino IDE, add the Blynk Arduino library, wire LEDs, LCD and sensors, and control everything from the Blynk app over Wi-Fi — a free, beginner-friendly Arduino IoT project.

    Nov 19 6 min
    Arduino UNO and ESP32 Blink IoT project with Blynk app
    🌐 IoT Projects

    Arduino UNO Blink IoT Guide — ESP32 Arduino, Blynk App & Arduino IDE Code

    Complete Arduino UNO Blink IoT guide using ESP32 Arduino and the Blynk app: free Arduino IDE code, Arduino library and LED wiring — the easiest Arduino IoT project for beginners to download and try online.

    Oct 27 9 min
    Remote control of 2 LED with Arduino.
    🌐 IoT Projects

    Remote control of 2 LED with Arduino.

      How to Control LEDs Using Blynk and Arduino Uno: A Complete Guide Controlling LEDs remotely using Blynk and an Arduino Uno is a simple yet powerful project for IoT (Internet of Things) enthusia

    Mar 31 4 min
    Browse all 50+ projects