This project, titled "Smart Auto Parking Gate, " integrates ultrasonic distance sensing, automated LED indicators, an OLED display, and servo motor control to simulate a modern parking gate system. Using an ultrasonic sensor, the setup accurately detects approaching vehicles and measures their distance. Based on proximity, LEDs provide visual guidance, while a stepper motor mimics gate movement, opening or closing as needed. Real-time distance information is displayed on an OLED screen for easy monitoring. This compact, efficient, and versatile system demonstrates the principles of automation and sensor-driven actions, offering insights into smart infrastructure and potential applications in parking management systems.INTRODUCTION:-
SETUP:-HARDWARE SETUP:-STEP 1: Place raspberry pi pico on pico breadboard.
STEP 2: Connect the Raspberry pi pico to the PC using Micro-A USB.
STEP 3: Identify the GPIO Pins and connect with LED Pin, B.
STEP 4: Identify VCC, TRIG, ECHO and GND Pin in ultrasonic sensor and connect
with pico.
STEP 5: identify SDA, SCK, VCC and GND Pin in oled display and connect with pico.
STEP 6: identify VCC(red wire), GND(brown wire) and GPIO PWM(orange wire)
And connect with pico.
STEP 1 : Firmware Setup:-
To develop the firmware for the above setup, follow the given steps:
- Connect the Raspberry pi pico to the PC using Micro-A USB.
- Download and install Thonny IDE from the official site.
- Ensure that you have installed Boot the firmware.If not then follow the procedure attached in the given link.
STEP 2 : SELECT “Micropython ( Raspberry Pi Pico) Board CDC@ COM8
STEP 3: Create “ssd1306.py” file and save it in raspberry pi pico.
STEP 4 : Create “main.py” file and save it in raspberry pi pico.
After writing Code in Thonny click on the green button to run the code.
Working link - smart_parking.mp4
Comments
Please log in or sign up to comment.