Listening to music on my pc (proudly using WINAMP), I was wondering how would be to have some leds blinking with the sound that came out from the P2 connector, so I decided to make a simple circuit to do that. It worked pretty fine, so I decided to write a HowTo telling step-by-step how to do it. Hope you enjoy it!

If you want to see more of my DIY projects, please, visit my website:
Daniel Spillere Andrade Website

Material and Equipment:

1. 4 LEDs (any collor)
2. P2 plug
3. 2 position switch
4. TIP31 component
5. Box to put all the stuff (if you want)
6. Soldering iron and accessories
7. Cable

Video of the final project:

Step 1: Step 1

This project will work this way, you connect 4 leds in the +12V from your computer, they are soldered to a 2 position switch that will connect to a component called TIP31, this component gets the intensity transmitted by the P2 connector, and with that, makes the leds blink with the music.

You can follow this scheme:
Would I be able to hook up a parallel circuit of 50 LEDs to this? Still 12 volts. If not, what part should I use instead? Thanks!
can anyone help me make a diagram of this with 63 red LEDs
hi everyone<br> which transistor can i use other than tip 31?<br>please answer me fast :)
BD135,BD137 and BD139! :D
Thanks, i found one of those and the output on the emitter is 5v as opposed to 100v (?) according to the data sheet. Not sure what that means but there is logic there. I'll try, thanks :) <br> <br>Also in another place i saw about putting a diode on the live input of the audio input. Apparently it will protect positive voltages beign fed back into a soundcard. Any ideas on that one? Which diode? <br> <br>Thakns, hehe.
Sorry, can't help anyone below; i am a noob. <br> <br>I made this and it works - so thanks for an entertaining weekend, but today i am noticing feedback through the speakers when the led are at their max. Any ideas? A bad ground somewhere? <br>I am using a headphone splitter and i am powering 12 leds from a 12v supply. I put the extra led's in parallel; i figured the power pack was fine, didn't think about the tip31. Am going to blow myself up or worse my speakers? Thanks if ya can help. Alternatively what would i need to put in the circuit to prevent feedback up the P2 connector. :)
Hello, I want add 11 White leds in circuit for blink.... tell which transistor i have to use. i am 32 DC power suppy. please answer fast....
Hey guys if you want free LEDs go here and sign up free: http://www.points2shop.com/?ref=uin1270958834 <br>All you have to do is sign up, earn points by playing games and doing offers, and get your free rewards. It is actually super easy. You also get $2.50 just for signing up. You can also get free transistors and circuit boards.
&nbsp;Hey guys having a little bit of trouble here. I had this wired up temporarily last week and it worked great! I went to solder it all together today with more LEDs and it didn't work. It would switch on but when I flipped it to the other side nothing happened. I checked the wiring about four times and found nothing wrong, but I went to measure the P2 connection and it wasn't putting out any voltage. Yes it was plugged in, the volume was up, the multimeter was functioning properly and set to DC -- minimal to no voltage on the wires, sound on/off doesn't affect voltage. So I go to cut up another 3.5mm cable, same thing. But when I put the bare wires on the jack of headphones, the sound kicks in? This is not making any sense to me! I'm so lost on this one guys..<br />
Try changing the TIP31...i blew mine once and had the similar problem as yours.
Can I wire together both wires from right and left speaker in one wire to the transistor? Will it be then stronger current through the tip31 and later through the LED's, cause i need a liitle bit stronger current cause my LED's are not blinkinkg so bright..thanx in advice
Hi! I did this mod and it's great. but I want to improve it a little more. I would like to hook up a cold cathode instead of these four leds for more light but the cathode isn't responding to music(won't light up). the cathode requires 12V and the input is 12V (same as leds) but I'm afraid that the current which is flowing trough tip31 isn't enough to light up the cathode Am I right? or what am I doing worong? Is there a way to add other component to make it work? I connected it to the circuit before inverter. should it be after inverter? but I'm afraitd if it won't damage the cathode when I do it that way. please take a look at the picture. any help appreciated
Most likely the cold cathode can't respond fast enough to the current change, it most likely requires a quarter of a second to warm up, same with with the inverter
man i have done that before ..... just like you show here , it is working ok ... ;)<br>
what is the inverter for? If the cathode take 12v and you are using 12v then why do you need an inverter? Do you mean that the inverter allows the cathode to use 12v? Otherwise I doubt it should be there.<br />
*Sigh*<br /> <br /> Inverters change <strong>d</strong>irect <strong>c</strong>urrent to <strong>a</strong>lternating <strong>c</strong>urrent, which is what cold cathode lights need.<br />
They also step it up to something like 500v low A, i did the cc mod at home and it works fine...<br />
&nbsp;if tip 31 is not&nbsp;available then which other transistors can b used? plz help&nbsp;
i am using bd239c i think it is even better :DD
Here's a great deal on them: 10 for like $3.50 ea.<br /> <a href="http://cgi.ebay.com/10-x-TIP31C-TIP31-NPN-TRANSISTOR-100V-3A-TO220-/180480179933?cmd=ViewItem&amp;pt=LH_DefaultDomain_0&amp;hash=item2a0574fedd" rel="nofollow">Ebay</a><br />
Almost any npn transistor will work.<br />
http://www.youtube.com/watch?v=CxqjW6jItMI<br>Look my video i have made manyy circuits /w leds and cold cathodes ask me everything in the comments on my channel
cooooool case mod bro.....
Hi, I was just wondering what &quot;P2&quot; is. I cut the wire from my ipod headphones, but I'm guessing that isn't it because it doesn't work.
P2 is a power connector, the plug from your ipods headphones inputs the music into the leds. <br> <br>look for it (it doesn't have to say &quot;P2&quot; on it. any regular power connector will work) coming out of your power supply
could i use TIP33 ???? ....and....what i need to change in this scheme if i want to ude 9volt battery ??? thank you very much
add a resistor to the leds or take off an led because they are wired as suck there is a 3v drop (they are 3v each) across each LED so four is the max it could hold BUT if you used 1.5v leds and a 9v battery you could put on 6 leds in that pattern
instead of a 3.5 mm jack can i put a mini micrphone instead cause i will connect it to my power supply's molex connector and will i need a resister if i do use my power supply's molex connector
where is the P2 connected??
to music output from your computer,ipod etc
i set to max the master volumen &amp; wave level on audio pc control then i plug my p2 to my computer output but the signal in too weak to turn on the led, i plug an earphone and it was working... So i was wondering if the signal of the pc isn&acute;t strong enough to make my circuit works... please help me
wud a tip32 work insted of a tip31? does it make a diffrence?
&nbsp;tip32 is pnp not npn
this wiring diagram sucks. The way you have it drawn makes no sense as there are 4 negative leads coming off of the 12v supply. Your switch will not work in this diagram because either way that you flip it, there will be a ground connection. If you flip the switch toward the transistor, you may be able to get this thing to work. But you have a ground connection on BOTH SIDES of this switch. Unless your goal her is to turn off the P2 input and leave the LEDS on solid, then the bottom ground on this switch is not needed. Here is a wiring diagram that is more accurate than this one.
what does the X mean?
&nbsp;its unused in the diagram from he instructables maker(i like that one better) he makes it so you can leave the leds on solid or make them blink
I admit it isn't done very well but what you are saying is wrong. The SPDT switch allows the LED's to either flash to music or be on solid. The bottom ground connection is needed so that when in the permanently on mode the circuit is completed<br />
Hi, wich transistor would i use if i want the circuit with 12Volts LEDs
hey man, is the RED wire the positive and the BLACK the negative one?
Hi, I have a bit of a problem with mine. &nbsp;I set mine up as kind of a pass-through, you plug a jack into the box and the box into speakers. &nbsp;When I plug speakers into it though, it stops strobing. &nbsp;How do I manage to get enough power through the transistor to strobe while it is still hooked to speakers? &nbsp; I am using a 2n7000. &nbsp;Thanks!
&nbsp;this is an addition to my comment below...be carful though cause it would need a power souce too
&nbsp;you could probably just add an amplifier circuit (two bucks)
if i want to plug it into the electric power of a house, what i have to change??
You would need to use a 'wall wart' rated for twelve volts, cut off the plug on the end, find the polarity with your multimeter, and connect it that way.<br />

About This Instructable




More by pasteler0:MouseMod ProjectBlinking ledsExternal Winamp Control
Add instructable to: