Close
0%
0%

Shift Register 74HC595 With Arduino Uno

Let's see how to use shift register with Arduino uno

Similar projects worth following
202 views
0 followers
The project describes how to use a shift register 74HC595 with Arduino Uno

About Project

A shift register chip gats data from the UNO board serially and provides output in an 8-bit parallel configuration.

To connect the shift register to Arduino UNO first we require to set any three pins of UNO as output. Then we require to attach the digital pin, clock pin as well as latch pin to these three output pins. After that, we require to tell the UNO which pin of the chip is attached to the UNO board pins.

Disable latch, this indicates the chip not to display output for now.

For eight times we will transfer data with clock serially, so clock high low-data-clock low- and so on.

Enable latch, which will indicate the chip to show eight-bit bit data.

  • 1 × Arduino uno board
  • 1 × connecting pins
  • 1 × Resistor 220 ohm
  • 1 × 74HC595 IC

  • 1
    Run a Program

    // The setup function runs once when you press reset or power the board

    volatile int i=0;

    void setup()

    {

    pinMode(2, OUTPUT); // sets the pin2 as output

    pinMode(1, OUTPUT); // sets the pin1 as output

    pinMode(0, OUTPUT); // sets the pin0 as output

    }

    void loop()

    {

    for (int i=0;i

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates