The KY-038 High Sensitivity Small Microphone Sound Sensor Module is a compact, versatile audio detection board designed for Arduino, ESP32, STM32, and other microcontroller projects. It uses a high-sensitivity electret microphone to detect ambient sound levels and provides both analog and digital outputs, making it suitable for a wide range of applications including sound-activated switches, clap detectors, noise monitoring, and voice-triggered projects.
At the heart of the module is a high-sensitivity electret condenser microphone that converts sound waves into electrical signals. The signal is then amplified by an LM393 comparator (on the digital side) and passed through to the outputs. The module provides two independent outputs:
-
Analog Output (AO) — A continuous voltage that varies proportionally to the ambient sound level. This output connects to your microcontroller’s ADC pin, allowing you to measure sound intensity in real time.
-
Digital Output (DO) — A HIGH/LOW signal that switches when the sound level exceeds a user-adjustable threshold. This output is ideal for simple sound-triggered switching applications.
The digital output threshold is set using the onboard potentiometer. Turn the potentiometer clockwise to increase sensitivity (trigger on quieter sounds) or counter-clockwise to decrease sensitivity (trigger only on loud sounds). An LED indicator lights up when the digital output is triggered, providing visual feedback during setup and operation.
The module operates from a 3.3V to 5V DC supply, making it compatible with Arduino, ESP32, STM32, Raspberry Pi, and other microcontrollers. The 4-pin interface (VCC, GND, DO, AO) provides easy connection to your project. The compact form factor with mounting holes allows integration into custom enclosures, sound-activated devices, and portable electronics.
The KY-038 is widely used in sound-activated switches, clap detectors, noise level monitoring, voice-activated projects, security systems, interactive art installations, and educational STEM projects. It is also popular in DIY electronics and maker projects where sound detection is required.
Important Note: The KY-038 detects sound intensity, not specific frequencies or speech content. For voice recognition or frequency-specific detection, a more advanced audio processing module is required. The module is not waterproof and should be kept dry. The microphone’s sensitivity can be affected by ambient noise levels, so calibrate the potentiometer for your specific environment.
Whether you are building a clap-activated light, a noise monitor, or a sound-triggered robot, the KY-038 High Sensitivity Sound Sensor Module provides a reliable, affordable solution. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.
Features
-
High-sensitivity electret microphone — Detects ambient sound levels
-
Dual outputs — Analog (AO) for sound intensity, Digital (DO) for threshold triggering
-
Adjustable sensitivity — Onboard potentiometer for digital output threshold
-
LED indicator — Visual feedback when digital output is triggered
-
Wide voltage range — 3.3V to 5V DC, compatible with Arduino, ESP32, STM32, Raspberry Pi
-
4-pin interface — VCC, GND, DO, AO for simple connection
-
Compact form factor — With mounting holes for easy integration
-
Wide application range — Sound-activated switches, clap detectors, noise monitoring
-
Simple interface — Direct connection to ADC and digital input pins
-
Cost-effective — Affordable solution for sound detection in volume production
Technical Specifications
| # | Parameter | Specification |
|---|---|---|
| 1 | Module Model | KY-038 |
| 2 | Sensor Type | Electret condenser microphone |
| 3 | Operating Voltage | 3.3V – 5V DC |
| 4 | Output Type | Analog (AO) + Digital (DO) |
| 5 | Comparator IC | LM393 |
| 6 | Sensitivity Adjustment | Onboard potentiometer |
| 7 | Indication | LED indicator for digital output |
| 8 | Pin Count | 4 pins (VCC, GND, DO, AO) |



























