list of products from Amazon (Not mine, i just link them!) Scroll Down For Article! Note: Elegoo boards are not Arduino, but they are compatible with Arduino IDE and are mutch more affordable!
Project Description
This Arduino project with code is a smart parking status display system designed to monitor and show the availability of parking spots in real-time. It leverages a 74HC165 shift register to read the statuses of multiple parking spots using minimal Arduino pins and displays the results on a 16x2 LCD screen.
Key Features
Real-Time Parking Spot Monitoring:
- The system can monitor up to 8 parking spots using switches, sensors, or buttons connected to the 74HC165 shift register.
- Each spot’s availability is represented as either:
X
: Occupied.Y
: Available.
Efficient Pin Usage:
- The 74HC165 shift register reads the states of 8 parking spots using only 3 Arduino pins for control and communication:
- SH/LD: Shift/Load Control.
- CLK: Clock Signal.
- SO: Serial Output.
- The 74HC165 shift register reads the states of 8 parking spots using only 3 Arduino pins for control and communication:
Visual Feedback:
- A 16x2 LCD displays the parking statuses:
- Row 1: Labels the parking spots (
1|2|3|4|5|6|7|8
). - Row 2: Shows real-time statuses (
X|Y|X|Y...
).
- Row 1: Labels the parking spots (
- A 16x2 LCD displays the parking statuses:
User-Friendly Design:
- Compact, scalable, and easy to implement in real-world parking lots.
- Minimal hardware requirements for efficient cost and power usage.
Schematic:
Connections:
Code:
How It Works
Parking Spot Detection:
- Each parking spot is connected to a parallel input pin (D0-D7) on the 74HC165 shift register.
- The sensors or switches indicate whether a spot is occupied (
HIGH
) or free (LOW
).
Data Processing:
- The 74HC165 converts the parallel data from the parking spots into serialized data.
- The serialized data is sent to the Arduino via the SO pin.
Data Display:
- The Arduino decodes the data and updates the 16x2 LCD.
- The first row shows the spot labels, and the second row shows the availability status of each spot.
System Refresh:
- The system refreshes every 500 milliseconds, ensuring up-to-date information.
Applications
- Parking Management:
- Ideal for monitoring parking lots in malls, offices, or residential complexes.
- Smart Cities:
- Can be integrated into IoT systems for real-time parking availability tracking.
- Scalable Design:
- Additional 74HC165 registers can be daisy-chained to monitor more parking spots.
Advantages
- Efficient Pin Usage:
- Only 3 Arduino pins are required to manage 8 parking spots.
- Real-Time Updates:
- Instant feedback on parking statuses displayed on the LCD.
- Scalability:
- Can expand to handle more spots by adding additional shift registers.
- Cost-Effective:
- Uses readily available and affordable components.
list of products from Amazon (Not mine, i just link them!)
Please NOTE that ELEGOO is not Arduino but it is compatible with Arduino IDE, and mutch cheaper!
CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)
0 Comments