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
1-40 of 198Next »
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! :)
1-40 of 198Next »
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!