Using a shift register 74HC595N with Arduino

In this simple project I’m going to use an 8-bit shift register 74HC595N to control 8 LEDs using only few pins of my Arduino Uno.

Description

In this project I’m using an 8-bit shift register to animate a short strip made of 8 colored LEDs.

The animation is the simplest possible: only one LED at a time is ON and the one which is ON moves back and forward

2 Comments

  1. Tom743

    Hi!
    I tried to do this, and it hasn’t worked. After watch other tutorials, I realized that the wiring in the fritzing picture is wrong, the pin 10 of the IC goes to +5v, not GND
    Greetings from Argentina!

    Reply
  2. Robert Spanjaard

    There’s an error in your article. According to your text and the Fritzing drawing, pin 10 of the shift register should be connected to GND. But in your photograph and video, it’s connected to +5V. I tried both, and +5V is what it should be. With 10 connected to GND the LEDs stay off. This makes sense because according to the datasheet pin 10 is a Master Reset, and the Reset is active when LOW. So when you ground pin 10, the register is constantly being reset.

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *