PDA

View Full Version : stupid OT digital question


Max Holubitsky
November 7th 03, 10:22 PM
Hey,

I am doing a little bit of design to make a speaker/preamp selector... I

know there's a simple digital circuit where you have a momentary contact

pushbutton as the input, and the output flops between 0 and 5 volts with

each push of the button. Can anyone with a better memory than me recall
exactly what this circuit is?

Thanks

Max

TCS
November 7th 03, 11:29 PM
On Fri, 07 Nov 2003 15:22:47 -0700, Max Holubitsky > wrote:
> Hey,
>
> I am doing a little bit of design to make a speaker/preamp selector... I
>
> know there's a simple digital circuit where you have a momentary contact
>
> pushbutton as the input, and the output flops between 0 and 5 volts with
>
> each push of the button. Can anyone with a better memory than me recall
> exactly what this circuit is?

A JK flipflop with J=1 and K=1, or a D flipflop with D=Qbar (inverted
output) will switch states on each clock.

You will need to debounce a mechanical switch. A 4093 schmitt trigger
works well for that.