SparkFun Forums 

Where electronics enthusiasts find answers.


I am trying to recreate a control panel that is a row of buttons where only one button can be pressed at a time.

Pressing any one button clears any other that was on.

Can anyone help me by providing logical solution through hardware components or circuits. I can do it by coding but i want it by hardware circuit.

Thanks & Regards,

You have multiple buttons. Each needs to be debounced. All of the debounced buttons get OR'ed together to generate a clear signal.

For each button, there would be an SR flipflop. The debounced button would drive set, and reset would be driven by (clear and not set). This would reset all of the flipflops except the one corresponding to this button.