Building an Arduino-based Car Parking System
Introduction to the Car Parking System Project
Overview of the Project
- The project is introduced as a "Car Parking System," with a previous video available for reference.
- The current video presents modifications made to the original system, starting with a simulation demonstration.
Simulation Setup
- The simulation utilizes Proteus 8 software, featuring an 'Arduino UNO', '20x4 LCD', and an 'I2C MODULE' for LCD control.
- Two 'IR SENSORS' are implemented alongside a 'SERVO MOTOR' that operates the parking barrier based on car presence.
Functionality of the Parking System
Slot Management
- Six parking slots are monitored by IR sensors; filled slots display "fill" while empty ones show "empty" on the LCD.
- When a car approaches, the barrier opens; it closes once the car passes in front of the back sensor.
Real-Time Updates
- As cars park, their respective slots update on the LCD. For example, if slot 5 is occupied, it shows "fill", reducing available slots accordingly.
- After parking six cars, if another car arrives, it displays "Sorry Parking Full" and does not open the barrier.
Removing Cars from Slots
Sensor Interaction
- When a parked car leaves, its corresponding IR sensor resets to indicate availability.
- The system allows for multiple cars to exit sequentially while updating slot statuses dynamically.
Circuit Diagram Overview
Hardware Components
- A circuit diagram is presented showing connections including a power source and components like Arduino UNO and I2C module.
- Each component's role is explained: power supply for sensors and motors, along with their integration into the overall system design.
Code Explanation
Libraries and Initialization
- Various libraries are called in code: servo motor library, wire library for I2C communication, and LiquidCrystal_I2C for LCD management.
- Pins are initialized for each IR sensor corresponding to different slots as well as entrance/exit sensors.
Main Logic Flow
- In
void setup(), serial communication is established at 9600 baud rate; pins are set up in INPUT mode for sensors.
- The main loop continuously checks sensor states and updates slot availability displayed on the LCD based on real-time data from IR sensors.
Final Steps in Code Execution
Closing Mechanism
- After both entrance and back sensors detect passage of a vehicle, flags reset allowing new entries or exits without interference.
This structured summary captures key elements from your transcript while adhering strictly to your formatting guidelines.
Turn any video into a summary like this
YouTube links, meetings, lectures. With transcripts, search, and chat.