Category:Shift Register

From ElectroDragon Wiki
Jump to navigation Jump to search

basic shift

void setup()
{
  pinMode(clock, OUTPUT); // make the clock pin an output
  pinMode(data , OUTPUT); // make the data pin an output
  shiftOut(data, clock, LSBFIRST, B10101010); // send this binary value to the shift register
}

Compare

  • CD4094 - 8-Bit Shift Register/Latch with 3-STATE Outputs
Type Compare Type
74LS164
  • Has AND'd inputs (A and B). Just set one HIGH and use the other.
  • DOES NOT HAVE a Latch.
8-Bit Serial-In, Parallel-Out Shift, SIPO
74HC595
  • Tri-state outputs so they can share a bus with other chips.
8-Bit Serial-In, Parallel-Out Shift, SIPO
74HC165 8-Bit parallel-in, serial out shift register, PISO

Schematic

Working Method

  • 74HC595 clock time -> serial data write in => latch into register by RCLK

Documents

arduino 7-segment library

Subcategories

This category has the following 2 subcategories, out of 2 total.