Maker Pro
Maker Pro

create circuit for on and off on second press only

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?
 
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.
 
if i understand your question, on is supplying 5V voltage to a solenoid.
off, supply voltage less then 1V or disconnecting.
 
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