Thursday, November 26, 2020
Home Arduino Strarter Kit KY-037 |ARDUINO SOUND SENSOR

KY-037 |ARDUINO SOUND SENSOR

The ky-037 module comes with a sensitive capacitive microphone along with an amplifier circuit for detecting sound. This comes in the 37 in 1 Starter kit for Arduino. It can make sound-related projects like clap activated lights etc.

USA purchase link
UK purchase link
Germany purchase link

KY-037
KY-037 Sensor

Specifications :

  • Frequency range:100 ~ 10,000 Hz.
  • Sensitivity: – 46 ± 2.0, ( 0 dB = 1V / Pa ) at 1K Hz.
  • Power supply: 5V maximum
  • Minimum Sensitivity to Noise Ratio: 58dB

How do the KY-037 Work :

The Microphone detects the sound of the surround and gives an analog output. The digital pin gets activates whenever input has reached a certain threshold.  Using a potentiometer on the sensor threshold can be adjusted.

 

 

Working Principle

KY-037 Pin Configuration :

Ky-032
KY-032 Pinout

The Sensor works in both analog or digital mode.
Depending on how you are planning to use it, you need to connect the pin.
For analog output, we are connecting it to Pin A0. Connect the Ground to the GND of the Arduino and Vcc to +5 V of the Arduino. In case you are planning to use it in digital mode connect it to the Digital pin 13.

Code for analog input :

int AnalogPi=A0;
void setup() {
Serial.begin(9600); // setup serial
pinMode(AnalogPin,INPUT);
}
void loop() 
{
int Soundlevel;
Soundlevel=analogRead (Analog_Eingang) * (5.0 / 1023.0);
Serial.println(analogRead(A0));
delay(100);
}

Code for the digital input :

int DigitalPin= 8;
void setup() {

Serial.begin(9600); // setup serial

 pinMode (DigitalPin, INPUT);

}

void loop() {
int SoundLevel;
SoundLevel= digitalRead (Digital_Eingang);
if(SoundLevel==1)
  {
      Serial.println (" reached");
  }
  else
  {
      Serial.println (" not reached yet");
  }
delay(100);

}

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

KY-032 | OBSTACLE AVOIDANCE SENSOR

The KY-032 obstacle avoidance sensor is an infrared obstacle avoidance sensor. It comes with the 37 in 1 starter kit for Arduino. It helps...

HIH-4000 | Humidity Sensors

The HIH-4000  sensors are one of the highly efficient humidity sensors you can buy. The HIH-4000 is an analog humidity sensor. It is useful...

KY-026 | ARDUINO FLAME IR SENSOR

The KY-026 Arduino Flame Sensor is a low-cost starter sensor. It normally comes in the starter kit of Arduino like the ky-039. It can...

KY-039 | ARDUINO HEARTBEAT SENSOR

The KY-039 Heartbeat sensor is one of the cheapest sensors to get a start on Arduino like the Sound sensor. It cost less than...

Recent Comments