Urbanization and the rapid growth of vehicle populations have led to severe parking space scarcity, traffic congestion, and increased security risks in public facilities. Conventional parking management often lacks real-time slot monitoring and fails to address active security threats. This study aims to design and implement a smart parking system prototype integrated with an area security architecture based on the Internet of Things (IoT) using the ESP32 microcontroller. Developed using the prototyping method, the system features state management utilizing ultrasonic sensors (HC-SR04) to monitor slot availability dynamically and control a servo motor barrier gate. Crucially, the system incorporates a conditional logic-based active security mechanism utilizing Passive Infrared (PIR) motion sensors. By leveraging asynchronous execution via BlynkTimer, the system transmits real-time status updates and intruder alerts to the Blynk IoT mobile/web dashboard only when motion is detected while the parking lot is full, effectively eliminating false alarms. The simulation and testing conducted on the Wokwi platform verified that all hardware components and logical workflows operated with high accuracy, low latency, and stable cloud synchronization, demonstrating a robust, efficient, and security-responsive smart parking solution.
Copyrights © 2026