Site icon Circuit Ideas for You

Simple Clap Switch Circuit using Speaker as MIC

This post shows you how to build a special circuit that turns things on or off with a clap!

It uses a regular speaker as a microphone to pick up the sound of a clap, and then turns a switch on or off based on that sound.

This can be a fun way to control things like lights or toys with just the sound of your hands.

Circuit Working:

Parts List:

CategoryDescriptionQuantity
Resistors1M1
10M1
330k2
10k2
100k3
Potentiometer2k1
CapacitorsCeramic 0.01μF2
Ceramic 0.47μF2
SemiconductorsTransistor BC5471
Transistor BC5572
MOSFET BS1701
Diode 1N41481
OthersRelay 12V1
Speaker 8Ω used as MIC1

This circuit features a simple clap switch design with enhanced sensitivity utilizing a distinctive single coil latching relay as a key component.

While there are various methods for achieving the latching function the inclusion of the latching relay streamlines the circuit and facilitates a relay contact interface for operating a 115 or 230V AC load, such as a light bulb.

The circuit boasts efficient battery life since the load only draws 400uA, with no relay coil current in either the On or Off states.

The ‘clap’ signal is captured through a computer speaker functioning as a microphone amplified by a high voltage gain audio amplifier and identified through a simple yet sensitive transistorized floating level detector.

The details of the high voltage gain amplifier will be covered in a subsequent article.

The unique floating level detector section of the circuit might be groundbreaking as no similar design has been published before.

All components are discrete, allowing for easy simulation.

High Voltage Gain Amplifier:

Given that the computer speakers output is approximately 200uV a substantial voltage gain is necessary.

Q1 and Q2 constitute the amplifier with its output located at the emitter of Q2.

The circuits only DC load is the current flowing through R5 around 400uA.

The voltage gain is roughly 1000 more than sufficient for detector operation.

The sensitivity adjust pot P1 must be calibrated to avoid oscillation as the speaker can pick up relay operation sounds.

To address this separating the relay from the speaker might be desirable.

Battery Operation:

Battery operation is primarily for experimentation and any practical application is recommended to use a wall wart power supply.

A 12V power source should also be suitable.

Floating Noise Detector:

The noise detector is innovative, comprising a single PNP transistor and a few passive components, requiring no adjustments.

The emitter of Q3 is isolated from the amplifier output through an R-C circuit that tracks the DC voltage from Q2.

C4 functions as a bypass capacitor to maintain a stable voltage, while R7 and R8 pre bias the base of Q3 for improved sensitivity.

R8 may be omitted for reduced sensitivity.

Relay Driver:

The relay driver Q4 employs a BS170 MOSFET transistor with an exceptionally high input resistance easily driven by the low power noise detector.

R9 effectively discharges C3 to the Vgs threshold of Q4 2V in approximately 80mS.

Formula:

A speaker is used as a microphone MIC in a clap switch circuit, which senses clapping sounds or other loud noises to activate a switch or other electrical device.

The following are the fundamental formulas that are usually involved, along with the matching operating principles:

Enhancement of the MIC Signal:

To find the amplification factor (Av) use the operational amplifiers gain formula.

For a setup using an inverting amplifier:

𝐴𝑣 = −𝑅𝑓 / 𝑅i𝑛

where,

Finding the Threshold:

For the comparator circuit, find the threshold voltage (Vth) that corresponds to the desired sound level (clap).

As necessary, make adjustments to the reference voltage input or resistor divider network.

You may build a working clap switch circuit with a speaker acting as a microphone by according to these guidelines and perhaps modifying the circuit design in light of particular needs and component availability.

For best results, resistor values and component types may be adjusted to fine tune sensitivity and noise immunity.

How to Build:

Building the clap switch circuit with a high sensitivity design involves assembling the specified components and connecting them as described in the original content.

Connect the Single Coil Latching Relay:

Integrate the Computer Speaker:

Build the High Voltage Gain Audio Amplifier:

Implement the Floating Level Detector:

Create the Relay Driver:

Power Supply Connection:

Test and Calibrate:

Fine-Tuning:

Note:

Remember to handle electronic components with care double check connections and ensure that the power supply voltage matches the requirements of the components.

If you are not experienced with electronics, consider seeking assistance from someone with more expertise or consulting additional resources for a safer and more successful build.

Conclusion:

In conclusion, a Clap Switch Circuit using a speaker as a microphone is a simple electronic setup that converts a speaker into a sound sensor.

The circuit typically involves amplifying the weak signal from the speaker detecting sharp sounds like claps, and using a switching mechanism to control an external device.

This design allows for hands free operation and can be customized for various applications such as lighting control or alarm activation.

The sensitivity of the circuit and noise filtering considerations are crucial for optimal performance.

References:

Clap Switch

Design of a Clap Activated Switch

Exit mobile version