KY-037 High Sensitivity Sound Microphone Sensor Detection Module for Arduino

300.00

Description

For sound detection module has two outputs:

n

    n

  • 1. AO, analog output, real-time output voltage signal of the microphone
  • n

  • 2. DO, when the sound intensity reaches a certain threshold, the output high and low signal
  • n

n

Module features:

n

n

1. there is a mounting screw hole 3mm.

n

n

2. 5v DC power supply

n

3. With analog output

n

4. there are threshold level output flip

n

5. high sensitive microphone and high sensitivity.

n

6. Power indicator light

n

7. comparator output is light

n

n

Digital Output:

n

int Led=13;//define LED interface

n

int buttonpin=3 //Define D0 Sensor Interface

n

int val;//define numeric variables val

n

void setup()

n

{pinMode(Led,OUTPUT);// Define LED as output interface

n

pinMode(button pin,INPUT);//Define D0 Sensor as output Interface}

n

(void loop)

n

{val=digitalRead(buttonpin);//digital interface will be assigned a value of 3 to read val

n

if(val==HIGH)//When the light sensor detects a signal is interrupted, LED flashes

n

{digitalWrite(Led,HIGH)}else

n

{digitalWrite(Led,LOW)}

n

n

Analog Output:

n

int sensorPin = A5; // select the input pin for the potentiometer

n

int ledPin = 13; // select the pin for the LED

n

int sensorValue = 0; // variable to store the value coming from the sensor

n

(void setup)

n

{pinMode(ledPin, OUTPUT);

n

Serial.begin(9600);}

n

(void loop)

n

 {sensorValue = analogRead(sensorPin);

n

digitalWrite(ledPin, HIGH);

n

delay(sensorValue);

n

digitalWrite(ledPin, LOW);

n

delay(sensorValue);

n

Serial.println(sensorValue, DEC)

Reviews

There are no reviews yet.

Be the first to review “KY-037 High Sensitivity Sound Microphone Sensor Detection Module for Arduino”

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

X