
Smart API-Based Automated Parking System
Project Overview
This project is a compact, affordable smart parking system using ESP32-CAM for QR code scanning and a second ESP32 for gate and LED control. Vehicles are identified by scanning QR codes placed on them, triggering a backend to assign a slot based on vehicle type (car/bike/truck), log entry time, and control physical access. The Node.js + SQLite backend manages vehicle data, parking sessions, and pricing. A web dashboard displays the live camera feed, 3×3 slot occupancy, and fee logs. The system supports automatic gate control via servo or relay, LED indicators per slot, and real-time billing, offering a complete, touchless, and browser-accessible parking experience.
Technical Implementation
1) QR scanning via ESP32-CAM or browser detects vehicle ID from QR code. 2) Node.js + SQLite backend assigns slot based on vehicle type, logs time, and calculates fees. 3) Second ESP32 controls gate (servo/relay) and LED indicators via HTTP. 4) Web dashboard shows live camera, 3×3 grid, logs, and pricing. 5) Exit scan computes fee; 30s cooldown prevents duplicate scans.