Arnov Sharma
Published © LGPL

Music Reactive LED Strip with Microphone Module V2

"Attiny85 based Music Reactive LED strip setup"

BeginnerFull instructions provided30 minutes2,497

Things used in this project

Hardware components

ATtiny85
Microchip ATtiny85
×1
Microphone Amplifier Breakout
Adafruit Microphone Amplifier Breakout
×1
Power MOSFET N-Channel
Power MOSFET N-Channel
×1
UTSOURCE Electronic Parts
UTSOURCE Electronic Parts
everything above can be found here for a low price
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

scheme of board

Code

CODE

C/C++
int soundSensor = 1;
int LED = 0;

void setup()
{
  pinMode(soundSensor,INPUT);
  pinMode(LED,OUTPUT);
}
void loop()
{
  int statusSensor = digitalRead (soundSensor);

  if (statusSensor == 1)
  {
    digitalWrite(LED,HIGH);
   }
   else
   {
    digitalWrite(LED,LOW);
   }
}

Credits

Arnov Sharma

Arnov Sharma

267 projects • 273 followers
Just your average MAKER

Comments