555 timer ic

Clap Switch Circuit for Devices using 555 and 4017

The circuit schematic, operation, and applications of the 9-way Clap Switch Circuit have already been discussed. Now we’ll look at a circuit called the clap switch circuit for devices. I’ll show you two clap switch circuits, both of which are based on the 555 and 4017 integrated circuits.

Clap Switch Circuit

Using these circuits, you can control electrical appliances by simple clapping. Summary of the project given below:

Outline

  • Clap Switch Circuit Summary
  • Clap Switch Circuit using 555 and 4017
    • Circuit Diagram
    • Components Required
    • PCB for Clap Switch Circuit
  • Clap Switch Circuit for Multiple Devices
    • Circuit Diagram
    • Circuit Components
  • Clap Switch Circuit Description
  • How Clap Switch Circuit Works?

Clap Switch Circuit Summary

  • This circuit is useful if you want to “ON” and “OFF” the gadget without leaving your current location.
  • Another advantage of this circuit is that there is no risk of electrical shock because no direct contact with the mechanical switches is necessary.
  • You will also be given a visual depiction of the gadgets.
  • The fan’s speed can also be regulated using this circuit by connecting the regulator to various outputs.

Clap Switch Circuit using 555 and 4017

In the first circuit, I will control a single relay using clap switch. When you clap once, the relay is activated and the light (or any load) is turned ON. When you clap for the second time, the relay is deactivated and the light is turned OFF.

Circuit Diagram

blank

Components Required

  • 555 IC
  • CD4017 IC
  • Relay
  • Resistors – 100Ω, 560Ω, 4.6KΩ, 18KΩ x 3, 33KΩ
  • Capacitors – 0.1µF x 2, 4.7µF
  • Microphone
  • BC547
  • 1N4004 Diode
  • LED

PCB for Clap Switch Circuit

I have made a simple PCB for the above mentioned clap switch circuit. The PCB layout is shown on the following image.

blank

If you want to make your own PCB, I have included the Eagle CAD PCB Files. You can download them from here.

Clap Switch Circuit for Multiple Devices

In the second circuit (similar to the one above), I have added a few extra relays to control additional devices.

Circuit Diagram

blank

Circuit Components

  • IC
    • IC1(NE555) – 1
    • IC2(CD4017) – 1
  • Resistor
    • R1,R4(10K) – 2
    • R2,R7,R8,R9(1K) – 4
    • R3(2.2K) – 1
    • R5(220E) – 1
    • R6(150) – 1
  • C1,C2(.1uf) – 2
  • C3(1uf) – 1
  • C4(4.7uf) – 1
  • Mic – 1
  • LED – 3
  • T1(BC548) – 1
  • T2,T3,T4(BC547) – 3
  • Relay – 3

Clap Switch Circuit Description

This circuit is mostly based on two ICs, the NE555 timer and the CD4017, along with a few other components.

In this circuit, the IC 555 timer is wired as a monostable oscillator. The IC NE555 monostable generates a clock pulse, which is utilised to generate an oscillating wave at IC1 pin 3, which is an output pin, in this design. Only one steady state exists in a monostable (or one shot multivibrator), and all we need to do is trigger it externally to return it to its original state.

The CD4017, a CMOS counter/divider IC, is another option. It receives a clock signal through the clock input and switches on all 10 outputs in a sequential manner every time the clock input pulse is received.

It is necessary to become familiar with each pin of the IC in order to gain a better understanding of how it works. These ICs have three input pins, ten output pins, one ground pin, one power supply pin, and one carry out pin. The IC’s pin diagram is shown below —

blank
  1. Input Pin:
  • Reset Pin (Pin 15) – The counter is reset to the zero position by this pin. Suppose you wish that the counter will only count till third position then you need linked the fourth pin with 15 pin. So after reaching to the third output it will automatically begin its counting from zero.
  • Clock Pin (Pin14) – In each of the timing pin 14 moves at high the output will be given to you. From the initial clock pulse output will be received at the pin 3 likewise for the next clock pulse output will be received at the pin 2 and so on.
  • Clock Inhibit Pin (Pin 13) — This pin toggles the counter between “on” and “off.” Pin 13 must be in the high condition if the counter is to be turned off. If the pin is set too high, the clock pulse will be ignored, regardless of how long you press the switch, and the count will not advance. In our circuit, pin 13 is grounded.

2. Pin Q0-Q9): This pin is utilised to get the input in chronological order. For example, pin 3 will produce the first pulse, and so on.

3. Ground Pin (Pin 8) and Supply Pin (Pin 16) — These pins are utilised to provide ground as well as power supply to these ICs.

4. Carry out Pin (Pin 12) — These pins are used to connect two or more CD4017 ICs. If you want to connect another CD4017 IC, connect pin 12 to the clock input of the one before it. The first CD4017’s carry pin is connected to the second’s clock input, and the second’s carry pin is connected to the third’s clock input, and so on. In our circuit, we left this pin where we wanted it to be.

How Clap Switch Circuit Works?

When someone slaps in front of the microphone, the condenser microphone converts the sound signal into an electrical signal. These impulses are subsequently sent to the transistor T1 base, which causes the IC1 pin2 to be triggered. And the time duration during which the output remains in the high position can be determined using the method below –

T = R5C4 R5C4 R5C4 R5C4 R5*C4

Currently, the output from IC1 pin 3 is sent to CD4017 decade counter 14 pin, which provides a clock pulse for IC2 to function properly. After receiving the clock input, the CD4017 starts counting from zero. And whenever pin 14 moves to high, it moves ahead one at a time (as in front of the mic we clap). For the first clap, we obtain output from pin 2, which means Q1 and LED1 will light up, and the device attached to the relay will begin to operate. The second clap output will be received at pin 4 and LED2 will light up, while LED1 will switch off, and so on. Individual relays must be connected to each output point. The he can control up to ten different devices.

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close
Close