Hello,
I need a simple circuit (as simple and cheap as possible).
I have a 3.3V supply, a momentary ON push button (tactile switch) and two logic outputs.
I want the circuit to do the following...
I need the outputs to toggle between 10, 01, 00 (in that order) at each push of the button. I would also need 3 led indicators to show position 1, 2 and 3 so I know where I'm at.
I thought of using a binary counter and a non inverting buffer (to drive leds), but I have very limited room on the PCB.
Ideally if I could do it with a few transistors I could fit it all in using surface mount components.
The circuit is to enable me to remove a DPDT toggle switch which is physically too big to suit my circuit.
Any ideas? Thanks in advance.
-DAlmation.
EDIT: Whats the cheapest, nastiest PIC microcontroller that could do this?
I need a simple circuit (as simple and cheap as possible).
I have a 3.3V supply, a momentary ON push button (tactile switch) and two logic outputs.
I want the circuit to do the following...
I need the outputs to toggle between 10, 01, 00 (in that order) at each push of the button. I would also need 3 led indicators to show position 1, 2 and 3 so I know where I'm at.
I thought of using a binary counter and a non inverting buffer (to drive leds), but I have very limited room on the PCB.
Ideally if I could do it with a few transistors I could fit it all in using surface mount components.
The circuit is to enable me to remove a DPDT toggle switch which is physically too big to suit my circuit.
Any ideas? Thanks in advance.
-DAlmation.
EDIT: Whats the cheapest, nastiest PIC microcontroller that could do this?
Last edited: