Introduction: Music Reactive Multicolor LED Lights | Arduino Sound Detection Sensor | RGB LED Strip

About: Maker 101; Beginner and intermediate level Maker projects! You can find projects such as "How to" and "DIY" on programmable boards such as Arduino, ESP8266, ESP32 and Raspberry Pi on this channel. The projects…

Music-reactive multi-color LED lights project. In this project, a simple 5050 RGB LED strip (not the Addressable LED WS2812), Arduino sound detection sensor and 12V adapter were used.

Step 1: Project Video

So how does it work? If you take a closer look at the Arduino IDE source code of the project, an analog value comes from the Arduino sound sensor (this varies according to the intensity of the music), after that a threshold value is defined (just like 0 to 1023), if the value from the sound sensor does not match the threshold value, Arduino random () function is activated. 6 different color groups have been created in the random function, different color combinations can be created by changing the values in these color groups. If there is no analog value from the sound sensor, the function is stopped.

Step 2: Required Components

This project can also be done with Arduino UNO R3 and some (IRFZ44N Transistor and similar) components, but I prepared this project on a single board. Easy solderable components were used (Just like DIP case Atmega348P).

Sound Detection Sensor

LED Strip Light 5050

AC DC 12V Adapter

DIP28 ATmega328P-PU

IRFZ44N Transistor

L7805CV TO220

Ceramic Capacitor

Electrolytic Capacitor

DIP IC Socket

Type B USB Socket

2.1mm Jack Socket

Toggle Switch

LED

Resistor

12MHz Crystal

16MHz Crystal

Jumper Wire

Soldering Tools

Step 3: Schematic and Gerber File

I ordered the circuit board via PCBWay. You can order from the web address below and get this board.

Get the Schematic and Gerber File (Also order):

https://www.pcbway.com/project/shareproject/Music_Reactive_Multicolor_LED_Lights_Board.html

Step 4: Source Code

If you take a closer look at the Arduino IDE source code of the project, an analog value comes from the Arduino sound sensor (this varies according to the intensity of the music), after that a threshold value is defined (just like 0 to 1023), if the value from the sound sensor does not match the threshold value, Arduino random () function is activated. 6 different color groups have been created in the random function, different color combinations can be created by changing the values in these color groups. If there is no analog value from the sound sensor, the function is stopped.

Get the Arduino IDE Source Code (GitHub):

https://github.com/MertArduino/Music-Reactive-Multicolor-LED-Lights