• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » Sound Activated LED Circuit with Arduino

Sound Activated LED Circuit with Arduino

Last updated on 24 June 2026 by Admin-Lavi Leave a Comment

Make our Lights Dance with Sound!

This Sound Activated LED Circuit with Arduino turns every clap, snap or beat into a colorful light show; also it is a fun and easy project that brings sound and LEDs to life.

Moreover, its perfect for beginners who want to see their music or sounds in action!

Arduino Code:

int soundSensor = A0;
int ledPins[] = {2,3,4,5,6};
int sensorValue = 0;

void setup() {
for(int i=0; i<5; i++) {
pinMode(ledPins[i], OUTPUT);
}
pinMode(soundSensor, INPUT);
Serial.begin(9600);
}

void loop() {
sensorValue = analogRead(soundSensor);
Serial.println(sensorValue);
if(sensorValue > 400) {
for(int i=0; i<5; i++) {
digitalWrite(ledPins[i], HIGH);
}
} else {
for(int i=0; i<5; i++) {
digitalWrite(ledPins[i], LOW);
}
}
}

Coding Explanation:

  • Variable soundSensor store A0 pin.
  • Array ledPins store LED pins.
  • Setup function set LED pins output, sensor pin input.
  • Loop read analog value from sensor.
  • If value is more than 400 then all LEDs ON.
  • Else all LEDs are OFF.
  • Serial print show sensor values for testing.

Circuit Working:

Sound Activated LED Circuit Diagram with Arduino

Parts List:

ComponentsQuantity
Resistors
220Ω 1/4 watt5
Semiconductors
Arduino UNO1
Sound Sensor Module1
LEDs any 5mm 20mA5

Sound sensor get power from Arduino 5V and GND and sensor detect sound and send signal to Arduino A0.

Then Arduino read signal and turn ON/OFF LEDs on pins D2 to D6; also each LED need resistor from R1 To R5 to protect from too much current.

When sound is loud then more LEDs light up and also circuit is simple with no button and no switch.

How to Build:

To build a Sound Activated LED Circuit with Arduino follow the below mentioned steps for connections:

  • First, take all parts same as circuit diagram.
  • Next, sound sensor VCC go to Arduino 5V, sound sensor GND go to Arduino GND and sound sensor OUT go to Arduino A0.
  • Then LEDs connect to Arduino pins D2, D3, D4, D5, D6 with resistors R1 to R5.
  • Also, each LED anode go to Arduino pin and each LED cathode go to GND through resistor.

Conclusion:

Overall, Sound Activated LED Circuit with Arduino is simple project; it shows sound control LEDs.

Also, you can use the same idea to control fans, lights, and motors; in addition, this circuit is easy to make and suits beginners well.

Filed Under: Arduino Projects, Automation Circuits, LED and Lamps, Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Whistle Controlled Light Circuit using Arduino
Next Post: Small UPS Circuit for Router Backup »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • 555 Timer Projects (129)
  • Alarm Circuits (80)
  • Amplifier Circuits (92)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (139)
  • Automobile Circuits (39)
  • Battery Charger Circuits (85)
  • DIY Projects (381)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (23)
  • Hobby Circuits (220)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (11)
  • LDR Circuits (46)
  • LED and Lamps (199)
  • Meters and Testers (43)
  • Mini Projects (349)
  • Motor Controllers (25)
  • Oscillator Circuits (64)
  • Power Supply Circuits (234)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (19)
  • Security and Protection (120)
  • Sensors and Detectors (233)
  • Solar Circuits (31)
  • Timer Circuits (62)
  • Transistor Circuits (175)
  • Transmitter Circuit (19)
  • Tutorials (29)
  • Voltage Regulator (40)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. egidio grzinic on High Voltage Fence Charger Circuit
  3. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR
  4. Tony Gallegos on NTC Thermistor Based Temperature to Voltage Converter Circuit
  5. colin on Simple Single Transistor Audio Amplifier Circuit

Copyright © 2026 | New Circuit Ideas