Login | Register | Advertise | About Us | Search | Contact Us |
  Aerospace & Defence
    H O M E   >>  C I R C U I T   L A B

Clap-Based Digital Volume Control

Related Circuits

  • Low-Cost 6-Bit DAC
  • Speed Controller for Small Cooling Fans
  • Versatile Audio-Visual Alarm
  • Simple Interface for Digital Sound Synthesis
  • Simple Low-Power Audio Amplifier

  • subscribe

    First published on: 1-5-2012

    Clap-Based Digital Volume Control


    This clap-based digital volume control offers four levels of volume control. With each clap, the volume of the audio system increases. After the fourth clap, the level of volume returns to the first or minimum level.

    The circuit consists of a microphone, a level detector, a 4-stage counter and four analogue switches connected to a resistive ladder network.

    The four outputs of the CD4040 counter are available at pins 9, 7, 6 and 2. These outputs are connected to the level detector formed by LED1 through LED4 and control input pins 13, 5, 12 and 6 of IC CD4066 quad bilateral switch. Resistors R9 through R12 form the ladder network.

    The circuit is powered by regulated 5V and consumes only a few milliamperes of current. The audio input signal from sources such as MP3 player and PC is fed to pin 8 of CD4066. The output of the circuit is taken from pin 1 of CD4066 and can be fed to any audio power amplifier.

    The clapping signal captured by the electret microphone (MIC1) is amplified by transistor T1. MIC1 gets its bias voltage through resistor R1.

    Counter IC CD4040 (IC1) gets a clock pulse at its pin 10 when a certain noise level (threshold) is received through T1. The counter output determines the configuration of the four electronic switches inside IC2.

    When output pin 9 of IC1 goes high, control pin 13 of IC2 shorts its pins 1 and 2, bypassing resistor R9 in the audio output line. Similarly, control pins 5, 12 and 6 of IC2 bypass resistors R10, R11 and R12, respectively. Thus, as per the sequential output across IC1, the series resistors are effectively introduced or removed in the audio output signal line. The maximum audio output is obtained when resistors R9 through R12 are shorted. The level of the audio signal can be seen on the LEDs (LED1 through LED4), with LED4 showing the maximum level.

    Switch S1 allows the counter to reset, thus switching off all the switches of CD4066. In this case, attenuation in the audio output path is maximum as none of resistors R9 through R12 is shorted.

    To calibrate the circuit, disconnect the clock input (pin 10) of CD4040 from the collector of T1. Now apply a pulse to the clock input by briefly connecting it to the +5V line. You will see the counter outputs change the state sequentially and so also the bilateral switches in CD4066. 


    Related Circuits

    commentPost Comment | 36 Comments

    Arpit Shivhare   1162 days ago

    How can I get the audio signal output in form of audio signal and not the LEDs
    commentReply   1 Reply
    Efy Admin   1161 days ago

    LEDs are just for visual indication. You may remove them. Audio output should be taken across IC2 as shown in the circuit.
    HARSHAVARDHAN.M   1161 days ago

    sir the question is how to it in easiest way to make it
    naveen.b   1159 days ago

    Sir will you please tell me the cost of this project??
    charitha   1157 days ago

    Is this circuit can be verified using matlab?????????
    commentReply   1 Reply
    shreekanth   1021 days ago

    i also got the output
    commentReply   1 Reply
    lakshmi   280 days ago

    leds are blinking in sequential manner or random manner? through the clapping the volume will be increasing or not.if u had faced any problem when theoutput testing.plz reply.
    ramandpikgmail.com   1156 days ago

    I want to know the advantage and disadvantage of this project
    Munir   1155 days ago

    the fact that the sound increases with every clap till the 4th oneis a good thing...BUT HOW R U PLANNING TO REDUCE IT IN BACKWARD WAY....???
    commentReply   1 Reply
    Efy Admin   1153 days ago

    For reducing from max to min vol. sequentially you need addtional circuitry. This is a simple clap based application only and so it was published under Circuit Ideas section.
    commentReply   1 Reply
    Juned Khan   1094 days ago

    mothafucker d ckt isnt working...u fag waste our time n money...suck our u feel aroused n itchy but dont u dare to publish fake circuits u bloody stinking twat @ @ @
    Harshith   1153 days ago

    Where do we get the circutes?
    Dibyanshu   1139 days ago

    where & how to connect the 4 analogue switches?
    commentReply   1 Reply
    Efy Admin   1138 days ago

    Analog signal switching is done in CD4066 internally.
    commentReply   1 Reply
    ankit   1067 days ago

    how to test the IC 4040 without giving input at pin 10 from the transistor?
    prakash   1137 days ago

    this only control the single speaker volume?
    akhil   1130 days ago

    is there any possibility of this system responding to sounds other than claps?
    akhil   1125 days ago

    sir is this circuit expensive or not?
    mohsin warsi   1124 days ago

    if an audio player make a clap sound then definitely it will respond to that signal. isnt it effect its performance.how do we protect it from such drawbacks??
    Nikhila   1124 days ago

    Can i know the real time applications..
    afshan   1123 days ago

    sir plz give a detailed list of the parts required
    Vaibhsv Kumar   1101 days ago

    The counter 4040 is a 12-bit up-counter then how do we get just only four output stages?
    Deep Patel   1101 days ago

    The microphone is not responding to clap and the leds are not turning ON in order so please help ASAP coz have to submit the project as soon as possible.
    Tridash Sitwala   1101 days ago

    The circuit isnt responding to our claps but if we tap the circuit then the leds are indicating the output in unsequential order so please help coz have to submit the circuit by 3rd October.
    commentReply   4 Replies
    vikas   1094 days ago

    we are facing the same problem..kindly look into this matter as soon as possible
    AASHU TONY AKKU GOLDI JAIN   1095 days ago

    Varun jani   1094 days ago

    we are facing the same problem..we have our submissions this week...kindly look into this matter AT THE EARLIEST
    ankit   1070 days ago

    how did you made the project. i implemented the circuit on bread board but its not working. also the MIC is not accepting the clap. please help me out
    varunj   1092 days ago

    please rply ASAP please
    Harika   1089 days ago

    i have connected the circuit. LEDs are not glowing in sequential order. i have to submit the project in 2days. please help me. n microphone is working only when we tap
    gurwinder   1083 days ago

    if we play claping sound in audio system.....then that input is appiled to that clap based digital volume control what this system can do......?
    nikita   993 days ago

    Can u plz tell the circuit for reducing the volume
    akhila   990 days ago

    i want documentation of this project if avilable plz send to akhilachowdaryh@gmail.com
    eswer   789 days ago

    in this project the output would be seen in audio power ampliier?
    mahesh j   777 days ago

    sir i have done the circuit but the problem is that the circuit is not responding to the clap and the led changes non-uniformly only when we tap the mic.what might be the problem? and please provide me a solution
    commentReply   1 Reply
    Samkit   734 days ago

    The same problem is with me. The counter circuit works fine by giving clock pulse. But as soon as i connect the 10 pin to the collector there is a random display of lights. Also i guess the value of R1 should be not more than 2.2k. Please help

    Electronics for You
    Open Source for You
    Electronics Bazaar
    Electronics Annual Guide
    EFY Awards
    OSIDAYS Expo
    News Verticals
    Linux & Open Source
    Consumer Electronics
    Science & Technology
    Educational Institute
    EFY Techcenter
    © Copyright 2015 EFY Enterprises Pvt. Ltd. All rights reserved.
    Reproduction in whole or in part in any form or medium without written permission is prohibited. Usage of the content from the web site is subject to terms and Conditions