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 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
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
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).
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
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