How to Make Musical NeoPixel LED Lights !




Introduction: How to Make Musical NeoPixel LED Lights !

About: Hi, I'm Nemeen, Electronics Enthusiast! I have seen a huge decline in electronics hobbyist in past few years. I started this channel in order to inspire you to create. Hopefully, you will find something that …

So I have been into parties a lot of times but never really enjoyed the music with some boring lighting. This gave me a thought to make something interesting which would add a new taste to the parties. So I came up with an idea to built Musical LED lights.

So let's get Started!

PS: I know I'm not the first person to come up with this project :P

Step 1: Watch the Video !

I have also made a video tutorial which you can check out!

Step 2: Everything We Need

Step 3: NeoPixel LEDs

They consist of type 5050 RGB LEDs in which the very compact WS2812B LED driver IC is integrated. Depending on the intensity of RGB we can make any color. What’s great about these LEDs is that we can control even the entire LED strip with just a single pin from Arduino.

Step 4: Analog Sound Sensor

Sound Sensor is typically used in detecting the loudness in ambient. We will use it to detect the music level and process it accordingly using Arduino. It has a Mic which senses the sound and an Op-Amp which amplifies it so, Our signal could be strong enough to be processed by Arduino.

Step 5: Arduino

Arduino is an open-source platform used for building electronics projects. It has Digital as well as Analog IO ports which is perfect for this kind of project. We will use the Analog Ports for the Sound sensor I/P and Digital Ports for the LEDs. I have used Beetel but you can use any of them!

Step 6: Schematic, Program & Soldering !

Once you have all the components, Connect it according to Schematic

D11 to Data pin of LEDs

A0 to O/P of Analog Sound Sensor

5V to LEDs, Sensor & Arduino using a power Brick

Don't forget to GND all the Parts otherwise it won't work!

Once soldering is done, upload the program

Step 7: Enjoy the Music !

Turn on the Music and Enjoy!

If you like my work

Feel free to check out my YouTube channel for more awesome stuff:

You can also follow me on Facebook, Twitter etc for upcoming projects

Colors of the Rainbow Contest

Participated in the
Colors of the Rainbow Contest

1 Person Made This Project!


  • Rice & Grains Challenge

    Rice & Grains Challenge
  • CNC and 3D Printing Contest

    CNC and 3D Printing Contest
  • Puzzles Challenge

    Puzzles Challenge



2 years ago

Sir you are truly a god. I have been searching for hours for this code, and the countless links and videos I've watched have been more than useless. I made an account simply to post this.

Are you able to code it so that they flash different colors?


4 years ago

The best port of this project is the code, I mean this code is really complex, you have almost sampled every beat into a colour spectrum, it's really awesome


Reply 3 years ago

Joined the site so I could comment here, beautiful code indeed!
Thanks for this, Nematic!


3 years ago

It doesn't really work for me, I've tried to adjust the potmeter on the sound sensor but that also doesn't really help..... any ideas?