Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use KY-037: Examples, Pinouts, and Specs

Image of KY-037
Cirkit Designer LogoDesign with KY-037 in Cirkit Designer

Introduction

The KY-037 is a sound sensor module designed to detect sound levels and convert them into an analog voltage output. It features a high-sensitivity microphone and an onboard potentiometer for adjusting the sensitivity. The module provides both analog and digital outputs, making it versatile for a wide range of applications.

Explore Projects Built with KY-037

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
Image of padelpro transmitter: A project utilizing KY-037 in a practical application
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino 101 and KY-023 Joystick Controlled Interface
Image of Joystick: A project utilizing KY-037 in a practical application
This circuit interfaces a KY-023 Dual Axis Joystick Module with an Arduino 101. The joystick's X and Y axis outputs are connected to the analog inputs A0 and A1 of the Arduino, allowing it to read the joystick's position.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino Mega 2560 Bluetooth-Controlled Flame Detection System with Servo Actuation
Image of apv circuit 1: A project utilizing KY-037 in a practical application
This circuit uses an Arduino Mega 2560 to monitor four KY-026 flame sensors and control four micro servo motors. The HC-05 Bluetooth module allows for wireless communication, enabling remote monitoring and control of the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Wireless Joystick-Controlled Interface with Arduino Nano and NRF24L01
Image of Transmitter 11: A project utilizing KY-037 in a practical application
This circuit features an Arduino Nano interfaced with a KY-023 Dual Axis Joystick Module for analog input, and an NRF24L01 module for wireless communication. The joystick provides x and y-axis control signals to the Arduino's analog inputs and a switch signal to a digital input, while the NRF24L01 enables the Arduino to communicate with other devices wirelessly. The 2x 18650 batteries supply power to the Arduino, which in turn powers the joystick and the NRF24L01 module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with KY-037

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of padelpro transmitter: A project utilizing KY-037 in a practical application
Arduino Nano Joystick-Controlled Bluetooth Module with Battery Power
This circuit is a wireless joystick controller that uses an Arduino Nano to read analog signals from a KY-023 Dual Axis Joystick Module and transmits the data via an HC-05 Bluetooth Module. The system is powered by a 18650 Li-Ion battery with a rocker switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Joystick: A project utilizing KY-037 in a practical application
Arduino 101 and KY-023 Joystick Controlled Interface
This circuit interfaces a KY-023 Dual Axis Joystick Module with an Arduino 101. The joystick's X and Y axis outputs are connected to the analog inputs A0 and A1 of the Arduino, allowing it to read the joystick's position.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of apv circuit 1: A project utilizing KY-037 in a practical application
Arduino Mega 2560 Bluetooth-Controlled Flame Detection System with Servo Actuation
This circuit uses an Arduino Mega 2560 to monitor four KY-026 flame sensors and control four micro servo motors. The HC-05 Bluetooth module allows for wireless communication, enabling remote monitoring and control of the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Transmitter 11: A project utilizing KY-037 in a practical application
Wireless Joystick-Controlled Interface with Arduino Nano and NRF24L01
This circuit features an Arduino Nano interfaced with a KY-023 Dual Axis Joystick Module for analog input, and an NRF24L01 module for wireless communication. The joystick provides x and y-axis control signals to the Arduino's analog inputs and a switch signal to a digital input, while the NRF24L01 enables the Arduino to communicate with other devices wirelessly. The 2x 18650 batteries supply power to the Arduino, which in turn powers the joystick and the NRF24L01 module.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Sound-activated switches
  • Audio level monitoring
  • Voice-activated systems
  • Environmental noise detection
  • DIY electronics and Arduino projects

Technical Specifications

The KY-037 sound sensor module has the following key specifications:

Parameter Value
Operating Voltage 3.3V - 5V
Output Types Analog (A0) and Digital (D0)
Microphone Type Electret Condenser Microphone
Sensitivity Adjustment Onboard potentiometer
Dimensions 38mm x 15mm x 13mm

Pin Configuration and Descriptions

The KY-037 module has four pins, as described in the table below:

Pin Label Description
1 VCC Power supply pin. Connect to 3.3V or 5V.
2 GND Ground pin. Connect to the ground of the circuit.
3 A0 Analog output pin. Outputs a voltage proportional to the detected sound level.
4 D0 Digital output pin. Outputs HIGH or LOW based on the sound threshold set by the potentiometer.

Usage Instructions

How to Use the KY-037 in a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to the ground.
  2. Connect Outputs:
    • For analog sound level readings, connect the A0 pin to an analog input pin on your microcontroller.
    • For digital sound detection, connect the D0 pin to a digital input pin on your microcontroller.
  3. Adjust Sensitivity: Use the onboard potentiometer to set the desired sound threshold for the digital output (D0).

Important Considerations and Best Practices

  • Power Supply: Ensure the module is powered within its operating voltage range (3.3V - 5V).
  • Noise Interference: Place the module away from sources of electrical noise to avoid false readings.
  • Sensitivity Adjustment: Fine-tune the potentiometer to achieve the desired sensitivity for your application.
  • Analog vs. Digital Output: Use the analog output (A0) for precise sound level measurements and the digital output (D0) for simple sound detection.

Example: Connecting KY-037 to an Arduino UNO

Below is an example of how to use the KY-037 with an Arduino UNO to read both analog and digital outputs:

// KY-037 Sound Sensor Example with Arduino UNO
// Reads analog sound levels and detects sound using the digital output

// Define pin connections
const int analogPin = A0;  // KY-037 A0 connected to Arduino A0
const int digitalPin = 2;  // KY-037 D0 connected to Arduino digital pin 2
const int ledPin = 13;     // Built-in LED for sound detection feedback

void setup() {
  pinMode(digitalPin, INPUT);  // Set digital pin as input
  pinMode(ledPin, OUTPUT);     // Set LED pin as output
  Serial.begin(9600);          // Initialize serial communication
}

void loop() {
  // Read analog sound level
  int soundLevel = analogRead(analogPin);
  Serial.print("Analog Sound Level: ");
  Serial.println(soundLevel);

  // Check digital sound detection
  if (digitalRead(digitalPin) == HIGH) {
    digitalWrite(ledPin, HIGH);  // Turn on LED if sound is detected
    Serial.println("Sound Detected!");
  } else {
    digitalWrite(ledPin, LOW);   // Turn off LED if no sound is detected
  }

  delay(100);  // Small delay for stability
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output from the Module:

    • Ensure the module is powered correctly (3.3V - 5V).
    • Check all connections for loose wires or incorrect pin assignments.
  2. Digital Output Always HIGH or LOW:

    • Adjust the sensitivity using the onboard potentiometer.
    • Verify that the sound level exceeds the threshold for detection.
  3. Inconsistent Analog Readings:

    • Minimize electrical noise by using shorter wires and proper grounding.
    • Ensure the microphone is not obstructed or damaged.
  4. Arduino Not Detecting Sound:

    • Confirm that the correct pins are defined in the Arduino code.
    • Test the module with a multimeter to verify its output.

FAQs

Q: Can the KY-037 detect specific frequencies?
A: No, the KY-037 is not frequency-selective. It detects overall sound levels and cannot differentiate between specific frequencies.

Q: How do I know if the module is working?
A: The onboard LED will light up when the digital output (D0) is HIGH, indicating sound detection.

Q: Can I use the KY-037 with a 3.3V microcontroller?
A: Yes, the KY-037 is compatible with both 3.3V and 5V systems. Ensure the VCC pin is connected to the appropriate voltage.

Q: What is the range of the analog output?
A: The analog output (A0) provides a voltage range from 0V to the supply voltage (3.3V or 5V), proportional to the detected sound level.