Smart Parking System

An Arduino Mega system that senses every parking bay with two sensors, sends drivers to the nearest free bay and opens the gate only for registered RFID cards. The prototype below runs the same C++ logic as the firmware, compiled to WebAssembly. Click a bay to park or remove a car, or tap a card at the gate.

Each bay has a ceiling ultrasonic sensor and an infrared sensor. The numbers in a bay are its latest readings (reddish when the two sensors disagree and the reading is ignored); a bay only changes after three agreeing readings.

Entrance display (16×2 LCD) FULL light
Serial log

Measured results

Every number comes from code in the repository. The search-time result is a simulation that replays real occupancy data; the sensor-noise rates are assumptions. Details below each section.

Search time with and without guidance

Sensor fusion

Firmware tested on a simulated Arduino

Data: Stolfi, D. (2017), "Parking Birmingham", UCI Machine Learning Repository (UK Open Government Licence), 30 car parks, Oct–Dec 2016. Code, tests and full method: github.com/m-shahmeer-kz/smart-parking-system.