Design and Implementation of a Single-Gate Parking Barrier Prototype using ESP32-CAM Based on the Internet of Things
DOI:
https://doi.org/10.59934/jaiea.v6i1.2604Keywords:
Computer Vision, ESP32-Cam, Internet of Things, License plate recognition, Smart CampusAbstract
The rapid proliferation of motorized vehicles within educational institutions necessitates robust parking management infrastructures to mitigate the unauthorized utilization of reserved spaces. This study proposes the design and implementation of an automated, Internet of Things (IoT)-based parking barrier prototype, employing an ESP32-CAM microcontroller as the core computing unit. The primary objective is to restrict facility access exclusively to authorized personnel by automating license plate identification and cross-referencing this telemetry with a cloud database. Unlike conventional edge-heavy systems, this architecture offloads Optical Character Recognition (OCR) processing to a cloud API to reduce thermal throttling and hardware latency on the ESP32-CAM. The methodology integrates an HY-SRF05 ultrasonic sensor for vehicle proximity detection, the ESP32-CAM for optical image acquisition, and a micro servo motor for barrier actuation. Upon detecting a vehicle within a 50 cm threshold, the system autonomously captures the license plate, processes the image via a cloud-based License Plate Recognition (LPR) API, and verifies the extracted string against a Firebase Realtime Database. Empirical testing demonstrated high system reliability; the ultrasonic sensor exhibited a spatial error margin of less than 2 cm, and the integrated IoT communication architecture achieved an operational latency of merely 2 to 3 seconds.
Downloads
References
M. A. Ala’anzy, A. Abilakim, R. Zhanuzak, and L. Li, ‘Real time smart parking system based on IoT and fog computing evaluated through a practical case study’, Sci. Rep., vol. 15, no. 1, p. 33483, Sep. 2025, doi: 10.1038/s41598-025-15507-6.
J. Yang, J. He, and X. Wang, ‘Design of Intelligent Parking System Based on Internet of Things and Cloud Platform’:, Int. J. Grid High Perform. Comput., vol. 15, no. 2, pp. 1–18, Jan. 2023, doi: 10.4018/IJGHPC.316836.
V. Knights, O. Petrovska, and M. Prchkovska, ‘Enhancing Smart Parking Management through Machine Learning and AI Integration in IoT Environments’, in Navigating the Internet of Things in the 22nd Century - Concepts, Applications, and Innovations, M. Usman Tariq, Ed., IntechOpen, 2024. doi: 10.5772/intechopen.1006490.
I. Yasmin, R. Rubab, M. Afzal, and J. Rusool, ‘AI-Driven Parking Management: ANPR-Based Entry & Biometric Gate Control’, Int. J. Innov. Sci. Technol., pp. 1437–1452, Jul. 2025, doi: 10.33411/ijist/20257314371452.
G. Pradhan, M. R. Prusty, V. S. Negi, and S. Chinara, ‘Advanced IoT-integrated parking systems with automated license plate recognition and payment management’, Sci. Rep., vol. 15, no. 1, p. 2388, Jan. 2025, doi: 10.1038/s41598-025-86441-w.
M. Li and L. Zhang, ‘Deep Learning-based License Plate Recognition in IoT Smart Parking Systems using YOLOv6 Algorithm’, Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 12, 2023, doi: 10.14569/IJACSA.2023.0141223.
M. M. Abdellatif, N. H. Elshabasy, A. E. Elashmawy, and M. AbdelRaheem, ‘A low cost IoT-based Arabic license plate recognition model for smart parking systems’, Ain Shams Eng. J., vol. 14, no. 6, p. 102178, Jun. 2023, doi: 10.1016/j.asej.2023.102178.
Y.-C. Yu, ‘Smart Parking System Based on Edge-Cloud-Dew Computing Architecture’, Electronics, vol. 12, no. 13, p. 2801, Jun. 2023, doi: 10.3390/electronics12132801.
C. N S and V. N D, ‘IoT-Enabled Parking Space Detection Using Ultrasonic Sensors’, World J. Adv. Res. Rev., vol. 7, no. 3, pp. 390–399, Sep. 2020, doi: 10.30574/wjarr.2020.7.3.0301.
M. Ebrahimishadman and A. Souri, ‘Edge-Optimized Automatic Number Plate Recognition for IoT-Based Smart Parking Using YOLOv8’, Comput. Mater. Contin., vol. 0, no. 0, pp. 1–10, 2026, doi: 10.32604/cmc.2026.084246.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








