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

by MertArduino in Circuits > LEDs

4259 Views, 5 Favorites, 0 Comments

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

music_reactive_led.png

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.

Project Video

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

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.

Required Components

PCB_img.png

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

Schematic and Gerber File

Schematic_Music_Reactive_Multicolor_LED_Lights.png
Dimensions.png

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

Source Code

GitHub.png

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