SparkFun Forums 

Where electronics enthusiasts find answers.

#201976
Hai,

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,

Chandana.
#202019
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.
/mike