Mini Project Report (CLAP SWITCH)
Mini Project Report (CLAP SWITCH)
1.1 OBJECTIVE OF THE PROJECT A circuited switch, which operates with sound of clapping hands or something similar; i.e. the switch comes to 'on' position when clapped once or twice, and to 'off' position when again clapped once or twice (depends on circuit design)
Page | 1
Page | 2
/3 Vs. Usually this function is not required and the control input is connected to 0V with a
0.01F capacitor to eliminate electrical noise. It can be left unconnected if noise is not a problem.
Monostable
Fig 2.3 Schematic of a 555 in monostable mode The relationships of the trigger signal, the voltage on C and the pulse width in monostable mode. In the monostable mode, the 555 timer acts as a one-shot pulse generator. The pulse begins when the 555 timer receives a signal at the trigger input that falls below a third of the voltage supply. The width of the output pulse is determined by the time constant of an RC network, which consists of a capacitor (C) and a resistor (R). The output pulse ends when the voltage on the capacitor equals 2/3 of the supply voltage. The output pulse width can be lengthened or shortened to the need of the specific application by adjusting the values of R and C. The output pulse width of time t, which is the time it takes to charge C to 2/3 of the supply voltage, is given by
where t is in seconds, R is in ohms and C is in farads. See RC circuit for an explanation of this effect. While using the timer IC as a monostable the main disadvantage is that the time span between the two triggering pulses must be greater than the RC time constant.
Page | 4
Bistable
In bistable mode, the 555 timer acts as a basic flip-flop. The trigger and reset inputs (pins 2 and 4 respectively on a 555) are held high via Pull-up resistors while the threshold input (pin 6) is simply grounded. Thus configured, pulling the trigger momentarily to ground acts as a 'set' and transitions the output pin (pin 3) to Vcc (high state). Pulling the reset input to ground acts as a 'reset' and transitions the output pin to ground (low state). No capacitors are required in a bistable configuration. Pin 5 (control) is connected to ground via a small-value capacitor (usually 0.01 to 0.1 uF); pin 7 (discharge) is left floating.
Page | 5
CHAPTER 3 CD 4017 IC
3.1 CD 4017 IC
4017 IC is a common useful digital IC. [ From input pin (14 nodes)]. This is called divided by10 counter because it produces one tenth of square wave frequency provided from input pin(pin 14) to output pin (on pin 12).Counter circuit is a digital circuit. Generally, counter is the circuit that counts the number of the square wave entered to the circuit. In CD 4017 IC means the symbol of the company that produces the IC. There are IC, with other letters, this IC is called 4017 IC is the form of 14 pin DIP which includes 16 pins. Block diagram of IC pin and the application of IC are shown in Figure (a) and (b) respectively. The function of each pin is shown in the following.
Page | 6
En- clock Enable input (pin13) Pin 13 is grounded to alternate the high-state of the output pin (Qo - Q9) of 4017 IC regularly. If pin 13 is connected to positive supply, the counter will stop.
R- Reset input (pin 15) Pin 15 is grounded to alternate the high-state of the output pin (Qo - Q9). In practice, pin 15 is connected to the positive supply and time directly reconnected to the ground to reset it. VDD, VSS Supply pins (pin 16 and pin 18) In 16 is connected to the positive supply and illustrated with VDD as shown in figure pin 18 is the pin to be connected to the ground is described with VSS.
3.3OUTPUT PINS
Q0 Q9 The output pins are from Q0 to Q9. When the square wave is supplied to input pin 14, each pin from Q0 to Q9 changes to high state in its every positive going edge. Only one of the 10 output pins is in high-state and other 9 output pins are all low-sate.
CO- Carry Out CO is also output pin. But, the frequency of square wave from output pin is one tenth of the frequency supplied from pin 14.
CD 4017 IC Specification - Supplied voltage 3V 15V - Max: out current10 mA Max: - Power absorbed by each pin 100 mW.
4017 IC can work very well with supplied voltage 3V to 5V. Although the maximum supplied voltage is 15V, practically only 12V usually used.
Page | 7
The BC548 is a general purpose silicon NPN BJT transistor found commonly in European electronic equipment; the part number is assigned by Pro Electron, which allows many manufacturers to offer electrically and physically interchangeable parts under one identification. The BC548 is commonly available in European Union and Commonwealth Countries and is often the first type of bipolar transistor young hobbyists encounter. The BC548 is often featured in circuit diagrams and designs published in Electronics Magazines such as "Silicon Chip" and "Elektor". As a representative of the large family of bipolar transistors the BC548 provides a "stepping off point" to the use of more esoteric, higher voltage, current or frequency devices for beginners.If the TO-92 package is held in front of one's face with the flat side facing toward you and the leads downward, (see picture) the order of the leads, from left to right is collector, base, emitter. 4.2 n-p-n TRANSISTOR The BC548/549 transistor is an NPN Epitaxial Silicon Transistor. The BC547 transistor is a general-purpose transistor in a small plastic packages. It is used in generalpurpose switching and amplification BC548/BC549 series 45 V, 100 mA NPN generalpurpose transistors.
The BC548/549 transistor is an NPN bipolar transistor, in which the letters "N" and "P" refer to the majority charge carriers inside the different regions of the transistor. Most bipolar transistors used today are NPN, because electron mobility is higher than hole mobility in semiconductors, allowing greater currents and faster operation. NPN transistors consist of a layer of P-doped semiconductor (the "base") between two N-doped layers. A small current entering the base in common-emitter mode is amplified in the collector output. In other terms, an NPN transistor is "on" when its base is pulled high relative to the emitter. The arrow in the
Page | 8
NPN transistor symbol is on the emitter leg and points in the direction of the conventional current flow when the device is in forward active mode. One mnemonic device for identifying the symbol for the NPN transistor is "not pointing in." An NPN transistor can be considered as two diodes with a shared anode region. In typical operation, the emitter base junction is forward biased and the base collector junction is reverse biased. In an NPN transistor, for example, when a positive voltage is applied to the base emitter junction, the equilibrium between thermally generated carriers and the repelling electric field of the depletion region becomes unbalanced, allowing thermally excited electrons to inject into the base region. These electrons wander (or "diffuse") through the base from the region of high concentration near the emitter towards the region of low concentration near the collector. The electrons in the base are called minority carriers because the base is doped p-type which would make holes the majority carrier in the base.
Page | 9
Page | 10
Page | 11
5.3 Diode
Diode can be made of either two of semiconductor materials, silicon and germanium. Power diodes are usually constructed using silicon and germanium. Silicon diode can operate at higher current and at higher junction temperature, and they have greater reverse resistance. The structure of a semiconductor diode and it symbol are shown in Figure. The diode has two terminals, an anode, A terminal ( P junction ) and a cathode K terminal ( N junction ). When the anode voltage is more positive than the cathode, the diode is said to be forward biased and it conducts current readily with a relatively low voltage drop. When the cathode voltage is more positive than the anode, the diode is said to be reverse biased, and it blocks current flow. The arrow on the diode symbol shows the direction of convection current flow when the diode conducts.
Page | 12
5.4 Transistor
A multi electrode semiconductor device in which the current flowing between two specified electrons is controlled or modulated by the voltage applied at third (control) electrodes. The term transistor was originally derived from the phase transfer resistor, as the resistance of the output electrode was controlled by the input circuit. Transistors fall into two major classes: the bipolar junction transistor (BJT) and the field-effect transistor (FET).We used bipolar junction transistor (BJT).Bipolar junction transistor consists of (a) pnp transistor and (b) npn transistor. (a) pnp transistor circuit symbol
In a pnp transistor, a thin layer of n-type semiconductor is sandwiched between two layers of p-type semiconductor. (b) npn transistor circuit symbol
Page | 13
5.5 RELAY
Relays are one of the oldest, simplest, and yet, easiest and most useful devices. Before the advent of the mass produced transistor, computers were made from either relays or vacuum tubes, or both. A relay, quite simply, is a small machine consisting of an electromagnet (coil), a switch, and a spring. The spring holds the switch in one position, until a current is passed through the coil. The coil generates a magnetic field which moves the switch. It's that simple. You can use a very small amount of current to activate a relay, and the switch can often handle a lot of current. The relay we are going to look at is the Bosch 5 pin relay. Bosch is a German manufacturing conglomerate (who also happen to own Bosch Telekom and Blaupunkt), but they are not the only manufacturer of this relay. There are several other companies such as Siemens (stop laughing) and Potter & Brumfield. I don't know why they call it the Bosch type relay, but dammit, I don't give a shit either. The Bosch 5 pin relay is the most widely used and versatile relay, and it can handle up to 30 amps, which is more than suitable for most applications. Looking at the diagram to the right, we see the pinout of the relay. Note that each pin is numbered, 85, 86, 87, 87a, and 30. The 30 pin is set perpendicular to the other pins to let you know where each pin is at (although, most relays are labeled at the bottom). 85 and 86 are the coil pins. Normally, it doesn't matter which way you pass the current, because if you hook it up backwards, the coil will still activate the relay. However, relays sometimes have an odd tendency to turn themselves back on briefly. To counter this, a diode (a one way switch) is placed between 85 and 86. This is referred to as a tamping diode. A diode wall have a very high resistance in one direction, and a very low resistance in the opposite direction. When a tamping diode is used, it is important that you hook the coil up according to polarity. If a tamping diode is used, and you hook it up backwards, you will essentially be shorting a wire out, which sucks, because you can and will burn something up.
Page | 14
30, 87, and 87a are the other three pins. 87 and 87a are the two contacts to which 30 will connect. If the coil is not activated, 30 will always be connected to 87a. Think of that pin as "87, always connected". When current is applied to the coil, 30 is connected to 87. 87 and 87a are never connected to each other. Here, polarity does not ever matter. You can connect 30 up to positive or negative, and that is what you will get out of 87 or 87a. Refer to the picture at left, and perhaps it will make the relay a tad simpler. As you can see, the coil is in no way connected to the switch part of the relay. This can allow you to completely isolate one circuit from another. You can even use a separate power supply to control the relay.
Page | 15
Page | 16
Page | 17
R1
3.3k
R3
2.2M
R5
3.3k
R6
10k
R7
270k
R10
10k
R9
100k
D3
D2
LED-GREEN1N4001
R13
8
C2
4
U1
Q DC 3 7
R12
1k
D1
8
470k
VCC
R2
4.7k
C1
0.01uf
10uF
VCC
U2
Q DC 3 7 14 13
U3
CLK E Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 CO 3 2 4 7 10 1 5 6 9 11 12
Q1
BC549 5 CV
LED-RED
R11
10k
Q2
BC548
5
GND
CV
TR
TH
6 2 555
GND
C7
TR TH 6 2.2uf 15volt 15
270k
R4
C4
0.01uf
C3
10uf 25volt
R8
1k
555
C6
0.01uf
MR
C5
1nF
4017 PACKAGE=DIL16
RL1
5V
L1
8V
B1
9V
Page | 18
R1
3.3k
R3
2.2M
R5
3.3k
R6
10k
R7
270k
R10
10k
R9
100k
D3
D2
LED-GREEN1N4001
R13
8
C2
4
U1
Q DC 3 7
R12
1k
D1
8
470k
VCC
R2
4.7k
C1
0.01uf
10uF
VCC
U2
Q DC 3 7 14 13
U3
CLK E Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 CO 3 2 4 7 10 1 5 6 9 11 12
Q1
BC549 5 CV
LED-RED
R11
10k
Q2
BC548
CV
GND
TR
TH
6 2 555
C7
GND
TR TH 6 2.2uf 15volt 15
270k
R4
C4
0.01uf
C3
10uf 25volt
R8
1k
555
C6
0.01uf
MR
C5
1nF
4017 PACKAGE=DIL16
RL1
5V
L1
8V
B1
9V
Page | 19
CHAPTER-8
8.1 ADVANTAGES:
Energy efficient. Low cost and reliable circuit. Complete elimination of manpower. High Accuracy
8.2 APPLICATIONS:
The major advantage of a clap switch is that you can turn something (e.g. a lamp) on and off from any location in the room (e.g. while lying in bed) simply by clapping your hands. The primary application involves an elderly or mobility-impaired person. A 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. The major disadvantage is that it's generally cumbersome to have to clap one's hands to turn something on or off and it's generally seen as simpler for most use cases to use a traditional light switch.
Page | 20
CHAPTER-9
CONCLUSION
Assemble the circuit on a general-purpose PCB and enclose it in a suitable box. This circuit is very useful in field of electronic circuits. By using some modification it area of application can be extended in various fields. It can be used to raised alarm in security system with a noise ,and also used at the place where silence needed.
Page | 21
REFERENCE
www.efy.com www.electronics.com www.google.com Wikipedia Unconventional Uses for IC Timers Jim Wyland and Eugene Hnatek, Electronic Design, June 7, 1973, pp. 88-90. DC-to-DC Converter Uses the IC Timer, Robert Soloman and Robert Broadway, EDN, September 5, 1973, pp. 87-91.
Page | 22