CLAP
SWITCH
Using Transistors and CD4017
PREPARED BY
Name : Naman Shah Name : Danish Momin
Roll Number : 119 Roll Number : 102
Name : Parth Nakum Name : Vaishnavi Singh
Roll Number : 106 Roll Number : 115
Name : Krish Patel
Roll Number : 99
INTRODUCTION
Home automation is an interesting concept. It has gained
significant popularity in recent years. It can help us control
various household appliances and systems with ease. In this
project, we have a simple yet ingenious way to introduce
home automation into your living space. By utilizing
transistors, a CD4017 IC, and some readily available
components, we can construct a practical and fairly easy
"Clap Switch" circuit.
FUNCTIONALITY
SOUND SIGNAL SIGNAL AMPLIFICATION
SENSING PROCESSING AND PROCESSING
The circuit includes transistors
In this case, a DC The microphone detects (BC547 NPN transistors) and
condenser microphone. the sound wave an IC (CD4017) to amplify and
This microphone can pick generated by the clap. process the signal generated
up sound in its by the clap. The CD4017 is a
The signal from the decade counter/divider chip,
surrounding, and it's used microphone is then and in this project, it helps in
to detect the sound processed by the circuit. counting the claps and
pattern associated with converting them into a digital
clapping. signal.
PROJECT OUTLINE
At first, the clap sound sensed by the condenser mic.
The condenser mic converts the sound into an electric pulse.
Then the electric pulse amplified by the BC547 transistor.
After that, the electrical pulse fed to the CLK pin of CD4017 IC.
For each high pulse at CLK pin the state of the PIN 2 changes.
When the PIN 2 becomes HIGH, the second transistor turns ON.
If the second transistor turns ON the Relay also turns ON.
Now when the condenser sense the second clap sound, the next high pulse
received at CLK PIN.
The PIN 2 changed the state (becomes LOW), so the second transistor turns
OFF.
So the Relay turns OFF and the load connected with the relay also turns OFF.
CIRCUIT DIAGRAM
MERITS & DEMERITS
1. Simplicity: It accessible to electronics 1. Limited Functionality: Can only control one or
enthusiasts with basic knowledge. It's a great two appliances. It may not be suitable for
educational project for beginners. controlling an entire home automation system.
2. Low Cost: Affordable and readily available, 2. Accuracy: The accuracy of clap recognition can
making it a cost-effective home automation be affected by the quality of the microphone
and the sensitivity of the circuit. It isn’t precise.
solution. 3. Response Time: The response time between
3. Energy Savings: It makes saving energy fun! clapping and the device activation can be
4. Learning Experience: Building this project noticeable, which might not be ideal for
provides valuable experience in electronics, situations where quick control is necessary.
circuit design, and microcontroller interfacing 4. Limited Customization: The project's
for hobbyists and students. functionality is fixed to clap control. It lacks the
ability to be easily customized or integrated with
other smart home technologies.
FUTURE SCOPE
Multi-Clap Patterns: Enable the system to recognize and respond to
different clap patterns or sequences. This adds versatility and fine-tunes
control.
Improved Clap Detection Algorithms: Future iterations could
incorporate advanced signal processing and machine learning algorithms
to improve clap detection accuracy and reduce false positives. This
would make the system more reliable in noisy environments.
Voice Control Integration: Enhance the project by integrating voice
recognition technology. This would allow users to not only control devices
by clapping but also by voice commands, adding an extra layer of
convenience and functionality.
Thank You
Hope you enjoyed!