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. This module is widely used in projects requiring sound detection, such as sound-activated switches, audio level monitoring, and voice-activated systems. Its ease of use and compatibility with microcontrollers like Arduino make it a popular choice for hobbyists and professionals alike.

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

  • Sound-activated lighting systems
  • Audio level monitoring
  • Voice-activated devices
  • Security systems with sound detection
  • Environmental noise monitoring

Technical Specifications

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

Parameter Value
Operating Voltage 3.3V - 5V
Output Type Analog and Digital
Microphone Type High-sensitivity condenser mic
Adjustable Sensitivity Yes (via 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 AO Analog Output: Outputs an analog voltage proportional to the detected sound level.
2 GND Ground: Connect to the ground of the power supply or microcontroller.
3 VCC Power Supply: Connect to a 3.3V or 5V power source.
4 DO Digital Output: Outputs a HIGH or LOW signal based on the sound threshold set by the potentiometer.

Usage Instructions

Connecting the KY-037 to a Circuit

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Analog Output: Connect the AO pin to an analog input pin on your microcontroller to read the sound level as an analog voltage.
  3. Digital Output: Connect the DO pin to a digital input pin on your microcontroller to detect sound events based on the threshold set by the potentiometer.
  4. Adjust Sensitivity: Use the onboard potentiometer to adjust the sensitivity of the digital output.

Example: Using KY-037 with 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
// Connect AO to A0, DO to D2, VCC to 5V, and GND to GND on the Arduino.

const int analogPin = A0;  // Pin connected to AO (Analog Output)
const int digitalPin = 2;  // Pin connected to DO (Digital Output)
int soundLevel;            // Variable to store analog sound level
int soundDetected;         // Variable to store digital sound detection

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

void loop() {
  // Read the analog sound level
  soundLevel = analogRead(analogPin);
  // Read the digital sound detection (HIGH or LOW)
  soundDetected = digitalRead(digitalPin);

  // Print the analog sound level to the Serial Monitor
  Serial.print("Analog Sound Level: ");
  Serial.println(soundLevel);

  // Print the digital sound detection status
  if (soundDetected == HIGH) {
    Serial.println("Sound Detected!");
  } else {
    Serial.println("No Sound Detected.");
  }

  delay(500);  // Wait for 500ms before the next reading
}

Important Considerations

  • Power Supply: Ensure the module is powered with a voltage within the specified range (3.3V - 5V).
  • Sensitivity Adjustment: Use the potentiometer to fine-tune the sensitivity for your specific application.
  • Noise Interference: Avoid placing the module near sources of electrical noise or vibrations that could affect its performance.
  • Analog vs. Digital Output: Use the analog output for precise sound level measurements and the digital output for simple sound detection.

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output from the Module

    • Cause: Incorrect wiring or insufficient power supply.
    • Solution: Double-check the connections and ensure the module is powered with 3.3V or 5V.
  2. Digital Output Always HIGH or LOW

    • Cause: Sensitivity not properly adjusted.
    • Solution: Adjust the potentiometer to set the desired sound threshold.
  3. Inconsistent Analog Readings

    • Cause: Electrical noise or unstable power supply.
    • Solution: Use a decoupling capacitor across the power supply pins to reduce noise.
  4. Module Not Detecting Sound

    • Cause: Microphone damaged or sensitivity too low.
    • Solution: Inspect the microphone for damage and increase the sensitivity using the potentiometer.

FAQs

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

Q: Is the KY-037 compatible with 3.3V microcontrollers like ESP32?
A: Yes, the KY-037 can operate at 3.3V, making it compatible with 3.3V microcontrollers.

Q: How do I know if the module is working?
A: You can monitor the digital output pin (DO) with an LED or check the analog output pin (AO) using a multimeter or microcontroller.

Q: Can I use the KY-037 outdoors?
A: The KY-037 is not weatherproof. If used outdoors, it should be protected from moisture and extreme temperatures.

By following this documentation, you can effectively integrate the KY-037 sound sensor module into your projects and troubleshoot common issues.