1
\$\begingroup\$

How would I make a 4-bit shift register with D flip flops so that only 1 LED is active at once. So for example if a button was pushed the first LED would light up and the other 3 would be off. If the button was pushed again the second led would light up and the other 3 would be off etc. I want to be able to do this with 4 LEDs.

This is what I've tried but I can't seem to be able to get it to work. Any help is appreciated as I've just started to learn.

enter image description here

\$\endgroup\$

2 Answers 2

3
\$\begingroup\$

Something like this should work.

schematic

simulate this circuit – Schematic created using CircuitLab

Note: the LED part and resistor values were just the defaults when dropped onto the schematic. They would likely need adjustment in a real circuit.

Or here it is in Falstad, so you can see the simulation.

\$\endgroup\$
0
0
\$\begingroup\$

There are two types of shift registers:

First: Series in Series out (SISO)

enter image description here

Second: Series in Parallel out (SIPO)

enter image description here

I used a button in Logisim as a manual clock .

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.