Will the LED be ON or OFF in this circuit?

  • Context: Engineering 
  • Thread starter Thread starter physixchic
  • Start date Start date
  • Tags Tags
    Circuit Led
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
6 replies · 3K views
physixchic
Messages
10
Reaction score
0
Here is the ciruit. It's a D flip flop
http://i45.tinypic.com/jtpjfc.jpg

After reset is applied, will the LED be ON or OFF. Explain your answer.

The answer is ON but I don't know why.
 
Physics news on Phys.org
Hi physixchic,

What are those two inputs on the D flip flop that aren't D, Q, Q' or clk? They both have negated inputs.
 
cepheid said:
Hi physixchic,

What are those two inputs on the D flip flop that aren't D, Q, Q' or clk? They both have negated inputs.

i assume SET and RESET.
 
Is it because RESET makes everything a 0 which makes Q a 0 and Q' a 1?
 
physixchic said:
Is it because RESET makes everything a 0 which makes Q a 0 and Q' a 1?

That's plausible, but I don't know for sure, because the D flip flops I'm familiar with don't have those additional inputs:

http://hyperphysics.phy-astr.gsu.edu/Hbase/Electronic/Dflipflop.html

The only thing that I can tell you for sure is that pushing the button pulls the D input low which (after the next rising clock edge) causes the Q output to go low, which causes its complement to go high, which lights up the LED. I have no idea what role the RESET line plays in this circuit.

By the way, I'm assuming that this is the switch debouncer that you posted in another thread about?
 
Actually...

These flip-flops are very useful, as they form the basis for shift registers, which are an essential part of many electronic devices. The advantage of the D flip-flop over the D-type latch is that it "captures" the signal at the moment the clock goes high, and subsequent changes of the data line do not influence Q until the next rising clock edge. An exception is that some flip-flops have a "reset" signal input, which will reset Q (to zero), and may be either asynchronous or synchronous with the clock.

Quoted from here:

http://en.wikipedia.org/wiki/Flip-flop_(electronics)#D_flip-flop
 
cepheid said:
That's plausible, but I don't know for sure, because the D flip flops I'm familiar with don't have those additional inputs:

http://hyperphysics.phy-astr.gsu.edu/Hbase/Electronic/Dflipflop.html

The only thing that I can tell you for sure is that pushing the button pulls the D input low which (after the next rising clock edge) causes the Q output to go low, which causes its complement to go high, which lights up the LED. I have no idea what role the RESET line plays in this circuit.

By the way, I'm assuming that this is the switch debouncer that you posted in another thread about?

yes it is. thanks for the help I think i got it now