Push Button ON-OFF Switch Using Transistors

32,174 views

In this tutorial, we are going to make a project of a Push button ON-OFF switch using transistors. These switches are commonly used in prototypes, projects, demos, and more advanced products as they provide a familiar way to open/close a circuit. The circuit that we are making is ideal to use as a push-button switch. It will allow switching loads on and off through a push button.

Usually, these switches can be made by using a binary divider or 555 timer IC but they consume current even in the OFF state and it makes the process a bit complicated. Therefore we designed this circuit using two transistors that don’t consume current in off state and are suitable for battery power.

2N3906-PNP-General-Purpose-Transistor

Hardware Components

The following components are required to make the ON-OFF Switch Circuit

S.noComponentsValueQty
1.Battery9-12V1
2.Push Buttons2
3.Transistor2N3904, 2N39061, 1
4.Resistor1K, 100K, 10K1, 2, 1
5.Electrolytic Capacitor10µF1
6.Relay12V1
7.Diode1N40071
8.Connecting Wires1
9.Breadboard1

2N3906 Pinout

2N3906-Pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of 2N3906

2N3904 Pinout

2N3904-Pinout

For a detailed description of pinout, dimension features, and specifications download the datasheet of 2N3904

ON-OFF Switch Circuit

Push-Button-ON-OFF-Switch-Circuit-Diagram-Schematic

Working Explanation

This circuit operates on a battery of 9 to 12 volts DC. Initially, the circuit will remain in the off state because the push button has not been pressed and no current is flowing through the transistor.

When you push the button, the current will flow through the base of transistor 2N304 which will turn it on. Now the current flowing through this transistor will be the base current for the second transistor 2N3906. Both transistors will be activated now and as a result, the 12V Relay will activate as well. You can connect any AC/DC appliance according to the relay’s value and operate them through this circuit.

Because the second transistor is in parallel with the first push button it will make sure that the circuit remains on even when the push button bounces off. To turn the circuit off the second push button is pressed. It will ground the base of the second transistor and it will deactivate. As a result, it will break off the flow of the base current of the first transistor to the ground. This will turn the whole system off.

Applications and Uses

This circuit has a 12V relay at the output which can be connected with any AC or DC appliance having the same voltage value as the relay to turn it ON/OFF.