Arduino KY-038 Microphone Sound Sensor Module User Manual

User guide for the Arduino KY-038 microphone sound sensor module, covering its AO and DO outputs, wiring to the Arduino, and example code.


Arduino KY-038 Microphone Sound Sensor Module User Manual - cover page
Brand
Arduino
Category
sensor
Document type
User Manual
Language
English
Pages
2
File format
PDF
File size
86 KB
Published
30 November, 2026
Updated
30 November, 2026
MD5 checksum
4824D98CAB326BE4D6B5B51B67DEBA0C

About this manual

This document describes the Arduino KY-038 microphone sound sensor module, a sound detection module with two outputs: AO, an analog output that provides the real-time output voltage signal of the microphone, and DO, which outputs a high or low signal when the sound intensity reaches a certain threshold. The threshold sensitivity can be adjusted via the potentiometer on the sensor.

The guide explains how to connect the module to the Arduino (5V, GND, A0 for analog programs, and D0 to pin 13 for digital programs) and provides example code for both the digital output and the analog output.

What's inside

  • Microphone sound detection module
  • Connecting to the Arduino
  • Example code: Digital output
  • Example code: Analog outputs

Specifications

Digital output behaviorOutput high and low signal when sound intensity reaches a certain threshold
Digital output pinD0 to Arduino pin 13
Analog output pinA0 to Arduino A0

Frequently asked questions

Which Arduino pins are used for the analog and digital outputs?

For analog programs, A0 is connected to Arduino A0; for digital programs, D0 is connected to Arduino pin 13.

Which Arduino pins are used to connect the module for digital and analog programs?

For digital programs, the module's D0 pin connects to Arduino pin 13. For analog programs, the module's A0 pin connects to Arduino A0.

Download PDF (86 KB)

More Arduino Manuals


View all Arduino manuals →