Site icon Circuit Ideas for You

Clap Switch Circuit using Speaker as MIC

In this article with one clap we can make a Clap Switch Circuit using Speaker as MIC, which can turn something ON or OFF!

Also, we can use normal speaker like microphone which hear the clap sound and then turn switch ON or OFF.

Here, only hand sound controls light or toy, as this is fun and interesting project to try.

Circuit Working:

Clap Switch Circuit Diagram using Speaker as MIC

Parts List:

ComponentsValuesQuantity
Resistors (All resistors are 1/4 watt)1M1
10M1
330k2
10k2
100k3
Potentiometer 2k1
CapacitorsCeramic 0.01μF2
Ceramic 0.47μF2
SemiconductorsTransistor BC5471
Transistor BC5572
MOSFET BS1701
Diode 1N41481
Relay 12V1
Speaker 8Ω used as MIC1

This circuit uses new idea for one coil latching relay, which helps to make easy clap switch with better sound catching; other ways also work but using latching relay make circuit small and simple.

Also, it can turn ON/OFF with big things like 115V or 230V AC load like lightbulb.

Circuit uses very little battery and it uses only 400 microamp and relay coil uses no power when ON or OFF.

One computer speaker act like microphone and it catches clap sound and then sound goes to amplifier with big voltage boost and after that a small transistor detector catches the signal.

Later, we will discuss this amplifier in more detail because this type of detector appears to be a new idea.

Lastly, every part in circuit is special that makes it easy for testing.

High Gain Amplifier:

Speaker give only small signal to about 200 microvolt so we need big boost.

Amplifier uses two parts: Q1 and Q2 and output come from Q2 emitter, also only 400 microamp goes through R5 and that is the the only DC load.

Voltage gain is around 1000 which is good enough for detector and speaker can also hear relay clicking sound.

So we use P1 to set sensitivity if not set it may start looping, so best to keep speaker and relay far from each other.

Battery Use:

Battery is okay for testing only and for regular use better to use wall power supply also 12V power supply also works good.

Noise Detector (Floating):

Only need of one PNP transistor and few parts it is very simple with no need to change anything.

One R-C circuit look at voltage from Q2 which keeps Q3 emitter separate from amplifier output.

R7 and R8 help base of Q3 feel signal better and C4 keeps voltage steady and if we want less sensitivity then do not use R8.

Relay Driver:

Noise detector sends signal to Q4, that is BS170 MOSFET, which needs very small input so it is easy to drive.

R9 take 80 milliseconds to drain C3 and send 2V to Q4 gate which is enough to turn relay ON/OFF

Formula:

When loud sound happens like clap this circuit hear it and turn ON switch or other electric thing, as it uses speaker like microphone (MIC).

Some main formulas help to make this work and here they are with simple explanation:

Making MIC Signal Strong:

To make MIC sound signal louder we must use amplifier, for that use this formula to find gain (Av):

Av = -Rf / Rin

where:

This formula is for inverting amplifier setup.

Setting the Sound Level Threshold:

We need to define the sound level that counts as a “clap,” which is called the threshold voltage (Vth), therefore, we can use a comparator circuit to set the Vth value.

Change reference voltage or resistor values to adjust this level and follow these steps to build good clap switch.

The speaker works like microphone and catches hand clap sound and depending on parts we have or what we need maybe changes design a little.

So for best work choose right resistor values and good quality parts.

How to Build:

To build a Clap Switch Circuit using Speaker as MIC following are the steps for connections and assembling:

How to Connect Latching Relay (Single Coil):

Connect Computer Speaker as Microphone:

Make the High Voltage Gain Amplifier:

Build Floating Level Detector:

Make Relay Driver:

Power Supply Connection:

Check and Adjust Circuit:

Improve Circuit (If Needed):

Important Notes:

Conclusion:

Overall, this Clap Switch Circuit using Speaker as MIC; also it hears clap sound and turn ON/OFF devices.

Furthermore, the circuit boosts the weak sound from the speaker and turns ON a relay switch to activate devices such as a light or alarm.

Finally, this circuit is good for hands free control and we can change circuit for many uses.

References:

Datasheet BS170

Exit mobile version