Transistor Switching

Try use a relay.