Introduction: Controlling LED's With Music

About: Makeistan is a makerspace at Information Technology University in Lahore, Pakistan.

In this project, we will be using a microphone sensor with Arduino to control LED’s. The microphone sensor will measure the intensity of the sound in the music, and the Arduino will accordingly turn an LED on to make a cool pattern.

Step 1: What You Will Need

You will need:

- A microphone sensor

- An Arduino

- A breadboard

- Some jumper wires

- 4 LED's

Step 2: Making the Circuit

Refer to the Fritzing Diagram shown above:

Step 3: The Code

Here is the code: