music reactive multicolor led lights
These lights are just simple rgb led strips connected to arduino
The brain of this project.
LED light bars mean you can install them anywhere in your home or even outdoors.
The main purpose of this project is to use it at a party, but you can also use it in your daily life to make your music more fun!
Whether you\'re sitting at the door, around the sofa, led TV, computer desk or on the wall, it\'s up to you.
The use of this thing is endless!
The only condition is that you have to have an audio output device near your lights that powers them with audio signals that can be processed and reacted.
As mentioned above, this project uses arduino to get the audio input, process the audio input, and then output to the LED strip controller circuit through its digital pin, and then drive the strip.
It uses a 12v power supply to power the strip and arduino.
One advantage of this project is that it won\'t \"waste\" any audio jacks.
It has an input jack that sends an input signal to the arduino and an output jack that sends the same signal to the speaker or headset.
The whole project can be completed within 2 hours (
Or up to 3 hours)
And just need one of the basic parts that is easy to find.
I promise you will be very surprised by the end result of watching the project (
It looks much better in reality than in images).
Here is a short video of project implementation: You are free to ask any questions related to this project in the comments section below.
If you like this concept and demo, please vote in the \"Make It Shine\" and \"arduino everything\" contest.
The cooler project must follow me! Let\'s Party!
Subscribe to my YouTube channel here: I have added this step before starting the project to give you a better idea of what the project is doing.
It helps you learn something awesome that is lacking when you copy everything without knowing what actually works.
As explained in the introduction, the LED light strip connected to the project glows and whenever the arduino detects a loud music beat, it changes the color.
The audio signal is very weak compared to the electronic current, so the audio input line from the audio output device (
Like an Mp3 player)
The analog input pin connected to the arduino can be detected even with very weak electrical signals.
Now, when you play a music track, whenever there is a loud beat with a high amplitude, the arduino detects it when the audio signal is above the set threshold.
When this change is detected, it changes the LED color to any random color.
However, it must be noted that the arduino does not drive the LED light strip directly.
Instead, it sends a signal to the external transistor circuit that drives the bar.
The reason is that the output voltage of the Arduino\'s digital pin is 5 v, while the LED strip takes 12v to work.
The following parts and tools are required to make this project.
The total cost of the entire project is $30 or 1800INR, which may vary depending on the store where you purchased the part.
The length of the LED light strip you need depends on your requirements.
Parts: tools: the first step is to prepare the housing so that all components can be installed in place.
But before that, you have to choose the type and size of the shell.
The easiest way is to use a plastic kitchenware box or a Tupperware container because the plastic is easy to use.
I would not recommend the metal case as you need to be fully insulated but there is still a risk of short circuit.
Now, for the holes to be made, use a simple bit or a multi-purpose rotary tool with a bit.
You need four holes in total.
One power cord, one rgb led light strip, should be large, two audio outputs and an input jack.
Please wear safety equipment before using power tools.
You can also use a heating knife or a paper cutter.
Now, an important step is that here you have to weld a circuit that controls the rgb led light strip through the signals received by the arduino.
Such a circuit is needed here, because the output voltage of the digital pin of the arduino is only 5 v, and the LED strip needs at least 12v to work.
To power them, the circuit consists of three power transistors that receive low-power signals from the arduino and amplify the signal, which is enough to power the band.
There is one transistor in each of the three colors-
Red, green and blue.
To weld the circuit, please refer to the schematic diagram given above.
Please note that you need to solder the male head of four pins for the rgb led light strip, as well as connect it to the arduino.
Supply 12 for arduino and weld two more.
Finally, weld a screw terminal to connect the power supply to the circuit board.
It is optional to use the male head and screw terminals, but welding everything directly to the circuit is a better option.
It makes it easy to connect all components through jumper cables.
The next step is to make a shield for arduino, which, although optional, helps to easily connect all components.
For UNO users, they don\'t need this shield.
The main goal at production is that it can help you make any necessary changes to pin connections very easily at any time without the need to weld all wires directly
Weld everything in order to make any changes.
This also makes it possible to upload the code to the arduino simply by inserting the arduino from the shield.
You can make your own shield by looking at the picture above.
It is basically composed of some female heads inserted by arduino and male heads corresponding to each pin on the arduino.
You may also need to weld more joints for GND and 5v pins as these are the main ones to use.
The best part now is, just unplug all the jumpers and you can even use the same shield in other projects.
When your shield is ready and your circuit is welded, it\'s time to connect them together.
First, insert the arduino into the shield so that the pin tag can be identified.
Now use some parent jumpers to connect it to the arduino as follows: Then finally, glue the circuit with the arduino and the shield inside the shell.
In order to get the audio input from the audio device where the tape will react, there must be a jack.
I also chose to add an audio output jack which will prevent you from wasting the jack from the source.
The input jack must be connected to an audio output, such as an Mp3 player, while the audio output must be connected to a headset or speaker.
Adding the first is mandatory and the second is optional.
Please note that there are two audio outputs for any audio device-
One on the left and the other on the right.
Here, there is only one of the two used to input the audio signal through the arduino, but in the audio output jack, both are connected.
To make things simple, you can follow the text or schematic diagram below.
After completing all the connections, fix the two Jacks to the holes on the previously manufactured housing.
While this is a simple step, it can be difficult for you if you don\'t have the right 12v power supply.
You should consider the life of the supply before choosing your choice (i. e.
How long will it last)
And whether it can provide proper current to arduino and LED strips.
The best and cheapest option is to use a 12 v/2A adapter.
Note that the 1A adapter may not work properly if you use a long LED light strip, as it absorbs a lot of current.
You can extend the wires of your power supply if you want.
Connect the positive and negative poles to the controller circuit (
Now, for arduino, you can use the same power supply as Arduino UNO and nano (NOT pro-mini)
There\'s already one.
The built-in voltage regulator converts 12 volts to 5 volts.
Using some jumper cables, connect the positive pole of the power supply to the Arduino Vcc while the negative pole to the Arduino Gnd.
In this step, all you have to do is connect the rgb led light strip to the corresponding socket in the controller circuit.
Make sure you connect it in the right way.
Before connecting, cut your strip to the desired length and weld the wires on the copper pad on the back of the strip.
If you want, you can extend the wire if you want to install the strap from the controller and other circuits.
Connect the arduino to the PC and upload the code given below via the Arduino IDE.
Select arduino nano under Tools> motherboard and select the correct COM port number for arduino under Tools> serial port.
It\'s easy to understand if you look at the code.
The basic steps that appear are: can be in if ()
Adjust the conditions according to your requirements and can change the PIN number, remember that all pins must be PWM pins.
So you have finished your own music reaction chameleon!
Now all you need to do is connect it to the audio device, play some good music and watch the lights change color in the dark with each beat.
Your friends will be jealous of such cool things!
Since these are LED strips, you can install them to almost anywhere by stripping the 3m tape on the back.
So whether you use it as a sofa light or an environment light on a TV, it will spread its charm everywhere.
To set up the device, you need two AUX cables.
Connect one end of the first cable to any audio output device (
Ipod, Mp3 player, mobile phone, tablet, TV, etc. )
The other end of the device audio input jack.
Connect the output jack now (of the project)
Any optional speaker or headset.
Open it now and play some music.
Increase the volume if it\'s not on.
Lower the volume if it is on but flashing all the time, or very sensitive.
This marks the end of this note.
Hope you like it.
If you think the project is great, please vote for it and share it.
Don\'t forget to follow for cooler items!
You can even like my facebook page: frozen solenoid thanks for watching :)