How wiggle22/parking_lot_system works
Project Type and Purpose
• The project is a hybrid full-stack system with a strong embedded/hardware component. It integrates an Arduino-based hardware layer (using Arduino Mega 2560, ESP32, IR sensors, servo motors, RFID, and LCD) for real-time parking spot detection and management with a Django web application for user-facing functionalities (reservation, status checking, and administrative controls).
• Technologies include C (for Arduino programming), Python/Django (using an MVT design pattern for the web app), and Node.js (possibly for additional server-side interactions).
File Structure
• The top-level directories – “desktopapp”, “django”, and “nodejs” – indicate separate components. The “django” directory is extensive and contains several Django apps:
• Main project components (VehicleParking, projectApp, api, signup, and vnpay) which clearly segregate different functionalities such as account management, API endpoints, payment (vnpay), and the main business logic.
• Standard Django directories such as “migrations”, “templates”, “static”, and “urls” emphasize a well-organized MVT architecture.
• The “desktopapp” directory (with app.py) may represent a support tool or an administrative desktop application.
• The “nodejs” directory suggests an additional server-side functionality (perhaps for real-time updates, notifications, or socket connections).
Examining the README
• The README describes how the hardware interacts with the software. It highlights that the embedded system (Arduino Mega 2560) communicates via UART with the Django-based web application. It also explains that sensor data is continually updated on the website.
• Detailed hardware components include IR sensors, servo-controlled barriers, RFID for access control, and an LCD for direct user display.
• The website is designed for real-time parking availability, reservations, and multi-tiered user management (admin, lot owner, customer). It clearly follows the MVT pattern typical of Django.