Arduino - Music Reactive LED Strip Light with 3D Case DIY




Building a LED strip light that visualizes all sounds and music, using simple components and some basic arduino programming.
Build a simple driver circiut on a breadboard to amplify the Arduino's output pins to provide the necessary current to the LEDs, and create your own light show! Also create a 3D case to be safe and portable. Required Hardware: Arduino Board -- https://goo.gl/f3pdKS Sound Sensor -- https://goo.gl/bToAP7 LED Strip + Adapter -- https://goo.gl/5nx84s Mosfet IRFZ44N -- https://goo.gl/qCFzY8 Transistor BC547 (Optional) 10k Resistors -- https://goo.gl/uSYHGx Breadboard -- https://goo.gl/ExxNWy Jumper Wires -- https://goo.gl/94xaTi Optional (Need for 3D Case) Anet A8 3D Printer -- https://goo.gl/rpdqQ4 PLA Red Filament -- https://goo.gl/35MSfn ON-OFF Switch Button -- https://goo.gl/hZV2c8 Heat Shrink Tube -- https://goo.gl/j2xcVf ------------------------------------

Source Code
int soundSensor = 3;  //define Sound Sensor Pin
int LED = 9;          //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
  }
  
}