This project explains how to build a clap switch—an electronic circuit that toggles a light bulb ON or OFF based on a sudden, loud sound like a clap. This classic circuit utilizes a microphone to detect the sound, transistors to amplify the signal, and two essential ICs, the 555 Timer and the CD4017 Decade Counter, to control the switching action.
Key Components and Function
- Condenser Mic
- Resistors-4.7 KΩ,10KΩ, 460 Ω &1K Ω
- Capacitor- 0.1µF & 10µF
- Transistors – BC 547 (3)
- 555 timer IC
- IC 4017
- 5v Relay
- IN4007
- Bulb holder
- Light bulb
- AC plug
- Battery-9v
- Battery connector clips
- Zero PCB
- Connecting wires

How It Works
- The condenser microphone listens for a sharp sound, like a clap, and transforms it into a small electrical pulse.
- That pulse is boosted by three little BC547 transistors so the chips can easily detect it.
- The 555 timer IC is set up to send out a neat, short electrical “tick” every time you clap.
- Then, the IC 4017 acts like a counter—every clap makes it count up. After two claps, it completes one full cycle and toggles the light ON or OFF!
- When the IC 4017 sends an ON signal, it triggers a relay switch (like a remote-controlled button) so your room light turns ON.
- All the resistors and capacitors are there to help make the microphone and chips work correctly—they filter out noise and set the timing.
- The IN4007 diode protects the circuit from electric spikes, while the relay lets you safely control a real AC bulb using just a small signal.
- You’ll mount everything on a zero PCB (a basic board for joining components), use wires for connections, and power it with a 9V battery and battery clips.
- Connect your AC light bulb and holder to the relay, and plug it in just like any regular lamp.
Clap once and your room gets light! Clap again and it turns off. Impress family and friends with this hands-free project—no switches or fancy tech required
This project is a great demonstration of how analog (sound) and digital (counting/switching) circuits can be combined to create a practical, interactive control device.
Watch the full video tutorial here: How to make a Light control using clap sound using 555 timer and IC 4017 at home | clap switch

