IoT-Enabled Smart Parking System Using ESP32 for Automated Gate Control and Slot Availability Monitoring

Authors

  • Nurul Alhikma Ramadani Electrical Engineering, Universitas Negeri Makassar
  • Aura Arung Karabiy SSP Electrical Engineering, Universitas Negeri Makassar
  • Muh Yusuf Electrical Engineering, Universitas Negeri Makassar

Keywords:

smart parking, ESP32, ultrasonic sensing, occupancy tracking, embedded control

Abstract

Reliable parking information depends on the consistency between vehicle detection, gate actuation, and occupancy updates. This article presents an ESP32-based miniature parking system and examines the control logic documented in its project report. The prototype integrates two ultrasonic sensors, two servo-operated barriers, a 16 × 2 I2C display, and red and green indicators. Its firmware defines a five-vehicle capacity, a detection threshold below 5 cm, three distance samples per sensor, and a 3 s gate-open command. The source documentation reports successful vehicle detection, barrier operation, and local count display, but provides no repeated-trial dataset or timing measurements. Static analysis establishes that the counter is bounded by capacity checks, while exposing limitations not addressed by the functional demonstration. Occupancy changes before passage is confirmed, a stationary object can initiate repeated transactions, and invalid ultrasonic samples can bias the averaged distance. The entry-first decision structure also postpones exit handling when both requests qualify. These findings distinguish a functioning educational demonstrator from a validated parking installation. Although the platform is suitable for future network integration, the supplied firmware contains no internet communication implementation. A proposed improvement path combines event-based passage confirmation, nonblocking gate control, sample-validity handling, and traceable evaluation. The contribution is a reproducible description of the prototype and a code-grounded assessment of the conditions required for reliable occupancy tracking.

References

[1] T. Lin, H. Rivano, and F. Le Mouël, “A Survey of Smart Parking Solutions,” IEEE Transactions on Intelligent Transportation Systems, vol. 18, no. 12, pp. 3229–3253, 2017, doi: 10.1109/TITS.2017.2685143.

[2] A. Fahim, M. Hasan, and M. A. Chowdhury, “Smart parking systems: comprehensive review based on various aspects,” Heliyon, vol. 7, no. 5, e07050, 2021, doi: 10.1016/j.heliyon.2021.e07050.

[3] C. Biyik et al., “Smart Parking Systems: Reviewing the Literature, Architecture and Ways Forward,” Smart Cities, vol. 4, no. 2, pp. 623–642, 2021, doi: 10.3390/smartcities4020032.

[4] S. S. Channamallu, S. Kermanshachi, J. M. Rosenberger, and A. Pamidimukkala, “Smart parking systems: A comprehensive review of digitalization of parking services,” Green Energy and Intelligent Transportation, vol. 5, no. 1, 100293, 2026, doi: 10.1016/j.geits.2025.100293.

[5] Y. Geng and C. G. Cassandras, “New ‘Smart Parking’ System Based on Resource Allocation and Reservations,” IEEE Transactions on Intelligent Transportation Systems, vol. 14, no. 3, pp. 1129–1139, 2013, doi: 10.1109/TITS.2013.2252428.

[6] Arduino, “pulseIn,” Language Reference. https://docs.arduino.cc/language-reference/en/functions/advanced-io/pulseIn/. Accessed Sep. 14, 2026.

[7] ESP32Servo maintainers, “ESP32Servo: Arduino-compatible servo library for the ESP32.” https://github.com/madhephaestus/ESP32Servo. Accessed Sep. 14, 2026.

[8] Espressif Systems, “I2C,” Arduino-ESP32 documentation. https://docs.espressif.com/projects/arduino-esp32/en/latest/api/i2c.html. Accessed Sep. 14, 2026.

[9] A. Banks, E. Briggs, K. Borgendale, and R. Gupta, Eds., MQTT Version 5.0, OASIS Standard, Mar. 7, 2019. https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html.

Downloads

Published

2026-09-16