grayocean
Marine/Ocean
- Apr 14, 2005
- 10
I'm trying to make a circuit that is hooked up to a single button and a solenoid. Press the button and the circuit fires a solenoid the left, press it again and it fires the solenoid to the right, press it again and it fires the solenoid to the left, hit the button again and the solenoid fires to the right, …you get the idea.
What I've got is a D flip-flop, hooked up to two one shot timer circuits, which in turn are hooked up to a relay bank. I’m just a Mech and can’t figure out why it won’t work well. Basically it seems to work fine until the solenoid is integrated and then there seems to be some ground bounce/ voltage spike problems, that cause the flip-flop to flip when the solenoid fires.
I've added 5000uF of capacitance to try to stabilize the 9VDC line voltage but no success. I can’t add a diode across the solenoid to shunt any voltage spike to ground because the voltage flips with each cycle.
Does anybody have any ideas as to what it might be?
Lucas
What I've got is a D flip-flop, hooked up to two one shot timer circuits, which in turn are hooked up to a relay bank. I’m just a Mech and can’t figure out why it won’t work well. Basically it seems to work fine until the solenoid is integrated and then there seems to be some ground bounce/ voltage spike problems, that cause the flip-flop to flip when the solenoid fires.
I've added 5000uF of capacitance to try to stabilize the 9VDC line voltage but no success. I can’t add a diode across the solenoid to shunt any voltage spike to ground because the voltage flips with each cycle.
Does anybody have any ideas as to what it might be?
Lucas