Microphone Sound Detector Sensor RobotDYN

Out Of Stock



The RobotDYN sound sensor module consists of a capacitance-sensitive microphone (50Hz–10kHz) and an amplifier circuit. includes an operational amplifier (LM393).  it has a potentiometer for adjusting the sound level, both digital output and analog output included, it can be used to make clap-activated switches for your lights, monitor your pets, or do any other sound project.

Package Includes:

  • 1 x Microphone Sound Detection Sensor RobotDYN Small Mic


  • Power supply voltage: +5V
  • Electret Condenser Microphone 
  • AO = analog output provides a real-time output voltage signal of the microphone
  • DO = Digital output, output goes high when the intensity of the sound reaches a threshold
  • Comparator Circuit: LM393
  • The built-in potentiometer can be used to adjust the DO threshold level


The RobotDYN sound sensor module consists of a capacitance-sensitive microphone (50Hz–10kHz) and an amplifier circuit. Sound waves are transformed into electrical impulses by the module. It utilizes a microphone to pick up sound, which is then fed into processing circuitry that includes an operational amplifier (LM393). Additionally, it has a potentiometer for adjusting the sound level, which makes it possible to simply control the output of the sound sensor module. Similar to how an LED or other device could be connected to this sensor's output pins to check its output. This sensor offers both digital output and analog output. When the sound reaches a specific threshold value, the digital output is produced. The potentiometer is used to modify the digital output pin's sensitivity. The digital output will be low or high when a specific sound is either greater or lower than the threshold level. In our situation, the digital output will be HIGH before the sound is recognized and LOW afterward. The direct microphone signal is represented as a voltage level on the analog output, which fluctuates in accordance with the sound pressure level.

Principle of Work:

Sound waves are created when you speak into the microphone and when they hit the diaphragm, they cause it to vibrate. The plates shift closer or farther apart when the diaphragm trembles in response to sound, altering the capacitance. A voltage is created across the plates as a result, which we can measure to determine the sound's volume. and this sound sensor is a small circuit board with a microphone (50Hz-10kHz) and circuitry for converting sound waves into electrical signals. An LM393 op-amp is used in the Keyes RobotDYN. Each pin on the module is four. The amplified analog audio output is sent via pin A0. G stands for ground, + for voltage control, and D0 for digital output. When the audio signal falls below a particular threshold value, the digital output is LOW, and when it rises over that threshold value, it is HIGH. The blue potentiometer's top screw can be turned to vary the threshold value. The threshold is lowered and the microphone becomes more sensitive as the screw is turned clockwise. The threshold is raised and the microphone becomes less sensitive when it is turned the other way, counterclockwise.

The module includes a potentiometer for adjusting the sound level threshold, making clicks above the mic To establish the threshold, place your finger near the microphone and adjust the potentiometer. 

Pinout of the Module:


 The sound sensor has four output pins that link to a microcontroller:

  • A0: An analog pin used to transmit analog signals.
  • G: Ground connects the sound sensor to the ground of the microcontroller.
  • +: The technical datasheet states that this pin can operate with voltages between 3.3V and 5V.
  • D0: Using the potentiometer and the operating voltage of the microcontroller, a digital output is produced depending on a predetermined threshold.
  • The digital output pin's threshold is set using a potentiometer.
  • Through the potentiometer, the LM393 dual comparator compares the microphone signal
  • The sound signal is generated by a microphone.


  • Clap-controlled projects
  • Sensitive LED lights.
  • Animal sound-activated applications


The Analog pin of the sensor connected to pin A0 on Arduino and the d0 of the sensor connected to pin 2 on the Arduino LED connected through a 220 resistor to pin 10.


This Module doesn't need a library to work.


The digital pin of the microphone was read by the Arduino. If the reading is HIGH, the LED will be digitally written with a HIGH value.

int ledPin = 10;
int microphonePin = 1;
int state = 0;

void setup() {
  pinMode(ledPin, OUTPUT);
  pinMode(microphonePin, INPUT);

void loop() {
  state = digitalRead(microphonePin);

  if (state == HIGH) {
    digitalWrite(ledPin, HIGH);

  else {
    digitalWrite(ledPin, LOW);

Variables for the microphonePin and ledPin are declared. We also declare a state variable to record the HIGH and LOW values read from the microphone's digital pin.

We initialize the ledPin as an OUTPUT and the microphonePin as an INPUT in the setup() section. We begin the loop() section by taking a digital read from the microphonePin and storing it in the state variable. Then there's an if else statement that states, "If the microphone pin state is HIGH, then digitally write the ledPin HIGH and wait one second." Otherwise, digitally set the ledPin to LOW.

Technical Details:

  • Comparator Circuit: LM393
  • Power supply voltage: +5V
  • Mounting screw hole size: 3mm
  • Circuit Board Dimensions: 38mm x 19.5mm (L x W x  excluding connector and microphone)
  • Color: Black.


 Tutorial 1


RobotDYN and KY-037 are two microphone sound sensors with nearly identical specifications. the only difference is the RobotDYN module has no LED as indicators, The sole distinction is that the RobotDYN includes a built-in microphone with a lower sensitivity that is not indicated. As a result, because they have identical specifications and electrical components, we may utilize both sound sensor modules interchangeably.  This module is perfect for clap projects you don't even need to use an Arduino you can connect a relay directly to the module, the RobotDYN, and KY-037 both have Analog and digital output, not like this model on our website which has only digital output connected to the Schmitt circuit on board which you can control its threshold using a pot but still, this can limit this module functionality which you can't use it to only amplify a normal sound and then use it as analog input so if you want analog input you need to to use RobotDYN and KY-037 or (Microphone Sound Detector With Amplifier Module MAX9814) you can type sound mic in the search to see lots more.