Sync Leds with music

Thread Starter

cree247

Joined Sep 1, 2010
5
I have 2 parallel led strands that I am trying to connect with the left and right channels of an audio source. Each strand has 100 leds in parallel with each other, they also have a 330Ω resistor in series with each led. The leds run on a 5 vdc source. Does anyone have a circuit that I can connect to one strand for the left channel and another for the right so that the leds move with the music?
 

Bernard

Joined Aug 7, 2008
5,784
Might try using a full wave bridge rectifier on the 4 Ω amplifier output. Connect + led string to cathodes, - to anodes. Will need about 10
W max.
 

thatoneguy

Joined Feb 19, 2009
6,359
Do you have a schematic of the 100 LED strand?

The way you describe it, there are 100 resistors in it? That seems a bit... inefficient..
 
Last edited:

Wendy

Joined Mar 24, 2008
23,421
Nope, the circuit I put up there would work. He's gonna need a lot of resistors though, the MOSFET can drive them all if it is a decent unit (different part number than Radio Shack sells). For 99 LEDs it would be 33 resistors and 33 legs.
 

R!f@@

Joined Apr 2, 2009
9,918
Hey is tht a full wave rectifier...the all band ....no loss kinda ckt.
If so. which is it, Log or linear..
 

Wendy

Joined Mar 24, 2008
23,421
He may have wanted a bargraph, it isn't completely obvious. I was thinking color organ.

The OP can use a LM3914/LM3915. They are designed to be chained together, so he could have a 100 LED string.

At this point we're just going to have to wait for a response from the OP.
 

Thread Starter

cree247

Joined Sep 1, 2010
5
Don't have a good schematic of the circuit, just made one in paint. It has 100 leds and resistors all connected in parallel like this. Runs fine on 5 volts dc.
 

Wendy

Joined Mar 24, 2008
23,421
Then all you would need to add to the one I provided (example B) is audio filters and you should be good to go. The link I provided explained how to do it in several chapters, you need something PWM for best efficiency.

I also draw my schematics in Paint. You can download my templates on my blog here on AAC.

Bill's Index

Introduction and PaintCAD
 

Wendy

Joined Mar 24, 2008
23,421
That will definitely beat with the music, which may be all the OP wants. It doesn't modulate well with the intensity though (more of a on/off, with minor in between), and there are some key parts missing from the schematic, such as the base resistor.

It has the advantage of brute simplicity. It also won't be able to drive 100 legs by itself. If each leg is 0.02A (a standard current for LEDs) 100X that is 2A. It will get hot, very hot (PWM tends to run a lot cooler).

Looking at the TP31 datasheet it is a low gain transistor (as in not a Darlington), it will require around 200ma drive input for the transistor to cover the full range. Did I mention it will get hot?

If you read the article in the link I gave you have some idea what is involved with LEDs in general. Higher voltages for the power supply is better, 12V-15V will simplify things a lot, and reduce the total current (a good thing, less heat, less input drive).
 

Thread Starter

cree247

Joined Sep 1, 2010
5
I did try the circuit with the tip31 already, but it didn't give enough power to the lights so they were sort of dim when the music played.
 

thatoneguy

Joined Feb 19, 2009
6,359
I did try the circuit with the tip31 already, but it didn't give enough power to the lights so they were sort of dim when the music played.
Do you have a schematic of the circuit you tried with a TIP31 with sub-optimal results?

There are several designs existing, some created and tuned in just the past two weeks.
 

Wendy

Joined Mar 24, 2008
23,421
Pretty much as I described. If all you want is a blinking LED then a transistor by itself will work, but for performance you need the extra circuitry.

The old color organ of the 60's didn't just blink full on and off, it had intensity according to the sound level. This could be done with a op amp and a single BJT transistor (such as the TIP31), because of the shear number of amps you are going to need gain.

I'll see what I can come up with that is simpler.
 
Top