Below is the LTspice simulation of sghioto's 555 circuit in post #19 using a single push-button.
Its advantage is that the 555 output can directly drive most small 12V relays.
The protection diode for the relay coil load is not needed, since the 555 has a totem-pole output with an emitter-follower as the high-side driver, so when the output goes low, it will continue to conduct the inductive coil current and prevent any significant reverse spikes.
The circuit also inherently ignores any switch contact bounce.
The simulation shows the output (yellow trace) toggling for each PB press (green trace).
The red trace shows the capacitor voltage for the various circuit states.

Its advantage is that the 555 output can directly drive most small 12V relays.
The protection diode for the relay coil load is not needed, since the 555 has a totem-pole output with an emitter-follower as the high-side driver, so when the output goes low, it will continue to conduct the inductive coil current and prevent any significant reverse spikes.
The circuit also inherently ignores any switch contact bounce.
The simulation shows the output (yellow trace) toggling for each PB press (green trace).
The red trace shows the capacitor voltage for the various circuit states.

Last edited:
