| Electronics > Beginners |
| Flip flop inverter... |
| (1/1) |
| cowasaki:
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. |
| karkoon:
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 |
| Benta:
--- Quote from: cowasaki 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. --- End quote --- It's called a T-flipflop (for toggle) and is built using a JK-flipflop, eg, 4027. |
| TomS_:
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. |
| Benta:
Yeah, a D-flipflop will work as well like you describe it. I'm just used to JKs, as they are more versatile. |
| Navigation |
| Message Index |