loading

Hello,in this instructables I will show you how to control a led strip with music!. I put this led strip in my room,near my Playstation 4 and my speakers, so I created also an amazing illuminated gaming station. This led strip reacte when there is music,or simply a sound. In fact I use it also when I play videogames:while I'm shooting in a action videogames, the leds reacte and the result is amazing. In the final step there is a link that show the final result. Check the next steps!

Step 1: What You Will Need:

- LED strip

-Arduino uno

- sound module

-relè

- 9v battery/powerbank

- some wires

-adaptor to power the strip

Step 2: Wiring

Sorry for the quality of the image ,but I had many problems with the fritzing sketch. There is a file attached in this step so you can download the sketch for a better quality of the scheme. In the sketch I idn't find a sound sensor so I took a casual sensor that rappresent the module.

Sound sensor:

The first pin is the signal: S>digital pin 7

The second pin is the voltage: V> 5v pin

The third is the ground: G> gnd pin













Step 3: The Code

#define LEDstrip 9

void setup()

{ pinMode(7,INPUT);

pinMode(LEDstrip, OUTPUT);

}

.void loop()

{ boolean soundstate = digitalRead(7);

if (soundstate == 1) {

analogWrite(LEDstrip, 255);

delay(10);

}

else{

analogWrite(LEDstrip,0); }

}

Step 4: Turn Up the Speakers!!!

The project is finish!!! In only 4 steps I show you how to make a " disco" in your room with "disco light". Now you have almost finish....the only thing you need to do is...TURN UP THE SPEAKERS AND DANCE!

I hope you liked this project,comment and see you next time!

Here there is the link for the final result:

<p>and dont put the extra info IN THE REPLY`S.</p><p>then do nothing. </p><p>make the IBLE better and put it in there.!</p>
thanks for the criticism , I will improve myself about making instructables
<p>verry bad IBLE, sorry</p><p>its a nice one if you realy took time and efford,you clearly see this is a quicky, of a already working build. </p><p>sorry friend,but we al must help eachoter,so dont take it to hard and do your magic</p>
where should the power plug go and where should I hook up the relay? could you please send me some close up pictures of your setup
<p>Could you be more specific than &quot;Sound module&quot;? That's not very helpful. And is that a solid state relay or mechanical?</p>
Ehy I'm sorry for the misunderstanding. Here there is a link that show you the sound sensor and rele on amazon so you can understand better what tipe of sensor are. RELE: https://www.amazon.com/gp/aw/d/B0057OC6D8/ref=mp_s_a_1_2?ie=UTF8&amp;qid=1473604775&amp;sr=8-2&amp;pi=SY200_QL40&amp;keywords=rele+arduino&amp;dpPl=1&amp;dpID=51eyw8a9hKL&amp;ref=Patch<br>SOUND SENSOR: https://www.amazon.com/gp/aw/d/B00TM7R21W/ref=mp_s_a_1_2?ie=UTF8&amp;qid=1473604957&amp;sr=8-2&amp;pi=SY200_QL40&amp;keywords=sound+sensor&amp;dpPl=1&amp;dpID=310aOap-TwL&amp;ref=plSrch

About This Instructable

2,679views

43favorites

License:

More by jekob:Cheap T-shirt Cardboard Folder Machine Sound Reactive Strip Led Arduino Bluethooth Exploration Rover 
Add instructable to: