74HC595 Shift Register Tutorial | Arduino 7segment

Understand the 74HC595 working, its application of adding infinite GPIO pins to your projects. This is pretty cool huh?

Public Chat
Similar projects worth following

  • 1

    Hey, what's up, Guys! Akarsh here from CETech.

    Have you ever been stuck in between of any project because of a limited number of GPIO pins on your microcontroller? This is a very annoying and frustrating situation and can come up as an obstacle in your project development. But don't worry as we have the answer to your problem which is the 74HC595 Shift register IC. A single 74HC595 IC can be used to provide outputs to 8 different points apart from that we can also connect a number of these ICs and use them to control a large number of devices that too by consuming just 3 GPIO pins of your microcontroller.

    In this tutorial, we will be going through the working of the 74HC595 Shift register IC its pinout and at the end, we will also understand the working of the IC with the help of a small project.

    So let's jump straight into it.

  • 2
    Get PCBs for Your Projects Manufactured

    You must check out PCBGOGO, the leading PCB manufacturer with 10+ years in the PCB industry, for ordering PCBs online for cheap!

    You get 10 good quality PCBs manufactured and shipped to your doorstep for 5$ and some shipping. You will also get a discount on shipping on your first order.

    PCBGOGO highly specializes in quick-turn PCB fabrication and PCB assembly from prototype to mass production. Their three factories cover over 17,000 M2, which are fully compliant with the standard of ISO 9001:2015 Quality Management System. All the fabricated PCBs and assembled PCBs are high quality and certificated with UL, REACH, and RoHS. Till now, PCBGOGO has the ability to finish 3000+ PCB fabrication and assembly orders per day and the accumulated customers have reached up to 100,000+.

    You are lucky to read this project article, as at this time, PCBGOGO welcomes its 5th anniversary. Their customers will get great discount (up to $150) and memorable souvenir if you order the PCB fabrication and PCB assembly. Let’s expect the miracle from PCBGOGO. The campaign duration: Aug 25th – Sep 25th, 2020.

  • 3
    About 74HC595 Shift Register

    A 74HC595 Shift Register is a 16 Pin SIPO IC. SIPO stands for Serial In and Parallel Out which means that it takes input serially one bit at a time and provides output parallelly or simultaneously on all the output pins. We know that Shift registers are generally used for storage purposes and that property of the registers is used here. The data slides in through the serial input pin and goes on to the first output pin and remains there until another Input comes inside the IC as soon as another input is received, the previously stored input shifts to the next output and the newly entered data comes on to the first pin. This process continues until the storage of the IC is not full i.e until receiving 8 inputs. But when the IC storage becomes full as soon as it receives the 9th input the first input goes out through the QH' pin if there is another shift register daisy-chained to the current register through the QH' pin then the data shifts on to that register otherwise it gets lost and the incoming data keeps coming in by sliding the previously stored data. This process is known as Overflowing. This IC uses only 3 GPIO pins to connect to the microcontroller and hence by consuming only 3 GPIO pins of the microcontroller we can control infinite devices by daisy-chaining a number of these ICs to each other.

    A real-world example that uses shift register is the ‘Original Nintendo Controller’. The main controller of the Nintendo Entertainment System needed to get all button presses serially, and it used a shift register to accomplish that task.

View all 8 instructions

Enjoy this project?



Ken Yap wrote 08/16/2020 at 11:01 point

I used the 595 in this project of mine. There's a sample program there too.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

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