(on/off) push button using Flip Flop

Discussion in 'Embedded Systems and Microcontrollers' started by biraaa, Apr 18, 2008.

  1. biraaa

    Thread Starter New Member

    Apr 18, 2008
    Hi Guyz

    i am looking for the simplest push button Circuit like the one used in water pumpers ..

    Push once to "trun on" push again to "Turn off"

    USING FLIP-FLOPS :confused:

    some one told me that i could Use Daul D FF

  2. Caveman

    Senior Member

    Apr 15, 2008
    Connect /Q back to D. Then use the switch to pulse the clock. Realistically, there needs to be more, but that is the topology.
  3. beenthere

    Retired Moderator

    Apr 20, 2004
    A pushbutton switch with a maintained contact (not momentary) can do the same thing without the flip-flop.
  4. Fishman_Tx

    New Member

    Sep 24, 2009
    Moved to new thread in the Project Forum


    I ran across this thread and thought I'd hijack it as it's so old but is very relevant to what i'm doing.
    Using a simple Dual D FF as indicated, using a Schmitt trigger with the "momentary on" pushbutton w/debouncing; I want to drive 2 sections of a 4066 quad bilateral switch for the switching of line level signals. Tho /Q is tacked to D. Can /Q be tapped also to a switch actuator of the 4066? Or would it be better using Master/Slave configuration? The purpose is to switch from one active signal path to another (A/B switch). This will be multiplied into a digital signal switching matrix for my guitar rig. Is there a particular Dual D FF IC that would be recommended? Will the Schmitt give sufficient "edge" to toggle? I would prefer to have leading edge vs trailing for timing reasons.

    It's been a long time away from design work, so forgive my ignorance or "thickness".

    Last edited: Sep 24, 2009

    AAC Fanatic!

    May 26, 2009
    I need the exact same idea for this design I'm doing. I'm anxious to see what's the best way.