Hi All,
I want to embed a computer into an electronic keyboard and want to power up the computer (via its power switch) when the KB is switched on and shut down the computer (again via the power switch) when the KB is switched off. So I need a momentary switch when power is applied and a momentary switch again when power is removed.
The switch on is easy - KB power to relay coil with a capacitor in series and relay contacts to the computer pwr switch. Coil will energise as the capacitor charges and de-energise when charged. I thought it would be easy to use the charge in the capacitor to again cycle the relay when power is removed to turn off the computer. But after some experimenting I can't figure out how to do it so maybe I'm on the wrong track. Any ideas?
I want to embed a computer into an electronic keyboard and want to power up the computer (via its power switch) when the KB is switched on and shut down the computer (again via the power switch) when the KB is switched off. So I need a momentary switch when power is applied and a momentary switch again when power is removed.
The switch on is easy - KB power to relay coil with a capacitor in series and relay contacts to the computer pwr switch. Coil will energise as the capacitor charges and de-energise when charged. I thought it would be easy to use the charge in the capacitor to again cycle the relay when power is removed to turn off the computer. But after some experimenting I can't figure out how to do it so maybe I'm on the wrong track. Any ideas?
