Skip to content
Home » Arduino » Arduino Projects » Arduino Music Reactive LED Strip

Arduino Music Reactive LED Strip

    In this article, you will learn how to make an Arduino Music Reactive LED Strip. It is very much similar to VU Meter, but it is made with an LED strip. It will give an awesome effect of music in dark.

    Without further delay let’s make it.

    Components Required

    • Arduino Nano.
    • Sound Sensor.
    • PCB Board.
    • IRFZ44N Mosfet.
    • BC547 NPN Transistor.
    • 10k Resistor (2x)
    • Screw Terminal (2x)
    • Female Header.
    • BC547

    Arduino Music Reactive Circuit Diagram

    Arduino Code

    //Music Reactive Led Strip
    int soundSensor = 12;  //define Sound Sensor Pin
    int LED = 11;          //define LED Strip Pin
    
    void setup() 
    {
      pinMode (soundSensor, INPUT); //define Sound Sensor as input
      pinMode (LED, OUTPUT);        //define LED Strip as output
    }
    
    void loop()
    {
      int statusSensor = digitalRead (soundSensor);   //define variable of the Sound Sensor status
                                                      //and read value of the Sensor's
      
      if (statusSensor == 1)        //When the Sensor detects a signal
      {
        digitalWrite(LED, HIGH);    //LED Strip will be active
      }
      
      else                          //If no signal is detected
      {
        digitalWrite(LED, LOW);     //The status of the LED strip is deactivated
      }
      
    }
    Arduino Code

    Complete Project Video

    Download

    Download Arduino Code and Gerber files here

    If you have any queries feel free to connect us on social handles Facebook

    Exit mobile version