Skip to the content
2 layers128.5 × 112 mmSmart parking System, the printed circuit board in 3D

Conventional parking lots give drivers no live information about availability — you enter, search, and often find the lot full only after wasting time and fuel.

Size
128.5 × 112 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
31
Pads
55
Tracks, vias
69, 1
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
19 Jun 2026
Updated
26 Jun 2026

Overview

Smart parking System is an open-source printed circuit board by ahmed-salama7, from the ahmed-salama7/Smart-parking-System repository on GitHub. It is a 2-layer board of 128.5 × 112 mm with 8 parts on 31 nets, routed with 69 tracks and 1 via.

It is built around the ARDUINO UNO R3. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Smart Parking System

An automated parking-management prototype that detects vehicles with FC-51 IR sensors at the entrance and exit and controls access through a servo gate, driven by a finite-state-machine firmware on an Arduino Uno. Live occupancy is shown on an LCD with traffic-light feedback.

Smart Parking System — real build


Problem

Conventional parking lots give drivers no live information about availability — you enter, search, and often find the lot full only after wasting time and fuel. This project demonstrates an automated, low-cost alternative: a system that tracks occupancy in real time, controls access automatically, and shows drivers the number of free spaces at a glance.


How It Works

  • Two FC-51 IR sensors detect vehicles at the entrance and the exit (active-LOW digital output — LOW when a car breaks the beam).
  • The system counts cars in and out against a 4-space capacity — it tracks total occupancy rather than sensing each individual bay.
  • A finite state machine in firmware manages the full gate cycle: idle → car detected → check capacity → open → pass-through → close.
  • An SG90 servo drives the entry/exit barrier (0° closed, 90° open).
  • A 16×2 I²C LCD displays live status — free-slot count and OPEN / FULL.
  • A traffic-light LED module gives instant visual feedback (green = enter, yellow = gate moving, red = full).

System schematic System schematic, designed in KiCad.


Key Components

  • Microcontroller: Arduino Uno R3 (ATmega328P)
  • Sensors: FC-51 IR obstacle sensors ×2 (entrance + exit)
  • Actuator: TowerPro SG90 micro servo (gate barrier)
  • Display: 16×2 character LCD with PCF8574 I²C backpack
  • Indicators: Traffic-light LED module (R/Y/G)
  • Custom PCB: carrier shield designed in KiCad (see /hardware)

Full bill of materials: docs/SmartParking_BOM.xlsx. Engineering write-up: docs/DESIGN_NOTES.md.


Hardware Design

A custom carrier PCB was designed in KiCad to move the project off breadboard wiring. The full project files (schematic, board, and project) are in /hardware.

PCB layout Custom PCB layout (KiCad).


Engineering Notes — From Simulation to Hardware

The control logic was first validated in a Wokwi simulation, then ported to the physical board. That port was the most instructive part of the build:

  • Different sensors in simulation vs hardware. Wokwi doesn't provide the FC-51 IR module, so the simulation uses HC-SR04 ultrasonic sensors while the real board (firmware/arduino_smart_parking_system_fc51.ino) uses FC-51 IR. The two detect vehicles differently as a result: the simulation reads an ultrasonic distance and compares it against a threshold, whereas the real board reads the FC-51's digital beam-break output directly.
  • Debouncing the IR input. A raw IR module can blip on ambient light or a passing hand, so the firmware only accepts a vehicle after several consecutive "detected" reads — rejecting single-frame false triggers.
  • A gate safety timeout. If a vehicle stalls in the beam or a sensor sticks on, the gate force-closes after a fixed timeout instead of hanging open and freezing the whole system.

The System in Action

The physical prototype running a complete parking cycle — from an empty lot, through vehicles entering, to a full lot denying access:

Lot emptyFirst car approachingGate opening
Lot empty — 4 slots free, gate downFirst car approachesGate opens — "Car entering..."
Slot decrementLot fullAccess denied
Slot count drops as cars are admittedLot full — 0 spaces availableAccess denied — "No Space Left", red light

Simulation

The full control logic was validated in a Wokwi simulation before hardware testing (sensor difference explained in Engineering Notes above).

Simulation wiring Wokwi simulation wiring (uses HC-SR04 in place of the FC-51 modules).

Simulation demo

▶️ Watch the full simulation video


Repository Structure

text
Smart-parking-System/
├── firmware/
│   └── arduino_smart_parking_system_fc51.ino   Real board (FC-51 IR)
├── hardware/
│   ├── Smart Parking System.kicad_sch          KiCad schematic
│   ├── Smart Parking System.kicad_pcb          KiCad board layout
│   ├── Smart Parking System.kicad_pro          KiCad project
│   ├── schematic.png                           Schematic export
│   └── PCB layout.png                          PCB layout export
├── docs/
│   ├── DESIGN_NOTES.md                         Engineering write-up
│   └── SmartParking_BOM.xlsx                    Bill of materials
├── media/                                      Real-build photos, sim video/GIF
└── README.md

Status

Working hardware prototype, 2026.

Parts

8
QtyValueFootprintReferences
2Conn_01x03_PinConnector:FanPinHeader_1x03_P2.54mm_VerticalEntrance_Sensor_Connector1, Exit_Sensor_Connector1
2Conn_01x04_PinConnector:FanPinHeader_1x04_P2.54mm_VerticalLCD_Panel_Connector1, Traaffic_Light_Connector1
1Arduino_UNO_R3Module:Arduino_UNO_R3A1
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1CCapacitor_SMD:C_Elec_3x5.4C1
1Motor_ServoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalM1

Similar boards

  • 2 layers68.8 × 53.6 mmRelatively Universal ROM Programmer, the printed circuit board in 3D

    Relatively Universal ROM Programmer

    AndersBNielsen/Relatively-Universal-ROM-Programmer

    Hardware to program W27C512 EEPROM or any 24/28/32 pin ROM requiring from 5V to 27V programming voltage.

    149 parts257GPL-3.0
  • 2 layers69.1 × 53.8 mmMotor controller, the printed circuit board in 3D

    Motor controller

    AlanFord/self-balancing-stick

    Dual Axis Reaction Wheel Inverted Pendulum

    25 parts79MIT
  • 2 layers68.6 × 53.3 mmProtogasm Board V2, the printed circuit board in 3D

    Protogasm Board V2

    Edging-Machines/Edging-Machines

    This repository is intended to contain as much information as possible about building, designing, prototyping, and using automated edging machines.

    14 parts67MIT
  • 2 layers53.8 × 69.6 mmEVSE V2 2, the printed circuit board in 3D

    EVSE V2 2

    PedroCNeves/AC_ChargingStation

    A learning project to create an EV AC Charging station based on an Arduino Uno

    32 parts50
  • 2 layers113.7 × 61 mmArduTester SMD, the printed circuit board in 3D

    ArduTester SMD

    jonsag/arduTester

    An arduino component tester based on https://create.arduino.cc/projecthub/plouc68000/ardutester-v1-13-the-arduino-uno-transistor-tester-dbafb4

    17 parts14
  • 4 layers65.9 × 52.9 mmMotor shield, the printed circuit board in 3D

    Motor shield

    DCC-EX/EX-MotorShield8874

    Design files for the open source 5A Motor Shield

    114 parts12
  • 4 layers68.6 × 53.3 mm101 PCB, the printed circuit board in 3D

    101 PCB

    ICRS/101

    The all-new open source Robotics 101 course from ICRS. It's specifically designed to be run in hackspaces, after school clubs and university societies.

    89 parts10CC-BY-4.0
  • 2 layers53.3 × 68.3 mmAnac 2040, the printed circuit board in 3D

    Anac 2040

    rallekralle11/Anna2040

    RP2040-based board in the shape of the Arduino uno

    63 parts9

Questions

How big is the Smart parking System PCB?

It measures 128.5 × 112 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Smart parking System use?

8 parts, built around the ARDUINO UNO R3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Smart parking System KiCad files?

From the ahmed-salama7/Smart-parking-System repository on GitHub, at the commit this page was made from: the board is hardware/Smart Parking System.kicad_pcb and its schematic hardware/Smart Parking System.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Smart parking System design in my own project?

Its repository states no licence, so its author keeps all rights: ask ahmed-salama7 before reusing the design.