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.
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.
Get the Gerber File (Also order):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). Of course, as always, I ordered the circuit board via PCBWay. You can order from the web address below and get this board.
https://www.pcbway.com/project/shareproject/Music_Reactive_Multicolor_LED_Lights_Board.html
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.
https://github.com/MertArduino/Music-Reactive-Multicolor-LED-Lights
Comments