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,289
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
333 projects • 339 followers
Just your average MAKER
Contact

Comments

Please log in or sign up to comment.