ShiftOut Registers - M74HC595B1R

£ 2.80 - £7.00

FREE DELIVERY

Select Units

Here we have the 74HC595 shift register. These components are perfect for extending the number of pins on your Arduino, Pic, or any other microcontroller.

This listing is for 5, 10, or 20 registers.

Below is an example of how you can use these shift registers.

item

  • Manufacturer: STMicroelectronics
  • Product Category: Counter Shift Registers
  • RoHS: yes
  • Counting Sequence: Serial to Serial/Parallel
  • Number of Circuits: 8
  • Package/Case: DIP-16
  • Logic Family: 74HC
  • Logic Type: CMOS
  • Number of Input Lines: 3 / 3
  • Output Type: 3-State
  • Propagation Delay Time: 190 ns, 38 ns, 32 ns
  • Maximum Operating Temperature: + 125 C
  • Minimum Operating Temperature: - 55 C
  • Packaging: Tube
  • Function: Register
  • Mounting Style: Through Hole
  • Number of Output Lines: 3
  • Operating Supply Voltage: 2 V to 6 V
  • Supply Voltage - Max: 6 V

ShiftOut Registers - M74HC595B1R

These 8-Stage static shift registers take a fair amount of wiring and a few extra components, but once you have the circuit all wired up, the extra output pins you immediately have on your Arduino make up for it.

Here is an example of the completed circuit. For a full tutorial and a fantastic explanation please head over to the Arduino site.

  • Shift Register
  • 8 x LEDs
  • 8 x Resistors (220 ohm)
  • 0.1F Capacitor
  • Breadboard
  • Arduino
  • Jumper Wire
image

Hello world code example



//**************************************************************//
//  Name    : shiftOutCode, Hello World                                
//  Author  : Carlyn Maw,Tom Igoe, David A. Mellis 
//  Date    : 25 Oct, 2006    
//  Modified: 23 Mar 2010                                 
//  Version : 2.0                                             
//  Notes   : Code for using a 74HC595 Shift Register           //
//          : to count from 0 to 255                           
//****************************************************************

//Pin connected to ST_CP of 74HC595
int latchPin = 8;
//Pin connected to SH_CP of 74HC595
int clockPin = 12;
////Pin connected to DS of 74HC595
int dataPin = 11;



void setup() {
  //set pins to output so you can control the shift register
  pinMode(latchPin, OUTPUT);
  pinMode(clockPin, OUTPUT);
  pinMode(dataPin, OUTPUT);
}

void loop() {
  // count from 0 to 255 and display the number 
  // on the LEDs
  for (int numberToDisplay = 0; numberToDisplay < 256; numberToDisplay++) {
    // take the latchPin low so 
    // the LEDs don't change while you're sending in bits:
    digitalWrite(latchPin, LOW);
    // shift out the bits:
    shiftOut(dataPin, clockPin, MSBFIRST, numberToDisplay);  

    //take the latch pin high so the LEDs will light up:
    digitalWrite(latchPin, HIGH);
    // pause before next value:
    delay(500);
  }
}