Flip-flop controlling multiple LED's?

Thread Starter

microelectronix

Joined Jan 21, 2008
20
Hello all,

I need to control 12 LED's (they're all either on or off) using a strobed input - A pulse to turn them all on, and a pulse to turn them all off. The signal will be coming from a chip, probably a multiplexer. I was thinkin' I'd use a flip-flop to store the state, which would drive a BJT to power the LED's?

I guess I can break it down to two things:

1) What is an efficient method to store the state of the LED's (on/off)

2) How can I control LED's using a logic input?

Thanks all!
 

Thread Starter

microelectronix

Joined Jan 21, 2008
20
Actually I read this site and answered one of my questions on my own... how to use a BJT to control the LED's.

But I'd still like some input on how best to store the state / alter it.

Thanks!
 

bnfdvn

Joined Dec 8, 2008
21
You could use a JK flip flop, tie the J and K inputs high and connect your pulse input to the clock input. Each time the clock input is pulsed, it will toggle the outputs. Will this do what you want??
 

Thread Starter

microelectronix

Joined Jan 21, 2008
20
Can it be done using D-type flip flops? I have a SN74HCT74N (dual D-type flip flops) that I'd like to try it out with. I'm pretty sure I actually have many of these, which would be great as I wouldn't have to buy anything.
 

Wendy

Joined Mar 24, 2008
23,415
I remember seeing something like that. Feed the inverted Q back to the D, it becomes a clocked flip flop.
 
Top