finalmini
finalmini
1. Car approaches entrance -> Entrance IR sensor detects car. Signal pins to Digital Pins (e.g., D2 for entrance, D3 for exit, D4-D6 for slot sensors) 4. Overall Functionality: Simulate cars entering and exiting the parking lot to ensure the system
2. System checks for available slots: Arduino to Servo Motor: updates correctly.
If slots available, barrier opens (servo motor activated). VCC to 5V Common Issues
If no slots available, barrier remains closed. GND to GND
Incorrect Display: Ensure the I2C address in the code matches your LCD module's address.
3. Car enters and parks in a slot -> Slot IR sensor detects car presence. Signal to PWM Pin (e.g., D9) Sensor Malfunction: Check the wiring and connections of each IR sensor.
4. System updates the available slots count. Servo Motor Issues: Ensure the servo motor is properly connected and powered.
5. Car approaches exit -> Exit IR sensor detects car.
6. Assembly Instructions
6. System updates the available slots count and closes barrier after car exits. 1. Connect the Arduino: Set up the Arduino on a stable surface and connect it to your computer via
the USB power cable.
4. Circuit Diagram 2. Connect the LCD and I2C Module: Follow the circuit diagram to connect the LCD to the Arduino
using the I2C module.
Connections 3. Connect the IR Sensors: Connect each IR sensor to the appropriate pins on the Arduino.
4. Connect the Servo Motor: Attach the servo motor to the designated PWM pin.
Arduino to I2C Module: 5. Power Up: Use the USB power cable to power the Arduino. Upload the code to the Arduino using
VCC to 5V the Arduino IDE.
GND to GND
7. Testing and Troubleshooting
SDA to A4
SCL to A5 1. Sensor Testing: Verify that each IR sensor is correctly detecting cars by monitoring the Serial
Monitor in the Arduino IDE.
Arduino to IR Sensors: 2. Servo Motor: Ensure the servo motor operates smoothly and raises the barrier when a car is
VCC to 5V detected.
GND to GND 3. Display: Check the LCD for correct slot availability display.
8. Conclusion
This Automatic Car Parking System simplifies the management of parking lots by automatically
detecting cars and updating slot availability. Using Arduino UNO, LCD display, IR sensors, and a
servo motor, the system offers an efficient and user-friendly solution for modern parking
management.