Circuit diagram:
On/Off Button Circuit Diagram
When the voltage at the threshold pin becomes greater that 2/3 of the power supply voltage, the output will go low. The output goes high when the voltage at the trigger input is less than 1/3 of the power supply voltage. Because C2, via R3, will eventually have the same level as the output, the output will toggle whenever the push-button is pressed. If, for example, the output is low, the level of the trigger input will also become low and the output will go high! C1 defines the initial state of the relay when the power is applied. If the free end of C1 is connected to Vcc, then the output is high after power up; the output is low when C1 is connected to ground.
Author: Ger Langezaal - Copyright: Elektor Electronics