vic said:
Hi,
I'd like to design a circuit such that it is powered on by a short press
of a switch, performs some action, and then turns itself off when it has
done its purpose.
I suppose I could do this using a FET, but it has surely been done
millions of times and I'd like not to reinvent the wheel. Could you give
me a suitable example of such a circuit, or resources to inform me on
the subject ?
Thanks.
Here's a generic circuit to show the idea:
N/O N/O
+12 ---+---o--- Rly1-1 Rly1-2 ---o---+
| ^---o------+ +---^ |
o | | +--- To your
o | +-------------- circuit
| |
+----->|----------+
| ___|___
+---[R]---+---| 555 |
| | | |---+----+
| | | | | |
| | ------- | |k
| /c | [Rly1] [D1]
+--[R]---| | | |
\e | | |
| | | |
Gnd -------------+-------+-------+----+
Use a 555 as diagrammed (not a schematic, just to present
the idea) above. The pushbutton causes the npn to put
a negative on the 555 trigger, and provides plus to the
555 while it is pressed. The 555 output goes high, and
operates the relay, which takes over the role of providing
+ to the 555. The 555 stays high for however long you
set it, then drops, removing power. No reason you have to
use a relay - you can use the idea with a fet or bipolar if
you want.
More important: the asumption is that you want a timed delay.
However, that may not be the case. You might, for example,
have a motor that opens and closes a window, and you want the
circuit to run until the window is fully open (or fully closed),
then shut off. Or a circuit that is indended to bring temperature
up to some point, then shut off. The problem is that the subject
of your post says "delay", but the requirement specifies that
some action has been completed. So to make it a bit more
generic:
S1 or Sensor
+12 ---+---+ N/C
| |
| V
| -------o---- Rly1-1 N/O
| o---^
| |
+----o o---+
|
[Rly1]
|
Gnd --------------+
S1 is a microswitch or a sensor that interrupts the circuit
when the action is complete.
Ed