Engineering Will the LED be ON or OFF in this circuit?

  • Thread starter Thread starter physixchic
  • Start date Start date
  • Tags Tags
    Circuit Led
AI Thread Summary
The discussion centers around a D flip-flop circuit and whether the LED will be ON or OFF after a reset is applied. Participants clarify that the LED will be ON due to the behavior of the D input and the clock signal, which determines the state of the Q output. The role of the RESET line is questioned, with some assuming it sets the Q output to zero, but its exact function remains unclear. The conversation highlights the importance of D flip-flops in electronic devices, particularly in capturing signals at clock edges. Overall, the participants gain a better understanding of the circuit's operation.
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
 

Similar threads

Replies
19
Views
2K
Replies
8
Views
3K
Replies
9
Views
2K
Replies
11
Views
2K
Replies
14
Views
2K
Replies
9
Views
3K
Replies
5
Views
4K
Replies
2
Views
3K
Replies
7
Views
6K
Back
Top