Music Reactive RGB Lamps Using Arduino

by theSTEMpedia in Circuits > Audio

6306 Views, 9 Favorites, 0 Comments

Music Reactive RGB Lamps Using Arduino

P1100132.JPG

A party ain't no party without David Guetta or Martin Garrix and some super cool lighting. But do you know what makes a party even better? Lights that dance to Martin Garrix! Yes, you heard us right! These DIY music reactive LED lights are precisely what you need to make your party supercalifragilisticexpialidocious! And the best part? You can make'em super-easily at your home with some RGB LED strips, evive, and DIYing. Et voila! Party like never before!

Want to keep just the lights? No problem mate! The lights can be used as lamps as well.

Ready for some action? Let's get started in 3, 2, 1... now!

Things We Need

Hardware

  • evive
  • RGB Strip
  • Sound Sensor
  • Thick Cardboard
  • Butter Paper
  • Glue

Software

  • Arduino IDE

Making of Base

P1100087.JPG
P1100090.JPG

Let's start by making the base of the RGB Lamp.

We will be needing rectangular cardboard of any size you want.

Making the Top and the Bottom Edge

P1100091.JPG
P1100094.JPG
P1100097.JPG
P1100099.JPG

We need something for the top and bottom side.

Thus, take the cardboard and design the circle with the diameter of the same width of the rectangle. Take the cutout.

We need to cut the circle from the center.

Glue each one of the semicircles to the top and the bottom side.

Adding the RGB Strip

P1100101.JPG
P1100105.JPG
P1100106.JPG

Into this base, we will be adding the RGB Strip.

Glue the RGB Strip to the rectangular base.

You may notice that the wires are left unmanaged.

Thus, we need to make holes to let the wires pass through it.

We have added two RGB Strips, you can add as much as you want.

Completing the Assembly

P1100109.JPG
P1100111.JPG
P1100117.JPG

You might be wondering that why do we need to add butter paper to our lamp.

The lights coming from each RGB LED might not be visually appealing. Thus we need to disperse the lights.

The butter paper does that work and also covers the lamp.

Cut the paper of the length equal to the circumference of the semicircle.

Glue it onto the semicircles. Thus, your lamp is ready.

Connection With Evive

Fritzing_Music reactive lamp.png
P1100122.JPG

Make the connections as shown in the figure.

Code

Upload the following Arduino Code to evive

Working

The sound sensor is placed near the speaker. As soon as the sound sensor senses the sound.

It sends the data to evive. evive in turns sends the data to the serial monitor.

According to the code, the colors are assigned to the RGB, thus making it glow. Also, the intensity of the RGB is changing according to the frequency of the sound.

Conclusion

With this, your DIY music reactive LED lights are all set to light up your party!