The number of vehicles in crowded cities is increasing rapidly, making it a daily challenge for drivers to find a parking space. Instead of going directly to a free spot, drivers often keep moving around the parking area until they find one, which wastes fuel, adds to congestion, and increases carbon emissions. Although many IoT-based smart parking systems have been proposed in recent years, most of them rely on single-sensor setups and do not provide a reliable way to check whether a sensor is working properly or has failed. In this paper, we present a smart parking system built on a two-tier IoT architecture to improve reliability. VL53L0X Time-of-Flight sensors, connected with ESP32 microcontrollers, are used to detect vehicle presence in each parking slot and send the data through MQTT to a central Raspberry Pi. At the same time, the Raspberry Pi runs an OpenCV-based Automatic Number Plate Recognition (ANPR) module using a CCTV camera feed. This camera setup performs two tasks: it monitors vehicles entering and exiting the parking area, and it also helps verify sensor data to identify faulty or stuck sensors. A mobile application is provided to show drivers real-time availability of parking slots. After reviewing nine recent research papers in this domain, we observed that none of them used ToF sensors for slot detection, and none included a proper hardware fault-detection mechanism. The proposed system attempts to address both of these limitations.
Introduction
The text describes the growing problem of finding parking in crowded urban areas and proposes an IoT-based smart parking system to improve efficiency and reliability. In many cities, drivers waste time searching for empty parking spots because parking facilities still rely on manual management and do not provide real-time space availability. Studies show a significant portion of urban traffic is caused by vehicles looking for parking, highlighting the need for smarter solutions.
To address this, the proposed system uses a smart architecture with VL53L0X Time-of-Flight (ToF) sensors installed at each parking slot to accurately detect vehicle presence. Each slot is connected to an ESP32 microcontroller that sends real-time data via MQTT to a central Raspberry Pi server. The Raspberry Pi processes the data and provides access through a mobile application and REST APIs. Additionally, an OpenCV-based Automatic Number Plate Recognition (ANPR) system is used at entry and exit points to track vehicles and verify sensor data, improving system accuracy and detecting faults.
The literature review shows that most existing smart parking systems rely on sensors like ultrasonic or infrared sensors and often lack reliability checks or backup validation methods. Many systems also do not provide full real-time remote access or cross-verification of data. The proposed system improves on these limitations by introducing ToF sensors, ANPR-based validation, and fault detection mechanisms.
Conclusion
This paper described the design of an IoT-based smart parking system that tries to go beyond what most existing systems currently offer. The two main problems it targets are inaccurate slot detection caused by sensor limitations and the complete lack of fault detection in current designs.
The proposed system replaces ultrasonic and infrared sensors with VL53L0X Time-of-Flight sensors. These sensors are not thrown off by temperature changes in the air or bright outdoor light, which makes them a better match for real parking environments. The two-tier setup, with ESP32 nodes at each zone feeding into a central Raspberry Pi, keeps the system practical and easy to grow as a parking facility expands.
What sets this work apart from the nine systems reviewed is the use of an ANPR camera not just for identifying vehicles, but as a way to check whether the sensors are still working correctly. By comparing the camera\'s vehicle count with the sensor occupancy data, the system can catch faults that would otherwise go unnoticed and make sure drivers are not sent to a slot that is already taken.
References
[1] A. Fahim, M. Hasan, and M. A. Chowdhury, \"Smart Parking Systems: Comprehensive Review Based on Various Aspects,\" Heliyon, vol. 7, no. 5, p. e07050, 2021. [Online]. Available: https://doi.org/10.1016/j.heliyon.2021.e07050
[2] A. Khanna and R. Anand, \"IoT based smart parking system,\" in Proc. Int. Conf. Internet of Things and Applications (IOTA), IEEE, 2016, pp. 266–270. [Online]. Available: https://doi.org/10.1109/IOTA.2016.7562735
[3] J. J. Singh, N. N. Ravi, and P. S. Krishnan, \"IoT based Parking Sensor Network for Smart Campus,\" Int. J. Eng. Technol., vol. 7, no. 4.35, pp. 26–34, 2018.
[4] M. M. S. Ismail, M. Jusoh, T. Sabapathy, M. N. Osman, H. A. Rahim, M. N. M. Yasin, and A. F. M. Fazilah, \"IoT Based Smart Parking System,\" J. Phys.: Conf. Ser., vol. 1424, no. 1, p. 012021, 2019. [Online]. Available: https://doi.org/10.1088/1742-6596/1424/1/012021
[5] S. Y. C. Hong, C. C. Kang, J. D. Tan, and M. Ariannejad, \"Smart Parking System Using IoT Sensors,\" J. Eng. Technol. Appl. Phys., vol. 5, no. 1, pp. 63–69, 2023. [Online]. Available: https://doi.org/10.33093/jetap.2023.5.1.7
[6] V. Shahu, S. Padole, S. Mahajan, P. Tiple, R. C. Iyer, and V. G. Girhepunje, \"Smart Parking Slot Management System Using IoT,\" Int. J. Sci. Res. Eng. Manag. (IJSREM), 2024. [Online]. Available: https://doi.org/10.55041/IJSREM29994
[7] M. A. K. Muzhafar, M. N. Osman, N. A. Othman, and K. A. Sedek, \"IoT based Car Parking Management System using IR Sensor,\" J. Comput. Res. Innov., vol. 5, no. 2, pp. 75–84, 2020. [Online]. Available: https://doi.org/10.24191/jcrinn.v5i2.151
[8] J. A. Abdulsaheb, R. M. Nafea, W. A. M. Al-Jawher, and M. L. Hayyawi, \"IoT Based Smart Parking System,\" J. Port Sci. Res., vol. 7, no. 3, p. 1, 2024. [Online]. Available: https://doi.org/10.36371/port.2024.3.1
[9] S. Agnihotri, A. Kumar, G. Singh, P. Dixit, S. Ahmad, and S. Chaurasia, \"IOT Based Smart Parking System,\" Int. J. Res. Appl. Sci. Eng. Technol. (IJRASET), vol. 12, no. V, 2024. [Online]. Available: https://doi.org/10.22214/ijraset.2024.61888
[10] G. C. Sanchez and J. A. Chavez, \"A Low-Cost Occupancy Control Solution Using a Time-of-Flight Ranging Sensor Laser,\" CEUR Workshop Proceedings, 2022. [Online]. Available: https://ceur-ws.org/Vol-3059/
[11] K. Kumawat, A. Jain, and N. Tiwari, \"Relevance of Automatic Number Plate Recognition Systems in Vehicle Theft Detection,\" Engineering Proceedings, vol. 59, no. 1, p. 185, Jan. 2024. [Online]. Available: https://doi.org/10.3390/engproc2023059185
[12] Y. Allbadi, J. N. Shehab, and M. M. Jasim, \"The Smart Parking System Using Ultrasonic Control Sensors,\" IOP Conf. Ser.: Mater. Sci. Eng., vol. 1076, no. 1, p. 012064, 2021. [Online]. Available: https://doi.org/10.1088/1757-899X/1076/1/012064
[13] A. A. Mamun, A. Hasib, A. S. M. Mussa, R. Hossen, and A. Rahman, \"IoT-Enabled Smart Car Parking System through Integrated Sensors and Mobile Applications,\" arXiv preprint arXiv:2412.10774, 2024. [Online]. Available: https://arxiv.org/abs/2412.10774
[14] S. Jaloudi, \"MQTT for IoT-based Applications in Smart Cities,\" Palestinian Journal of Technology and Applied Sciences (PJTAS), no. 2, pp. 1–13, 2019. [Online]. Available: https://journals.qou.edu/index.php/PJTAS/article/view/1550
[15] STMicroelectronics, \"VL53L0X Time-of-Flight Ranging Sensor Datasheet,\" STMicroelectronics, 2020. [Online]. Available: https://www.st.com/resource/en/datasheet/vl53l0x.pdf
[16] P. Ajmera, \"A Review Paper on Infrared Sensor,\" Int. J. Eng. Res. Technol. (IJERT), vol. 5, no. 23, 2018. [Online]. Available: https://www.ijert.org/a-review-paper-on-infrared-sensor
[17] A. Carullo and M. Parvis, \"An Ultrasonic Sensor for Distance Measurement in Automotive Applications,\" IEEE Sensors Journal, vol. 1, no. 2, pp. 143–147, Aug. 2001. doi: 10.1109/JSEN.2001.936931.