Professional Documents
Culture Documents
MILKA MILKA_112204
MILKA MILKA_112204
MILKA MILKA_112204
ENGINEERING.
1
Table of Contents
DECLARATION.................................................................................................................................... 3
DEDICATION ....................................................................................................................................... 4
ACKNOWLEDGEMENT...................................................................................................................... 5
ABSTRACT ............................................................................................................................................... 6
1. Introduction ..................................................................................................................... 7
ADVANTAGES ................................................................................................................................... 15
DISADVATAGES ............................................................................................................................... 15
References ............................................................................................................................................ 17
RECOMMENDATION........................................................................................................................ 18
2
DECLARATION
I, Anyango Milka , declare that this project I my original work and has never been presented
before by anyone therefore I would wish to declare that any manipulation and presentation of this
work by someone else should be treated as a forgery and should not be accepted.
Sign.................................................. Date.............................................
3
DEDICATION
I dedicate this project to the Almighty God for giving me knowledge, strength and wisdom to
work with fewer struggles.
4
ACKNOWLEDGEMENT
I would like to acknowledge to thank the Almighty God for His Love, knowledge, wisdom to
this far.
I acknowledge my parents for the support especially both moral and financial.
I acknowledge Siaya Institute Electrical and Electronics department at large for the
knowledge to come up with such a project
I also thank my friends for the encouragement they gave me to do this project.
SUPERVISORS APPROVAL
This research report has been submitted to the Kenya National Examination Council with my
approval as the candidate’s institute supervisor.
Signed…………………………………………………………………
Date…………………………………………………………………
5
ABSTRACT
Sound activated switch is designed to provide a mechanism by which one can turn on/off an electrical
appliance remotely by sound (preferably a clap). Clapping twice wouldtoggle between on and off. Audio signal
received via microphone is amplified and compared with a specified threshold voltage to detect occurrence of
sound event. The designed circuit presently compares the voltage level received from microphone; hence any
spurious sound which exceeds the threshold will be able to turn on/off the switch. Future work will include
time domain characteristics i.e., time duration of audio signal due to clap received as well.
6
CHAPTER ONE
1. Introduction
Clapping generates sound waves. A transducer which converts these sound waves into
electrical signal is desired to detect the occurrence of sound event. Hence a microphone is
used to sense audio signal whose output voltage level typically is ofthe order of few
millivolts depending upon the loudness of sound and distance of source from the
microphone. The block diagram of the circuit designed for theproject is shown in
Figure 1.
The aim of the project is to design a clap switch that will act as a normal switch at home
OBJECTIVES
1 To design a clap activated switch that will serve well in different phono-controlled
applications
SPECIFICATIONS
7
BLOCK DIAGRAM
ALARM
POWER SUPPLY
CIRCUIT DIAGRAM
AUDIO AMPLIFIER:
Here the given sound signal is converted into electrical signal and then amplified by using
transistors.
CIRCUIT AMPLIFIER:
The signal after this process the outcome electric signal becomes very weak. So, it is
amplified using another transistor and given to relay, it acts as a mechanical switch.
8
CHAPTER TWO
1) RESISTORS
Resistors are the most common passive electronic component (one that does not require
power to operate). They are used to control voltages and currents. While a resistor is a very
basic component, there are many ways to manufacture them. Each style has its own
characteristics that make it desirable in certain types of applications. Choosing the right type
of resistor is important to making high-performance or precision circuits work well. This
bonus chapter covers the resistor types and helps with picking the right one for your project.
All resistors are basically just a piece of conducting material with a specific value of
resistance. For that piece of conducting material to be made into a practical resistor, a pair of
electrodes and leads are attached so current can flow. The resistor is then coated with an
insulating material to protect the conducting material from the surrounding environment and
vice versa. There are several different resistor construction methods and body styles (or
packages) that are designed for a certain range of applied voltage, power dissipation, or other
considerations. The construction of the resistor can affect its performance at high frequencies
where it may act like a small inductor or capacitor has been added, called parasitic inductance
or capacitance.
2) CAPACITORS
Capacitor has ability to store charge and release them at a later time. Capacitance is the
measure of the amount of charge that a capacitor can store for a given applied voltage. The
unit of capacitance is the farad (F) or microfarad. The capacitors used in the circuit are
electrolytic-capacitor.
In the circuit the electrolytic capacitor is used as a bypass capacitor. Any noise variation in the
circuit is removed by the capacitor.
3) BATTERY
In electricity, a battery is a device consisting of one or more electrochemical cells that convert
stored chemical energy into electrical energy. Since the invention of the first battery (or
"voltaic pile") in 1800 by Alessandro Volta and especially since the technically improved Daniel
cell in 1836, batteries have become a common power source for many household and
industrial applications. According to a 2005 estimate, the worldwide battery 6industry
generates US$48 billion in sales each year, with 6% annual growth.
4) TRANSISTOR
9
A transistor is a semiconductor device used to amplify and switch electronic signals and
electrical power. It is composed of semiconductor material with at least three terminals for
connection to an external circuit. A voltage or current applied to one pair of the transistor's
terminals changes the current flowing through another pair of terminals. Because the
controlled (output) power can be higher than the controlling (input) power, a transistor can
amplify a signal. Today, some transistors are packaged individually, but many more are found
embedded in integrated circuits.
5) RELAY
6) Diode
A diode is made from two semiconductors materials for example silicon and germanium
10
7) IC
It is an integrated circuit containing the different pins. every pin has different functions. It is
where the clap signal is triggered hence going higher and low.
8) LED
11
9) MICROPHONE
The basic action of this transistor Q1 is to receive an input signal from the input
transducer (microphone), control the amount of power that the amplifier takes from power
source (Vs) and converts it into power needed to energize the load
12
CHAPTER THREE
WORKING MECHANISM
o Condenser microphone
o Transistor Amplifier
Amplifies the electrical signal obtained from microphone. Transistor is configured as common
emitter amplifier.
o Monostable A
Monostable multivibrator once triggered will switch its output logic level. Output of amplifier
stage is fed to monostable held at a threshold voltage. Due to first clap, when the negative swing
of output of amplifier stage goes below the threshold voltage of monostable, acts like a trigger,
will switch its output logic level to high. A pulse of pre-determined duration time is generated
across the output of monostable which acts as supply voltage for monostable B.
o Monostable B
Difference here being is the output of monostable A acts as supply voltage. Hence due to second
clap, when the negative swing of output of amplifier stage goes below the threshold voltage of
monostable, acts like a trigger, will switch its output logic level. A pulse of pre-determined
duration time is generated across its output.
o Flip-Flop
A flip-flop or a bi-stable multivibrator is a circuit whose output logic level changes when a pulse
is applied to the input. The pulse generated by monostable B is fed as input to the flip-flop. For
each pulse input its output state changes high or low. This output of flip-flop is connected to a
transistor configured as switch.
o Switch
A transistor is configured as switch here. When the input is high turns on and wheninput low
turns off.
Clap waveform, the time duration of various claps observed is found to be about
0.1 seconds to 0.2 seconds as shown in Figure 2. A microphone was connected tosoundcard
of computer and waveform was recorded.
COST ANALYSIS
NO ITEMS TYPE QUANTITY PRICE AMOUNT
12 Ac lamp 1 @
Further the report is organized as follows: section 2 describes bias conditions,amplifier gain and operation
of circuit, distance range and sound level is discussed in section 3, conclusions and future work are
mentioned in section 4. Monostable multivibrator configuration is illustrated in Appendix A.
o Performance
Amplifier design using transistor is subjective to biasing conditions. As mentioned earlier in section
2, the biasing conditions have changed. Mainly performance of circuit can be classified into level of
sound, and distance from which clap has to be made.
o Sound
Any sound after amplification has a voltage level of approximately 1.5 V can cause the trigger for the
14
case of amplifier A & B (both 1-stage amplifiers), 4.4 V for amplifier C (2-stage amplifier) and 6V
for cascaded B (2-stage amplifier). One can increase the reference voltage at which the pin 2 of IC1,
IC2 are held, but still itsany sound not specific sound clap. Hence to make effective time domain
characteristics are now considered in further work. Time duration of clap is approximately 0.1 seconds
to 0.2 seconds. Microcontroller has on-chip comparator, timers & counters, thus IC1, IC2 and IC3 can
be replaced with microcontroller.
o Sensitivity
The voltage divider resistors R6 and R7 values can be adjusted to increase ordecrease the voltage level
at which pin2 of monostable is held initially. For the cascaded two-stage using amplifier B, a 10 k
resistor was used instead of R6 & R7 tokeep pin2 of monostable at almost VCC.
o Distance
Circuit was tested in approximately 5m x 7m room. The environmental sound level for each
microphone used in circuits is shown Table D. Environment sound level isthe voltage level observed
when no clap was made.
ADVANTAGES
1. The primary application involves an elderly or mobility-impaired person. 2. We can turn
something (e.g. a lamp) on and off from any location in the room (e.g. while lying in the bed)
simply by clapping our hands.
3. Low cost and reliable circuit. 4. Complete elimination of man power. 5. Energy efficient.
DISADVATAGES
1. It is generally cumbersome to have to clap one’s hands to turn something on or off and it is
gerally seen as simpler for most use cases to use a traditional light switch.
2. Unless we use a filter in the circuit, it is not that advantageous. So that circuit activates only
for clap of particular frequencies and then it becomes accurate.
APPLICATIONS
1. Clap activated switch device will serve well in different phono-controlled applications.
15
2. Clap switch is generally used for a light, television, radio or similar electronic device that the
person will want to turn on/off from bed.
CHAPTER FOUR
FUTURE SCOPE
16
References
[1] Adel S. Sedra and Kenneth C. Smith, Microelectronic Circuits, 5th Edition, Oxford
[2] Philips semiconductors: BC549, BC550 NPN general purpose transistors, 2004Oct
11.
[3] Philips semiconductors: HEF4017B MSI 5-stage Johnson counter, January 1995.
17
RECOMMENDATION
After carrying out this project and testing I would like to recommend that it should be applied
our current situation especially in this COVID-19 protocols.
Since it is more reliable this kind of switch should be applied in homes to ease the work load
18
APPENDIX
MIC-condenser microphone
IC- integrated circuit
LED- light emitting diode
19