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
Click For Summary

Discussion Overview

The discussion revolves around the behavior of a D flip-flop circuit, specifically whether an LED will be ON or OFF after a reset is applied. Participants explore the implications of the circuit's design and the function of various inputs, including the RESET line.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant asserts that the LED will be ON but is uncertain about the reasoning behind it.
  • Another participant questions the purpose of two additional inputs on the D flip-flop that are not standard (D, Q, Q', clk), suggesting they are SET and RESET.
  • There is speculation that the RESET input sets Q to 0 and Q' to 1, but this is not confirmed.
  • A participant notes that pushing a button pulls the D input low, which affects the Q output after the next clock edge, potentially lighting the LED, but expresses uncertainty about the RESET line's role.
  • One participant provides context on the utility of D flip-flops in electronic devices and mentions the asynchronous or synchronous nature of the RESET signal but does not clarify its effect in this specific circuit.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the effect of the RESET line or the overall behavior of the circuit. Multiple viewpoints and uncertainties remain regarding the operation of the D flip-flop and its inputs.

Contextual Notes

There are unresolved questions about the specific function of the RESET line and its interaction with the other inputs. The discussion also reflects varying familiarity with D flip-flops among participants.

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 8 ·
Replies
8
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
927