I need to supply the door locking system on my car with an earth signal for approx 2 seconds when the brake pedal switch is operated but when the pedal switch is released i need it to supply an earth signal again for 2 seconds. I can use a timer circuit and relay to supply the earth when the switch is activated but cant work out how to supply the circuit again when the switch is released