This 555timer clap switch circuit electronic project is designed using some
common electronic parts . This 555 timer clap switch circuit electronic
project operates from a distance of up to 10 meters from the microphone .
Signal from microphone is amplified by transistors T1, T2 .
T1 and T2 transistorsl amplify the output signal from the microphone and will
trigger the monostable multivibrator based on the 555 timer IC . The output
signal from the 555 timer IC is used as a clock for a 4027 flip flop . For each
successive clap T3 conducts and cuts off relay alternately , resulting and on
of switching for the lamp .
PARTS:1. electric mic
2. transistors BC 548
3. IC NE 555
4. IC CD 4027
5. relay 6V
6. bulb 230 V
CIRCUIT DIAGRAM
Electret mice
How Electret Condenser Microphone works
Transducers are devices which convert energy from one form to other. A
microphone is a transducer which converts sound energy to electrical
signals. It works opposite to a speaker (see how speaker works). Microphones
are available in different shape and sizes. Depending on the application, a
microphone may use different technologies to convert sound to electrical
Transistors
Function
Transistors amplify current, for example they can be used to amplify the
small output current from a logic IC so that it can operate a lamp, relay or
other high current device. In many circuits a resistor is used to convert the
changing current to a changing voltage, so the transistor is being used to
amplify voltage.
A transistor may be used as a switch (either fully on with
maximum current, or fully off with no current) and as an
amplifier (always partly on).
Diodes
Example:
Circuit symbol:
Function
Diodes allow electricity to flow in only one direction. The arrow of the circuit
symbol shows the direction in which the current can flow. Diodes are the
electrical version of a valve and early
diodes were actually called valves.
Forward Voltage Drop
Electricity uses up a little energy pushing its
way through the diode, rather like a person
pushing through a door with a spring. This
means that there is a small voltage across a
conducting diode, it is called the forward
voltage drop and is about 0.7V for all
normal diodes which are made from silicon.
The forward voltage drop of a diode is
almost constant whatever the current
passing through the diode so they have a very steep characteristic (currentvoltage graph).
Reverse Voltage
When a reverse voltage is applied a perfect diode does not conduct, but all
real diodes leak a very tiny current of a few A or less. This can be ignored in
most circuits because it will be very much smaller than the current flowing in
the forward direction. However, all diodes have a maximum reverse
voltage (usually 50V or more) and if this is exceeded the diode will fail and
pass a large current in the reverse direction, this is called breakdown.
Zener diodes
Example:
Circuit symbol:
a = anode, k = cathode
Zener diodes are used to maintain a fixed voltage. They are designed to
'breakdown' in a reliable and non-destructive way
so that they can be used in reverse to maintain a
fixed voltage across their terminals. The diagram
shows how they are connected, with a resistor in
series to limit the current.
Zener diodes can be distinguished from ordinary
diodes by their code and breakdown voltage which
are printed on them. Zener diode codes begin
BZX... or BZY... Their breakdown voltage is printed
with V in place of a decimal point, so 4V7 means
4.7V for example.
Zener diodes are rated by their breakdown voltage and maximum power:
Circuit symbol:
Function
LEDs emit light when an electric current passes through them.
Connecting and soldering
LEDs must be connected the correct way round, the diagram may be labelled
a or + for anode and k or - for cathode (yes, it really is k, not c, for
cathode!). The cathode is the short lead and there may be a slight flat on the
body of round LEDs. If you can see inside the LED the cathode
is the larger electrode (but this is not an official identification
method).
LEDs can be damaged by heat when soldering, but the risk is
small unless you are very slow. No special precautions are needed for
soldering most LEDs.
Testing an LED
Never connect an LED directly to a battery or power
supply!
It will be destroyed almost instantly because too much
current will pass through and burn it out.
LEDs must have a resistor in series to limit the current to
a safe value, for quick testing purposes a 1k resistor is
suitable for most LEDs if your supply voltage is 12V or
less. Remember to connect the LED the correct way round!
For an accurate value please see Calculating an LED resistor value below.
Colours of LEDs
LEDs are available in red, orange, amber, yellow, green, blue and white. Blue
and white LEDs are much more expensive than the other colours.
Tri-colour LEDs
The most popular type of tri-colour LED has a red and a green LED combined
in one package with three leads. They are called tri-colour because mixed
red and green light appears to be yellow and this is produced when both the
red and green LEDs are on.
The diagram shows the construction of a tri-colour LED. Note the
different lengths of the three leads. The centre lead (k) is the
common cathode for both LEDs, the outer leads (a1 and a2) are
the anodes to the LEDs allowing each one to be lit separately, or
both together to give the third colour.
Resistors
Example:
Circuit symbol:
Function
Resistors restrict the flow of electric current, for example a resistor is placed
in series with a light-emitting diode (LED) to limit the current passing through
the LED.
Connecting and soldering
Resistors may be connected either way round. They are not damaged by
heat when soldering.
The Resistor
Colour Code
Colour
Number
Black
Brown
Red
Orange
Yellow
Green
Blue
Violet
Grey
White
This resistor has red (2), violet (7), yellow (4 zeros) and gold bands.
So its value is 270000 = 270 k .
On circuit diagrams the is usually omitted and the value is written 270K.
Find out how to make your own Resistor Colour Code Calculator
Capacitors
Function
Capacitors store electric charge. They are used with resistors in
timing circuits because it takes time for a capacitor to fill with charge. They
are used to smooth varying DC supplies by acting as a reservoir of charge.
They are also used in filter circuits because capacitors easily pass AC
(changing) signals but they block DC (constant) signals.
Capacitance
This is a measure of a capacitor's ability to store charge. A large capacitance
means that more charge can be stored. Capacitance is measured in farads,
symbol F. However 1F is very large, so prefixes are used to show the smaller
values.
Three prefixes (multipliers) are used, (micro), n (nano) and p (pico):
Capacitor values can be very difficult to find because there are many types
of capacitor with different labelling systems!
There are many types of capacitor but they can be split into two groups,
polarised and unpolarised. Each group has its own circuit symbol.
Polarised capacitor
Examples:
Circuit symbol:
Examples:
Circuit symbol:
Small value capacitors are unpolarised and may be connected either way
round. They are not damaged by heat when soldering, except for one
unusual type (polystyrene). They have high voltage ratings of at least 50V,
usually 250V or so. It can be difficult to find the values of these small
capacitors because there are many types of them and several different
labelling systems!
Many small value capacitors have their value printed but without a
multiplier, so you need to use experience to work out what the multiplier
should be!
For example 0.1 means 0.1F = 100nF.
Sometimes the multiplier is used in place of the decimal point:
For example: 4n7 means 4.7nF.
Capacitor Number Code
A number code is often used on small capacitors where printing is difficult:
the 3rd number is the number of zeros to give the capacitance in pF.
Ignore any letters - they just indicate tolerance and voltage rating.
Relays
Relays
Photographs Rapid Electronics
the relay coil. The maximum output current for the popular 555 timer IC is
200mA so these devices can supply relay coils directly without amplification.
Relays are usuallly SPDT or DPDT but they can have many more sets of
switch contacts, for example relays with 4 sets of changeover contacts are
readily available. For further information about switch contacts and the terms
used to describe them please see the page on switches.
Most relays are designed for PCB mounting but you can solder wires directly
to the pins providing you take care to avoid melting the plastic case of the
relay.
The supplier's catalogue should show you the relay's connections. The coil
will be obvious and it may be connected either way round. Relay coils
produce brief high voltage 'spikes' when they are switched off and this can
destroy transistors and ICs in the circuit. To prevent damage you must
connect a protection diode across the relay coil.
CD4027
CD4027 is a JK flip flop that is generally used for data storing. Two similar or
equal JK flip flops are contained in the IC. Each pair of JK flip flop with IC has
provision of pins J, K, set, reset along with clock and with two output
terminals which are complimentary of each other. JK flip flop can be
employed in the applications like voice register, counters or else as a control
circuit.
Low power versions of the 555 are made, such as the ICM7555, but these
should only be used when specified (to increase battery life) because their
maximum output current of about 20mA (with a 9V supply) is too low for
many standard 555 circuits. The ICM7555 has the same pin arrangement as
a standard 555.
The circuit symbol for a 555 (and 556) is a box with the pins arranged to suit
the circuit diagram: for example 555 pin 8 at the top for the +Vs supply, 555
pin 3 output on the right. Usually just the pin numbers are used and they are
not labelled with their function.
The 555 and 556 can be used with a supply voltage (Vs) in the range 4.5 to
15V (18V absolute maximum).
Standard 555 and 556 ICs create a significant 'glitch' on the supply when
their output changes state. This is rarely a problem in simple circuits with no
other ICs, but in more complex circuits a smoothing capacitor (eg 100F)
should be connected across the +Vs and 0V supply near the 555 or 556.
The input and output pin functions are described briefly below and there are
fuller explanations covering the various circuits:
Inputs of 555/556
Trigger input: when < 1/3 Vs ('active low') this makes the output high (+Vs).
It monitors the discharging of the timing capacitor in an astable circuit. It has
a high input impedance > 2M .
Output of 555/556
The output of a standard 555 or 556 can sink and source up to 200mA. This
is more than most ICs and it is sufficient to supply many output transducers
directly, including LEDs (with a resistor in series), low current lamps, piezo
transducers, loudspeakers (with a capacitor in series), relay coils (with diode
protection) and some motors (with diode protection). The output voltage
does not quite reach 0V and +Vs, especially if a large current is flowing.
To switch larger currents you can connect a transistor.
The ability to both sink and source current means that two devices can be
connected to the output so that one is on when the output is low and the
other is on when the output is high. The top diagram shows two LEDs
connected in this way. This arrangement is used in the Level Crossing project
to make the red LEDs flash alternately.
Loudspeakers
A loudspeaker (minimum resistance 64 ) may be connected to the output of
a 555 or 556 astable circuit but a capacitor (about 100F) must be
connected in series. The output is equivalent to a steady DC of about Vs
combined with a square wave AC (audio) signal. The capacitor blocks the DC,
but allows the AC to pass as explained in capacitor coupling.
Piezo transducers may be connected directly to the output and do not
require a capacitor in series.
Relay coils and other inductive loads
Like all ICs, the 555 and 556 must be protected from the brief high voltage
'spike' produced when an inductive load such as a relay coil is switched off.
The standard protection diode must be connected 'backwards' across the the
relay coil as shown in the diagram.
However, the 555 and 556 require an extra diode connected in series
with the coil to ensure that a small 'glitch' cannot be fed back into the IC.
Without this extra diode monostable circuits may re-trigger themselves as
the coil is switched off! The coil current passes through the extra diode so it
must be a 1N4001 or similar rectifier diode capable of passing the current, a
signal diode such as a 1N4148 is usually not suitable.
1.4
(R1 + 2R2) C1
R2 = 10k
R1 = 1k
R2 = 100k
R1 = 10k
R2 = 1M
R1 = 100k
0.001F
68kHz
6.8kHz
680Hz
0.01F
6.8kHz
680Hz
68Hz
0.1F
680Hz
68Hz
6.8Hz
1F
68Hz
6.8Hz
0.68Hz
10F
6.8Hz
0.68Hz
(41 per min.)
0.068Hz
(4 per min.)
resistor) between +Vs and the output. This way the LED is on during Ts, so
brief flashes are achieved with R1 larger than R2, making Ts short and Tm
long. If Tm must be less than Ts a diode can be added to the circuit as
explained under duty cycle below.
Choose C1 to suit the frequency range you require (use the table as a
guide).
0.7
f C1
in series
Astable operation
With the output high (+Vs) the capacitor C1 is charged by current flowing
through R1 and R2. The threshold and trigger inputs monitor the capacitor
voltage and when it
reaches 2/3Vs
(threshold voltage)
the output becomes
low and the
discharge pin is
connected to 0V.
The capacitor now
discharges with
current flowing through R2 into the discharge pin. When the voltage falls to
1
/3Vs (trigger voltage) the output becomes high again and the discharge pin
is disconnected, allowing the capacitor to start charging again.
This cycle repeats continuously unless the reset input is connected to 0V
which forces the output low while reset is 0V.
An astable can be used to provide the clock signal for circuits such as
counters.
A low frequency astable (< 10Hz) can be used to flash an LED on and off,
higher frequency flashes are too fast to be seen clearly. Driving a
loudspeaker or piezo transducer with a low frequency of less than 20Hz will
produce a series of 'clicks' (one for each low/high transition) and this can be
used to make a simple metronome.
An audio frequency astable (20Hz to 20kHz) can be used to produce a
sound from a loudspeaker or piezo transducer. The sound is suitable for
Duty cycle
The duty cycle of an astable circuit is the
proportion of the complete cycle for which the
output is high (the mark time). It is usually given
as a percentage.
For a standard 555/556 astable circuit the mark
time (Tm) must be greater than the space time (Ts), so the duty cycle must
be at least 50%:
Duty cycle =
Tm
Tm + Ts
R1 + R2
R1 + 2R2
Tm
Tm + Ts
R1
R1 + R2
Monostable operation
The timing period is triggered (started) when the trigger input (555 pin 2) is
less than 1/3 Vs, this makes the output high (+Vs) and the capacitor C1
starts to charge through resistor R1. Once the time period has started further
Power-on reset or
trigger circuit
cancelled at any time by connecting reset to 0V, this instantly makes the
output low and discharges the capacitor. If the reset function is not required
the reset pin should be connected to +Vs.
The capacitor takes a short time to charge, briefly holding the input close to
0V when the circuit is switched on. A switch may be connected in parallel
with the capacitor if manual operation is also required.
edge-triggering circuit
This arrangement is used for the trigger in the Timer Project.
Edge-triggering
If the trigger input is still less than 1/3 Vs at the end of the time period the
output will remain high until the trigger is greater than 1/3 Vs. This situation
can occur if the input signal is from an on-off switch or sensor.
The monostable can be made edge triggered, responding only to changes
of an input signal, by connecting the trigger signal through a capacitor to the
trigger input. The capacitor passes sudden changes (AC) but blocks a
constant (DC) signal. For further information please see the page on
capacitance. The circuit is 'negative edge triggered' because it responds to a
sudden fall in the input signal.
The resistor between the trigger (555 pin 2) and +Vs ensures that the trigger
is normally high (+Vs).
The power-on reset, power-on trigger and edge-triggering circuits can all be
used as described above for the monostable.
When the input voltage is between 1/3 and 2/3 Vs the output remains in its
present state. This intermediate input region is a deadspace where there is
no response, a property called hysteresis, it is like backlash in a mechanical
linkage. This type of circuit is called a Schmitt trigger.
If high sensitivity is required the hysteresis is a problem, but in many circuits
it is a helpful property. It gives the input a high immunity to noise because
once the circuit output has switched high or low the input must change back
by at least 1/3 Vs to make the output switch back.