Arduino and shift register

Schematic showing the connections in Proteus 8, of the 8 parking spots with the Shifter and the connections from the shifter to the Arduino UNO, and to the LCD.

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

  1. 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.
  2. 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.
  3. 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...).
  4. User-Friendly Design:

    • Compact, scalable, and easy to implement in real-world parking lots.
    • Minimal hardware requirements for efficient cost and power usage.


Schematic:

Schematic showing the connections in Proteus 8 of the 8 parking spots with the Shifter and the connections from the shifter to the Arduino UNO, and to the LCD.

Connections:

Connections of arduino UNO in Proteus 8 to the shifter and to the LCD






Code:


How It Works

  1. 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).
  2. 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.
  3. 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.
  4. System Refresh:

    • The system refreshes every 500 milliseconds, ensuring up-to-date information.

Applications

  1. Parking Management:
    • Ideal for monitoring parking lots in malls, offices, or residential complexes.
  2. Smart Cities:
    • Can be integrated into IoT systems for real-time parking availability tracking.
  3. Scalable Design:
    • Additional 74HC165 registers can be daisy-chained to monitor more parking spots.
Or just get the project from this link: 
https://drive.google.com/file/d/1fv0RsBjE6PtrPl0H1EH10LGr1X9X0lDe/view?usp=drive_link

Advantages

  1. Efficient Pin Usage:
    • Only 3 Arduino pins are required to manage 8 parking spots.
  2. Real-Time Updates:
    • Instant feedback on parking statuses displayed on the LCD.
  3. Scalability:
    • Can expand to handle more spots by adding additional shift registers.
  4. Cost-Effective:
    • Uses readily available and affordable components.
Discover how to create a smart parking lot with Arduino Uno through a range of easy Arduino Uno projects for beginners. Engage with exciting Arduino Uno projects that include code and delve into Arduino Uno Proteus 8 simulations with code to deepen your knowledge. Our extensive Arduino tutorials feature various useful Arduino projects, including Arduino UNO shift register projects and a comprehensive shift register Proteus tutorial. Each shift register project with code is crafted to enhance your understanding. Explore our Proteus 8 projects that showcase the latest Arduino projects and innovative microcontroller projects using Arduino. Whether you're searching for an Arduino final year project or looking to broaden your skills, we have the resources to help you on your learning journey!

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)

CanaKit Raspberry Pi 5 Starter Kit PRO - Turbine Black (128GB Edition) (8GB RAM)

Post a Comment

0 Comments