Overview

Sound sensors detect audio signals and sound levels in the environment. They're perfect for clapping-activated systems, voice-controlled projects, and sound-reactive lighting. These sensors can provide both analog output (sound intensity) and digital output (sound detection) making them versatile for various audio-based automation projects.

Technical Specifications

Operating Voltage: 3.3V - 5V DC
Operating Current: 4-5mA
Frequency Range: 50Hz - 20KHz
Sensitivity: Adjustable (via potentiometer)
Output: Analog (sound level) & Digital (threshold)
Detection Range: Depends on sound intensity and environment
Response Time: < 1 ms
Operating Temperature: −40 °C to +85 °C

Key Features

  • Dual output: analog and digital signals
  • Adjustable sensitivity via onboard potentiometer
  • Wide frequency response range
  • Fast response time for real-time applications
  • LED indicator for sound detection status
  • Easy integration with microcontrollers
  • Low power consumption
  • Compact size for easy mounting

Wiring Diagram

Basic Connection (Arduino Uno)

Sound Sensor Pin Arduino Pin
VCC 5V (or 3.3V)
GND GND
AO (Analog) Analog Pin A0
DO (Digital) Digital Pin 2

Note: Adjust the onboard potentiometer to set the desired sensitivity level.

Common Applications

Clap-Activated Systems

Control lights and appliances with hand claps

Sound-Reactive Lighting

LED strips that respond to music and sound

Security Systems

Audio-based intrusion detection and monitoring

Voice Control

Simple voice-activated switches and commands

Quick Info

Difficulty: Beginner
Price Range: ₹150-300
Interface: Analog/Digital

Sample Code

#define SOUND_DIGITAL 2
#define SOUND_ANALOG A0
#define LED_PIN 13

void setup() {
  Serial.begin(9600);
  pinMode(SOUND_DIGITAL, INPUT);
  pinMode(LED_PIN, OUTPUT);
  
  Serial.println("Sound Sensor Test");
}

void loop() {
  int digitalValue = digitalRead(SOUND_DIGITAL);
  int analogValue = analogRead(SOUND_ANALOG);
  
  if (digitalValue == HIGH) {
    digitalWrite(LED_PIN, HIGH);
    Serial.println("Sound Detected!");
  } else {
    digitalWrite(LED_PIN, LOW);
  }
  
  Serial.print("Analog Value: ");
  Serial.println(analogValue);
  
  delay(100);
}