Advertisement

1 button ON / OFF Switch with 555

Not rated 17,488

#555 timer #soft touch switch #latching relay #push button #flip-flop #power control #one button switch #toggle switch #electronic switch
1 button ON / OFF Switch with 555
1 button ON / OFF Switch with 555

Description: This project describes how to build a "soft touch" switch. By "soft touch" we mean that you have to push once to set device ON and push again to set device OFF. This kind of switch works by latching a relay to ON state with push of a button and with another push latch is released. It is working like flip-flop states. In that way you can control power to a device using one push button. The circuit is build around a 555 timer configured in a way that let it latch on one state and an action is required to change state. More: The circuit is powered from +5V and there are connectors to connect controlling device. We added a relay on output, an indicator led as well as connectors for power, external push button and relay contacts. Schematic for this circuit can be seen above. The circuit toggles a relay when button S1 is pressed. Operation of this circuit is simple. Pins 6 and 2 of 555 timer are at half power voltage. When output pin 3 is high then capacitor C1 is charged and when it's low capacitor is discharged. When button is pressed capacitor voltage appears on pin 6 and 2 and output pin 3 changes state as well as capacitor voltage changes. So when output is high capacitor has +5V. When we press the button pin 3 goes low and capacitor goes 0V, when we press button again output goes high again, so we have toggle functionality. When output is high transistor T1 is conducting current and relay is latched, when low relay is released. Diode D1 is used to protect transistor from back voltage generated when relay goes off.

This circuit utilizes a 555 timer in a bistable configuration, allowing for a toggle switch functionality. The 555 timer is a versatile integrated circuit commonly used for timing applications, but in this scenario, it is employed as a latch to maintain the state of the output until the button is pressed again. The circuit operates at a supply voltage of +5V, making it suitable for various low-power applications.

The primary components of the circuit include the 555 timer (IC1), a relay (K1), a capacitor (C1), a push button (S1), a transistor (T1), and a protection diode (D1). The capacitor C1 is used to create a delay and to help in the toggling action of the circuit. When the push button S1 is pressed, it momentarily connects pins 2 and 6 of the 555 timer to ground, causing the output at pin 3 to switch states. The output state controls the transistor T1, which in turn drives the relay K1.

When the output pin 3 is high, the transistor T1 conducts, energizing the relay and closing its contacts, thus powering the connected load. The diode D1 is essential for preventing back EMF from the relay coil from damaging the transistor when the relay is de-energized. This protection mechanism ensures the longevity and reliability of the circuit.

The indicator LED, connected in parallel with the relay, provides a visual confirmation of the relay's state, illuminating when the relay is activated. The design includes connectors for easy integration with external devices, allowing for flexibility in application. Overall, this circuit exemplifies an efficient and straightforward method for implementing a soft touch switch using commonly available electronic components.This project describes how to build a "soft touch" switch. By "soft touch" we mean that you have to push once to set device ON and push again to set device OFF. This kind of switch works by latching a relay to ON state with push of a button and with another push latch is released.

It is working like flip-flop states. In that way you can control power to a device using one push button. The circuit is build around a 555 timer configured in a way that let it latch on one state and an action is required to change state. The circuit is powered from +5V and there are connectors to connect controlling device. Inspiration from this project and circuit is found here: http://todbot.com/blog . We added a relay on output, an indicator led as well as connectors for power, external push button and relay contacts. Schematic for this circuit can be seen above. The circuit toggles a relay when button S1 is pressed. Operation of this circuit is simple. Pins 6 and 2 of 555 timer are at half power voltage. When output pin 3 is high then capacitor C1 is charged and when it's low capacitor is discharged. When button is pressed capacitor voltage appears on pin 6 and 2 and output pin 3 changes state as well as capacitor voltage changes.

So when output is high capacitor has +5V. When we press the button pin 3 goes low and capacitor goes 0V, when we press button again output goes high again, so we have toggle functionality. When output is high transistor T1 is conducting current and relay is latched, when low relay is released.

Diode D1 is used to protect transistor from back voltage generated when relay goes off.

Related Circuits