quinta-feira, 15 de janeiro de 2009

introBlinking leds

Listening to music on my pc (proudly using WINAMP), I was wondering how would be to have some leds blinking with the sound that came out from the P2 connector, so I decided to make a simple circuit to do that. It worked pretty fine, so I decided to write a HowTo telling step-by-step how to do it. Hope you enjoy it!

If you want to see more of my DIY projects, please, visit my website:
Pasteler0's Tech Stuff

Material and Equipment:

1. 4 LEDs (any collor)
2. P2 plug
3. 2 position switch
4. TIP31 component
5. Box to put all the stuff (if you want)
6. Soldering iron and accessories
7. Cable

Video of the final project:

14.jpg
loading...
500x375 : FH4JZ5737VERIE378U (0)
i
14.jpg1.jpg

step 1Step 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:
70733363_7bc5873491_o.jpg
loading...
400x300 : F115XSIBYPERIE36TX (0)
i

step 2step 2

For this project, I decided to install everything inside a small black box I had here, so I made 6 holes on it. Four in the top for leds and one in each side for the switcher and cables. You can follow by the pictures:
2.jpg
loading...
500x375 : FXENBGWZ8SERIE36VH (0)
i
2.jpg3.jpg5.jpg

step 3step 3

With the box ready, its time to connect everything. I started with the leds, soldering one small cable connecting each one, so would be easier to arrange them inside the box after.

After connecting all leds, you must connect the cable coming from the leds to the center pin of the switcher. One side of the switcher goes to the middle pin of the Tip31 component, and the other one goes to ground cable.
6.jpg
loading...
500x375 : F86L0CU97RERIE3700 (0)
i
6.jpg7.jpg8.jpg

step 4step 4

Now it’s time to make the P2 connector. You can see that the P2 connector have 3 pins, they are, left channel, right channel and ground. So you have to decide to get the left or right channel and connect with the left pin from the Tip31. Remember that if you connect the P2 using the left channel, if only the right is enabled on the computer, this circuit won’t work. Usually the ground pin is the bigger one, and the other are small and similar. You have to connect the ground from P2 connector to the right pin of the Tip31 (right pin from Tip31 is ground)
9.jpg
loading...
500x375 : FND08M7GBIERIE373G (0)
i

step 5step 5

On the other pin from the switcher, you must connect to the ground from Tip31. If the switcher if closing circuit with the Tip31, the leds will only blink if there is any signal coming from the P2 connector, and if it’s in the other direction, the leds will be always ON.

Now it’s time to put everything together in the box, as you can see in this picture, it’s not very organized, but after closing the box, it’ll look much better.

Job's Done! =)



And for more of my DIY projects, please visit my website:
Pasteler0's Tech Stuff
10.jpg
loading...
500x375 : FTK6TZKBH7ERIE374Y (0)
i
10.jpg11.jpg12.jpg13.jpg14.jpg

Sem comentários:

Electrónica

Donde Vem

Downloads

Murros no Estômago

Tecnologia IG Brasil

Baixaki - Downloads

Technow