Flip-Flop from microswitch?

Discussion in 'The Projects Forum' started by mrouse55, Feb 28, 2014.

  1. mrouse55

    Thread Starter New Member

    Feb 28, 2014
    I one of those guys that knows what he wants to do, but is pretty clueless when it comes to execution. This will probably be pretty simple for some of you. Here's what I want to do:

    I need to take the output from a drum-trigger and send it alternately to different inputs on a drum brain. The drum trigger is basically a piezo, and is activated by a foot pedal. I've hooked up a couple switches to the pedal to test, and can get a micro-switch to close consistently. I've tried a couple latching push-buttons. Mechanically, the latching buttons are a failure, so I've abandoned the idea of using them, so my solution will be some sort of latching relay triggered by the micro-switch. The switch will be depressed after the strike on the piezo, setting it up for the next strike. This eliminates any critical timing issues. The path from the piezo to the drumbrain will have to stay pretty clean to prevent false triggers.

    Basically, when the switch is depressed, the relay would set the path for the piezo pulse to the opposite output. Kick1->output1 Kick2->output2 Kick3->output1 alternating until the drummers leg gives out.

    My son suggested eliminating the switch altogether and using something like the Teensy to sense the pulse from the piezo and toggle the output. That would be a really elegant solution, but may be more complicated to build. I built some Heathkits when I was a kid, so I can follow directions and solder, but that's about it.

    Any ideas, suggestions or remarks regarding my sanity?

    Thanks in advance.

  2. MaxHeadRoom


    Jul 18, 2013
    This is a relay flip-flop, one flips back and forth with every push.
  3. inwo

    Well-Known Member

    Nov 7, 2013