Design and Construction of Clap Activated Switch

Similar documents
HIGH LOW Astable multivibrators HIGH LOW 1:1

ASTABLE MULTIVIBRATOR

High Current MOSFET Toggle Switch with Debounced Push Button

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

DEPARTMENT OF ELECTRICAL ENGINEERING LAB WORK EE301 ELECTRONIC CIRCUITS

AND ITS APPLICATIONS M.C.SHARMA

Design and Technology

Summer 2015 Examination

555 Timer and Its Application

hij Teacher Resource Bank GCE Electronics Exemplar Examination Questions ELEC2 Further Electronics

ELEXBO A-Car-Engineering

GCSE Electronics. Scheme of Work

Low Voltage, High Current Time Delay Circuit

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET REV. NO. : REV.

Difference between BJTs and FETs. Junction Field Effect Transistors (JFET)

Multivibrators. Department of Electrical & Electronics Engineering, Amrita School of Engineering

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS

LM13600 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

Government Polytechnic Muzaffarpur Name of the Lab: Applied Electronics Lab

Applications of the LM392 Comparator Op Amp IC

Experiment (1) Principles of Switching

Electronic Metronome. Using a 555 Timer

). The THRESHOLD works in exactly the opposite way; whenever the THRESHOLD input is above 2/3V CC

Analog Electronic Circuits Lab-manual

Draw in the space below a possible arrangement for the resistor and capacitor. encapsulated components

Experiment EB2: IC Multivibrator Circuits

Q1. Explain the Astable Operation of multivibrator using 555 Timer IC.

Concepts to be Reviewed

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION MARCH-2013 SCHEME OF VALUATION

5v AC R. 12v. 1kohm. F=35KHz oscilloscope. 3 Final Project OFF. ON Toggle Switch. Relay 5v 2N3906 2N uF LM311. IR Detector +5v GND LED PNP NPN

LM555 and LM556 Timer Circuits

Design and Development of an Electronic Voltage Indicator for Public Utility

Lab 2 Revisited Exercise

Lecture 14: 555 Timers

Fig 1: The symbol for a comparator

Contents. Acknowledgments. About the Author

Parallel Port Relay Interface

Long Loopstick Antenna

PAiA 4780 Twelve Stage Analog Sequencer Design Analysis Originally published 1974

As you can see, by varying the turn-on point, the amount of power getting to the bulb is adjustable, and hence the light output can be controlled.

Electronics (JUN ) General Certificate of Secondary Education June Time allowed 2 hours TOTAL

CHAPTER 4: 555 TIMER. Dr. Wan Mahani Hafizah binti Wan Mahmud

1 Second Time Base From Crystal Oscillator

LM139/LM239/LM339 A Quad of Independently Functioning Comparators

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN

Introduction to IC-555. Compiled By: Chanakya Bhatt EE, IT-NU

ML4818 Phase Modulation/Soft Switching Controller

Semiconductors, ICs and Digital Fundamentals

b b Fig. 1 Transistor symbols

Basic Operational Amplifier Circuits

LINEAR IC APPLICATIONS

Power Line Carrier Communication

Lab 4. Transistor as an amplifier, part 2

LM13700 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

Analog Circuits Part 3 Operational Amplifiers

1.3 Mixed-Signal Systems: The 555 Timer

No.01 Transistor Tester

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Linear Integrated Circuit Subject Code:

SPACE WAR GUN KIT MODEL K-10. Assembly and Instruction Manual. Elenco Electronics, Inc.

B.E. SEMESTER III (ELECTRICAL) SUBJECT CODE: X30902 Subject Name: Analog & Digital Electronics

Lecture 3: Transistors

Emitter base bias. Collector base bias Active Forward Reverse Saturation forward Forward Cut off Reverse Reverse Inverse Reverse Forward

Using Circuits, Signals and Instruments

R & D Electronics DIGITAL IC TRAINER. Model : DE-150. Feature: Object: Specification:

FACTFILE: GCSE Technology and Design

ECE U401/U211-Introduction to Electrical Engineering Lab. Lab 4

Matrix Multimedia Limited Tel Fax

Maintenance Manual ERICSSONZ LBI-31552E

CA555, CA555C, LM555, LM555C, NE555

Final Exam: Electronics 323 December 14, 2010

Designing and Implementing of 72V/150V Closed loop Boost Converter for Electoral Vehicle

Process Components. Process component

Discrete Op-Amp Kit MitchElectronics 2019

Transistor Flasher Kit MitchElectronics 2018

Industrial Fully Control Dc Motor Drive without Microcontroller. Four Quadrant Speed Control of DC Motor Using MOSFET and Push Button Switch

University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 4 Pulse Width Modulation Circuit

Features. Applications

Micrel, Inc Fortune Drive San Jose, CA USA tel + 1 (408) fax + 1 (408)

PHYS225 Lecture 18. Electronic Circuits

OBJECTIVE TYPE QUESTIONS

OBJECTIVE The purpose of this exercise is to design and build a pulse generator.

Exam Booklet. Pulse Circuits

COLLECTOR DRAIN BASE GATE EMITTER. Applying a voltage to the Gate connection allows current to flow between the Drain and Source connections.

LM13700 Dual Operational Transconductance Amplifiers with Linearizing Diodes and Buffers

SUBELEMENT T6 Electrical components: semiconductors; circuit diagrams; component functions 4 Exam Questions - 4 Groups

MAINTENANCE MANUAL AUDIO MATRIX BOARD P29/

Special-Purpose Operational Amplifier Circuits

PHYS225 Lecture 6. Electronic Circuits

Applications of the LM392 Comparator Op Amp IC

Function Generator Using Op Amp Ic 741 Theory

NJM3777 DUAL STEPPER MOTOR DRIVER NJM3777E3(SOP24)

UNIT-V: WAVEFORM GENERATORS AND SPECIAL FUNCTION ICs. PARTA (2 Marks)

Chapter 16: Oscillators

Oscillators. An oscillator may be described as a source of alternating voltage. It is different than amplifier.

Op Amp Booster Designs

Learning Objectives:

Massachusetts Institute of Technology MIT

Electronic Instrumentation ENGR-4300 Fall 2004 Section Experiment 7 Introduction to the 555 Timer, LEDs and Photodiodes


HEATHKIT HD-1410 ELECTRONICKEYER

Transcription:

Design and Construction of Clap Activated Switch Tomiwa A. C. Lecturer, Department of Physics and Electronics, AdekunleAjasin University, Akungbaakoko, Ondo State, Nigeria Abstract A sound activated switch is a device that utilizes sound to control appliances. An example of a sound activated switch is the one that works by mere clapping of hand. This could be likened to the stopwatch system used in the international athletics competition which uses a gunshot to trigger it to start. Clap activated switch (CAS) is a simple type of control system that requires a clap to control e.g a lamp. This is able to be achieved because it has a microphone that picks up sound and a high gain amplifier that amplifies the sound to about 20times of its input level. The sound is now sent to one-shot monostable circuit that is configured to be triggered by a clap.the monostable circuit also acts as a Schmitt trigger as it converts the clap sound to a square pulse, sending it as a clock pulse to a D type flipflop. The flip-flop causes a change in output latching it either ON or OFF. This latching is used to control light bulb, using a relay via a relay driver circuit. Keywords: Later in the 990s the remote control was invented, but these made use of a transmitter and receiver, enabling control through electromagnetic waves. It, however, has its own disadvantages even if it can control appliances from afar. The transmitter can get lost and it also requires consulting manuals to understand their operations, and also considering that it is not very applicable that certain appliances are controlled by the remote control, e.g. light bulb []. In the 980s, the sound activated control system was invented to overcome the shortcoming of the remote control. This made use of all type of sounds for controlling basic appliances and can be adjusted to different sensitivity level enabling it range to be variable. This project is a prototype of a sound activated control system, but it was designed to make use of clap as it sound source. Flip-flop, Monostable, Astable, Relay. I. INTRODUCTION In the past, appliances and gadgets were manually controlled. The radio and cassette players that are available then had buttons and variable knob for switching on and controlling the sound. This made it difficult for appliances to be controlled from afar. MIC INERTING AMPLIFIER MONOSTABLE CIRCUIT D TYPE FLIP FLOP RELAY DRIER Figure : Block Diagram of Clap Activated Switch (CAS) ISSN: 22-58 http://www.ijettjournal.org Page

II. COMPONENTS OF CLAP ACTIATED SWITCH The Clap Activated Switch makes use of certain components to achieve its purpose. The components include:microphone, Resistors, Capacitors, Transistors, ICs, Relay A) Microphone A microphone converts sound waves to electrical audio waves of the same frequency and relative amplitude. Microphonesare transducers. They transform one form of energy (air or mechanical) to electrical their electrical equivalent energy. There are several types of microphones. Examples include: Crystal microphone, Dynamic microphone, Electret microphone. But this project makes use of the Electret microphone for its operation. An Electret microphone is the most recent addition to the range of commonly used microphone. It is also known as the CAPACITOR MICROPHONE or CONDENSER MIC and it is so called because it behaves like a capacitor and has polarity. The microphone uses an electrets element, which is a special capacitor with one plate being a flexible diaphragm. If a voltage is applied to the electrets element, the capacitor is charged and there is no current flow apart from a negligible leakage current. However, sound waves hitting the diaphragm charge the capacitor (which depends on spacing between the plates). The amount of charges in the capacitor does not change as the capacitance varies. The voltage across the capacitor varies to maintain a constant charge. Electret microphone is high quality microphones with excellent sound quality. Recent development in technology has reduced its size to a very small size that can be fitted into miniature tape recorders. It is cheap and easy to use. It is because of its ease and high sensitivity that it was chosen for the design and construction of the CAS[2]. INSULATOR PERFORATED MYLAR -- -- -- -- --- --- --- --- --- ---- ---- SPRIN G PLASTI C CAP METAL RING CONTAC Figure 2 Electret Microphone III. THEORY OF TRANSISTOR OPERATION The theory of NPN transistor operation is shown below in the Figure 2. The negative terminal of the battery is connected to the N-type emitter. The positive terminal of the same battery is connected to the P-type base; therefore the emitter-base circuit is forward biased. In the collector circuit, the N collector is connected to the positive battery terminal. The P base is connected to the negative terminal. The collector base circuit is reverse biased. For the PNP transistor, the battery will be connected in the positive way of the NPN transistor. Electron enters the emitter from the negative battery source and flows towards the junction. The electron bias has reduced the potential hill of the first complete emitter-base circuit. However the base is a very thin section of about 0.00 inches. Most of the electrons flow on through the collector. This electron flow is added by the low potential hill in the second PN junction approximately 95 to 98 percent of the current through the emitter to the collector. About 2 to 5 percent of the current moves between the emitter and the base. A small changein the emitter bias voltage causes a somewhat large change in the emitter-collector current. It is this characteristic of a transistor that enables it to be a current amplifier and also as a relay driver as used in the Clap Activated Switch []. ISSN: 22-58 http://www.ijettjournal.org Page 4

The 555 Timer IC can be operated in two modes: i. Monostable mode ii. Astable mode I. RELAY A relay is device which operates when the electrical quantity to which it responds, changes in a prescribed manner, causing an abrupt change in its related circuit or causes operation of other interconnected devices. The relay must have the power to be energized, once power is removed, it de-energizes, making or breaking a circuit. Relay control circuits because they are indispensable in controlling variables. They are mostly used as final element on its usage and its size. Some of the mostly used and easily constructed relays include: The Plunger Type Relay, The Armature Type Relay. But this project makes use of the latter because it is cheap, simple to use and readily available. This relay makes use of an armature, with one end attached to a restraining spring. It has a normally open contact (NO) and normally closed contact (NC), with the armature acting as the common (COM). It also has a coil that can be energized or de-energized to attract or release the armature. This is how it operates when voltage is applied to the coil contacts, the coil is energized and a flux is set up in the relay coil and air gap. The surface adjacent to the air gap becomes magnetized. This pulls the armature plate to the No contact. When no voltage is applied, the restraining coil pulls the armature back to its original place, switching off the adjacent circuit[4]. ARMATURE NC CONTACT NO CONTACT RELAY COIL RESTRAINING SPRING SOFT IRON CORE YOKE SUPPLY TO ENERGIZE COIL Figure Armature Relay. METHODOLOGY A) Design of Clap Activated Switch The clap activated control circuit is divided into three main stages: i. ERY SENSITIE AMPLIFIER ii. MONOSTABLE MULTIIBRATOR iii. DUAL D TYPE FLIP-FLOP But the thrust of this project bothers on the stages (i) and (ii) which can be collectively called the CLAP DETECTOR. The whole project is powered by 2 ISSN: 22-58 http://www.ijettjournal.org Page 5

regulated power supply circuit which falls within the supply voltage range for the LM24, 555Timer and 40ICs. During the process of designing the circuit, a way of creating a very sensitive amplifier circuit (using an Op-Amp), was considered. The first operational amplifier that came to mind was LM24 Op-Amp which is a general purpose Op-Amp. Also its frequency compensated and it has very good characteristics[5]. For the monostable circuit, a 555 timer was used. It is the single simplest way to create a monostablemultivibrator, utilizing very few components. Also, although the Op-Amp LM24 is normally operated with positive and negative voltage, it is designed to work with positive and ground as well. This was used in this project and it was observed that the 24 Op-Amp operated fine. A very sensitive amplifier design must have a high gain; at least a gain of 00and must be configured in such a way as to pick up very small sounds. Also, it must be capable of preparing the signal for the next stage. With this in mind, a high gain inverting amplifier was made use of and the circuit diagram is as shown below: +2 0kΩ MIC 0kΩ 0kΩ kω 2 20k - 6 + To Clap Setpoint Potential Divider Figure4 High Gain Inverting Amplifier The non-inverting input of the Op-Amp is held at /2 cc, while its inverting input is connected to Electret microphone whose resistance is about 2K, maintaining the voltage at its input below /2 cc for the most sound making its output to be zero. A sound made, e.g., a clap, one create a waveform that causes the normally below inverting input voltage to jump a little above the non-inverting voltage (/2 cc ). This is amplified to large negative voltage at its output (because it is an inverting amplifier). The negative voltage appears at the clap set -point potential divider junction of the monostable circuit [6]. A O i R R f i () O 20 K A 20 i K..(2) Therefore, the gain of the amplifier is 20times the input voltage. It bears a negative sign because of its phase reversal. Below is the circuit diagram of the Clap Activated Switch: For the resistor value,a standard value of 0K was made use of. ISSN: 22-58 http://www.ijettjournal.org Page 6

2 R 8 MΩ N448 0kΩ R MIC 0kΩ R 2 C 0kΩ R kω R 4 20kkΩ R 5 2-24 + 00kΩ R 6 00kΩ R 7 2 C 8 4 555 0.0µF 7 6 5 C 4 R 9 0kΩ 9 2 40,4,5,6,8, 7 0k Ω 2 Relay 2N2222 GND A Figure 5 Schematics of Clap Activated Switch I. DESIGN OF THE CLAP SETPOINT POTENTIAL DIIDER The clap setpoint potential divider is the most important part of this project. This is because it is the part that sets the monostable trigger pin in such a way as to enable just clap frequencies triggers it. It was design previously with a potentiometer. The value of the potentiometer was gotten thus: The minimum current value that is able to be triggered for pin 2 is about μamp. For safety reason the value of the current chosen is 48μAmp. To get the resistance value of R 6 and R 7 ohms law is I R 2 0.048 ma 2 0.048 put into application. IR............ () 250,000 So the preferred value was 250K Using a 250K potentiometer, the set up was connected as shown below: ISSN: 22-58 http://www.ijettjournal.org Page 7

cc R6 00kΩ From Amplifier 0 To Pin2 R 7 00kΩ Figure 6: Clap Set point Potential Divider After connection, the voltage for the / cc was calculated: II. DESIGN OF THE MONOSTABLE CIRCUIT CC X 2 4.........( 4 ) Which is the trigger pin voltage necessary to produce a shot. Hence, if the voltage of the variable arm of the potentiometer can be gotten to below 4, it will cause triggering. A clap was made, taking time to adjust the variable arm until it rested at a value whereby it was only triggered by Claps. The resistance between the variable arm and each terminal of the potentiometer was measured and it was given as: R 95 K, R 05 K 6 7..(5) So the preferred value for the resistors R 6 and R 7 was chosen to 00K. A monostablemultivibrator is a one-shot circuit which produces pulses when triggered. In this project, the monostable circuit has its trigger pin held at /2 cc and it is required that its voltage CC 2 reduce below / cc before a shot can be produced so when a clap is made, it creates a large negative voltage that has a reducing effect on the voltage at the trigger pin reducing it below / cc. this sets the output of the monostable circuit and switches OFF the discharge transistor causing C4 to start charging. The capacitor charges through R8 and R9 till it reaches 2/ cc. Immediately it gets to this voltage, the upper comparator pin (pin6) resets the output and switches ON the discharge transistor, discharging the capacitor through R8. This creates a shot whose width is given by the formula: T. RC.(6) Were R is in Megaohms and C is in Microfarads, for t to be in seconds. But t has to be in microseconds as there should be no time lag between a clap and its response. For easy calculation, onetenth of a second was chosen. ISSN: 22-58 http://www.ijettjournal.org Page 8

T 0 S.(7) R9 is a discharge resistor. It was inserted to improve the pulse response of the monostable circuit, practically. +2 Clap 00kΩ R 6 00kΩ R 7 2 C 8 4 555 5 0.0µF 7 6 R 8 R 9 C 4 MΩ 0kΩ To CLK Pins of D flip flop Figure 7: CAS Monostable Circuit III. RESULTS If a clap is made, the Electrets Microphone picks up the sound wave. It is converted to its electrical equivalent. This is amplified by thenoninverting amplifier (/4LM24). This amplifies the signal to 20times the input received from the MIC. This produces a negative voltage pulse that triggers pin 2 (Trigger) of the 555 timer. The timer produces one-shot pulse (square pulse) which now feeds the data input of the CD40 flip flop integrated circuit. The D flip flop is connected in a way that Complementary output (Q ) is connected to the Data input (D). Basically, the Complementary output (Q ) is the opposite of the Normal output (Q); that is, when Qis LOW, Q is HIGH. Hence, D is HIGH. At initial state, the output Q (pin ) is 0 and Q (pin 2) is, the Data input D (pin 9) is. When the first clap is made, the positive edge of the one-shot pulse from the 555Timer clocks the clock input (pin ) of the 40 flip flop hence transferring the from D to Q output (). Q eventually becomes 0 and so is D (0). When a second clap is made the (0) from D is transferred to Q (0). Another clap reverses the set up and so on. Note: The Normal Output (Q) determines the final output. INPUT Table : Operation Flip Flop OUTPUT Claps D Q Q Commentary - 0 OFF st clap 0 0 ON 2 nd clap 0 OFF ISSN: 22-58 http://www.ijettjournal.org Page 9

To produce a final output that powers a device, the output(s) received from the flip flop (Q) then switches a relay through a transistor interface. cut off. Employing this technology, several inconveniences faced at homes and other places can be considerably minimized. IX. CONCLUSION REFERENCES Before and after connecting the circuit in the casing, the set up was tested. The cord was connected to power supply and a clap was made: the light came on. A second clap was made: the light went off, hence confirming that the Clap Activated Switch is working properly. The Clap Activated Switch can be used to control any variable and not just light and other system also makes use of other sounds order than clap e.g. voice. Also the CAS, although a high quality control device, it is sometimes triggered by loud sounds like slamming doors, shouting, whistling etc. this can be prevented by the use of a high quality filter between the amplifier and the monostable circuit. This will enable the frequency sounds to be [] Tokheim (994): Digital Electronics McGraw Hill International Fourth Edition, pages 9-40. [2] Howard H. Gerrish and willaims E. Dugger (984): Electricity and Electronics McGraw Hill Book Company Fourth Edition, Pages 20, 46, 68. [] Kevin F. Brennan Handbook of Electronics (992): The physics of Semiconductor with Applications to Optoelectric Devices; Second Edition, pages 69. [4] Sessler, G. M.; West, J. E. (962): Self-biased Condenser Microphone with High Capacitance. Journal of the Acoustical Society of America 4: 787-788. [5].K. Mehta (998): Principles of Electronics Published by S. Chand and Coy Ram Nagar; Sixth Edition, Pages 90. [6] Milton Kaufman, Authur H. Sheidman (999): Handbook of Electronics Calculations for Engineers and Technicians McGraw Hill Company; Second Edition, Pages 0 2 ISSN: 22-58 http://www.ijettjournal.org Page 40