Maker Pro
Maker Pro

create circuit for on and off on second press only

ostr1969

Dec 5, 2018
6
Joined
Dec 5, 2018
Messages
6
how can i create simple circuit(dc) that will change state every second press?
press and release - on
press and release - still on
press and release - off
press and release - still off

or: another option
press - on
release - still on
press - off
release - still off

can it be done without controller?
 

kellys_eye

Jun 25, 2010
4,775
Joined
Jun 25, 2010
Messages
4,775
Look at the 'condition' of the switches and tell us which 'action' is actually causing the event. The key is the 'edges' of the signal.
 

ostr1969

Dec 5, 2018
6
Joined
Dec 5, 2018
Messages
6
if i understand your question, on is supplying 5V voltage to a solenoid.
off, supply voltage less then 1V or disconnecting.
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
12,513
Joined
Nov 17, 2011
Messages
12,513

AnalogKid

Jun 10, 2015
2,661
Joined
Jun 10, 2015
Messages
2,661
Both operation sequences are fairly easy to achieve without a controller, using simple logic chips like gates and flipflops.

Of the two operations you described, the second one is much easier than the first. In text mode, it is a debounced switch clocking a toggle flipflop. If the switch is a SPDT type, then a single chip dual D flipflop and two resistors can do it all. One ff is the switch debouncer (using the Set and Reset inputs) and one ff is the toggle (using the clock and D inputs and -Q output).

ak
 
Top