Skip to main content
Version: FILS English

Smart Parking Lot

A smart system to monitor parking spaces and manage parking time for billing purposes.

info

Author: Zeinalabdin ISSA
GitHub Project Link: https://github.com/UPB-PMRust-Students/project-zein409

Description

The Smart Parking Lot project automates parking spot allocation using sensors and tracks the time a car is parked for billing. The system provides real-time parking availability and uses a web interface for monitoring.

Motivation

I chose this project to address the need for efficient parking management in crowded urban environments. The goal is to optimize parking space usage and provide real-time data to drivers.

Architecture

Schematic Diagram

Architecture Diagram

The architecture of the Smart Parking Lot system includes the following main components:

  • Parking Sensors: Detect free parking spaces.
  • Microcontroller (Raspberry Pi Pico W): Collects data from sensors and processes the information.
  • Web Interface: Displays real-time parking availability and billing info.
  • Database: Stores parking data such as time parked and billing information.

How they connect:

  • The Raspberry Pi Pico W communicates with the parking sensors to detect free or occupied spots.
  • The microcontroller sends the data to the web interface, allowing users to view available spots.
  • The system tracks parking time and calculates the bill based on the time spent.

Log

Week 5 - 11 May

  • Started the project and gathered the necessary components.

Week 12 - 18 May

  • I started making the hardware work and figuring out how to put all the componets together and make them work perfectly with each other.

Week 19 - 25 May

Hardware

  • Raspberry Pi Pico W
  • HC-SR04 Ultrasonic Sensor
  • 1602 LCD Display
  • SG90 Servo Motor
  • LEDs and resistors

Schematics

KiSchematic Diagram

Bill of Materials

DeviceUsagePrice
Raspberry Pi Pico 2WThe microcontroller39 RON
Ultrasonic SensorsUsed for cars detection6.45x2 RON
ServoMotorOpens the gate for the cars11.99x2 RON
LEDsLights up on detection0.39x4 RON
LCD 1602Shows results on screen16.34 RON

Software

Libraries

LibraryDescriptionUsage
st7789Display driver for ST7789Used for the display for the Pico Explorer Base
embedded-graphics2D graphics libraryUsed for drawing to the display