Site icon Circuit Ideas for You

Clap Switch Circuit using Speaker as a Microphone

Clap Switch Circuit using Speaker as a Microphone turns on ON or OFF with a clap sound.

It uses speaker as microphone.

Speaker and microphone are built same way so speaker can work like microphone in this circuit.

Circuit Working:

Parts List:

Component TypeValueQuantity
Resistors (All resistors are 1/4 watt)3.3k1
470k1
470Ω1
2.2k2
CapacitorsElectrolytic 10μF2
Electrolytic 100μF1
SemiconductorsIC 40171
Transistors BC5472
LED any 5mm 20mA1
Speaker 8Ω1

This circuit is clap switch with 4017 decade counter IC.

It also uses speaker like microphone.

Each clap turn ON the next LED.

LEDs glow one by one with each clap.

How it work:

Speaker act like microphone and a clap make small voltage in speaker.

Transistor T1 BC547 get this voltage from capacitor C1 and make it stronger.

Resistor R2 set working point of T1.

Capacitor C2 stop DC from going next part.

Transistor T2 BC547 work like Schmitt trigger.

It switches fast when voltage reach certain level.

This help reduce noise.

R3 and R4 set trigger levels.

Output from T2 goes to pin 14 which is the clock pin of 4017 IC.

Pin 15 is reset pin and when its low the counter goes to output 0 of pin 3.

R5 keep reset pin high so IC keeps working.

Pin 16 is inhibit pin but not used here.

4017 IC has 10 output pins from pin 3 to pin 11 and with each clap the clock pulse next pin goes high.

Output pin connect to LED with resistor R5.

LED turns ON when output is high.

No clap then pin 14 low and T2 output is low and first LED pin 3 is ON.

Clap makes voltage spike which goes through T1 and T2 to pin 14.

It gives clock pulse and counter move to next output pin 4 and next LED turns ON.

Formulas:

BC547 Biasing Resistors:

To make BC547 work right use proper resistors.

Base current IB can be found using:

IB = (Vin − VBE) / RB

where,

4017 IC Timing:

To control how fast LEDs switch we used resistor and capacitor.

Time (T) = 0.7 × RT × CT

where,

This sets pulse length or gap between claps.

LED Current Limiting Resistor:

To protect LED use resistor in series:

RLED = (Vcc − VLED) / ILED

where,

Design Notes:

When making clap switch choose right values for resistors and capacitors.

This ensures circuit works well, hears claps and lights LEDs in order.

No exact math are always needed but proper design needed for good working.

How to Build:

To build a Clap Switch Circuit using Speaker as a Microphone we need to follow the below mentioned connections process:

Extra Notes:

Conclusion:

Clap Switch Circuit using Speaker as a Microphone switches turns ON / OFF device by sound.

Speaker can work but condenser mic is better with more reliable and sensitive.

Speakers are not made for sound detection but it can get triggered by noise.

References:

Design of a Clap Activated Switch

Datasheet IC 4017

Exit mobile version