Real-Time Parking Space Detection and Management Using ESP32 and IR Technology
Keywords:
ESP32, Infrared sensors, IoT, Mobile application, Real-time detection, Smart parking managementAbstract
This paper proposes a comprehensive, real-time parking space detection and management system based on internet of things (IoT) technology. The system harnesses the advantages of low-cost infrared (IR) sensors paired with the versatile ESP32 microcontroller platform, which is endowed with built-in Wi-Fi communication capabilities. This integration facilitates real-time detection of vehicle presence in individual parking slots and seamless communication of parking availability status to users via a mobile application. The proposed system not only detects slot occupancy but also empowers users with reservation options and navigation assistance to their reserved spots, significantly enhancing the overall parking experience.
The use of IR sensors is especially advantageous due to their cost-effectiveness, ease of installation, and relatively stable performance under varying environmental conditions. Unlike ultrasonic or inductive loop sensors, IR sensors do not require intrusive pavement installation, reducing deployment complexity and cost. The ESP32 microcontroller’s flexibility allows for easy scalability and integration into existing Wi-Fi infrastructure, making the system suitable for diverse parking environments, from small-scale lots to expansive multi-level garages.
The mobile application interface acts as the user’s gateway to the system, providing real-time updates on parking availability, reservation functionality, and alerts on slot occupancy changes. This not only minimizes the time and fuel wasted in searching for parking but also contributes significantly to reducing urban air pollution and traffic congestion.
Extensive testing in a controlled environment demonstrates that the system achieves a high detection accuracy rate of approximately 98%, with communication latency below one second, confirming its suitability for real-time applications. User feedback indicates a high level of satisfaction regarding usability and responsiveness, suggesting strong potential for practical deployment.
The system’s modular and scalable architecture lays the foundation for future enhancements, including integration with secure digital payment systems, advanced analytics through machine learning to predict parking demand, and enhanced security through AI-driven surveillance technologies.
References
D. C. Shoup, “Cruising for parking,” Transport Policy, vol. 13, no. 6, pp. 479–486, Nov. 2006, doi: https://doi.org/10.1016/j.tranpol.2006.05.005
C. Badii, P. Bellini, A. Difino, and P. Nesi, “Sii-mobility: An IoT/IoE architecture to enhance smart city mobility and transportation services,” Sensors, vol. 19, no. 1, p. 1, Dec. 2018, doi: https://doi.org/10.3390/s19010001
S. I-Jy. Chien, Y. Ding, and C. Wei, “Dynamic bus arrival time prediction with artificial neural networks,” Journal of Transportation Engineering, vol. 128, no. 5, pp. 429–438, Sep. 2002, doi: https://doi.org/10.1061/(asce)0733-947x(2002)128:5(429)
Ahamed Musharaf, “Object detection using IR sensors and ESP32 microcontroller: A beginner’s guide’ | Medium, Medium, Jan. 22, 2023. Available: https://medium.com/@mtamusharaf/object-detection-using-ir-sensors-and-esp32-microcontroller-7fd0182b7a8d
B. Liu, H. Lai, S. Kan, and C. Chan, “Camera-based smart parking system using perspective transformation,” Smart Cities, vol. 6, no. 2, pp. 1167–1184, Apr. 2023, doi: https://doi.org/10.3390/smartcities6020056
S. -F. Lin, Y. -Y. Chen and S. -C. Liu, “A vision-based parking lot management system,” 2006 IEEE International Conference on Systems, Man and Cybernetics, Taipei, Taiwan, 2006, pp. 2897-2902, doi: https://doi.org/10.1109/ICSMC.2006.385314
Sai Pavan V N V, Nishanth N V, Kathirvelan J. “Automation of vehicular parking using loop detector with single lane traffic: A design approach,” International Journal of Engineering and Technology (IJET), vol. 5, no. 3, pp. 2471-2475, Jul. 2013, Available: https://www.researchgate.net/publication/283141443
Wan-Joo Park, Byung-Sung Kim, Dong-Eun Seo, Dong-Suk Kim, and Kwae-Hi Lee, “Parking space detection using ultrasonic sensor in parking assistance system,” 2008 IEEE Intelligent Vehicles Symposium, Eindhoven, Netherlands, 2008, pp. 1039-1044, doi: https://doi.org/10.1109/IVS.2008.4621296
J. Joseph, R. G. Patil, S. K. K. Narahari, Y. Didagi, J. Bapat, and D. Das, “Wireless sensor network based smart parking system,” Sensor & Transducer, pp. 1-6, Jan. 2014, Available: https://www.sensorsportal.com/HTML/DIGEST/december_2013/PDF_vol_160/P_1616.pdf
N. M. F. A. B. Azmi, and M. B. Ismail, “Smart parking system using IoT with ultrasonic sensor,” Journal of Engineering Technology, vol. 10, no. 1, pp. 93-97, 2022, Available: https://bmi.unikl.edu.my/wp-content/uploads/2022/11/93_97_Smart-Parking-System-Using-IoT-with-Ultrasonic-Sensor.pdf
H. S. Bedi, K. V. K. Raju, M. V. Sriram, H. Khoisnam, K. Jahnavi, and P Naga Sai, “Design and implementation of IoT-based smart parking system using NodeMCU ESP8266,” International Journal of Mechanical Engineering, vol. 7, s.no. 5, pp. 1-6, Apr. 2022, Available: https://kalaharijournals.com/resources/Special_Issue_April_01.pdf
G. Kalyani, K. K. Jyothi and M. Likhitha, “Smart parking system based on computer vision techniques,” International Journal for Research Trends and Innovation, vol. 8, no. 6, pp. 880-885, 2023, Available: https://www.ijrti.org/papers/IJRTI2306131.pdf
D. Soni and A. Makwana, “A survey on MQTT: A protocol of internet of things (IOT),” Available: https://www.researchgate.net/profile/Dipa-Soni/publication/316018571
Abdullah Alghoniemy, J. Susko, D. Kahle, L. Saunders, Prajakta Belsare, and Samy El-Tawab, “Real-time cloud-based data analysis using machine learning for smart parking,” 2024 International Conference on Computer and Applications (ICCA), Cairo, Egypt, pp. 1–7, Dec. 2024, doi: https://doi.org/10.1109/icca62237.2024.10927858
W. Zong and Q. Chen, “A robust method for detecting parking areas in both indoor and outdoor environments,” Sensors, vol. 18, no. 6, pp. 1903–1903, Jun. 2018, doi: https://doi.org/10.3390/s18061903