Arnov Sharma
Published © CC BY

Music Reactive LED Strip with Microphone Module

LED strip turns on/off at a very fast rate which creates this visualizer effect when the microphone module picks up high pitch voices.

BeginnerShowcase (no instructions)25,240
Music Reactive LED Strip with Microphone Module

Things used in this project

Story

Read more

Schematics

inkedsound_sensor_connection_iotboys_com_wiring_wkfols3kjv_li_KuBPJnCBl6.jpg

just add a mosfet as switch setup instead of led, watch the video for more info

Code

Untitled file

C/C++
its a pretty basic sketch which triggers the gate of MOSFET when Arduino receive a signal from microphone module
int soundSensor = A0;
int LED = 2;

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

269 projects • 279 followers
Just your average MAKER

Comments