Maker Pro
Maker Pro

Momentary switch to swap between 2 loads and off

Strayaman

Jul 15, 2021
2
Joined
Jul 15, 2021
Messages
2
Good Morning Everyone,

I am very new here and am just starting to play with some electronics so please excuse my lack of correct lingo.

I am trying to get a momentary switch to alternate between 2 loads and an off.

So I press the switch, load 1 turns on, press it again, Load 1 turns off, Load 2 turns on, Press it a third time, both turn off.

Also, not sure how much this changes everything but the whole thing runs off 24v

From what I can see an SPDT toggle switch essentially does this however this needs to utilise an existing momentary switch and that is where I am struggling.

I appreciate any assistance you guys can give

Thanks
Straya
 

Bluejets

Oct 5, 2014
6,065
Joined
Oct 5, 2014
Messages
6,065
Toggle can easily be done with a flip flop circuit, however additional requirements may need a small microcontroller for simplicity.
One thing immediately obvious is what starts to whole process, the same pushbutton??
 

Strayaman

Jul 15, 2021
2
Joined
Jul 15, 2021
Messages
2
Thanks for your reply. :)

Yes it is the same button, he is running a couple of solenoids off this, basically each solenoid opens a valve, he will need to open one valve, then the other, then both closed. All of this from an existing single momentary switch.
 

Bluejets

Oct 5, 2014
6,065
Joined
Oct 5, 2014
Messages
6,065
Given the shutdown at the end off the same button, only option I can see is a microcontroller.
Naturally it will need to be up and running initially to monitor the push button states and counter.
 

Bluejets

Oct 5, 2014
6,065
Joined
Oct 5, 2014
Messages
6,065
Can you use a spdt centre off spring return (momentary) toggle switch?

Good thinking....only make it a toggle switch with centre off, not momentary. (on-off-on)
Think the op will have to make a compromise here.
 
Top