I want to design a circuit that uses one momentary push button switch (spdt) to control a dc motor in both directions (it is a 5v dc system).
1. Hold the momentary push button, the motor turns one direction. Stop holding, motor stops.
2. Hold the same momentary push button again, the motor turns the opposite direction. Stop holding, motor stops.
3. Repeat 1...2...1....2...1...2..
I think this system will require some a flip flop switch of some kind. Maybe two 555s or something but I can't figure it out due to my lack of knowledge on the subject. Most circuits I find are constant but I don't want the motor to be constant I want it to be momentary or the motor turning for the duration the button is pressed. I realize this would be easy if I just used two buttons and an H bridge or if I use a toggle switch but that isn't what I am trying to do here.
Thanks in advance