Step 6: Building the circuit

Many people get scared when they see all those weird circuits with those symbols on it. Having no clue what they mean.
That's why I made a instructable friendly circuit image :) See photo 1.

1. Make sure you have all the materials to make the circuit. And enough electrical wires to connect all the components.

2. Before we build the circuit, we first need to put the audio cable through the whole in the back.


3. Build your circuit, and test it out.  The best way to test it is through your audio output from your computer. Make sure the audio on your computer is set to 100% and then test it.

CircuitThe positive pole from the adapter goes to the positive leg of the first LED. Next the other 5 LED's follow. Hook the negative leg from the first LED to the positive leg of the second LED. Hook the negative leg from the second LED to the positive leg of the third LED, and so on. The negative LED from the last LED goes to the center pin of the TIP31.
Then hook the right pin of the TIP31 to the negative pole of the adapter.
All there's left now is to hook up the audio cable. Hook the red or the white wire from the audio cable on the left pin of the TIP31. And connect the ground wire from the audio cable to the right pin of the TIP31.

For better details please see photo 1, the circuit.

4. If your circuit works, solder all components together so the circuit stays together nice and strong and wont fall apart.

When done with these steps it's time to finish up!

If you have trouble getting the circuit to work, you can try to set it up first on a circuit board.
Carlosserious was so kind to make a how-to video on making the circuit, click here for the video.
 
Remove these adsRemove these ads by Signing Up
BrandonHall says: Apr 17, 2013. 3:31 PM
any ideas how to make this either a 120V (wall socket) adapter or have it powered off one battery because i have 6 strips of the LED's that you would get at Pep Boys that have their own 12V source per 2 strips i wanted to have it run off one battery and or a 120V socket please help? also i don't want to sacrifice brightness to the three sets
gtgm_110 says: Mar 19, 2013. 6:59 PM
How would you add a simple toggle switch on if you wanted that? I'm new to electronics and circuitry so thank you for the help.
bhallett in reply to gtgm_110Apr 15, 2013. 9:15 AM
just take one of the positives (or negatives) cut the wire and add the switch in between that cut wire kind of like a normal light switch just interrupt the power supply.
bhallett says: Apr 15, 2013. 9:12 AM
is there a way to attach 6 12v strips of the walmart led flex lights to one power source with out blowing out the first line and having it run off one two or three tips help!!!
ndelic says: Mar 10, 2013. 5:54 PM
Can be TIP48??
Laiman says: Feb 20, 2013. 8:53 AM
I have got a chain light of 4v lights powered by 230v, with no small circuitry whatsoever. How can I join these two ideas together? The led box based on tip31 transistor and the chain light. Is it possible and if yes how?
kushal901 says: Dec 6, 2012. 9:54 AM
I have a set of LED lights that run through the mains at 240V (UK). Would it be possible to use this same set up on the negative wire? Would I need to use a different transistor?
nhan57 says: Nov 30, 2012. 5:23 PM
Hi i'm having a problem, can someone help me???
Having one TIP31c
I followed this picture but instead of using a battery I just use my arduino Diecimila powered on the USB and one led without resistor, but when I put the right wire of the jack and the ground of the right wire on the TIP31C sometimes it just turn on and keep the light or nothing appear and then when I start the music nothing is there...
please some ideas????
bswt says: Nov 25, 2012. 7:03 PM
i'm getting noise through my speakers what kine of cap should i use
xxullixx says: Apr 17, 2012. 12:56 PM
Hi not much of electronica, but I was wondering if this circuit could work:

http://k45.kn3.net/D49190D80.gif
Building-the-circuit.jpg
diy_bloke in reply to xxullixxOct 19, 2012. 4:39 AM
well, it might work, but some micrphones will give a very low signal that would be insufficient to open up the TIP 31 completely. The TIP31 has a very low gain (around 20).
So if you want to have 20mA through yr LED's you will need to input 1mA from yr microphone.

I am not sure all microphones will be able to deliver that current: modern microphones have an output voltage of perhaps 5 mVolt, but i am not sure how much current they will be able to deliver in a TIP31's base.
It won't hurt trying the circuit though :-)
If it does not work properly, you could use a BC547 to make a Darlington circuit with the TIP31 and use a proper base resistor for the BC547.
http://electronics.indianetzone.com/1/darlington_pair.htm

Or make a simple amplifier circuit with a BC547 (emmittor to ground, 10kResistor between Vcc and collector, 22k resistor between base and collector, 1 k resistor between base and signal. Lead the signal from the collector to the base of the TIP)
vincentstockdale says: May 28, 2012. 3:57 PM
Can you wire this in parralel please respond because otherwise I cant light my strip lights because they are 12 volts every two and I have four and won't light in series
diy_bloke in reply to vincentstockdaleOct 19, 2012. 4:12 AM
yes ofcourse yr LED strips can be in parallel. Do you mean that per 2 they are 12 Volts? (so 6 Volts a piece?). In that case put two in series and then put those two strips that are in series parallel to eachother. If they are the same brand and type this shld be ok.
eckoview05 says: Jul 12, 2012. 4:18 AM
I am using this in car. I have it connected to my line out converter and when i turn the volume up really loud i blow my leds. If i were to put a pot or fixed resistor on the positive side of the audio input would that prevent them from blowing?
diy_bloke in reply to eckoview05Oct 19, 2012. 4:08 AM
Th e LED's have no current limitation whatsoever, so if their combined forward voltage is less than 12 volts, the current could get too high. It is well possible that under normal conditions the TIP 3 is not opening up completely, thereby limiting the current, but when fed from a speaker, it could allow the TIP31 to open up completely and if yr LED's then have les than 3 volt forward voltage, it is 'boom'

There is a solution though, as manas.g29 already suggests: a resistor. To calculate that you need to know the exact forward voltage of your LED's. If you do not know, check here: http://www.instructables.com/id/Determining-Forward-Voltages-of-LEDs/
Now suppose you come to a combined forward voltage of 10 volts and your battery is 12 Volts (beware, sometimes they can be 13, or 14) that means you have to 'get rid' of 2 volts.
Suppose that you have regular LED's (so no high power), these can take 20mA. So you will need a resistor of 2000/20 (2000mV/20mA)=100Ohm and it should have wattage of 2x2/100=0.04 Watt, most common resistors being 0.250W so that shld be ok

Now there is another problem. Since the LED's are in series and if they are not the same -especially if tey are of different color- They may have different forward voltages. That means that though the total forward voltage over all 4 LED's may be ok, one or more LED's may still have a Voltage and thus a current that is too high.

So if you are using different color LED's I would not put them in series, but parallel, each with their own series resistor. Ofcourse this means more power loss in the resistors, but that is better than blowing yr led's.

The best way would be to make a current driven circuit in which the current is maxed to say 20mA and varying with the audio input. That ofcourse requires a few more parts (but not really much more.

The enclosed picture gives an idea of how to do that. Ofcourse you do not need a FET, a powertransistor (like the TIP31 or a 2n3055) could be used as well
led-driver4.JPG
manas.g29 in reply to eckoview05Aug 13, 2012. 1:26 PM
put suitable resistor in series with LEDs.
wizzzz says: Sep 23, 2012. 2:20 AM
hey any alternate for tip 31
RexHex says: Sep 17, 2012. 6:21 PM
Im using this circuit for my girl friends birthday gift but it just stopped working before i started the aesthetic aspect of the design :( . I have 3 potentiometers (POT's) each connected to a LED. 1)red 2)blue 3)green. so each POT controls the overall color of the design.

I have a switch that turns it from being on solid to turning to this circuit. Last night it was working just fine when I switched it over to the "music flash" circuit but today its just off when I do the switch... I did loads of test. probably 3 to 4 hours in between my classes to figure this out but just cant come up with any solution other than I must of blown the transistor. Any ideas why this might of happened? im using a 6volt battery source making me think this should not blow.
kfryers says: Jun 19, 2012. 3:31 AM
Can someone help me out?
Im trying to implement this into my car, but not sure how to? Because this is using a 3.5mm audio jack to plug into your ipod or computer, so how would i do this in a car because there is nowhere to plug a 3.5mm jack?

So basically this wiring diagram is how i want it to be in my car, The top left box symbolises the music box (This circuit that makes the LEDs flash) and basically im having red green and blue LED strips in each footwell so thats why you see two of each colour, and each footwell has a 3 toggle switch so the person sitting there can choose the colour, and then the other switch at top left is going to be a 3 way switch so i can choose whether i want the music box on (so LEDs flash to music) or off (so LEDs just stay on, no flashing to music)
photo.JPG
manas.g29 in reply to kfryersAug 13, 2012. 1:28 PM
connect it to speakers after amp or use 3.5mm splitter cable.
Adambowker98 says: Jun 25, 2012. 8:43 PM
What software did you use to draw out the circuit?
xredvortex says: Feb 24, 2012. 2:26 PM
Ok i have a problem with the audio wires. one of them has red and gold wires while other one has green and gold. im assuming its right with ground and left with ground? I tried doing red with opposite wire's ground and vice versa but still doesnt work. help!
vincentstockdale in reply to xredvortexMay 27, 2012. 10:56 PM
i had the same thing. just twist the red and green together, an the gold/copper color together. then just treat the red and green as one wire and connect them to ur left pin pn the tip31 chip and follow the scematic in the same way for everything else. (hope this makes sense!)
nick_3131 in reply to xredvortexMar 9, 2012. 10:47 AM
Take a Lighter to the end of your wires, It may not look like it but the red and green and gold are actually a plastic coating, a lighter will burn that right off, then take the two grounds (gold) and twist em together, then just use either the red or the green wire as the other wire you need
simply stellar says: Oct 24, 2011. 1:16 AM
I've having some troubles with this. When I connect my LED to the farthest left pin of the TIP31 I get some constant light but when I connect it to the middle pin nothing happens. I'm using the headphone part from old apple earbuds if that makes a difference.
dseter in reply to simply stellarMay 9, 2012. 8:32 PM
I'm having the same issue. Constant light on either side pin and no light on the middle pin. I thought maybe it was the transistor, but I changed it out for a new TIP31 with the same results. My schematic is slightly different. Any thoughts on why this might be happening?
plans.jpeg
vincentstockdale in reply to dseterMay 27, 2012. 10:49 PM
are u sure your looking at the front of the tip 31 when connecting the wires. you might have the right confused with the left causing problems.
AlexT2010 says: Jan 11, 2012. 5:33 PM
I have done the exact diagram as above, except with one Led just to try it out. It works when i use a wall charger for a phone, 120-110 to 5v and it works perfectly, but when i try this on the battery in my car nothing happens, Any ideas?
vincentstockdale in reply to AlexT2010May 27, 2012. 3:55 PM
if your going to attach this to ur car battery u need to have resistors so that u dont blow out ur led's causing them to break.
greysonn93 in reply to AlexT2010Mar 27, 2012. 7:02 AM
your power input is too high to properly run the LED. you can only have so much power going into one before it wont work. Try adding more leds or find out what resistors to add to it. try using this website to calculate it http://led.linear1.org/led.wiz
bunso says: May 10, 2012. 10:59 PM
can it use any players? like chine mp4 or mp3? can this player can light up the led?
Fitlesslover says: Apr 22, 2012. 11:04 AM
Please someone explain me. I am a rookie in electronics. I was always amazed by computer programming until i changed every single light source in my car with leds and met the world of electronics.

I am trying to understand how transistors works. I read this article http://www.satcure-focus.com/tutor/page4.htm.
But in the music led case wasn't supposed that base has to be connected to 3,5mm so that the music signal works like the plunger in the example which change the flow from baterry to leds????
why the music plug is in collector - emitter legs?????
Fitlesslover in reply to FitlessloverApr 22, 2012. 11:44 AM
sorry just found that http://3.bp.blogspot.com/_HVys8w-tJac/SzAFucdj3oI/AAAAAAAAArg/D7OR9zETaG0/s320/Transistor+tip31.bmp

base is the left leg i can see it now. Include the photo of tip31 to your instuctions it will make easier for beginners to understand
raja12 says: Mar 9, 2012. 2:07 PM
hi, i have read all the comments but still not found out how to connect this with my laptop with the sound and light both goin together. PLEASE HELP ! with a clear and simple answer as im not good with electronics ..thanks :)
Hiachi20 in reply to raja12Mar 9, 2012. 2:38 PM
I have heard that an audio output splitter (3.5mm splitter) will work. if not, i believe that you can connect your speakers WITH the device itself
raja12 in reply to Hiachi20Mar 9, 2012. 3:18 PM
thanks ...but what do i connect the splitter with...a separate speaker?
Hiachi20 in reply to raja12Mar 9, 2012. 8:55 PM
the splitter with have one input and two outputs at least. the input in your usual audio jack output from your computer of mp3, and one set of headphone or speakers in one of the outputs from the splitter, then the LED device to the other. tell me if this works please :)
Hiachi20 says: Mar 8, 2012. 9:34 PM
HELP PLEASE?!?!?! How exactly, would I connect a speaker set (to hear my music) and this device into my computer at the SAME time? And at that, would i be able to create multiples and use many with separate 3.5mm audio cables?
nick_3131 in reply to Hiachi20Mar 9, 2012. 10:56 AM
3.5 mm headphone splitters
Hiachi20 in reply to nick_3131Mar 9, 2012. 2:43 PM
It works, thank you so much! :)
jpizzle326 says: Feb 12, 2012. 1:54 AM
So I followed the instructions and graphics and am having a few problems. The first is that the LEDs only light up if it is touching the transistor prong with the left/right wire from the headphones. When I attach the LED to the middle prong nothing happens.
The second issue is the light stays solid when I play music. Not sure if the two problems have anything to do with each other. Any insight would be appreciated! Thanks!
MrTiddles says: Jan 6, 2012. 3:29 PM
I could use some help. I am using 3 blue Led's that each have a voltage range from 3.7-4.5V. When connected to a 13.6V power source they all light up fine. When plugged into my computer, the lights turn on and stay on without any blinking, and as soon I unplug the audio jack from my computer the lights turn off. Do I need to try a different transistor?
soshimo in reply to MrTiddlesJan 12, 2012. 10:02 AM
Try a small ceramic capacitor in series between the base of the transistor and the headphone cable. The audio signal might be riding on a base DC value which is causing the transistor to conduct. These transistors are not biased efficiently - they are pretty much biased for saturation so they only have two states : on and off. Normally you would want a class A amplifier so the transistor conducts through it's entire cycle - even though the LED's will only light during half the cycle. This makes sure there is no distortion or cutoff during the waveform cycle.
shailesh405 says: Nov 22, 2011. 7:11 AM
hey pls help me that i had constructed the project but i used the simple wire and attached to audio pins will it work or not or does it require thick wire
Grumpy Mike in reply to shailesh405Dec 29, 2011. 8:16 AM
It does not require thick wire.
Linkster999 says: Dec 2, 2011. 10:28 AM
i want to incorporate this into a Led cube is it possible to use a 5 volt source ?
AdamVigneaux in reply to Linkster999Dec 24, 2011. 11:44 AM
You can use any voltage of power source that you want, but the voltage is directly proportionate to how bright the LEDs will be. Less power (lower voltage) = less bright
Grumpy Mike in reply to AdamVigneauxDec 29, 2011. 8:15 AM
" You can use any voltage of power source that you want," No you can't, the voltage has to be greater than the combined forward voltage drops of the LEDs. Any less voltage than this and there will be no light at all. Without a current limiting resistor you risk damaging the LED.
MattBothell says: Nov 26, 2011. 8:32 PM
Thank you for this great instructable I really love the idea! I have an old speaker from a radio that is like 2 or 3 inches across and wanted to wire it into but i cant find a circuit I am very new to electronics and was wondering if someone could send me a fairly simple circuit with a speaker wired in? Thank you!
ewitwins says: Nov 6, 2011. 11:13 AM
To everyone have problems with dimmed leds:

The best thing you can do (if you're using a transformer like I am, 12v) if you're having this problem is to do your LEDs in parallel instead of in series. I just did this project and all it's running off of is a 12v transformer and so far I have 35 leds running in sync with the transistor perfectly and nice and bright. The other reason it's running bright for me is because I have it plugged into a main desktop computer, which I think is having some affect.
elijah_rippington says: Oct 3, 2011. 10:36 PM
hi, i have build the original circuit and it has worked great. I was wondering if there was a way to wire a microphone for this. i am looking to use this in a live setting since lighting set ups cost so much. I have already attempted but with no success, any ideas?
joshc0311 in reply to elijah_rippingtonOct 25, 2011. 4:40 PM
i have also been trying to do this to no avail, how did you try? im trying to use a small electrec microphone.
elijah_rippington in reply to joshc0311Oct 25, 2011. 8:59 PM
I also used electrec microphone but with no success. I have found that you need to build a simple preamp in between this circuit and the microphone. I have yet to build it though. I will let you know how it goes.
joshc0311 in reply to elijah_rippingtonOct 30, 2011. 7:39 PM
Yeah I also was researching a pre-amp, tell me how yours goes!
cdanutz in reply to elijah_rippingtonOct 27, 2011. 5:17 AM
Hello. I haven`t try this but it might work. Connect you microfone to the 3.5 mm jack of a cheap speaker sistem and use the wires that connect to a speaker in the scheme above insted of the 3.5 mm jack. I hope i make sense. So.

microphone->cheap stereo speaker sistem with amplifier->the scheme above, instead the 3.5 mm the wires from one speaker. Good luck and le me know if this works.

As a precaution keep the volume to minimum and then incease it slightly on the cheap speaker sistem.
texpert says: Sep 27, 2011. 8:29 PM
Okay so im kinda new to this but is this circuit in series or parallel? And how do the leds now burn out with no resistors?
spiderstones in reply to texpertOct 6, 2011. 6:55 PM
series
imcalledjoseph says: Sep 6, 2011. 11:45 PM
since its using AC power shouldnt u add a resistor or fuse you know just in case for safety reasons
hvaradarajan says: Aug 21, 2011. 5:49 AM
Can anyone give me info about the connection of the 3.5 mm jack to the Circuit?
hsarode1 says: Aug 9, 2011. 6:38 AM
Hey but which side of the transistor should be facing us up or down so that way I can solder it.
WhiteTune says: Aug 5, 2011. 5:28 PM
Made this following the guide, but also had dim LEDs. Fixed it by swapping the wires connected to either side of the TIP. Works a dream now thank you!
lgeorgiev says: Jul 27, 2011. 1:17 AM
There is only one thing i don't get.. where do i connect my speakers?
sorry.. a newbie here.. :D
daisukee94 in reply to lgeorgievAug 1, 2011. 6:15 AM
u need splitter. [1]male to 2[female] 3.5mm jack adapter
bto1 says: Jul 26, 2011. 2:34 AM
Hello!
Can someone give me circuit for stereo music led box that works perfectly?
:)
ldi stasio says: Jul 24, 2011. 6:16 AM
Hello!
I've tried to make the circuit in some different ways:
- 3 LEDs series with resistence connected in parallel (2 series only)
- 3 LEDs series withouth resistence connected in parallel (2 series only)
- single LED with resistence
- single LED withouth resistence
I use a 12V - 5A adaptor but in every case LEDs blink at very low light and very low rate, if i complete the circuit with my hands i can get a very higher light!

I've noticed the TIP31 i've used has written TIP31CO should be that? Should be anything else?
I'm not used with transistors... which feature i need to look at?
duggerpato in reply to ldi stasioJul 24, 2011. 11:24 PM
When the lights brighten from your touch the circuit is adding your skin's resistance, I believe not that that helps you, I'm just told our skin has resistance.

are they 5 mm LEDs, and what color? What did you figure the resistance for the circuit would be? And it's always best to have a resistor to limit the current or you could blow the light.

My new favorite calculator too for this is the series parallel array wizard at http://led.linear1.org/led.wiz

It should just work in series for a small project like this. The tip31 seems alright, just double check the connection to your transistor and your LEDs. I looked up the tip31 datasheet (since I want to make this too) and the Tip31C can take higher current and voltages is the only difference I see.
ldi stasio in reply to duggerpatoJul 25, 2011. 4:29 AM
At first thanks! ^^

I used 5mm blue LED (high brightness, 20mA) they should be 3/3,3V but i'm not sure about this...
They gave me a 150 ohms resistor for each 3-LED series:
V=R*I=150ohm* 0,02A= 3V

But the attempts i made haven't change the results so i can't figure out why do i need a resistor! XD

Finally i suppose when i use my hands to make the circuit i'm the one with lower resistence so the current uses my body to connect and it bypasses the transistor and other stuffs
That attempt only allowed me to figure out LEDs were not broken and could make much more brightness
I'll try to make a video or some photo and then post them but i need time
MichielB says: Jul 2, 2011. 6:38 AM
Hi, great instructable, wow! ;) I'm planning to make something simular.

I added a picture of a schematic, will this work like this?

1) Can I use the BD243B in order of the TIP31?

2) I want 2 series of leds in parallel. One serie for the left audio channel and one for the right. With the pot I want to regulate the reaction of the leds when I turn the volume up or down. Is the correct place for it like in the picture, or has there to be one in the "Audio left" and "Audio right" line?

3) I also want to add a switch, to turn the LED's on without the audio-option. Where do I have to place it then?

Thanks in advance, and sorry for my bad english ;) I'm from Belgium.
Scan-110702-0001.jpg
duggerpato in reply to MichielBJul 24, 2011. 11:35 PM
your english doesn't give any sign that it's bad :)

your power source goes to one side of the switch, and the other side of your switch goes to your + sign in your drawing. The - sign or neutral stays where it's at right now. hope that makes sense.
KevinAlien26 says: Jul 8, 2011. 11:11 PM
I know this is probably a dumb question but say i plug that into my ipod, would i still hear sound through my ipods built in speaker or would i only see the lights flashing?
purdueenginerd in reply to KevinAlien26Jul 9, 2011. 2:15 PM
It should only be lights flashing. I plugged it into my phone and it only flashed.
dyoho says: Jun 11, 2011. 10:41 AM
I'm super bad with circuits, but I'm trying to hook the box to the amp in the back of my car. Can I just use electrical wire to the amp in place of the adapter or is it much more difficult?
jphipps in reply to dyohoJul 6, 2011. 10:07 PM
You need to use a low level output (RCA jacks) instead of the speaker wire.
Ovrlrd says: May 28, 2011. 4:42 PM
Can someone check my logic on this? I'm making a modified version of this that utilizes both left and right audio signals. Would it be better to have more LEDs/ branch and have fewer parallel branches? http://i.imgur.com/LJivk.png
18 led circuit.png
purdueenginerd in reply to OvrlrdJul 3, 2011. 11:22 AM
I followed your diagram, (except for the battery, i flipped that around), and got the two sets of LED's to light up. The only problem is that both sets play in sync, even though each transistor was wired to a left or the right audio. Does anyone know how to fix this so that each set plays to a separate audio?
dcpppf in reply to OvrlrdJun 9, 2011. 1:49 PM
Ovrlrd,

Your battery is backwards ;)
wobbler in reply to OvrlrdJun 9, 2011. 2:30 AM
Your circuit is fine in theory, but you run the risk of either blowing up your LEDs or not getting maximum output if you don't design the LED chains right.

You will need to know the following about the LEDs you are using- the voltage drop across them and the maximum current they will take. Then you should work out the voltage drop across a single chain of diodes by adding up the voltage drop for each diode. You want to end up with a voltage drop near the voltage of the battery so you are not wasting too much power in the resistors, but low enough to make sure you get good brightness as the battery voltage drops. A couple of volts difference should be fine. It also depends to some extent on how much voltage is dropped across the transistor when it's fully driven, but these calculations should be okish.

For example, if each diode has a voltage drop of 2.1 volts, three in series will have a voltage drop of 6.3 volts. This means that you would need to lose 9v-6.3v = 2.7volts in a dropper resistor. Then, using ohm's Law, you can work out the resistor value from the rated current of the diodes and this voltage drop. So for a LED current of 25mA (0.025A):

V=iR So 2.7=0.025xR
Rearranging:
R=2.7 / 0.025 =108 ohms.
So a dropper resistor of 100ohms in each chain should be ok.

In reality, using a battery, the battery will limit the current and you'll get away with smaller value resistors, 47ohms or so. However, if you are using a proper power supply, you'll need to measure the supply voltage and not trust the label, unregulated are often much higher than the stated voltage.

Fortunately you don't need to work this out yourself, you can work out the value of the dropper resistors needed here:
http://led.linear1.org/led.wiz
Ovrlrd in reply to wobblerJun 9, 2011. 2:38 PM
Interesting. I redesigned my circuit so that it could be powered by USB (hopefully)
I haven't measured the voltage drop across the LEDs yet, but I'm pretty sure it's about 3v. The problem is that I don't know if a USB can provide enough current. I read that they only have up to 180mA but if I use 25mA across each LED I would need a total of 500mA wouldn't I (I'm using 20 LEDs)? Can I use a lower current to power the LEDs? Supposedly this guy used 36 LEDs powered by 5v USB. Could you help me clear some of this up? Thanks
wobbler in reply to OvrlrdJun 10, 2011. 12:49 AM
According to wiki:
http://en.wikipedia.org/wiki/Universal_Serial_Bus
a USB 2.0 port can provide up to 500mA so you should be OK. LEDs are pretty linear with light output although they are slightly more efficient at lower currents, so if you provide less current it will provide less light, but slightly more than it would if it was truly linear. This means also that once the current limit has been reached, putting in more LEDs will make each LED slightly darker but overall you should get a little bit more light out due to inceased individual LED efficiency. However, it probably won't make any great visible difference and the only advantage of using slightly more LEDs is they will last longer and have less tendency to blow on over current.

I would still use a current limiting resistor as the USB voltage is supposed to be 4.4–5.25 V even though the USB connector is probably current limited itself. At 500mA with 3v LEDs, this would need to be a 3.3 or 4.7ohm 1W resistor.

I have also had issues in the past with USB connectors polling and lights connected to them flashing on and off, but I think that is either computer or OS related. If that's a problem, you could get over it either by a software fix or by using a seperate USB PSU.
nizam276 says: Jun 21, 2011. 12:16 AM
hello there,
want to ask about jack audio. If i connect directly to my PC or mobile phone,
it will work or need speaker?
tobyscool says: Jun 10, 2011. 9:04 AM
mine needs to be on max volume can someone tell me how i can make this work on a low volume?
excrucio says: May 28, 2011. 1:51 PM
It doesn't work. I done all as it said and when i connect it to my laptop, iPod and similar LEDs just light up and stay like that, nothing oter happends, please help!!
wobbler in reply to excrucioJun 9, 2011. 2:35 AM
From your description: Are the LEDs lit when it's not connected to the laptop, etc? If they are, it's either a short in the area of the transistor, maybe two legs touching or the transistor is wired wrong. If they only light up when the plug is inserted into the laptop, it sounds like you have the transistor wired wrong. Recheck the circuit and your connections. Good luck and feel free to get back to me if I can help any more.
excrucio in reply to wobblerJun 9, 2011. 4:53 AM
NO. I connected it to other audio source, more powerful source, and now is working when I turn music really loud, can I make some current amplifier for LEDs?
wobbler in reply to excrucioJun 10, 2011. 1:17 AM
As your circuit is working, this means your transistor doesn't have enough gain. You have two choices, use a higher gain transistor or build in a preamp stage. A TIP31 here is actually over specified and you can get away with a lower power transistor with a higher gain. A TIP31 has a typical gain of about 25. You could use a Darlington pair power transistor such as a BD681 with a gain of about 750 or a higher gain NPN BC558B with a gain of 200-400. Both should work fine. The problem might be that it now has too much gain, but you can solve that easy enough by putting either a preset pot in front of the transistor to act like a volume control or use a couple of resistors as voltage droppers.

There are lots of cicuits on the web showing how to use another transistor in front of the transistor like a preamp but I think that's just complicating it for you. The above should work fine.

I would also put in a current limiting resistor in the LED line, maybe 33 or 47ohms (see my other comments) to be on the safe side.
bkennelly says: Jun 9, 2011. 9:22 PM
Thanks for this. I have a project I have been trying to complete, and I was having trouble triggering it. Every suggestion I was given was ridiculously complex, and I knew it should be much simpler. Your layout seems to do exactly what I need with minimal fuss. Much appreciated.
imBobertRobert says: Jun 9, 2011. 1:47 PM
is it ok if i try this on a bredboard, or even keep it on a breadboard?
xangel says: Mar 9, 2011. 10:55 AM
For light bulbs who transistor i can use?(light bulbs at 220V)?
wobbler in reply to xangelJun 9, 2011. 2:50 AM
You can't. It sounds like you are trying to use this circuit on the mains. That is likely to have slightly adverse effects on you and your equipment.

You will need to have a much more complicated circuit like this one using a triac or scr:
http://www.simplecircuitdiagram.com/2010/05/20/musicsound-controlled-disco-light/

BUT- it sounds from your question that you don't yet know enough to attempt this and playing with mains voltages can have health consequences of a the kind involving a coroner.
robikazz says: May 4, 2011. 8:19 AM
I have no AUX output in my car stereo, so I want to connect TIP31 to my SPEAKER wire from player. Will it work if I will use negative speaker wire to hook to Right TIP31 leg (as ground) and positive wire from speaker output to Left TIP31 leg?

I know I can test it or so on, but I don't want to risk cause I'm preparing a big project in my car and I don't want to blow out any LED's or TIP or even potentiometer which is pretty expensive ;]
wobbler in reply to robikazzJun 9, 2011. 2:45 AM
It should, but you might need to do two things. Firstly, if you are using the car battery, you should only need one wire to your speakers, the one bringing the signal in, the left hand pin in the diagram above. Secondly, put a 1k resistor in series, just to protect the circuit if there are any problems. You could also put a capacitor in the way, 0.47 microfarad should do, in case there are any dc voltage level issues, although there shouldn't be.

After that, you might need to put in a preset or a pot to control the light effect relative to the car system. I'd use a 4k7 pot with the outer pins connected to the speaker and earth and the wiper going to the transistor.

I'd also put some current limiting dropper resistors in the diode chains, given the variations in battery voltages and the potential for a car system to delivery very high currents. I'd also put a suitable fuse in line with this just in case. See my reply above and you can work out the value of the dropper resistors needed here:
http://led.linear1.org/led.wiz

Good luck.

Good luck and I hope this helps.
israelyupi says: Jun 12, 2010. 10:24 AM
Can I use a TIP31C transistor?
Saturn V in reply to israelyupiJun 15, 2010. 4:18 PM
That's the one suggested in the project. You can substitute a Tip31a/b if you can't find a Tip31c.
israelyupi in reply to Saturn VJun 15, 2010. 6:23 PM
Thank you, i have a lots of TIP31C!
Saturn V in reply to israelyupiJun 16, 2010. 6:31 AM
You're welcome!
robikazz in reply to Saturn VMay 3, 2011. 8:04 AM
You can also use BD241 a/b/c. it's probably cheaper.
Schmidty850 in reply to robikazzMay 21, 2011. 11:15 AM
If your shopping at radioshack you could also buy a TIP31 NPN
Donotmatthews says: Mar 5, 2011. 2:25 PM
when I put this in an audio splitter it doesnt work. Either the sound works or the light works. Any Ideas?
grantvn says: Feb 9, 2011. 1:30 AM
witch is the negative and positive terminal on the adapter
Pengwin3 in reply to grantvnMar 2, 2011. 1:15 PM
you could hook it up to a multimeter to find out
alaa ac says: Feb 27, 2011. 1:41 AM
i connected the tip31 to the amplifier and i burned the leds and the tip31.
jocko777 says: Feb 25, 2011. 9:44 PM
sorry now that i have my glasses on and i am awake i see that they are showing the twisted wires not resistors . my humble apologies
jocko777 says: Feb 25, 2011. 9:42 PM
hi was wondering why you depict resistor symbols in your schematic but i cant detect any in the photo? this would confuse almost anyone i would think . cant read all entries here so is it possible to get a reply from you ? thanks
flame0707 says: Feb 25, 2011. 8:24 PM
Hi i was making this today and i went about 3 LEDs far and the light got extremely dim. When i had only 1 LED connected it worked great, when i put the second LED it faded slightly but when i put the 3rd LED it dimmed dramatically. Im using a 12V adapter as well. Do you kno what can be the problem?
DaHandy says: Jan 13, 2011. 9:51 AM
I made this and it works, but only when playing music on 100% volume. How can I amplify the sound signal even more so the leds light easier?
macnomad84 in reply to DaHandyFeb 10, 2011. 2:26 PM
Check out electret microphones and lm386 opamps
khobis says: Oct 29, 2010. 7:11 AM
I have built this circuit as shown and described in your instructable.. but it didn't work.
I used
a 12V DC adapter,
4 blue leds
1 Tip31C transistor
1 audion jack from my old headphone

I connected the jack to my laptop audio output hole.
But all went in vain.
Would any one please kindly help me out ????
macnomad84 in reply to khobisFeb 10, 2011. 2:25 PM
Voltage drop across a blue led is >3V. Try it but with 3 LEDs, or the same circuit with a higher voltage adaptor.
mohamedpsx in reply to khobisJan 20, 2011. 12:43 PM
hi again i found the problem ! i reduced the voltage and the leds started to blink with music , im no expert in electornics but i quess that the output of the signal is low in voltage and the tip31c have a small saturation thing ... something like that ... the output signal need to be amplified !

mohamedpsx in reply to khobisJan 20, 2011. 11:58 AM
hi , i did the same thing as you with a tip31 c and didnt work also,all the leds are on when i connect the jack to my laptop but no reaction with the music even when the volume is on 100% . did you find a solution please ? i need help me :) thank you
rbeck_v in reply to khobisNov 2, 2010. 3:48 AM
I've found that depending on what kind of headphones they are, the wires in them will not carry a good enough current to reach the actual transistor, not really sure why that it is though. That could be the source of your problem or the laptop isnt putting out enough juice.
H20 in reply to khobisOct 30, 2010. 1:50 PM
Try turning up the volume.
EdvinasZ says: Jan 11, 2011. 9:20 AM
I've been trying to make this Music LED box for a while now, but it won't work, and i have no idea why... used two 9V batteries, 3 blue LED lights and a earphone jack from Sony earphones. I connect everything together, starting with negative side of the LED's to the middle of Tip31 (by the way i am using Tip 31 AG, not sure if that's the one i should use?), then i connect the negative side of batteries to Tip31 emitter (right leg) and then i attach the headphone wire to it, earth wire to right leg and either red or green wire to the left leg, plug it into my computer and nothing happens... Even when volume is 100%... No idea what to do. Any suggestions on where i might have gone wrong? PM me if you can, thanks a lot.
arturo_mc in reply to EdvinasZJan 11, 2011. 6:52 PM
perhaps the same question i had, you need to plug in an audio splitter to the ipod/laptop, since well if you plug the music led box to the audio of the ipod only, im not sure it will make any sound whatsoever
EdvinasZ in reply to arturo_mcJan 12, 2011. 3:50 PM
Actually, the headphones that i use don't have wires like displayed on here... They are not made from metal, that's for sure... It's like a piece of clothing. Could that be causing a problem?
EdvinasZ in reply to arturo_mcJan 12, 2011. 12:10 AM
I meant that I've tried it on my iPod/Computer/Laptop with and without the splitter, and it still won't work...
EdvinasZ in reply to arturo_mcJan 12, 2011. 12:08 AM
Well that's the thing, I've tried it on both, my computer, my iPod and my brothers Laptop and results are the same, it's not working.
Martythebest says: Jan 6, 2011. 5:01 PM
What if I attach both left and right to the tip31? Would something happen or change?
Jackson4521 says: Jan 2, 2011. 4:54 PM
I have been trying to build this thing for 3 days now. What I wanted to do was make a "line in" and "line out" on the box. I hooked everything up in the diagram correctly. When I had the idea of the line in and out I imagined getting a Y splitter and when I tried it, either the sound worked and the lights stayed off or the lights would blink when the speakers werent connected. Basically what I am asking is: Is there anyway I can have the sound and lights working at the same time, with a line in and line out. Please help
MrLeitexxx says: Oct 10, 2010. 12:01 AM
ok, i got a couple of question before I start the project

1)lets say i have a song on my ipod, and when i listen with my skull candy headphones some parts of the song are dedicated to one speaker or an other, will this effect the light show id we're only using a left or right wire? or can i just connect both to the same leg of the transistor? or would a normal 2 wire lead solve this problem?

2) can i also connect a small car speaker such as this (http://www.gemalta.com/ds/90_2000.htm) or this woofer (http://www.gemalta.com/ds/90_0135.htm) and connect the leads directly to the red and yellow wires in the circuit? would i need an other power source or resistors ar an amp for this? Or would just connecting this circuit (http://www.instructables.com/id/Simple-Stereo-Amplifier/#step1) to the red and yellow wires save me time?

3) if i put 4 more LEDs in parallel to the current 4 LEDs, would this cause the LEDs to shine dimmer? or would it make no difference?

thanks in advanced for the answers!! I really appreciate it :D
updup in reply to MrLeitexxxNov 18, 2010. 4:15 PM
1. To get what you want, use 2xTIP31 transitors and duplicate the circuit for both the right and left side

2. You need an amp to be able to run that large a speaker

3. Makes no diffrence

Hope I helped!
xjakefarrellx in reply to MrLeitexxxNov 8, 2010. 2:50 AM
heyy ok. time to get scientific. i did some deep thought and came up with this:
Light and sound are waves. so you see light waves and hear sound waves. This transistor converts ur sound waves to light waves so your basically seeing sounds through ur LED lights instead of hearing them if that makes sense. now because u have plugged ur LED box in as ur output device. u get no sound. so use a STEREO splitter which allows u to insert 2 output devices into the single slot of your hole or w/e so this includes laptop and ipods. this allows you to have both sound and light waves of the song without missing out on certain parts because it gets played through a certain headphone. so yeah hope i helped. good luck bro
technodude92 in reply to xjakefarrellxNov 13, 2010. 9:28 PM
Sigh, here we go.
First of all, please try and use proper english. There is no excuse to use u and ur when typing on a computer. Also, the transistor takes the sound waves represented as electrical fluctuations in the wire and uses them to turn power to the LED's on and off. So, at the end of the day, you get to see the sound waves. not as fluctuations in current in a wire but as fluctuations in the ammount of light emmitted.
Now for the original question posed.
1) yes, if you listen to bohemian rhapsody for example, little high and little low are on the right and left channels respectively. so if you assemble this circuit and use the left channel you will get pulsing on little low but not little high. To correct for this you could add a tiny bit of circuitry to combine the left and right channels into a mono channel. attached is the circuit i speak of. It is very simple to implement and if you use a ganged potentiometer instead of the two resistors you can even adjust the "sensitivity" of your light box. simply connect the 3.5mm TRS connector to the mixer, the out to the leg labeled "left or right" and the ground to ground.
2) not exactly, depending on your amp setup(bridged, bipolar power, etc.), you may not be able to do this safely. I would reccommend using a line level output because the current that can be supplied by a car amp can easily fry these electronics
3) from an electrical standpoint, i see no problem with putting the LED's in parallel, the only thing to watch out for is that this will double the load on your power supply because the resistance of the LED's will appear to be half as much in parallel. Since your LED's draw their power from the transistor, you might have to beef it up a bit. Alternatively, you could just build two circuits for each strip of lights you want to use.

Feel free to play with values and parts to see if you can get the circuit to behave for your specific application, after all, that's what DIY is all about
simple_resistive_mixer.png
xjakefarrellx in reply to MrLeitexxxNov 8, 2010. 1:39 AM
similar question. might be a bit noobish but how do u still get music if its dedicated to make the LED's light up? also how do u suggest u hook up the power supply using a 12v adapter? thanks bro. great guide. ill be making one very soon.
anarky2k in reply to MrLeitexxxOct 18, 2010. 2:59 PM
1) i used both sides and 2 separate lines of LEDs, so they shine at different rithm, and i also connected a capasitor in parallel to each line of LEDs (2 capasitors) so that it faded quickly instead of just turning on and off suddenly :)
alekc92 says: Sep 21, 2010. 3:43 AM
is there a way to use BOTH channels? i mean, how do it connect it ?? you get double power if its stereo
Dean Razorback in reply to alekc92Oct 24, 2010. 1:58 PM
I tried this too... the only way i got it to work was setting up an entire other circuit. Not my most practical approach xD
cmseagle in reply to alekc92Oct 21, 2010. 4:50 PM
Yep. On the diagram, the author shows the Left OR Right audio connecting to the Base of the TIP31, but you can just connect them both. This way, you'll be using both channels.
madhops0620 in reply to cmseagleOct 31, 2010. 3:41 PM
You could always just use a mono jack and connect that to the leg of the TIP31
pepe305 says: Oct 3, 2010. 5:46 PM
Hello folks,
I have a questions, I have read a lot of these comments but I am still a little unclear about why I can't gt my lights to dance when its all connected to my laptop. I am using a TIP31 transistor and a 12v ac adapter, I have 4 LEDs and they light very good with plunged inn to the computer, but they don't blink or dance, what should I do??

Thanks for the help:)
CCOTTER247 says: Jul 9, 2010. 7:20 PM
How would I wire this in parallel??? I am a budding electrical engineer so you can use 'nerd' language.
Dean Razorback in reply to CCOTTER247Sep 25, 2010. 3:44 PM
what does it mean to wire it in parallel?
slammed66 in reply to CCOTTER247Jul 17, 2010. 3:26 PM
Parallel is easy. Instead of wiring + to - just wire + to + and - to -. Here look at this. http://www.theledlight.com/ledcircuits.html
ibtassam in reply to slammed66Aug 25, 2010. 12:05 PM
That was really helpful, thank you.
lmnt10 says: Sep 12, 2010. 4:46 PM
i'll put a mic replaicing the jack, you even coud put that circuit on a t-shirt that will be awesome
Dean Razorback in reply to lmnt10Sep 25, 2010. 3:42 PM
If you ever figure out a way to put it on a shirt post it and let me know, that would be so cool! :D
Dean Razorback says: Sep 21, 2010. 9:25 AM
Aight, I have this circuit set up perfectly and exactly as it is on this web page, however the leds only light up dimly, so I replaced a bunch of wires (i figured they might have been old and something wrong with them. I replaced to leds after that, then the power source. It's putting out 29.50 volts with 10 5mm leds hooked up, the transistors is the same as it is on here, and I replaced the headphone jack and everything. I plugged it into several different audio sources (my computer, PSP, etc.) and nothing is working, they are just weakly lighting up, but not blinking. HELP PRETTY PLEASE!! ;D
alekc92 in reply to Dean RazorbackSep 23, 2010. 3:23 AM
maybe your LEDs need more than 3volts .. read the datasheet if you dont want to fry them :p
Dean Razorback in reply to alekc92Sep 25, 2010. 3:41 PM
lol u were right thanks dude, I'm gonna get another power cord..
starz_vx17th says: Aug 31, 2010. 11:52 AM
hello guys, ive done the led and all.. i did the led in parallel and im using usb to power the circuit. the problem is now. the light is dimmed. i did test the led before connect Tip31. all the led were bright. after i connect the tip31 then i works. but the light is not as bright as before... can anyone help ? btw thanks for the tutorial.. great..
Rahul B in reply to starz_vx17thSep 7, 2010. 6:44 PM
Your USB port gives out about 5v try holding a multimeter to the middle terminal of the TIP31 and and the other end of the LED series and check if there is 5v
fretwreckef94 says: Aug 28, 2010. 7:57 PM
can I add both the white and red wires to the left pin of the Tip31 or is that circuitilogically impossible?
fr05ty911 says: Mar 3, 2010. 3:24 AM
would this still work if you did it in parallel?
motadacruz (author) in reply to fr05ty911Mar 3, 2010. 4:27 AM
Yes, but if you use 12v you need to use resistors so you won't blow up your LED's.
ibtassam in reply to motadacruzAug 25, 2010. 11:35 AM
My AC-DC 12 V adaptor is 660mA. and Total wattage is 7.2W for the adaptor. How many LED's can I connect at the most in series for this adaptor without having the fear of the LED's burning out or having less brightness? And does having more LED's in series work for the long run?
techturtle2 says: Jul 29, 2010. 5:18 PM
Would this work if you put the LEDs in paralell and ran it off of 3v 40mA?
CeNeJaC94 in reply to techturtle2Aug 20, 2010. 10:06 AM
yes
techturtle2 in reply to CeNeJaC94Aug 22, 2010. 12:54 PM
thnx
Schmidty850 says: Jul 20, 2010. 8:00 PM
K so one question, if the audio cable is going to the music player so it can produce lights, then what produces the sound?? Do you need a cable splitter to give one for the lights and one for sound?
TOCO in reply to Schmidty850Jul 20, 2010. 8:15 PM
You need an audio splitter. I bet you could wire a second jack in so you dont need to buy a splitter. If you dont have another jack you are probably better off buying a splitter.
w0rm5 says: Jun 22, 2010. 9:53 PM
Funny thing happened, i made a few of these for fun, i´m using 9v batteries, 6 leds and 1 tip31C. But sometimes when changing music with it connected, it just gets dimmed until I unplug and plug the audio again, then everything gets normal again. Any help?
handyman29 says: Jun 3, 2010. 4:36 PM
 Is it possible to have three strings (parallel) of LEDs react to different frequencies. Like the first string react to bass waves, middle string to mid waves and third string react only to tremble waves? I thought about this for a bit and thought about having different resistances for each string. Bass having a low resistance, and tremble having a high resistance. i can't test it because I don't have the parts yet. Please help!
w0rm5 in reply to handyman29Jun 21, 2010. 9:00 AM
The left channel of audio systems always has more of the Bass output as the right one always take more of the treble. Just make the pins match to waht you want. This kind of output exists because the way human brain processes audio
Deadly_Combo in reply to handyman29Jun 6, 2010. 5:00 AM
Well, perhaps. :P If you want I'll have a look later, but it might not work. Generally, bass signals have higher energy, which is why the box tends to react to them more than anything else. If you have a 5.1 surround sound speaker system, and if you're prepared to vandalize it a bit, you could use the feed to your sub to power one set, your treble feed for another and so on. They couldn't all be in parallel, you'd need separate circuits. If I get time later, I might have a play around and I'll post back here. :)
Gouthaman Raveendran in reply to Deadly_ComboSep 2, 2010. 10:48 AM
I asked a similar question, and i figured you could just separate the signals before they reached the transistors.

I don't know what circuit component gates frequencies in audio. After ripping apart a couple of speakers I saw that they use capacitors to make similar speakers out put only certain freqs. For instance my subwoofer has two sub-speakers. Both are identical but the top most one has a .6 farad (i believe, im waiting for class to start so I dont have it front of me) cap on one of the leads. This speaker outputs freqs around 100 - 200hz while the bottoms speaker without the cap goes even lower and is able to react to freqs lower that 20hz.

From this I'm guessing you can split the audio cable into 3 sets, each one can have a cap of different ratings (This is where I have a huge black hole cause I don't know what rating is for which set of freqs) and then the out put from each cap will have its own transistor to switch the lights on and off.


pyromaniac303 in reply to Gouthaman RaveendranSep 30, 2010. 3:33 PM
Capacitors let more current through at higher frequencies. The effect is called capacitive reactance, and it effectively means that if you know the capacitance and frequency of the signal, you can think of it as a resistor:
1 / (2 * Pi * f * C)

So say you had an audio signal at 1kHz, with a typical 100 microfarad cap:
1 / (2 * Pi * 1000 * 100uF) = 1 / 0.628 = 1.59 Ohms

So if the signal was at 3V, and your speaker was 8 ohms you would have a current of 3V / (1.59 + 8) = 0.312 or 312 mA.

My point being that capacitors can act as a high pass filter and take out the bass frequencies, because a lower frequency sound will make the effective resistance go up and you'll get less power to your speaker. They can't on the other hand be made to filter out high frequencies, for that you need something called a low pass filter. They can be made from just 2 components though, so it may be worth looking into if you are interested.
tbonz247 in reply to pyromaniac303Oct 9, 2010. 7:23 AM
Very true @pyromaniac303... there are in fact a few ways to filter signals... similar projects are all over google and even prefabbed... google light organ. These circuits are bandpass filters which means... Think of of sound as an extended sin wave so it looks like this .../~~~~~~\..... of sorts if u used a band pass filter you are literally saying i want to "pass a band of signal" arbitrary to the designer... so if u wanted say a mid-freq band pass it woud now look like........./~~\.......... because the circuit passes those frequencies and ignored the rest with the help of caps and resistors.

I did this last year in lab and currently am redesigning this project to account for filtering. use google and wiki to search this info... with a little patience and creativity you can have multiple LED boxes tied tied to audio output
yahya2coool says: Jun 6, 2010. 6:10 AM
is it possible to hear music n see blinking lights together?
KT Gadget in reply to yahya2cooolJun 7, 2010. 3:17 PM
Get a y-splitter for headphones and you should be able to. However, be aware of the volume when using headphones or powered speakers.
geo bruce says: May 11, 2010. 8:38 AM
i works but is it possible to make it brighter
legomitch02 in reply to geo bruceMay 11, 2010. 4:06 PM

know it can be louder I just dont know how :P

geo bruce in reply to legomitch02May 11, 2010. 11:24 PM

I've tried to set u a higher voltage but it doesn't make it brighter I think an otther transistor than tip31c

charles_d says: May 4, 2010. 12:28 PM
Hi;

Thank you for the great tutorial, it works perfectly!

However; would it be possible to add an Op Amp between the audio source and the circuit? Because it only works when my audio output is at full blast, and the LED isn't as shiny as it could be in a simple circuit.

Dou you think that this system could be combined with a microphone (being the audio source)? Hence using an op amp because a microphone signal is very low right?

Final question: what is the voltage range the tip31can be used?

Thanks

Sorry for the mistakes, english isn't my maternal language :)
legomitch02 in reply to charles_dMay 5, 2010. 12:26 PM
I'm also experiencing low lighting even on 100% an Op Amp would be nice, what ever it is :P
legomitch02 says: May 2, 2010. 7:20 PM
Is it okay if i use a 3.7v lipo battry for each LED?(as in having a 4s lipo for 4 LEDs) Also, could you split the audio jack into 2 and have one going to LEDs and the other going to speakers?
Thanks in advance ,
Mitch :D
neonix says: Mar 1, 2010. 3:06 PM
Argh, I tried this today and I've come out with nothing but frustration. I have no idea why it doesn't work. I understand the instructions (they are very good!) and the excellent diagram. I followed it exactly, but for some reason, my LEDs don't light up to the sound. I'm sure the cab;e I'm using works because I've used it to output to speakers.

I am using an assembly of 8 AA's for 12V instead of an outlet. Something weird about my circuit is that when I tested to see if the transistor was at fault, I connected the circuit directly to the battery assembly and they lit up momentarily before being fried. Maybe my LEDs are lower voltage? I don't see why; they are standard LEDs I got in an assorted bag from Radioshack.

But that's not even the main problem. The lights do not even get to burn out when I have the transistor in the circuit. I know I wired it properly. I tried two different ones of the same model number. Got them at the Shack too. The package simply says "TIP31" and does not specify a letter after, but on the transistor itself is printed "TIP31AG." Maybe that is why it doesn't work?

Any help would greatly be appreciated.
rufus-spqr in reply to neonixMay 1, 2010. 4:00 PM
Be careful with the color of LEDs you use for this. Different color LEDs have different forward voltages. White, blue and green are normally between 3.3 and 3.0 V per LED. Red and yellow and orange LEDs have lower forward voltages. That means(LEDs in series):
4 LEDs, white: 3 Volt each = 12 V .. this setup is fine
(yes, yes.. I know.. on the package of the LED it might say Vf=3.3V... BUT.. as soon as they become just a bit warm, Vf drops..  to about 3.0 to 3.1 V).
The point is, runnig 4 white, blue or green LEDs in series from 12V is OK, as long as the supply is stable!! If your "wall wart" transformer power supply hands out 12.5 V or more... they will overheat and not last long.
Other LED colors:
4 LEDs, red: 2.2 Volt each = 8.8 V .. If you drive these 4 LEDs directly from the 12V battery or power supply, just as the original diagram suggests, without a resistor, then they WILL go dead very soon.
To avoid these pitfalls, you can add a resistor in line (in series) with the LEDs. That resistor should be about 180 Ohms for red, about 150 Ohms for  yellow or amber LEDs, and about 47 Ohms for white, blue, pink and green LEDs.
smithlee in reply to neonixMar 4, 2010. 12:19 AM

I no idear what I can not upload the schmatic ,so...
if even not working , you can add capacitance (about 10,000p) between transistor B point & signal input (audio outlet)

tip31 pin configuration

http://www.alldatasheet.com/view.jsp?Searchword=TIP31
 

smithlee in reply to neonixMar 3, 2010. 11:35 PM
add one resistance(about 4.7k~47k) between transister C &B point
smithlee in reply to neonixMar 3, 2010. 11:25 PM
must add one resistance
neonix in reply to smithleeMar 4, 2010. 12:23 AM
It's funny I have two packs of resistors just sitting on my desk and one of them happens to be 47k. I tried it with my two AA battery, one LED assembly, but it didn't change anything.

Do you mind if I bombard you with questions? :P
What's the logic behind adding a resistance?
How come the range is so large (4.7k to 47k)?
Was that meant towards my 8-battery assembly? Or should it have had the same effect with two batteries and one LED?

Thanks for your help btw :)
smithlee in reply to neonixMar 4, 2010. 1:21 AM

you are welcome, I can answer any question about electric.
add resistanct can help the transistor working.
range so large. because the audio outlet volume & the circuit total load( min R to get much power ; max R to get a litter power)

series 8-battery you can get DC 12V,use DC12V can help you easy to work but careful you must series 4~8 LED(you can series 8-led ,if it not work or dark then to decrease LED .it is safe way)

motadacruz (author) in reply to neonixMar 1, 2010. 4:09 PM
What is your audio source?
Because when I tried my iPod, nothing happend. When I hooked it up to the audio of my computer, it worked like a charm! If you test it on your computer, don't forget to put the output audio on 100%.
jjeellee in reply to motadacruzMay 29, 2010. 9:32 AM
 as i put the jack cable in my ipod, the leds don't work.
but as i put it in my computer, it works
can i do somewhat to let the leds works with my ipod?

srry for my enlish

please send an e-mail to: jelle.langedijk@hotmail.com

neonix in reply to motadacruzMar 1, 2010. 5:56 PM
I was using my ipod, but I just tested my computer on full blast and still nothing. :/
eightnine in reply to neonixMar 1, 2010. 6:05 PM
Something isn't right. Okay, so you said that you are using AA batteries to power the circuit. And you're sure that you have them hooked up in series? (positive to negative, negative to positive, etc)

If you can, snap a photo.
neonix in reply to eightnineMar 1, 2010. 6:44 PM
Sure, here's a shot of the whole thing, a closeup of the transistor, and my battery.
CIMG5071.JPGCIMG5075.JPGCIMG5076.JPG
SoundTechie2007 in reply to neonixMar 12, 2010. 6:26 PM
Hey, I actually noticed that you're using coated wire on the audio in of your transistor.  There is a red color to your wire.  This red coat needs to be stripped off (sandpaper works great) in order to take this layer off.  I don't even think that your transistor is getting a signal the way you have it set up now!

 
neonix in reply to SoundTechie2007Mar 13, 2010. 2:40 PM
Wow, good catch! I actually found a wire that has thicker, regular uncoated copper and it works beautifully! I even got this thing to react to my iPod. Now to assemble a nice box..

Thanks SoundTechie, motadacruz, smithlee, and everyone else who helped. I appreciate it a lot!
doraemon3 in reply to neonixJul 1, 2010. 9:24 PM
can i see your photos of how u connect the wire becuz i'm having the same trouble that u had...
smithlee in reply to neonixMar 4, 2010. 2:29 AM
difference color LED need difference power, so difference color LED in one loop is not good ideal.
motadacruz (author) in reply to neonixMar 2, 2010. 1:28 AM
You made 1 mistake there Neonix.
You've got 4 batteries in series that give you 4x 1,5v, so thats 6v total.
In your LED series you've got 4 LED's that need 3v each, so a total of 12v is needed there. You do not have enough power there.
Just test your circuit with 1 LED and 2x AA battery. This should give 3v from to battery to the 3v LED. This should work.
If this works, you can put the LED's parallel instead of in series.
neonix in reply to motadacruzMar 2, 2010. 9:41 AM
No, there's 8 batteries in that holder. You just can't see because I chose the worst possible angle for the picture. So that's not the problem.

@Spurr, I don't think I burnt them out. After my testing my first 4 LEDs and them not working, I connected the series directly to the battery w/o the transistor, and then the LEDs burnt out. So I swapped all the LEDs, which I tested on another device beforehand. So they aren't the problem either.

I'll try a parallel circuit later when I get home and let you know how it goes.
eightnine in reply to neonixMar 2, 2010. 12:28 PM
Well, it looks good to me. It looks like you have everything wired up properly and no, you don't need resistors the way you have it wired. (Some would argue) The only thing that I can think of is that you aren't using the right audio wire and ground wire. Maybe you got them mixed up by accident? 

Try switching some of those audio wires about and see what you come up with.
If that doesn't work, and you have a voltmeter, see if you're getting power out of the TIP. The next thing I'd try is just using one LED in the circuit (with a resistor) and see what you come up with.

I made a video to try and help everyone out. It might be useful.
http://www.youtube.com/watch?v=1TUYNuh-iqQ
neonix in reply to eightnineMar 2, 2010. 10:35 PM
Well, I tried one LED with two batteries and still nothing. As for the audio wires, I had assumed that the copper was always grounding. I tore open the wire to reveal the solder points so I'd know exactly which wires were what, and it turns out I was right, so I had the wires connected properly.

I've tried three different audio jack/cables, two different TIPs, and several LEDs. I tested the single LED on my two-battery assembly without the TIP and it lit up nicely. And after all this, I'm completely baffled.
eightnine in reply to neonixMar 3, 2010. 9:08 AM
Have you tried a different audio source? Like, try using a PC audio or maybe a different PC audio or a cd player or stereo or something? I've done this circuit about ten times now for gifts for people and if you follow the video... I really can't explain what else it could possibly be. :(
neonix in reply to eightnineMar 3, 2010. 10:08 AM
I know it seems ridiculous lol. I tried my iPod, my PC directly from the sound card port, and even on my sound system with the amp at full blast - nothing. Maybe I'll go get a breadboard and try it out in a more organized way. Then I can move things around and troubleshoot more easily.
motadacruz (author) in reply to neonixMar 3, 2010. 2:04 AM

Same here dude, baffled.
Just typing some checks here just in case:
- Is the PC master volume on 100% ? (Not the speakers itself, but the PC master volume)
- There is a guy with comments on this page that tried 1 PC and nothing happend, tried a different PC and it worked like a charm. Problems with a crappy soundcard or something. Can you maybe try a different PC ?

Hope we can figure it out for you dude!

Spurr in reply to neonixMar 1, 2010. 11:04 PM
 sounds to me like you  burnt out the LED's (doesn't make sense i now)
try again but with an extra light, that is what i am going to do and i seem to have the same problem
thestyrofoampeanut in reply to neonixMar 1, 2010. 7:40 PM
 a lot of audio cables have cotton woven in the wires  
try pulling it out if there is any                     
make sure you make a good connection
thats just my guess hope it helps

315andy says: Apr 22, 2010. 1:39 PM
 Mine only stays on when i hook it up! Can i use a Tip42??
TRUFFLIEPUFF says: Apr 6, 2010. 7:20 PM
ty i am illiterate when it comes to reading circuit  diagrams, and this instructable aided people who have the same problem as i
Articas says: Mar 27, 2010. 9:11 PM
if i connect it the jack the wrong way will it still work
maniakal says: Mar 25, 2010. 12:07 PM
Hey you guys are AWESOME! i was wondering if  someone can help me. im doing this instructable for my little brother's school project and i ran into a snag. im running 4  5mm super bright leds together w/1 resistor like the led calc said and im powering it off of 12v (8 double A batteries using a 9v connector thanks to radio shack). everything worked but it was just to dimm. so i tried to add the Potentiometer which looks like this and i added the resistor also from radio shack. and it just stays on bright. idk if its full intensity or what but when i try to adjust it, nothing happens. i thought i had it backwards so when i reversed it i still got the same results. im running out of hair to pull please help. if you would prefer to email pm me and i will send it to you. THANK YOU GUYS SO MUCH I'VE LEARNED ALOT FROM ALL OF YOU!!!!!!!
peterke2 says: Mar 18, 2010. 1:19 PM
What program is this? (I think about the circuit maker)
THX
jelly.turf says: Mar 12, 2010. 12:30 AM
How would i get this to run parallel with another one of itself?
for example, I'm planning to run the LED's parallel so that they all get the voltage equally, rather than having the voltage split up. Can anyone show me a simple diagram of how to do the same, but with the entire setup instead? please, and thanks. email would be nice, jelly.turf@gmail.com
smithlee in reply to jelly.turfMar 12, 2010. 7:12 PM
Because the LED load to increase , so you must adjust VR to change transistor WORKING POINT for the LED working fine.
smithlee in reply to jelly.turfMar 12, 2010. 7:05 PM

LEDBOX2.gif
wout smeets in reply to smithleeApr 5, 2010. 4:46 AM
 u can use 1 resistor in place 3



i come from belgium srry fio my bad inglish
jelly.turf in reply to smithleeMar 13, 2010. 1:18 AM
what i mean is, i want to run the entire thing in parallel with another one.
i have a 3V wall adapter and i want to have the circuit from step 6 run in parallel with the same step 6 circuit .
i'm planning on having the left component of the music go with one circuit, and the right component run with the other. get what i mean?

the 3V wall adapter btw is from my gameboy color. it came in handy after all, i mean, what's the use in having a portable game system WITH a limited range of mobility?
anyway, thanks for the help.
kingpenguin72 says: Mar 11, 2010. 8:38 AM
Im using a 24V adapter, would the TIP31 transistor have any problems running at this capacity?
smithlee in reply to kingpenguin72Mar 12, 2010. 6:44 PM

LEDBOX1.gif
smithlee in reply to kingpenguin72Mar 12, 2010. 6:42 PM
TIP 31 can useing at 24V,  but you must add one resistor (470) between +V & LED 
laptaper says: Mar 10, 2010. 8:13 AM
need help.. i cant get my light to flash when i play music.. im using tip31c.. need help how to put on my wire on it..
aafaquehs says: Mar 6, 2010. 11:21 PM
hi....i have trouble getting my LEDs to flash.... Is TIP31C different from TIP31, coz I have TIP31C (couldnt find simple TIP 31).....Can this be fixed?
muhahaha in reply to aafaquehsMar 7, 2010. 5:37 AM
Yeah please help us! I'm also using tip31c and my leds just dont flicker, they stay on.
muhahaha in reply to muhahahaMar 10, 2010. 2:44 AM
it's working now;)
surfersnow in reply to muhahahaMar 7, 2010. 5:11 PM
 This happened to me first as well, the reason for me was that i had the wires all mussed up, with the negative power terminal being connected to the LEDs and the center part on the transistor, and the positive wire connected to the right terminal on the transistor. The LEDs stayed on all the time until i realized my mistake, and now theyre working beautifully.
aafaquehs in reply to surfersnowMar 7, 2010. 9:25 PM
thanx for replying back....well my problem is that the LEDs blink but they dont completely turn off (even with no sound), they still glow with a lesser intensity though...sound just makes them brighter. I checked the circuit and its correct (im trying it on a bread board)....
smithlee in reply to aafaquehsMar 7, 2010. 9:38 PM
change the transistor WORKING POINT,
reference below schmatic.
jjeellee in reply to smithleeMay 29, 2010. 9:26 AM
 how can you chance the WORKING POINT?
aafaquehs in reply to smithleeMar 8, 2010. 3:05 AM
and how do I do that....this stuff is new to me!!!
sry for the trouble!!
eightnine in reply to aafaquehsMar 8, 2010. 7:10 AM
Sounds like the output coming from your audio is high. I dunno how to change the working point, but try putting it into a different audio source.
smithlee in reply to eightnineMar 8, 2010. 6:35 PM
Upgrade schmatic (below) add one VR (10K) & one resister.
Adjust VR can change working point, that can controll LED bright or dark.
Different audio sourse have different FAN OUT level,you can adjust VR to fine LED working for different audio sourse.
aafaquehs in reply to smithleeMar 8, 2010. 9:59 PM
hey smith thanx for your help I really appreciate it.....well I am not a electronics person in fact Im a doctor so all this this stuff is new to me...
what is VR? and where do add it?(i mean betwn what) can you mail me a schmatic (the one u are talking about )at aafaquehs@yahoo.com....
smithlee in reply to aafaquehsMar 8, 2010. 11:28 PM
smithlee in reply to aafaquehsMar 8, 2010. 11:22 PM

LED BOX.gif
aafaquehs in reply to smithleeMar 9, 2010. 8:36 AM
Thank you so much man....I really appreciate this!!!!
smithlee in reply to aafaquehsMar 8, 2010. 11:16 PM
aafaquehs in reply to eightnineMar 8, 2010. 7:43 AM
hi....I tried a couple of sources and got the thing working but the output I think  is too low ,too low to light up a single LED....6 LEDs in series just would glow...
The output barely lightens up a single LED or 2 if I connect them in parallel...
smithlee in reply to aafaquehsMar 8, 2010. 8:41 AM
what's your POWER SOURCE ? (it must DC12V)
maybe your POWER SOURCE is too low.
do'nt parallel LED,because each LED consume difference,so you parallel LED maybe result difference bright each other.
aafaquehs in reply to smithleeMar 8, 2010. 12:42 PM
I checked my power sources' output it is fine....lets leave the series and parallel issue....but the LED should at least light up!!!
thanx for ur help!!!
smithlee in reply to aafaquehsMar 8, 2010. 6:16 PM
Did you have upgrade schmatic (below) add one VR (10K) & one resister.
Adjust VR can change transistor WORKING POINT,that can help you LED bright.
eightnine in reply to muhahahaMar 7, 2010. 9:08 AM
Mm. Something isn't set up properly. Did you follow the video to the "T"? It doesn't matter what version TIP you have.
aafaquehs in reply to eightnineMar 7, 2010. 9:27 PM
yes I absolutely did sir.....Im using TIP31 C.
yespotato says: Mar 6, 2010. 9:19 AM
what can i use other than this plexiglass.

eightnine in reply to yespotatoMar 6, 2010. 6:49 PM
Anything that you can see through. :)
Joa-King1495 says: Mar 6, 2010. 11:55 AM
I'm sorry but I think you made a mistake in your schematic. From left to right it goes " base, collector, emitter" . On the picture you see that you have connected the wires differently then on the schematic, so which is the right one?
thanks for your help ! :)
bomberman3 in reply to Joa-King1495Mar 6, 2010. 6:18 PM
They are both right. However, in the picture, you are looking at the back of the transistor, whereas in the diagram you are looking at the front.
Joa-King1495 says: Mar 6, 2010. 12:38 PM
I have been trying to get this great instrucable working but I just cant, l dont know whats going on, but they are just constantly on. plz help !! :(
SnypaSingh says: Mar 4, 2010. 11:09 AM
Great project .... i was trying this last night ... i was trying to map this out on a breadboard ... but couldn't get it right :(

Could someone draw the layout ... how it would be on a bread board.

Who ever does it will receive 10p through paypal for their time :D .... seriously ... if you want ill drop you 10p 

You have 10 mins from NOW. :D
eightnine in reply to SnypaSinghMar 5, 2010. 2:09 PM
http://www.youtube.com/watch?v=1TUYNuh-iqQ

Should get you exactly where you need to be.
aafaquehs says: Mar 5, 2010. 11:59 AM
I just tried the circuit on the breadboard....the thing worked well for a couple of seconds befor the led started to dim, even on full volume.
I got TIP 31 C....is that the problem and is it different for TIP 31?
thanx....
JenningsStout says: Mar 4, 2010. 8:58 AM
 I am having problems getting the LED's to blink or pulse with the music.  I have everything wired correctly, but whenever the jack is attached, it just makes the lights brighter, and whenever I play music, they don't pulse, they just stay bright.  Any ideas?
smithlee in reply to JenningsStoutMar 4, 2010. 6:40 PM
maybe your audio outlet have DC LEVEL ,so  you can add capacitance (about 10,000p) between transistor B point & signal input (audio outlet).
and you can use one resistor (about 4.7k)  pull HI (between transistor B pin & +v .)  or pull LOW (between transistor B pin & -v .)
try these way you can get you want
motadacruz (author) in reply to JenningsStoutMar 4, 2010. 9:07 AM
Are you using a TIP31?
lol101lol in reply to motadacruzJun 10, 2010. 5:54 PM
What happens if you use a tip32c?
pijokelis says: Mar 4, 2010. 9:40 AM
Who are using a jack audio splitter for that? Is it working fine?
motadacruz (author) in reply to pijokelisMar 4, 2010. 10:17 AM
Yes, works great.
JenningsStout says: Mar 3, 2010. 8:16 PM
 Currently, I have my LED's hooked up, and power runs through them, (im using a T1P42 transistor with 3 super bright LED's, and the power works fine with them.  But when i hook up my headphone jack, the lights dont flicker.  They just get brighter, and stay bright.  Any solutions?

Thanks
yellow thumb says: Feb 27, 2010. 4:11 PM
yet another question,
     when the instructions say left or right does that mean it is optional on which one you attach? do you, or could you, do both left and right?
eightnine in reply to yellow thumbFeb 27, 2010. 5:26 PM
Yes, it means you can choose to connect either the left or the right audio. You can not connect both audio channels to the same TIP. You can, however, connect one channel to one TIP that is connected to some LEDs and then connect the other channel to another TIP and LEDs and have it use the same power supply.

If you go with the second option using two TIPs, try something like one using a TIP31 and the other a TIP42. You should get a neat result.
applesaucemodifier in reply to eightnineFeb 28, 2010. 11:49 PM
im gonna get started working on this in the very near future, as soon as i can get to radio shack, i was just curious why you specifies using a tip42 for the second channel.
In any case near perfect instructable great job,
thanks
neonix in reply to applesaucemodifierMar 1, 2010. 8:43 AM
I'm curious why you suggested a TIP42 for the second channel as well. Please do tell! :)
tecgeek13 in reply to neonixMar 1, 2010. 1:00 PM
agreed do tell! would it respond to different feq. then the tip31?
 
eightnine in reply to tecgeek13Mar 1, 2010. 5:52 PM
Yes, it's pretty neat. Although I'm finding it's temperamental about the way you wire it.
applesaucemodifier in reply to eightnineMar 1, 2010. 10:36 PM
 i set up the entire assembly but im not seeing any difference between the tip31 and tip42. i plan on making a casing to fit my amp, a small battery, and one small speaker. I'm also going to wire a left and tight channel with two different color leds. ill let you know how it turns out
tecgeek13 in reply to applesaucemodifierMar 2, 2010. 6:51 PM
im gona make 2 boxes one right one left ill post resoults aswell
 
yellow thumb in reply to eightnineFeb 28, 2010. 6:14 AM
Thanks a lot.



mcontreras19 says: Mar 2, 2010. 2:27 PM
i want to know if i can put tha right or the left sound output to a small speaker so tha led box could be used also as a sound box :P

its because if you leave one of those sides alone u can use it in a speaker and instead of buying a double audio jack to put in the speakers u put in the peaker inside the box  :D but i want to know if that is possible
eightnine in reply to mcontreras19Mar 2, 2010. 2:46 PM
Totally. :)
eightnine in reply to eightnineMar 2, 2010. 2:48 PM
Er, to elaborate... your sound will probably go to the speaker, but I'm thinking it would be pretty low. I'm not too sure though as I haven't tested it. But yea, the idea should work.
mcontreras19 in reply to eightnineMar 2, 2010. 3:17 PM
thanks for both :P
mcontreras19 in reply to mcontreras19Mar 2, 2010. 4:52 PM
i already checked out the  sound and is pretty well is not the loudest but its fine :P when i finsh my circuit i will put the photo :D
creighta says: Mar 2, 2010. 4:27 AM
Have you run this very long?  Does it need a resistor in line with the LEDs to keep them from burning out?

Also, don't forget that LEDs are Polarized.  IIRC the flat side is negative.
tecgeek13 says: Feb 28, 2010. 7:14 PM
ok so i want to make this same thing, but, i want to connect say a strand of x-mas lights insted of led's and i want to use a 120v house outlet......anyone help me? thanks
 
mikajmd says: Feb 28, 2010. 4:34 PM
I set it up with only one led for now to test it so far it works but it has to be 100% audio for it to work. Is there a way to have it blink and be bright but be able to listen to the music and have it beat without blasting your ears? And also can you use an RGB Led? How would you control it?
trucker her says: Feb 28, 2010. 8:37 AM
 Nice, and if you take a female 3,5mm plug then you can fit your microphone in there! So you don't have to connect it to you pc's headphone output, since in most of the cases you wont hear your music any more then :D
Reece 24 says: Feb 27, 2010. 10:30 AM
 nice I was just looking for a electronic map like that.
one4fn says: Feb 24, 2010. 9:16 AM
Kudos for a nice write up and a very fun project! 

So, if I wanted to add this type of flashing lights to the stereo system in my car, and wanted to have a bank lights for the right side and a separate bank of lights for the left side, I assume it would require the use of at least two TIP31's.  Would this require putting the TIP31 before the speaker and before the LED's?  As there are two wires on a speaker, what wire gets connected to the TIP31?

Thanks.
manouttatime in reply to one4fnFeb 25, 2010. 8:01 PM
What is your power source for the LEDs?

Unless you are trying to use the speaker wire to power it, I'm guessing you would just take the transistor and connect your power source the same way as this box. Then you take either side of the speaker wire, since it doesn't really matter as both are a part of the power to that speaker, and connect that to the pin the 'ible says here.

Then you'd just do it for every speaker you want to turn a bank on.
one4fn in reply to manouttatimeFeb 26, 2010. 7:49 AM
My power supply is the car battery.  This is what I thought...thank you! 

New to this site and I love this stuff...thanks for the info. 
alienmeatsack says: Feb 24, 2010. 12:15 PM
Maybe this chart will help...
Basic Stereo Speaker Crossover Inductor calculator.

It uses Inductors instead of a cap/resistor combo for the filtering.
Davidnipp says: Feb 24, 2010. 1:36 AM
 Thank you so much mate, i have been looking for some nice easy instructions for this project, and you nailed it.

5/5

Cheers
Moose Gueydan says: Feb 23, 2010. 10:02 PM
two notes,

replace battery with 120VAC  to 12 VDC power supply

second,  you need two of these, one for left and one for right, or split the led's so half fire off left and the other the right

MrShambles says: Feb 23, 2010. 9:00 PM
 if I replaced the LED's with a speaker would i have an amplifier?
KT Gadget in reply to MrShamblesFeb 23, 2010. 9:32 PM
 Depending on the type of transistor you use, it could be possible to make an amp, however I do not know how clean it would be. Most transistors I am familiar with are used as switches, where when a supplied voltage goes to one of the pins, it "closes" the transistor making the LEDs light up because of the voltage from the audio line.
SixTwelve says: Feb 23, 2010. 2:29 PM
Best not to mix left and right. I say that because tying them together sets up a circuit where highs on the left are a source for lows on the right - probably nothing would ever go wrong, but why take responsibility for the internals of whatever you're listening to? Even the cheapest POS should handle that internally, but 'should have' isn't gonna put the smoke back in someone else's MP3 player. Also separating L and R into two light boxes will be way cooler when you play Whole Lotta Love or anything by Negativeland.

Jake's basically right. A mono speaker plug reads the right channel from a stereo speaker jack, and sound engineers know this.

Neat project!
MichelMoermans says: Feb 23, 2010. 10:27 AM
Your picture together with your schematic confuses me...

So you have your plug. And only one of the two (left or right) should be connected to the TIP31, the other one should simply be cut off.

then the ground goes on another leg of the TIP31 and on that same leg the minus cable of the battery. And on the third leg the wire that goes to the led's and ultimatly the + of the battery.

That's how I understand it. But what I'm really wondering is about the right and left plug. Won't it make a difference when the music plays when the lights light up? Perhaps a stupid question but my electronic knowledge never got to sound ;)
JakeFrost in reply to MichelMoermansFeb 23, 2010. 12:14 PM
 It can make a difference. I would use the right output, I seem to recall that most devices will output mono to the right side. Then, switch your output to mono. I would probably just go ahead and run another string of lights and  TIP31 for the other channel, make an even more interesting display.
alienmeatsack in reply to MichelMoermansFeb 23, 2010. 11:43 AM
Are you referring to the difference in sound for the left and right channels affecting the lighting timing? It would, technically, depending on what music you played and how it was mixed to the left and right. But the visual difference would be subtle unless the music was heavily mixed to one side or the other, specifically to the side opposite of the wire you chose.

If I am not mistaken, you should be able to combine left and right and run them as one for a combined signal. Or, could also choose to do 2 sets of lights, one for each channel.
Kazooie in reply to alienmeatsackFeb 23, 2010. 1:51 PM
I'm interested in using simple high and low pass RC filters with different colored lights for the bass and the treble. I think they would definitely make the effect more interesting. Different lights for left and right could be cool for some songs too.

I guess if you broke the signal down with enough filters for different frequencies you could make a pretty cool visual equalizer this way.
aobosong in reply to KazooieFeb 24, 2010. 12:56 AM
Different frequencies would be very nice.

How would you achieve the stacked up look?

As in columns of led's with more led's light up as the signal increases rather than having all of the led's glow stronger. that would be a nice thing to make


Kazooie in reply to aobosongFeb 24, 2010. 6:40 AM
Ooh, yeah I didn't think about that. My guess is that you would wire the transistors in parallel and put resistors in front of the ones that you want to respond to higher amplitudes (since they would be less sensitive).

That's a complete guess though.
alienmeatsack in reply to KazooieFeb 24, 2010. 10:03 AM
frequency rangesAs far as getting the resistors right for each one, you'd have to just play a bit with something like a trim pot or pot to find the right frequency to activate each one I guess? Would certainly be easier than changing resistors until you got good results.

And, you could leave them exposed on the back to change their values if you so desired later.

I'd probably try to do 3-4 separate values. One for sub bass, cutting off at 80-100Hz, then something for the remaining bass from 81(-101)-250k (preference of when to cut it off is up to you) then go from there for midrange and treble.

Here's a good breakdown of the frequency ranges:
Freq ranges

I am not sure, but seems like I've read that you'd need some caps in there too to help do cutoff if you wanted only the range of frequencies (bass only, mid only, treble only) for that light? Can someone clarify or correct this?
MichelMoermans in reply to alienmeatsackFeb 23, 2010. 12:42 PM
Thanks you guys. I would like to see other people get in on this as you seem to disagree on some point.

however running a combined signal sounds interesting.

And I think the author made this a mono one because I believe he said it a few comments lower.
alienmeatsack in reply to MichelMoermansFeb 23, 2010. 2:09 PM
 I'd do what JakeFrost said. I like that idea.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!