Simple Clap Switch Circuit using NE555 Precision Timer IC

3,978 views

Clap switch circuits work by detecting the sound of a clap, whistle, or any other sound of the same pitch. This electronic mini-project has the ability to detect a high pitch as that of a clap with the help of an Electret microphone and turn the circuit ON or OFF accordingly. The output of clap switch circuits can be connected to any DC or AC appliance for the ON/OFF operation.

2N4401-NPN-General-Purpose-Transistor

Hardware Components

The following components are required to make Clap Switch Circuit

S.noComponentValueQty
1.Transistor 2N44012
2.SPDT Relay 9V/12V1
3.LEDs1
4.Resistor470Ω, 1KΩ, 4.7KΩ, 1MΩ2,1,1,1
5.Ceramic Capacitor 0.1µF2
6.Electrolytic Capacitor 47µF1
7.Diode1N40071
8.Breadboard1
9.Connecting Wires1
10.Battery 9V to 12V1
[inaritcle_1]

2N4401 Pinout

2N4401-Pinout

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

Clap Switch Circuit

Simple-Clap-Switch-Circuit.jpg
Clap Switch Circuit

Working Explanation

There are two parts to the circuit. One is the transistor part where amplification is done. Whereas, the other one is the IC NE555 which is responsible for generating pulse to the LED making it turn ON/OFF. Here in the circuit, the timer IC NE555 is working in its monostable mode. Additionally, in a monostable mode of operation, the NE555 outputs a single pulse for a desired period of time.

When a sound with a similar pitch as a clap is heard by the electret microphone, it converts this sound energy into an electrical signal. This electrical signal is then going through the two 2N4401 transistors, thus amplifying this signal. Now, this amplified signal is the input to the IC PIN 02. The monostable mode of operation of the IC outputs a HIGH at PIN 03, hence, lighting the LED and relay for a certain period of time. This ON time is set using the capacitor Cx in the circuit that by increasing or decreasing the value of Cx, time duration can be increased or decreased, respectively. After the set time duration, the output PIN 03 of the IC goes LOW, and thus the LED is turned OFF.

The circuit operated at 9V to 12V of battery but it does as well operate at 5V or 6V. But, when operating the circuit at low voltage, make sure the relay is of the same voltage as well.