Need Help With Wiring Up Two Limit Switches? Answered
I have a closure system with deadbolts that works on a sliding assembly with a solenoid that turns 180-deg to close and the other 180-deg to open. It is accomplished with two limit switches (as shown in the picture attached). My question is I have a single control button. If I press it once -- I need it to trigger the power in conjunction with one of the limit switches (to stop the solenoid at the appropriate time) and then on the next press of the button, send power through the other limit switch so it cuts power at the appropriate time. Obviously if I wire everything at once you have one switch open when the other closes and vice versa so power continues.
My question is this. I believe I can use a 4017 chip to allow power to go to one and then the next with each press of the button. However it seems like overkill and I figure that there has to be a simple one-two power diverter switch of some kind that I can put between the button and the solenoid/limit switches so it cycles between the two. In other words. When power comes through it the first time, it routes it into limit switch #1, the next power cycle goes through to limit switch #2, and back and forth.
Is there something simple like that. If so please share. If not, can someone please tell me the best way to wire up a 4017 chip for this purpose.
As always, thanks in advance for any experience, advice and/or wisdom -- it is greatly appreciated.