I'd like to design a circuit such that at first, the circuit is completely powered off. The user pushes a button, which injects power into the circuit. Then a mechanism maintains the power active, even if the switch has been released. At a later about 3 seconds, when the circuit does no longer need power,
it cuts its own power and sleeps until the user chooses to push the
button again.
I'd like to design a circuit such that at first, the circuit is completely powered off. The user pushes a button, which injects power into the circuit. Then a mechanism maintains the power active, even if the switch has been released. At a later about 3 seconds, when the circuit does no longer need power,
it cuts its own power and sleeps until the user chooses to push the
button again.
You could use a 555 timer i.c. in the monostable mode.
The output would switch a relay with more than one set of contacts. One set, in parallel with the button contacts, would close and maintain the power until the end of the 3 second pulse - at which time the whole thing is automatically switched off.
The other set of of contacts is free to switch whatever else you want.
Here's a suitable circuit.
When the button is pressed, power is applied to the circuit.
The capacitor on pin 2 initially holds the pin low so it is seen as a trigger.
The output, pin 3 goes high, energising the relay. The contacts close and maintain power to the circuit when the button is released.
Another set of contacts, not shown, switch whatever you want it to.
3 seconds after pin 3 goes high it goes low again, disconnecting the supply.
u can learn more about the 555 timer on thousands of sites on the internet ! and even use/download the program by which u can automatically calculate component values for your required timeout