Site icon Circuit Ideas for You

Clap Switch Circuit using IC 4017

The Clap Switch Circuit using IC 4017 turns ON and OFF with a clap sound; it uses a speaker as a microphone because both components have a similar construction; therefore, a speaker can also work as a microphone in this circuit.

Circuit Working:

Clap Switch Circuit Diagarm using IC 4017

Parts List:

ComponentsValuesQuantity
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

To begin with, this circuit is clap switch with 4017 decade counter IC, as it uses speaker like microphone; also each clap turn ON the next LED.

Therefore, 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 and transistor T2 BC547 work like Schmitt trigger.

Resistor R2 set working point of T1 and capacitor C2 stop DC from going next part.

Also, it switches fast when voltage reach certain level and this help reduce noise.

R3 and R4 set trigger levels.

Furthermore, the output from T2 goes to pin 14, which acts as the clock pin of the 4017 IC and pin 15 serves as the reset pin, and when it goes low, the counter resets to output 0 at pin 3.

R5 keep reset pin high so IC keeps working and 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, moreover, output pin connect to LED with resistor R5.

LED turns ON when output is high.

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

Finally, clap makes voltage spike which goes through T1 and T2 to pin 14 and it gives clock pulse and counter move to next output pin 4 and next LED turns ON.

Formulas:

BC547 Biasing Resistors:

To make the BC547 work correctly, use proper resistors and we can calculate the base current (IB) by using the following formula:

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 and this ensures circuit works well, hears claps and lights LEDs in order.

Therefore, engineers do not always need exact calculations, but they still require proper design for good performance.

How to Build:

To build a Clap Switch Circuit using IC 4017 we need to follow the below mentioned connections process:

Extra Notes:

Conclusion:

Overall, Clap Switch Circuit using IC 4017 switches turns ON / OFF device by sound.

A speaker can work, but a condenser microphone provides better reliability and sensitivity, as a result, designers do not use speakers for sound detection; however, noise can still trigger them.

References:

Datasheet IC 4017

Exit mobile version