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

How to Use Sound Sensor Module: Examples, Pinouts, and Specs

Image of Sound Sensor Module
Cirkit Designer LogoDesign with Sound Sensor Module in Cirkit Designer

Introduction

The Sound Sensor Module (Manufacturer: STMicroelectronics, Part ID: LM393) is a device designed to detect sound levels and convert them into an electrical signal. It is commonly used in projects requiring sound detection or voice activation. The module is based on the LM393 comparator and includes a microphone, signal processing circuitry, and an adjustable sensitivity potentiometer.

Explore Projects Built with Sound Sensor Module

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 UNO-Based Multi-Sensor Health and Environmental Monitoring System with Bluetooth Connectivity
Image of Sleep Appnea Monitoring System: A project utilizing Sound Sensor Module in a practical application
This is a multi-functional sensor and communication circuit built around an Arduino UNO. It is designed to collect environmental and health-related data, process and respond to voice commands, and communicate wirelessly. Output feedback is provided through LEDs and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Based Ultrasonic Distance Measurement with Voice Playback
Image of sound playback: A project utilizing Sound Sensor Module in a practical application
This circuit features an Arduino UNO microcontroller interfaced with an ISD 1820 voice recording and playback module and an HC-SR04 ultrasonic sensor. The Arduino controls the playback of the ISD 1820 module and reads distance measurements from the HC-SR04 sensor. The ISD 1820 is connected to a loudspeaker for audio output, and the ultrasonic sensor is used for triggering playback based on proximity detection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO-Based Ultrasonic Sensor and Color Detection System with Audio Feedback
Image of ttki: A project utilizing Sound Sensor Module in a practical application
This circuit integrates multiple HC-SR04 ultrasonic sensors, a TCS3200 color sensor, and a DFPlayer Mini module with an Arduino UNO to create a multi-sensor system capable of distance measurement, color detection, and audio playback. The system is powered by a 2x 18650 battery pack regulated by an LM2596 module, and it interfaces with a speaker for audio output.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP8266 NodeMCU-Based Environmental Monitoring System with SIM900A GSM Communication
Image of IOE: A project utilizing Sound Sensor Module in a practical application
This is a sensor-based data acquisition system with GSM communication capability. It uses an ESP8266 NodeMCU to collect environmental data from a DHT22 sensor and light levels from an LDR, as well as distance measurements from an HC-SR04 ultrasonic sensor. The SIM900A GSM module enables the system to transmit the collected data over a cellular network.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Sound Sensor Module

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 Sleep Appnea Monitoring System: A project utilizing Sound Sensor Module in a practical application
Arduino UNO-Based Multi-Sensor Health and Environmental Monitoring System with Bluetooth Connectivity
This is a multi-functional sensor and communication circuit built around an Arduino UNO. It is designed to collect environmental and health-related data, process and respond to voice commands, and communicate wirelessly. Output feedback is provided through LEDs and a buzzer.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of sound playback: A project utilizing Sound Sensor Module in a practical application
Arduino UNO Based Ultrasonic Distance Measurement with Voice Playback
This circuit features an Arduino UNO microcontroller interfaced with an ISD 1820 voice recording and playback module and an HC-SR04 ultrasonic sensor. The Arduino controls the playback of the ISD 1820 module and reads distance measurements from the HC-SR04 sensor. The ISD 1820 is connected to a loudspeaker for audio output, and the ultrasonic sensor is used for triggering playback based on proximity detection.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ttki: A project utilizing Sound Sensor Module in a practical application
Arduino UNO-Based Ultrasonic Sensor and Color Detection System with Audio Feedback
This circuit integrates multiple HC-SR04 ultrasonic sensors, a TCS3200 color sensor, and a DFPlayer Mini module with an Arduino UNO to create a multi-sensor system capable of distance measurement, color detection, and audio playback. The system is powered by a 2x 18650 battery pack regulated by an LM2596 module, and it interfaces with a speaker for audio output.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of IOE: A project utilizing Sound Sensor Module in a practical application
ESP8266 NodeMCU-Based Environmental Monitoring System with SIM900A GSM Communication
This is a sensor-based data acquisition system with GSM communication capability. It uses an ESP8266 NodeMCU to collect environmental data from a DHT22 sensor and light levels from an LDR, as well as distance measurements from an HC-SR04 ultrasonic sensor. The SIM900A GSM module enables the system to transmit the collected data over a cellular network.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Voice-activated systems
  • Sound level monitoring
  • Security systems (e.g., detecting glass breaking)
  • Interactive projects (e.g., clapping to trigger actions)
  • Audio-based robotics

Technical Specifications

The following table outlines the key technical details of the Sound Sensor Module:

Parameter Value
Operating Voltage 3.3V to 5V
Output Type Digital (DO) and Analog (AO)
Sensitivity Adjustment Via onboard potentiometer
Microphone Type Electret Condenser Microphone
Comparator IC LM393
Dimensions ~32mm x 15mm x 12mm
Mounting Holes 2 x M3 holes

Pin Configuration

The Sound Sensor Module typically has a 4-pin interface. The pin descriptions are as follows:

Pin Name Description
1 VCC Power supply input (3.3V to 5V)
2 GND Ground connection
3 DO Digital output (HIGH when sound exceeds threshold)
4 AO Analog output (proportional to sound intensity)

Usage Instructions

Connecting the Sound Sensor Module

  1. Power the Module: Connect the VCC pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Choose Output Type:
    • Use the DO pin for digital output. The output will be HIGH when the sound level exceeds the threshold set by the potentiometer.
    • Use the AO pin for analog output. This provides a continuous voltage proportional to the detected sound intensity.
  3. Adjust Sensitivity: Turn the onboard potentiometer clockwise to increase sensitivity or counterclockwise to decrease it.

Example Circuit with Arduino UNO

Below is an example of how to connect the Sound Sensor Module to an Arduino UNO:

Sound Sensor Pin Arduino UNO Pin
VCC 5V
GND GND
DO Digital Pin 2
AO Analog Pin A0

Example Code

The following Arduino code demonstrates how to use both the digital and analog outputs of the Sound Sensor Module:

// Define pins for the sound sensor
const int digitalPin = 2; // Digital output pin from the sensor
const int analogPin = A0; // Analog output pin from the sensor

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

void loop() {
  // Read digital output (HIGH or LOW)
  int digitalValue = digitalRead(digitalPin);
  
  // Read analog output (0-1023)
  int analogValue = analogRead(analogPin);
  
  // Print the values to the Serial Monitor
  Serial.print("Digital Output: ");
  Serial.print(digitalValue);
  Serial.print(" | Analog Output: ");
  Serial.println(analogValue);
  
  delay(500); // Wait for 500ms before the next reading
}

Best Practices

  • Avoid placing the module near noisy power sources or high-frequency circuits to reduce interference.
  • Use the potentiometer to fine-tune the sensitivity for your specific application.
  • For long-term use, ensure the module is mounted securely to prevent damage to the microphone.

Troubleshooting and FAQs

Common Issues

  1. No Output from the Module:

    • Ensure the module is powered correctly (check VCC and GND connections).
    • Verify that the sensitivity potentiometer is not set too low.
  2. Digital Output Always HIGH or LOW:

    • Adjust the sensitivity potentiometer to ensure the threshold matches the sound level.
    • Check for excessive background noise that might trigger the sensor.
  3. Analog Output Not Changing:

    • Confirm that the microphone is functional and not physically damaged.
    • Ensure the AO pin is connected to an analog input on the microcontroller.

FAQs

Q: Can the module detect specific sounds (e.g., voice or clapping)?
A: The module detects sound intensity but cannot differentiate between specific sounds. Additional signal processing is required for sound classification.

Q: Can I use the module with a 3.3V microcontroller?
A: Yes, the module operates at 3.3V to 5V, making it compatible with 3.3V microcontrollers like ESP32 or Raspberry Pi Pico.

Q: How do I increase the detection range?
A: Increase the sensitivity using the potentiometer. However, note that higher sensitivity may also increase false triggers from background noise.

Q: Is the module suitable for outdoor use?
A: The module is not weatherproof. For outdoor use, ensure it is housed in a protective enclosure.