Author Topic: Flip flop inverter...  (Read 1795 times)

0 Members and 1 Guest are viewing this topic.

Offline cowasakiTopic starter

  • Frequent Contributor
  • **
  • Posts: 605
  • Country: gb
Flip flop inverter...
« on: June 10, 2018, 07:28:40 pm »
Is there a simple circuit that takes a pulse input (either ground or VCC) and causes a flip flop to flop and then the same input again to flop again ie no reset but still have Q and inverted Q outputs.  This would be for a button to invert the outputs (so hardware debounce would be helpful too) and having Q and inverted Q means you could attach to the relevant one in order to select the correct default condition.
 

Offline karkoon

  • Contributor
  • Posts: 35
  • Country: in
Re: Flip flop inverter...
« Reply #1 on: June 11, 2018, 02:28:01 am »
You can make a toggle switch using 555 timer and a few passive components.

A quick google should set you with many options of this design. If you need a quick reference here you go

http://www.buildcircuit.com/toggle-switch/

There was also a video by Dave to make a soft toggle switch using just transistors.




Sent from my iPhone using Tapatalk
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Flip flop inverter...
« Reply #2 on: June 11, 2018, 11:08:13 am »
Is there a simple circuit that takes a pulse input (either ground or VCC) and causes a flip flop to flop and then the same input again to flop again ie no reset but still have Q and inverted Q outputs.  This would be for a button to invert the outputs (so hardware debounce would be helpful too) and having Q and inverted Q means you could attach to the relevant one in order to select the correct default condition.

It's called a T-flipflop (for toggle) and is built using a JK-flipflop, eg, 4027.
 

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: gb
Re: Flip flop inverter...
« Reply #3 on: June 11, 2018, 12:27:47 pm »
I think you can do the same with a 74HC74 which has a pair of D type flip flops in it.

Take the output of Q complement and feed it to the D input. Hook a debounced button up to the clock pin, tie reset and preset high, and I think thats about it.
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: Flip flop inverter...
« Reply #4 on: June 11, 2018, 01:11:11 pm »
Yeah, a D-flipflop will work as well like you describe it. I'm just used to JKs, as they are more versatile.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf