Instructables
Picture of Sound Reactive LEDs
Lets first see what the final effect is going to be like!!



We will work our way through to the circuit needed.
 
Remove these adsRemove these ads by Signing Up

Step 1: What you will need

In my setup I used two 5m LED strips from Amazon. Each of these strips requires a 2A supply and because I had ordered separately I got two 2A supplies. However you can just use a single 4A supply to power your circuit and your strips. Since I have the circuit with two supplies I will list components according to that.

1> 2 x 5m Led Strips  amazon
2> 2 x 2A DC adapters amazon
3> LM324N Quad opamp available at Radioshack
4> 2 x TIP29C transistors
5> 2 x SPDT slide switch https://www.sparkfun.com/products/9609
6> 2 x 100K Ohm resistors, 2 x 5.1k Ohm, 4 X 100 Ohm
7> Wires, Soldering equipment, Solderable PC Breadboard like this 
8> 2 x DC Power jack
9> Aux cable(to be stripped at one end)

Step 2: How others have done it before

Picture of How others have done it before
Many websites have information about doing it directly with transistors. TIP 29 or 31 can be used. We will discuss circuits, their shortcomings and solutions so a little bit of electronics knowledge is recommended

Audio cable coming out of the PC has three wires in it: Ground, Left and Right. The best way of getting audio signal is to take an aux cable and strip its wires.

If you see bare threads, they are ground and the two insulated ones are left and right

Step 3: How others have done it before

Picture of How others have done it before
Connect Ground to the emitter of the transistor and Left or right to the base, connect one end of LED to external power source and the other to the collector of the Transistor
1-40 of 110Next »
I did the same circuit but bought a strip of rgb leds and accomplished music flashing and the remote for the rgb still functions. Here are the leds I bought http://www.amazon.com/gp/aw/d/B00EMSU3DK

Here is the picture of my schematics uses 3 transistors let me know what you think btw I didn't add any switches just goes to music. And I'm not a master of electricity either so please tell me if I messed up

http://i.imgur.com/X4FNp7j.jpg
silasgreave25 days ago

what are those two diodes attached to the circuit. you didn't mentioned in the requirement list. please tell me

vickyv229 days ago

hey bro... thanx for this... it works perfect... :)

can you plzzz help me in one thing??

I want to give input as "Electrect mic"

I've tried amplifying that mic ... but I failed

i've used bc547 trans and rest circuit ...

so can u plz help me as fast as possible bro...

thank you ...

I have created a PCB that can be printed in a really small PCB. If you don't understand the schematic in the post above you can see the connections in my PCB.

(Havent tested the PCB yet since I just ordered them, although I am sure they work since I have used the exact same in a prototyping board and it works 100%)

Here is a picture of the PCB in EAGLE:

http://i.cubeupload.com/jAEnk4.png

Here are the PCB files and schematic:

http://www.solidfiles.com/d/9c1eed2fa1/

Any questions, ask me! :)

Have fun :D
saurabh.harsh (author)  Orestis Mokas1 year ago
This looks awesome! How much are you getting it made for? I would want to make a nicer looking circuit which I can enclose in a small box or something to make the wiring part look much better.
Thank you :)

You can order these PCBs from http://oshpark.com. They create PCBs in a really nice purple colour. Check them out!

With my design you can buy 3 PCBs (I think that is the minimum) for 16.00$

Hope it works 100% though, I will receive them in 3-4 weeks since I live in Greece and shipping from USA takes about 15 working days. It might take 5 weeks :(

Hey, can you validate if the PCB design works 100% the way it should?

Yes of course it does!

adi-sreyaj1 month ago

Bro can u provide a good circuit diagram for this as I'm not able to get an idea from the above circuit........anybody pls

aka619ASH5 months ago

Saurabh, hie!

I need some help with your circuit, I was trying to build it but I don't want to use the sliding switch, also I am a beginner in ECE. So can I get simplified version of the circuit. Also for Diodes I am using IN4004, is that fine. I build it but the leds are at constant glow. It will be great if you can post a simple version of your circuit. Also I do not understand the TIP 29 connections for Base, Collector and Emmiter.

bikec8 months ago

nice tutorial,it is working with transistor TIP 31. The circuit is 100% right,

Thank you

tamlani9 months ago

heyy nice tutorial but i am new to ths all n few request...can you please explain step 6 the solution given and image is not clear to me moreover step 10 and 11 final circuit is also not clear...a simple diagram with images would be appreciated if u cn do it...waiting for your response...and yes thngs i have are 5m led strip, 1 x TIP31, 1 x 12v adapter.. plz help me out

saurabh.harsh (author)  tamlani8 months ago

I am going to try making it with only the tip31, will let you know if I have success.

Another easy way to do this is this design:

http://www.instructables.com/id/Music-LED-Light-Bo...

Just replace the 4 LED lights with a 5m LED strip (cheap on Amazon). And if you want to use this design for bigger stereos (I did) or car amps then replace with a TIP3055 Transistor (3 pin w/ lower specs and looks like the TIP31). Wire it the same way. I have 5 strips in my room off a home theater and it works amazing and plays well with the visitors :) I can post pics if anyone wants to see and feel free to ask questions.

plz do it as i am facing difficulty...i am using tip31c transistor and 5m blue led strip.

I built on of these using a TIP2955. My lights seem to dim to music and stay on during silence, is this because of the type of transistor used, or is this the way it is supposed to work? I want the LEDs to be off during silence and flash on when there is sound, what am I doing wrong?

You may have the polarity of the input to the transistor wrong. Otherwise you just probably have the wrong transistor. You might be able to use the transistor if you check each pins function and then adjust the wiring??

phunguy12310 months ago

not too experienced in electronics but ive looked at the datasheets for the tip31, and its nearly identical to the 29, could that be used instead?

saurabh.harsh (author)  phunguy12310 months ago

If the datasheet says they both have the same current gain it shouldn't be a problem.

Here is my setup ! :)

I used 10metres led and a 12V 5A supply :)

(Sorry for low sound, it was recorded 3:00 AM)


saurabh.harsh (author)  Orestis Mokas1 year ago
awesome! I am so happy to see my ideas travel across the atlantic !!
Actually I will improve the PCB I showed you last time in another comment of mine. I am thinking of adding frequency filtering like this schematic here http://makezineblog.files.wordpress.com/2010/10/ledcolororgan-schem_r2.gif

I would like to ask you some questions though because in this schematic some weird resistor values are used instead of 100k and I am not updating my PCB until we solve these so we can make something really nice.

Currently I am loading the same track in 2 decks in my DJ Console, I play both tracks the exact same time, but I have connected the PCB in the headset output and I turn headset ON in the 2nd deck. On the 2nd deck (that the PCB is connected) I cut LOW and MID frequencies. Although in my speakers only the 1st deck is playing to be able to hear all frequencies.

Thanks for your help again ! :)
saurabh.harsh (author)  Orestis Mokas1 year ago
I took a look at the circuit diagram, its not too complicated but if all you want to do is split frequency and get intensities across different freq ranges, you could use a spectrum analyzer IC. We should tratehr take it on pm from here.
I'd really like to be included in that conversation. I've been building bluetooth speakers with an led array that uses both left and right channels and displays the channels in separate colors. I've having some issues with it, and I have no idea where to turn for help. Here is one of the ones I built. http://www.youtube.com/watch?v=bnvptm6RTVY
How could I do this with a 24v led strip?
You can power the LM324 with another power source (lets say 5V) and the led strip from 24V. The only thing that must be connected to the circuit is the ground wire of the 24Volt (Pins 10 + 11). Since that goes to the transistor and the transistor just connects the GND with the LED strip GND.

Sorry for my english !
Thank you!
You're welcome :)

Forgot to tell you that I don't know much about op amps and I don't know if the current schematic works with 5V power source for the LM324.
saurabh.harsh (author)  Orestis Mokas1 year ago
@coolstuff14 As long as the current rating of the LED strip is 2A the circuit will be able to drive the right current(means good intensity of LEDs) without any modifications, so basically you make the same circuit and just plugin 24V into it, remember to make sure your LED strips are rated 2A
saurabh.harsh (author)  coolstuff141 year ago
The LM324N can operate for a source voltage upto 32V so you don't need a separate source.
is that the collector(middle leg) of TIP31 connected to the ground of LED and the base connect to R3
Yes and the ground of the circuit connects to PIN 3 of TIP31 :)
Rubythroat1 year ago
Great Instructable, really awesome idea.

I'm having a problem where the strip stays very bright the whole time and just flickers a tiny bit to the music, almost unnoticeable. Do you have any ideas about how to fix this? I really appreciate it!!
Make sure your op amp is not burned. LM324 seems to be really easy to burn.

I burned 6 LM324 because my wires are grey!
saurabh.harsh (author)  Rubythroat1 year ago
It is difficult to say anything without looking at your circuit but I remember that another person had the same kind of issue and he had not connected his audio ground to his circuit ground
I hadn't done that, but for some reason after doing that, the lights don't light at all, but if I touch the male end of the audio cable while it's not plugged in, the lights turn on. Any thoughts on that? Thanks for being so helpful!
saurabh.harsh (author)  Rubythroat1 year ago
a picture of your circuit would help me single out the issue.
I messaged you pictures!
saurabh.harsh (author)  Rubythroat1 year ago
hey I looked at those but was not able to clearly make out the connections. It would be better if you get help from someone around who knows a bit of electronics. Just show them the schematic and your circuit and they should be able to figure out what is wrong.
mhadi41 year ago
I have 2 questions. 1.how does the speaker get connected? 2.where does the transistor's base,emitter and collector connect?
1-40 of 110Next »