3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Blinking leds

Step 1Step 1

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



You can follow this scheme:
« Previous StepDownload PDFView All StepsNext Step »
15 comments
Jun 7, 2010. 11:02 AMST4N13Y says:
could i use TIP33 ???? ....and....what i need to change in this scheme if i want to ude 9volt battery ??? thank you very much
Aug 12, 2010. 10:28 AMAlgag says:
add a resistor to the leds or take off an led because they are wired as suck there is a 3v drop (they are 3v each) across each LED so four is the max it could hold BUT if you used 1.5v leds and a 9v battery you could put on 6 leds in that pattern
Jul 16, 2008. 12:41 PMkishansukumar says:
wud a tip32 work insted of a tip31? does it make a diffrence?
May 22, 2010. 6:03 AMAlgag says:
 tip32 is pnp not npn
Mar 10, 2010. 6:52 PMlaptaper says:
help me please.. cant get my light to flash.. im using tip31c.. please help me with this..
Oct 6, 2008. 7:06 AMdaystoolate says:
this wiring diagram sucks. The way you have it drawn makes no sense as there are 4 negative leads coming off of the 12v supply. Your switch will not work in this diagram because either way that you flip it, there will be a ground connection. If you flip the switch toward the transistor, you may be able to get this thing to work. But you have a ground connection on BOTH SIDES of this switch. Unless your goal her is to turn off the P2 input and leave the LEDS on solid, then the bottom ground on this switch is not needed. Here is a wiring diagram that is more accurate than this one.
Nov 6, 2009. 10:15 AMpyro-jim says:
I admit it isn't done very well but what you are saying is wrong. The SPDT switch allows the LED's to either flash to music or be on solid. The bottom ground connection is needed so that when in the permanently on mode the circuit is completed
Aug 4, 2009. 1:04 AMbmxlive says:
Hi, wich transistor would i use if i want the circuit with 12Volts LEDs
Jan 6, 2009. 5:52 PMaussiecowslip says:
what does the X mean?
May 22, 2010. 6:02 AMAlgag says:
 its unused in the diagram from he instructables maker(i like that one better) he makes it so you can leave the leds on solid or make them blink
Dec 21, 2008. 2:42 AMxmastex says:
hey man, is the RED wire the positive and the BLACK the negative one?
Dec 21, 2008. 4:37 PMdaystoolate says:
Yes
Oct 13, 2009. 9:46 AMhansengel says:
Uh, nooby question here: after acquiring a P2 (3.5mm stereo jack), how do I access these "3 pins" you mentioned? Do I have to strip off the covering of the jack?
Nov 6, 2009. 10:07 AMpyro-jim says:
You can strip of the cable revealing 3 small enameled wires. You must strip off the enamel to get to the copper underneath. An easier way is to cut away the molded plastic around the jack.
Mar 17, 2009. 7:53 PMhessam says:
is there any way to hook up more than 4 LEDs to it or do I have to just make multiple ones?
Aug 18, 2009. 5:02 AMdeko69 says:
yup just make a parallel connection with for example 4leds in one row if you are using 12V and then add another row(4+4=8 etc)
Apr 14, 2009. 5:38 PMexr1c says:
Would this work If I were to use a passive input source such as a guitar pickup?
Oct 6, 2008. 7:08 AMdaystoolate says:
The p2 sends a positive current to the P lead on the transistor, which causes the collector to open and pass the negative current through to the leds. The way a transistor works, is when the audio reaches a specific voltage, it opens the gate on the transistor, illuminating the LEDs.
Sep 8, 2006. 8:54 AMvatosupreme says:
nice instructable. I really like the wiring diagram with the pictures of the components.. Makes it much easier for to figure out..

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
4
Followers
3
Author:pasteler0