A simulation project for a Smart Parking System integrating Mobile App, ESP32 microcontroller, and Firebase Realtime Database to optimize parking space management.
The Smart Parking System aims to address urban parking challenges by providing real-time updates on parking slot availability. Using ESP32 and ultrasonic sensors, the system dynamically updates a Firebase Realtime Database, which communicates with a mobile app to notify users of parking availability and automate gate operations.
- Real-Time Slot Availability:
- Displays the availability of parking slots through a mobile app interface.
- Automated Gate Operation:
- Opens only when a slot is available.
- Prevents entry when the parking is full.
- Ultrasonic-Based Detection:
- Detects vehicle presence in parking slots and updates the system.
- Firebase Integration:
- Ensures live synchronization between the parking lot hardware and the mobile app.
- Mobile App GUI:
- Provides an intuitive interface for users to view parking slot statuses.
The system comprises three key components:
- IoT Hardware:
- ESP32 microcontroller for communication and control.
- Ultrasonic sensors for detecting parking slot occupancy.
- Servo motor for gate automation.
- Backend:
- Firebase Realtime Database to store and manage parking data.
- Frontend:
- Mobile application built with Java, integrated with Firebase to display real-time data.
- ESP32 Microcontroller
- Ultrasonic Sensors
- Servo Motor
- Jumper Wires
- Power Supply
- Language: Java
- Database: Firebase Realtime Database
- IDE: Android Studio
- Arduino IDE for programming the ESP32
- Firebase Console for managing the database
- Android Studio for mobile app development
- Slot Availability Check:
- Ultrasonic sensors detect the presence or absence of vehicles in parking slots.
- Data is sent to the ESP32 microcontroller, which updates Firebase.
- Gate Automation:
- If a slot is available, the gate opens automatically upon vehicle detection at the entry.
- If no slots are available, the gate remains closed, and a notification is displayed.
- Mobile App Updates:
- Firebase pushes real-time data to the mobile app.
- The app GUI updates to show the current parking slot status.
- Dynamic Parking Slot Management:
- When a vehicle parks in a slot, the system marks it as occupied, updating both the database and the app.
- Payment Integration:
- Add automated billing and payment for parking.
- Advanced Sensors:
- Upgrade to image-based sensors for enhanced accuracy.
- Navigation Assistance:
- Provide directions to the nearest available slot.
- Scalability:
- Expand the system to manage multi-level parking lots.
This project was collaboratively developed by the following team members:
- [Lakmal]SEU_IS_18_ICT_026
- [Sandun]SEU_IS_18_ICT_004
- [Muditha]SEU_IS_18_ICT_69
- [Kavindu]SEU_IS_18_ICT_068
We welcome contributions to enhance the Smart Parking System. To contribute:
- Fork the repository.
- Create a new branch for your feature or fix.
- Commit your changes and push them to your fork.
- Submit a pull request with a detailed explanation.
Thank you for exploring the Smart Parking System project. For any queries or feedback, feel free to open an issue or contact us.