New Project

CONNECT

Use of Microphone Module with Arduino

  • Page Views 957
  • Spread the love
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  

    According to our project control systems vary.In this article I will talk about the Microphone Module with the arduino.Microphone vu meter module, you can do a variety of projects such as equalizer LED applications.The microphone module comes with 3 or 4-pin.He writes the names on the pins.5V Vcc pin plugs eat GND GND pin.The other two pins AO and DO pins are made in connection defining the pin number for the software.A0 pin is defined as an analog input pin to read.The DO pin is defined as the input pin reading digitally.

    By our example will clarify the microphone module with LED applications. sound sensitive LED control with microphone When we set the volume LED applications, we will now blink for a second.

    Circuit diagram:

     

    Software Part:

    // Robimek - Robotic Systems - 2016
    const int DO_pin = 2;
    const int AO_pin = 0;
    int ses;
    int led = 13;
    void setup() {
    pinMode(DO_pin, INPUT);
    pinMode(led, OUTPUT);
    Serial.begin(9600);
    }
    
    void loop() {
    
    if (ses > 35) {
    digitalWrite(led, HIGH);
    delay(1000);
    digitalWrite(led, LOW);
    }
    
    ses = analogRead(AO_pin);
    Serial.print(digitalRead(DO_pin));
    Serial.print("-");
    Serial.println(analogRead(AO_pin));
    }

    We gave 35 as a reference value. You can try different values.

    Share

    What did they say ?

    1 Comment - "Use of Microphone Module with Arduino"

    avatar
    Sort:   The Newests | Ancients | Likes
    Charl
    Visitor
    Charl

    all them libertarian free market fans should get to grips with the pain the big 2 cause everybody from cow cocky to consumer. However writing anti modoonuo-op/ly regulations is a bit like King Canute. To date I don’t know of a an example where anti-market manipulation laws have worked as intended.Oh and also the stupid “click to show more comments button” isfreakin out.

    wpDiscuz

    BE A FACEBOOK FAN

    Instagram