Category:Shift Register
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 |
|
8-Bit Serial-In, Parallel-Out Shift, SIPO |
74HC595 |
|
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
- 74HC595 - datasheet
arduino 7-segment library